conf/145311: loader.conf can cause boot hang

Henry Grebler henrygrebler at optusnet.com.au
Sat Apr 3 02:00:24 UTC 2010


>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 at 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"

>Fix:

The problem can be completely avoided. Do not have those three line
(in that order) in loader.conf. For GENERIC, the first 2 lines are
redundant.

However, loader hangs are particularly unpleasant. There is no simple
fix. The machine must be rebooted from CD, the file system must be
mounted, and it is necessary to perform some editing or
moving/deleting/copying to be able to reboot.
	
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list