From owner-freebsd-amd64@FreeBSD.ORG Mon Dec 19 07:30:15 2011 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 321B01065670 for ; Mon, 19 Dec 2011 07:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 202548FC18 for ; Mon, 19 Dec 2011 07:30:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJ7UEjN097171 for ; Mon, 19 Dec 2011 07:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJ7UESQ097170; Mon, 19 Dec 2011 07:30:14 GMT (envelope-from gnats) Date: Mon, 19 Dec 2011 07:30:14 GMT Message-Id: <201112190730.pBJ7UESQ097170@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Rainer Hurling Cc: Subject: Re: amd64/163442: boot/loader.conf not processed at boot time X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rainer Hurling List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 07:30:15 -0000 The following reply was made to PR amd64/163442; it has been noted by GNATS. From: Rainer Hurling To: Thomas Dean Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: amd64/163442: boot/loader.conf not processed at boot time Date: Mon, 19 Dec 2011 07:57:27 +0100 Am 19.12.2011 01:59 (UTC+1) schrieb Thomas Dean: >> Number: 163442 >> Category: amd64 >> Synopsis: boot/loader.conf not processed at boot time >> Confidential: no >> Severity: serious >> Priority: medium >> Responsible: freebsd-amd64 >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Mon Dec 19 01:00:21 UTC 2011 >> Closed-Date: >> Last-Modified: >> Originator: Thomas Dean >> Release: 9.0(RC2) >> Organization: > Home >> Environment: > FreeBSD P9X79.tddhome 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #0: Tue Dec 6 10:37:44 PST 2011 root@P9X79:/usr/obj/usr/src/sys/GENERIC amd64 > >> Description: > # cat /boot/loader.conf > cpuctl_load="YES" > nvidia_load="YES" > linux_load="YES" > > # reboot > > < login> > # kldstat > 1 27 0xffffffff80200000 fdc000 kernel > 2 1 0xffffffff81412000 328d ng_ubt.ko > 3 1 0xffffffff81416000 8b3d ng_hci.ko > 4 3 0xffffffff8141f000 a79 ng_bluetooth.ko > 5 5 0xffffffff81420000 8e12 netgraph.ko > 6 1 0xffffffff81429000 b4a2 ng_l2cap.ko > 7 1 0xffffffff81435000 1695e ng_btsocket.ko > 8 1 0xffffffff8144c000 1ba9 ng_socket.ko > > # ls /boot/kernel|grep cpuctl > cpuctl.ko* > cpuctl.ko.symbols* > # ls /boot/modules | grep nvidia > nvidia.ko* > > # kldload linux > # kldload cpuctl > # kldload nvidia > # kldstat > 1 27 0xffffffff80200000 fdc000 kernel > 2 1 0xffffffff81412000 328d ng_ubt.ko > 3 1 0xffffffff81416000 8b3d ng_hci.ko > 4 3 0xffffffff8141f000 a79 ng_bluetooth.ko > 5 5 0xffffffff81420000 8e12 netgraph.ko > 6 1 0xffffffff81429000 b4a2 ng_l2cap.ko > 7 1 0xffffffff81435000 1695e ng_btsocket.ko > 8 1 0xffffffff8144c000 1ba9 ng_socket.ko > 9 1 0xffffffff8144e000 1e17b linux.ko > 10 1 0xffffffff8146d000 d48 cpuctl.ko > 11 1 0xffffffff8146e000 a34f1d nvidia.ko > > If I put linux_enable="YES" in etc/rc.conf then linux is loaded on boot. But, > cpuctl="YES" or nvidia="YES" do not have similar effects.. For me it is nvidia_load="YES" and cpuctl_load="YES" which works in /boot/loader.conf. Could you please try it? Rainer > Has 9.0 dropped loader.conf? The man pages still refer to it and say that is > the way to load modules at boot time. > > In /boot/defaults/loader.conf, I see > loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local" > > /boot/nextboot.conf does not exist. > > # cat /boot/loader.rc > \ Loader.rc > \ $FreeBSD: releng/9.0/sys/boot/i386/loader/loader.rc 151874 2005-10-30 05:41:42Z scottl $ > \ > \ Includes additional commands > include /boot/loader.4th > > \ Reads and processes loader.conf variables > start > > \ Tests for password -- executes autoboot first if a password was defined > check-password > > \ Load in the boot menu > include /boot/beastie.4th > > \ Start the boot menu > beastie-start > > >> How-To-Repeat: > Install cpuctl and nvidia > Create/edit /boot/loader.conf > reboot >> Fix: > > >> Release-Note: >> Audit-Trail: >> Unformatted: