From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 9 09:10:26 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CEF816A4CE for ; Tue, 9 Dec 2003 09:10:26 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B2C243D34 for ; Tue, 9 Dec 2003 09:10:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hB9HADFY075294 for ; Tue, 9 Dec 2003 09:10:13 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hB9HADYW075293; Tue, 9 Dec 2003 09:10:13 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 9 Dec 2003 09:10:13 -0800 (PST) Resent-Message-Id: <200312091710.hB9HADYW075293@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nik Clayton Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E52ED16A4CE for ; 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 ; 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])hB9H2Lis053848 for ; Tue, 9 Dec 2003 17:02:21 GMT (envelope-from nik@catkin.nothing-going-on.org) Received: (from nik@localhost)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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/60081: x11/nvidia driver should install in to /boot/modules on 5.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nik Clayton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 17:10:26 -0000 >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: