Subject: Re: amd64: doesn't boot with 4.99.42: raid?
To: Thomas Klausner <wiz@NetBSD.org>
From: Greg Oster <oster@cs.usask.ca>
List: current-users
Date: 12/10/2007 19:56:16
Thomas Klausner writes:
> Hi!
> 
> A 4.99.42 kernel (LOCKDEBUG, DIAGNOSTIC, ...) I built today doesn't
> boot.  It drops into DDB because of a panic. Here's the handcopied
> backtrace:
> 
> ...
> raid1: Total Sectors 40965504 (20002 MB)
> panic: config_devalloc
> Stopped in pid 0.1 (system) at netbsd:breakpoint+0x1
> db> bt
> breakpoint
> config_devalloc
> config_attach_pseudo
> raidinit
> rf_autoconfig_set
> rf_buildroothack
> rf_autoconfig
> config_finalize
> main
> 
> "reboot 0x104" just prints the devices without power support, but
> doesn't write a core dump.
> 
> Let me know if I should boot it again and do something else besides bt ;)
> I do have a netbsd.gdb for the kernel.

Please test with this patch:

cvs rdiff -r1.239 -r1.240 src/sys/dev/raidframe/rf_netbsdkintf.c

as I'm told this will fix it :) 

Thanks for the report...

Later...

Greg Oster