From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 3 22:40:08 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABB1B106566B for ; Sat, 3 Apr 2010 22:40:08 +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 98DC88FC13 for ; Sat, 3 Apr 2010 22:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o33Me88Z070594 for ; Sat, 3 Apr 2010 22:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o33Me8YW070593; Sat, 3 Apr 2010 22:40:08 GMT (envelope-from gnats) Date: Sat, 3 Apr 2010 22:40:08 GMT Message-Id: <201004032240.o33Me8YW070593@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Henry Grebler Cc: Subject: Re: conf/145311: loader.conf can cause boot hang X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Henry Grebler List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 22:40:08 -0000 The following reply was made to PR conf/145311; it has been noted by GNATS. From: Henry Grebler To: Garrett Cooper Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: conf/145311: loader.conf can cause boot hang Date: Sun, 04 Apr 2010 08:35:17 +1000 Hi Garrett, Sorry about the delay. --> Could you try loading up the bootloader prompt and going: --> -->load snd_ich -->boot --> --> Also, same as above but with boot -v instead of boot? What happens -->in those two tries? 1. I have built another machine exclusively for testing this problem. 2. I created loader.conf as before and the boot process hangs in the same place. 3. With the problematic loader.conf, I then did as you asked. 3.1 load snd_ich boot As far as I can tell, hangs in the same way. 3.2 load snd_ich boot -v As far as I can tell, hangs in the same way. There are many extra messages of the form: pcm0: Mixer "video": I can't scroll back because the keyboard won't respond when it hangs. I don't have a serial console set up. Is there something I'm looking for? 4. I then did 3 again without entries in loader.conf (ie machine is able to boot). 4.1 load snd_ich /boot/kernel/snd_ic.ko text=... loading required module 'sound' /boot/kernel/snd_ic.ko text=... boot (I can give more detail on "..." if needed.) Boots ok (but remember, I did say "Each individual line by itself in loader.conf works"). 4.2 load snd_ich boot -v Boots ok. There are many extra messages. I can scroll back, but I don't know what to look for. Let me know if I can provide any more help. I didn't really understand what you were testing for, so I may not have done what you wanted. Cheers, Henry -->On Fri, Apr 2, 2010 at 4:29 PM, Henry Grebler --> wrote: -->> -->>>Number:         145311 -->>>Category:       conf -->>>Synopsis:       loader.conf can cause boot hang -->>>Confidential:   no -->>>Severity:       non-critical -->>>Priority:       low -->>>Responsible:    freebsd-bugs -->>>State:          open -->>>Quarter: -->>>Keywords: -->>>Date-Required: -->>>Class:          sw-bug -->>>Submitter-Id:   current-users -->>>Arrival-Date:   Sat Apr 03 02:00:20 UTC 2010 -->>>Closed-Date: -->>>Last-Modified: -->>>Originator:     Henry Grebler -->>>Release:        FreeBSD 8.0-RELEASE i386 -->>>Organization: -->>>Environment: -->> System: FreeBSD freew.t-s-f.com.au 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 -->> -->> -->> -->>>Description: -->> See also http://forums.freebsd.org/showthread.php?t=12850 -->> -->> I have a loader.conf file which causes a hang at boot time. I suspect -->> a bug in the loader. -->> -->> When I try to boot, I get to: -->> -->>    atkbdc0: at port 0x60,0x64 irq 1 pnpid PNP0303 on isa0 -->> -->> and then nothing, no matter how long I wait. I would expect to see -->> this next: -->> -->>        atkbd0: irq 1 on atkbdc0 -->> -->> I've tried all the choices on the loader menu including safe mode -->> and single user, all with the same result. -->> -->> I'm running a standard kernel. -->> -->>>How-To-Repeat: -->> The hang still occurs when loader.conf is reduced to: -->> -->> ukbd_load="YES" -->> sem_load="YES" -->> snd_ich_load="YES"      # Intel ICH5 -->> -->> Each individual line by itself in loader.conf works! -->> -->> Further, this does not hang: -->> -->> ukbd_load="YES" -->> sem_load="YES" --> -->Hi Henry, --> Could you try loading up the bootloader prompt and going: --> -->load snd_ich -->boot --> --> Also, same as above but with boot -v instead of boot? What happens -->in those two tries? -->Thanks, -->-Garrett -->