Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Panic on Dockstar (sheevaplug) with netbsd-7



On Mon, Dec 1, 2014 at 12:39 AM, Nick Hudson <skrll%netbsd.org@localhost> wrote:

Are you using the netbsd.gdb in the kernel compile directory?

Yes, that does seem to work. Weird that -g doesn't. Here's the panic:

Nov 29 07:53:36 dockstar4 reboot: rebooted by andy
Nov 29 07:53:36
uvm_fault(0xc2734e58, 0, 1) -> e
Fatal kernel mode data abort: 'Translation Fault (P)'
trapframe: 0xc7ef8d38
FSR=00000017, FAR=00000050, spsr=60000013
r0 =00000000, r1 =c2302790, r2 =c2792f24, r3 =c8a73000
r4 =c278f000, r5 =00000000, r6 =c2792f24, r7 =c2f7e600
r8 =00003ff4, r9 =00000041, r10=c2720a90, r11=c7ef8dec
r12=00001388, ssp=c7ef8d88, slr=c00d58bc, pc =c03116b0

Stopped in pid 1.1 (init) at    netbsd:usbd_setup_xfer+0x4:     ldrb    r4, [r0,
 #0x050]
db> bt
0xc7ef8dec: netbsd:athn_usb_intr+0x10
0xc7ef8e24: netbsd:usb_transfer_complete+0x3dc
0xc7ef8e5c: netbsd:ehci_softintr+0x1a0
0xc7ef8e74: netbsd:usb_soft_intr+0x28
0xc7ef8ebc: netbsd:softint_overlay+0x328
0xc7ef8ee4: netbsd:lwp_userret+0x1c8
0xc7ef8f04: netbsd:userret+0x8c
0xc7ef8f74: netbsd:syscall+0xc0
0xc7ef8fac: netbsd:swi_handler+0x94
db> print athn_usb_intr+0x10
        c00d55a4

And here's the addr2line output:

(andy@dockstar4)[~] $ addr2line -a c03116b0 -e ./netbsd.gdb
0xc03116b0
/usr/src/sys/dev/usb/usbdi.c:442
(andy@dockstar4)[~] $ addr2line -a c00d55a4 -e ./netbsd.gdb
0xc00d55a4
/usr/src/sys/dev/usb/if_athn_usb.c:1894

Again, this is netbsd-7. I can attach these source files if needed. Here's the versions:

(andy@)[/usr/src/sys/dev/usb] $ head -1 usbdi.c
/*      $NetBSD: usbdi.c,v 1.161 2014/08/05 06:35:24 skrll Exp $        */
(andy@)[/usr/src/sys/dev/usb] $ head -1 if_athn_usb.c
/*      $NetBSD: if_athn_usb.c,v 1.6 2013/10/16 18:23:39 christos Exp $ */

Thanks!

Andy

 


Home | Main Index | Thread Index | Old Index