Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Apr 2010 10:29:41 +1100
From:      Henry Grebler <henrygrebler@optusnet.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/145311: loader.conf can cause boot hang
Message-ID:  <201004022329.o32NTe4n016700@mail06.syd.optusnet.com.au>
Resent-Message-ID: <201004030200.o3320L7x065345@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

>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:



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