Subject: Re: crash dump failing on machine with 4GB
To: matthew green <mrg@eterna.com.au>
From: Chris Ross <cross+netbsd@distal.com>
List: port-sparc64
Date: 09/26/2007 14:22:47
On Sep 26, 2007, at 13:51, matthew green wrote:
>    On Sep 26, 2007, at 12:07, Chris Ross wrote:
>>
>>    dumping to dev 7,1 offset 4310231
>>    dump 4096 esiop0: unable to load cmd DMA map: -1i/o error
>>    sd0(esiop0:0:0:0): polling command not done
>>    panic: scsipi_execute_xs
>>    cpu0: kdb breakpoint at 13f3f00
>>    Stopped in pid 0.2 (system) at  netbsd:cpu_Debugger+0x4:         
>> nop
>>    db>
>>

> can you get a stack trace with symbols?  or use gdb to
> find them out from these values?

   Of course.  Here's a backtrace after the failed "reboot 0x104"  
used to cause the dump attempt.

                              - Chris

dumping to dev 7,1 offset 4310231
dump 4096 esiop0: unable to load cmd DMA map: -1i/o error
sd0(esiop0:0:0:0): polling command not done
panic: scsipi_execute_xs
cpu0: kdb breakpoint at 13f3e80
Stopped in pid 0.2 (system) at  netbsd:cpu_Debugger+0x4:        nop
db> bt
scsipi_execute_xs(5f89c00, e0016d96, a, 0, 0, 4) at  
netbsd:scsipi_execute_xs+0x3
18
sd_flush(746fc00, 103, 0, 0, 0, 8000000000001034) at netbsd:sd_flush 
+0x84
sd_shutdown(746fc00, 5, 0, 0, e0016fb8, 0) at netbsd:sd_shutdown+0x18
doshutdownhooks(161eaa8, 5, 0, 10, 1857800, f) at  
netbsd:doshutdownhooks+0x30
cpu_reboot(104, 0, e00170a8, 1860800, 1860b88, 188c7a8) at  
netbsd:cpu_reboot+0x1
c
db_reboot_cmd(1, 0, 4, e0017170, e0017298, 188c7a8) at  
netbsd:db_reboot_cmd+0x40

db_command(180f2c8, 4, 0, 0, e0017388, 0) at netbsd:db_command+0x98
db_command_loop(13f3e88, 0, 2, 1898819, 0, 0) at  
netbsd:db_command_loop+0x108
db_trap(0, 0, 0, 0, 187dc00, 1000000) at netbsd:db_trap+0x11c
kdb_trap(101, e0017b60, 98b2dccaa, 2959c13800000000, 21800000000,  
18a4800) at ne
tbsd:kdb_trap+0x184
trap(e0017b60, 101, 13f3e80, 1d0006, 0, 187a998) at netbsd:trap+0x358
?(189b950, 187f3e0, ffffffff, 0, 1818c00, 1d) at 0x1008c1c
sabtty_intr(61c4800, e0017e0c, 25caabd7, 18ed, ffff, 40) at  
netbsd:sabtty_intr+0
x48c
sab_intr(0, 0, e0017ed0, 1877998, 13c2960, 1000000) at netbsd:sab_intr 
+0x48
sparc_interrupt(0, 0, 4, 6, 187a800, 1000000) at  
netbsd:sparc_interrupt+0x234
idle_loop(10043ce0, 10043ce0, ffffffffffffffff, 0, 64, 187a998) at  
netbsd:idle_l
oop+0x80
lwp_trampoline(f0067634, 0, 10fc00, fff83d00, 10eaf0, fff83e00) at  
netbsd:lwp_tr
ampoline+0x8
db>