Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2003 17:02:20 GMT
From:      Nik Clayton <nik@crf-consulting.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60081: x11/nvidia driver should install in to /boot/modules on 5.x
Message-ID:  <200312091702.hB9H2Kug053847@catkin.nothing-going-on.org>
Resent-Message-ID: <200312091710.hB9HADYW075293@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 09 09:10:13 PST 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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