Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Aug 2011 19:16:43 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Alexander Best <arundel@freebsd.org>
Cc:        svn-src-head@freebsd.org, Niclas Zeising <niclas.zeising@gmail.com>, src-committers@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r224842 - head/sys/kern
Message-ID:  <alpine.BSF.2.00.1108141914220.63057@fledge.watson.org>
In-Reply-To: <20110814170621.GA4189@freebsd.org>
References:  <201108131603.p7DG3e80023093@svn.freebsd.org> <4E47EF64.2070405@gmail.com> <20110814170621.GA4189@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Aug 2011, Alexander Best wrote:

>> It might be worth mentioning this in UPDATING or similar, since a kernel 
>> built with clang (I haven't tried gcc) during this window will make it 
>> impossible to do a buildworld without first rebuilding the kernel with this 
>> fix. It also seems to break at least portsnap, and possibly other tools as 
>> well.
>
> +1. please also mention the KPI change to fget()! so many people have had 
> issues, where 3rd party drivers - mostly the nvidia binary driver - got 
> broken.

The nVidia driver is rare in that it uses the file descriptor interfaces from 
inside a third-party driver.  Most third-party drivers plug into much more 
limited subsets of the kernel -- newbus, busdma, the ifnet interface, the disk 
interface, CAM, USB, etc.  The reason to merge this change now was to ensure 
that 9.0 shipped with the interface in its final form rather than have to try 
to work around the existing modules for 9.1.  However, I would comment more 
generally that device drivers that use interfaces outside of the kernel device 
driver KPIs are inherently fragile.

(Not sure there's anything to be done about that in the nVidia case).

(Per previous e-mail, I have queued a request to re@ to update UPDATING).

Robert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1108141914220.63057>