From nik@crf-consulting.co.uk  Tue Dec  9 09:02:24 2003
Return-Path: <nik@crf-consulting.co.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E52ED16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Dec 2003 09:02:24 -0800 (PST)
Received: from crf-consulting.co.uk (82-44-220-218.cable.ubr10.haye.blueyonder.co.uk [82.44.220.218])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A586C43D2E
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Dec 2003 09:02:22 -0800 (PST)
	(envelope-from nik@crf-consulting.co.uk)
Received: from catkin.nothing-going-on.org (nik@localhost.nothing-going-on.org [127.0.0.1])
	by crf-consulting.co.uk (8.12.8p1/8.12.3) with ESMTP id hB9H2Lis053848
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 9 Dec 2003 17:02:21 GMT
	(envelope-from nik@catkin.nothing-going-on.org)
Received: (from nik@localhost)
	by catkin.nothing-going-on.org (8.12.8p1/8.12.8/Submit) id hB9H2Kug053847;
	Tue, 9 Dec 2003 17:02:20 GMT
Message-Id: <200312091702.hB9H2Kug053847@catkin.nothing-going-on.org>
Date: Tue, 9 Dec 2003 17:02:20 GMT
From: Nik Clayton <nik@crf-consulting.co.uk>
Reply-To: Nik Clayton <nik@crf-consulting.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: x11/nvidia driver should install in to /boot/modules on 5.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         60081
>Category:       ports
>Synopsis:       x11/nvidia driver should install in to /boot/modules on 5.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 09 09:10:13 PST 2003
>Closed-Date:    Sun Jan 25 06:01:47 PST 2004
>Last-Modified:  Sun Jan 25 06:01:47 PST 2004
>Originator:     Nik Clayton
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:

-current, updated about 8 hours ago.

>Description:

x11/nvidia-driver installs nvidia.ko in to /boot/kernel, with these two
lines in the pkg-plist:

    %%FREEBSD5%%@cwd /boot/kernel
    nvidia.ko

Recompiling and installing a new kernel will blow away /boot/kernel.  This
is bad.

>How-To-Repeat:

N/A

>Fix:

According to hier(7), the module_path definition in 
/boot/defaults/loader.conf, and the note at the bottom of:

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

third party modules should install in to /boot/modules/ instead.  So a simple

    -%%FREEBSD5%%@cwd /boot/kernel
    +%%FREEBSD5%%@cwd /boot/modules

to the pkg-plist file should suffice.
>Release-Note:
>Audit-Trail:

From: Mark Linimon <linimon@lonesome.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: nik@crf-consulting.co.uk
Subject: Re: ports/60081: x11/nvidia driver should install in to /boot/modules
 on 5.x
Date: Tue, 6 Jan 2004 11:59:38 -0600 (CST)

 Note that the maintainer was not Cc:ed; I have done so, now.
 
 
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sun Jan 25 06:01:27 PST 2004 
State-Changed-Why:  
Committed with ports/61867, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60081 
>Unformatted:
