Re: kernel hangs during boot

From: Wesley Morgan <morganw_at_chemikals.org>
Date: Sat, 6 Dec 2003 12:28:42 -0500 (EST)
On Fri, 5 Dec 2003, Doug White wrote:

> On Thu, 4 Dec 2003, Wesley Morgan wrote:
>
> > On Thu, 4 Dec 2003, Doug White wrote:
> >
> > > If you can break into ddb ok, grab the trace if its interesting.  I'm
> > > curious if its jamming in something storage-related.
> >
> > It doesn't look too terribly interesting (man i wish ddb wrote to the
> > system buffer) I copied the parts that appear most relevant :)
> >
> > sgetc() + 0x3da
> > skbdevent() + 0x1e0
> > atkbd_intr() + 0x2c
> > atkbd_isa_intr() + 0x21
>
> Eh, this is you hitting the gdb key.  how about 'ps'?

Hooray for serial consoles!

Debugger("manual escape to debugger")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> trace
Debugger(c0637edf,4,1,0,1) at Debugger+0x54
scgetc(c0693fc0,2,c04e0fab,c18ad8c0,c42326c0) at scgetc+0x3da
sckbdevent(c067dd80,0,c0693fc0,d6c2cce8,2e) at sckbdevent+0x1e0
atkbd_intr(c067dd80,0,d6c2cd14,c04c1548,c067dd80) at atkbd_intr+0x2c
atkbd_isa_intr(c067dd80,467a58bb,e4b98aa3,c18ac8d4,c18ac8d4) at atkbd_isa_intr+0x21
ithread_loop(c18aac80,d6c2cd48,fddcaa98,8ab06b3,ca9593c4) at ithread_loop+0x1d8
fork_exit(c04c1370,c18aac80,d6c2cd48) at fork_exit+0x80
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd6c2cd7c, ebp = 0 ---
db> ps
  pid   proc     uarea   uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
   46 c41cba98 d7e16000    0     0     0 0000204 [SLP]syncer 0xc06775c0] syncer
   45 c41cbc5c d7e17000    0     0     0 0000204 [SLP]vlruwt 0xc41cbc5c] vnlru
   44 c41cbe20 d7e18000    0     0     0 0000204 [SLP]psleep 0xc067a18c] bufdaemon
   43 c4233000 d7e20000    0     0     0 000020c [SLP]pgzero 0xc067d788] pagezero
   42 c42331c4 d7e21000    0     0     0 0000204 [SLP]psleep 0xc067d7e0] vmdaemon
   41 c4233388 d7e22000    0     0     0 0000204 [SLP]psleep 0xc067d7cc] pagedaemon
   40 c423354c d7e23000    0     0     0 0000204 [SLP]mdwait 0xc4344200] md0
   39 c4233710 d7e24000    0     0     0 0000204 new [IWAIT] swi0: tty:sio
   38 c42338d4 d7e25000    0     0     0 0000204 [CV]cbb cv 0xc4259360] cbb1
    9 c4233a98 d7e26000    0     0     0 0000204 [CV]cbb cv 0xc18a7160] cbb0
   37 c4233c5c d7e4b000    0     0     0 0000204 [SLP]tzpoll 0xc0797d90] acpi_thermal
    8 c4233e20 d7e4c000    0     0     0 0000204 [SLP]acpislp 0xc07981e0] acpi_task2
    7 c4235000 d7e4d000    0     0     0 0000204 [SLP]acpislp 0xc07981e0] acpi_task1
    6 c41bd54c d7de6000    0     0     0 0000204 [SLP]actask 0xc07981ec] acpi_task0
   36 c41bd710 d7de7000    0     0     0 0000204 [IWAIT] swi3: cambio
   35 c41bd8d4 d7de8000    0     0     0 0000204 new [IWAIT] swi2: camnet
   34 c41bda98 d7de9000    0     0     0 0000204 [IWAIT] swi7: acpitaskq
   33 c41bdc5c d7dea000    0     0     0 0000204 new [IWAIT] swi5:+
    5 c41bde20 d7deb000    0     0     0 0000204 [SLP]tqthr 0xc06787e8] taskqueue
   32 c41cb000 d7dec000    0     0     0 0000204 new [IWAIT] swi6:+
   31 c41cb1c4 d7e11000    0     0     0 0000204 [IWAIT] swi7: task queue
   30 c41cb388 d7e12000    0     0     0 0000204 [SLP]- 0xc066f6e0] random
    4 c41cb54c d7e13000    0     0     0 0000204 [SLP]- 0xc06722a0] g_down
    3 c41cb710 d7e14000    0     0     0 0000204 [SLP]- 0xc067229c] g_up
    2 c41cb8d4 d7e15000    0     0     0 0000204 [CV]GEOM topology 0xc0672258] g_event
   29 c18b31c4 d6c66000    0     0     0 0000204 new [IWAIT] swi1: net
   28 c18b3388 d6c67000    0     0     0 0000204 new [IWAIT] swi4: vm
   27 c18b354c d6c68000    0     0     0 000020c [RUNQ] swi8: tty:sio clock
   26 c18b3710 d6c69000    0     0     0 0000204 [IWAIT] irq15: ata1
   25 c18b38d4 d6c8e000    0     0     0 0000204 [IWAIT] irq14: ata0
   24 c18b3a98 d6c8f000    0     0     0 0000204 new [IWAIT] irq13:
   23 c18b3c5c d6c90000    0     0     0 0000204 new [IWAIT] irq12: psm0
   22 c18b3e20 d6c91000    0     0     0 0000204 [IWAIT] irq11: cbb0 cbb1+
   21 c41bd000 d7de3000    0     0     0 0000204 new [IWAIT] irq10:
   20 c41bd1c4 d7de4000    0     0     0 0000204 [IWAIT] irq9: acpi0
   19 c41bd388 d7de5000    0     0     0 0000204 new [IWAIT] irq8: rtc
   18 c18ac000 d6c14000    0     0     0 0000204 [IWAIT] irq7: ppc0
   17 c18ac1c4 d6c5d000    0     0     0 0000204 new [IWAIT] irq6:
   16 c18ac388 d6c5e000    0     0     0 0000204 new [IWAIT] irq5:
   15 c18ac54c d6c5f000    0     0     0 0000204 new [IWAIT] irq4: sio0
   14 c18ac710 d6c60000    0     0     0 0000204 new [IWAIT] irq3:
   13 c18ac8d4 d6c61000    0     0     0 0000204 [CPU 0] irq1: atkbd0
   12 c18aca98 d6c62000    0     0     0 0000204 new [IWAIT] irq0: clk
   11 c18acc5c d6c63000    0     0     0 000020c [Can run] idle
    1 c18ace20 d6c64000    0     0     0 0000200 [SLP]g_waitidle 0xc06720e0] swapper
   10 c18b3000 d6c65000    0     0     0 0000204 [CV]ktrace 0xc06757c4] ktrace
    0 c0672340 c081f000    0     0     0 0000200 [SLP]sched 0xc0672340] swapper
db> panic
panic: from debugger
Stack backtrace:
backtrace(c062ba09,c0677200,c062241f,d6c2ca98,100) at backtrace+0x17
panic(c062241f,d6c2cb50,c044ae22,c05e9924,0) at panic+0xb7
db_panic(c05e9924,0,ffffffff,d6c2cac4,d6c2cac0) at db_panic+0x12
db_command(c066e340,c06447c0,c063e778,c063e77c,c18ad8c0) at db_command+0x272
db_command_loop(c05e9924,c0679ecc,d6c2cb9c,c0513093,0) at db_command_loop+0x95
db_trap(3,0,0,80046,1) at db_trap+0xc5
kdb_trap(3,0,d6c2cc10,80246,0) at kdb_trap+0x1bc
trap(d6c20018,10,c0670010,c0693fc0,c067f800) at trap+0x418
calltrap() at calltrap+0x5
--- trap 0x3, eip = 0xc05e9924, esp = 0xd6c2cc50, ebp = 0xd6c2cc5c ---
Debugger(c0637edf,4,1,0,1) at Debugger+0x54
scgetc(c0693fc0,2,c04e0fab,c18ad8c0,c42326c0) at scgetc+0x3da
sckbdevent(c067dd80,0,c0693fc0,d6c2cce8,2e) at sckbdevent+0x1e0
atkbd_intr(c067dd80,0,d6c2cd14,c04c1548,c067dd80) at atkbd_intr+0x2c
atkbd_isa_intr(c067dd80,467a58bb,e4b98aa3,c18ac8d4,c18ac8d4) at atkbd_isa_intr+0x21
ithread_loop(c18aac80,d6c2cd48,fddcaa98,8ab06b3,ca9593c4) at ithread_loop+0x1d8
fork_exit(c04c1370,c18aac80,d6c2cd48) at fork_exit+0x80
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd6c2cd7c, ebp = 0 ---

syncing disks, buffers remaining...
done
Uptime: 46s
Shutting down ACPI
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...



-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
Received on Sat Dec 06 2003 - 08:28:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC