Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2010 22:40:08 GMT
From:      Henry Grebler <henrygrebler@optusnet.com.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/145311: loader.conf can cause boot hang 
Message-ID:  <201004032240.o33Me8YW070593@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/145311; it has been noted by GNATS.

From: Henry Grebler <henrygrebler@optusnet.com.au>
To: Garrett Cooper <yanefbsd@gmail.com>
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
 --><henrygrebler@optusnet.com.au> 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: <Keyboard controller (i8042)> 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: <AT Keyboard> 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
 -->



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