Subject: Re: port-i386/37637: MP kernel hangs before starting init
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Andrew Doran <ad@netbsd.org>
List: netbsd-bugs
Date: 12/29/2007 16:00:06
The following reply was made to PR port-i386/37637; it has been noted by GNATS.
From: Andrew Doran <ad@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-i386/37637: MP kernel hangs before starting init
Date: Sat, 29 Dec 2007 15:59:07 +0000
On Fri, Dec 28, 2007 at 06:40:00PM +0000, Bernd Ernesti wrote:
> Booting a kernel doesn't reach init. It stops with the following
> output from a serial console:
> [..]
> crypto: driver 0 registers alg 11 flags 0 maxoplen 0
> crypto: driver 0 registers alg 18 flags 0 maxoplen 0
> pad: requested 1 uni
>
> Sending a break didn't break into ddb.
> dmesg.boot.4_99_31 working MP kernel 4.99.31
> dmesg.boot.4_99_45 broken MP kernel 4.99.45
> dmesg.boot.non_mp working non MP kernel 4.99.45
>
> The 4.99.45 was updated 25-Dec-2007 around 14:00 UTC.
> The 4.99.31 was from arouund 05-Oct-2007.
>
> Btw, the 4.99.45 MP kernel output is a little strange:
> -com0: ns16550a, working fifo
> +com: ns16550a, working fifo
> Why is the 0 missing from the MP kernel output?
Is this a LOCKDEBUG kernel? Can you please try adding some printf() calls
to see where this is happening? It seems to be stalling while attaching
pseudo drivers. Try sprinkling a few in after the call to configure() in
init_main.c.
Andrew