From owner-freebsd-questions@FreeBSD.ORG Thu Jul 21 16:21:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 952C71065673 for ; Thu, 21 Jul 2011 16:21:54 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [66.251.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id 3211D8FC16 for ; Thu, 21 Jul 2011 16:21:53 +0000 (UTC) Received: from nber7.nber.org (nber7.nber.org [66.251.72.41]) by mail2.nber.org (8.14.4/8.14.4) with ESMTP id p6LGLmFX049827 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 21 Jul 2011 12:21:48 -0400 (EDT) (envelope-from feenberg@nber.org) Received: from localhost (feenberg@localhost) by nber7.nber.org (8.14.4/8.14.4/Submit) with ESMTP id p6LGLlQJ003928; Thu, 21 Jul 2011 12:21:48 -0400 X-Authentication-Warning: nber7.nber.org: feenberg owned process doing -bs Date: Thu, 21 Jul 2011 12:21:47 -0400 (EDT) From: Daniel Feenberg To: Chad Perrin In-Reply-To: <20110721141534.GC59455@guilt.hydra> Message-ID: References: <24466_1311199850_4E27526A_24466_7987_1_D9B37353831173459FDAA836D3B43499C521866E@WADPMBXV0.waddell.com> <4e28160e.bVryeJCK1esNt615%perryh@pluto.rain.com> <20110721141534.GC59455@guilt.hydra> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20110721 #5667430, check: 20110721 clean Cc: freebsd-questions@freebsd.org Subject: Re: 2020: Will BSD and Linux be relevant anymore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2011 16:21:54 -0000 On Thu, 21 Jul 2011, Chad Perrin wrote: > On Thu, Jul 21, 2011 at 10:52:28AM +0200, C. P. Ghost wrote: >> >> I'm not familiar with Windows, but I don't think a typical windows >> driver as written by a hardware vendor would manipulate the windows >> kernel internals (data structures) directly, right? If that's correct, >> we "merely" need to catch the ABI up- and down-calls from and to the >> windows driver, and translate them into regular FreeBSD syscalls (maybe >> augmented by a compat helper library?). >> >> Since this is exactly the approach taken by the Linuxulator, I fail to >> see why a similar method hasn't been tried for those windows kernel >> driver (binary blobs). Maybe some artificial restrictions like, say, >> patents are standing in the way? Or a technical restriction like such >> binary blobs being encrypted with a public key, and only usable from >> Windows kernel with their own secret key? > > It may not be anything so exotic. On a per-release basis, the MS Windows > ABIs and APIs change far more dramatically than the Linux kernel, and are > far less transparent to developers; they must in many cases be discovered > by experimentation, being closed source software. Over a given period of > time, the changes to Linux may be greater in number and magnitude (I'm > not a kernel hacker, so I wouldn't know for sure), but they're spread out > over time rather than bundled in a major collection of changes with a new > marketing campaign. This might make it much more difficult to target the > MS Windows ABIs and APIs. > > I'm just speculating, though. As I said, I'm not a kernel hacker. Doesn't the NDIS specification offer a reasonably stable ABI for wireless drivers? I have often thought that supporting NDIS would offer manufacturers a sort of "halfway house" to ease them into proper support for FreeBSD and Linux. While it is inferior to open source drivers, it would attract users, and with users manufacturers would feel pressure to have better support, which would best be achieved with open-source drivers. Daniel Feenberg > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] >