Subject: Re: 3.99.1 kernel panic in swapper at boot
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@tac.gw.com>
List: current-users
Date: 03/22/2005 16:47:32
In article <79818143bdc11680a242f2395447c579@dtcc.edu>,
Chris Tribo  <ctribo@dtcc.edu> wrote:
>This is an MP kernel running on a uniprocessor machine if that makes a 
>difference. I'm probably doing something idiotic, but I can't think of 
>what off the top of my head.

Hmm, what is the simple lock that is held?
Can you compile a DIAGNOSTIC/LOCKDEBUG kernel?

christos

>7312160+161156+402384 [377648+357445]=0x8383f8
>kenter: 0x00001000
>acpi: wakecode is installed at 0x1000, size=328
>Loaded initial symtab at 0xc0884954, strtab at 0xc08e0fb0, # entries 
>23588
>Copyright blah
>
>NetBSD 3.99.1 (GENERIC.MPACPI.DEBUG) #1: Tue Mar 22 16:04:03 EST 2005
>	root@mybox:/usr/obj/sys/arch/i386/compile/GENERIC.MPACPI.DEBUG
>total memory = 2048 MB
>avail memory = 1972 MB
>
>malloc with held simple_lock 0xc080ce88 CPU 0 
>/usr/src/sys/kern/kern_resource.c:898
>malloc(1c,c080ce00,2,c368ce00,0) at netbsd:malloc+0x54a
>uid_find(0,2,,c093dfa0,c086e540,c086e100) at netbsd:uid_find+0x56
>chgproccnt(0,1,0,bfeff000,0) at netbsd:chgproccnt+0x1f
>main(0,0,0,0,0) at netbsd:main+0x2b0
>Stopped in pid 0.1 (swapper) at netbsd:cpu_Debugger+0x4: leave
>db{0}> show registers
>ds	0x10
>es	0x10
>fs	0x30
>gs	0x10
>edi	0
>esi	0xc368ce00
>ebp	0xc093ded8 acpi_softc+0xb9588
>ebx	0
>edx	0
>ecx	0xffffffff
>eax	0x1
>eip	0xc0453f1c cpu_Debugger+0x4
>cs	0x8
>eflags	0x202
>esp	0xc093ded8	acpi_softc+0xb9588
>ss	0x10
>
>