Subject: usb panic
To: None <current-users@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 01/22/2007 23:30:03
I tried to sync my Palmpilot; the system panicked.  There's some chance
there's an underlying hardware problem, since even Windows thinks I
have only USB 1.1, and I have to delete ehci from my config file to be
able to talk to flash disks.  

Here's the relevant dmesg:

uvisor0 at uhub1 port 2uhci1: device addr 2 (config 1): can't set self powered 
onfiguration

uvisor0: failed to set configuration, err=NO_POWER
uvisor0: at uhub1 port 2 (addr 2) disconnected
uvm_fault(0xc0808e00, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c05b7ee5 cs 8 eflags 10282 cr2 14 ilevel 0
panic: trap
Begin traceback...
uvm_fault(0xc0808e00, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip c0480980 cs 8 eflags 10246 cr2 6 ilevel 0
panic: trap
Faulted in mid-traceback; aborting...

and the stack trace from gdb:

(gdb) target kvm  netbsd.6.core
#0  0xc04847b6 in cpu_reboot ()
(gdb) bt
#0  0xc04847b6 in cpu_reboot ()
#1  0xc03fedcc in panic ()
#2  0xc04901f5 in trap ()
#3  0xc0102d93 in calltrap ()
#4  0xc0480980 in db_read_bytes ()
#5  0xc01f01b0 in db_get_value ()
#6  0xc0481188 in db_stack_trace_print ()
#7  0xc03feda2 in panic ()
#8  0xc04901f5 in trap ()
#9  0xc0102d93 in calltrap ()
#10 0xc05b7ee5 in usbd_add_drv_event ()
#11 0xc05d4f9c in uvisor_detach ()
#12 0xc03f5ae7 in config_detach ()
#13 0xc05bb4cb in usb_disconnect_port ()
#14 0xc05bd928 in uhub_explore ()
#15 0xc05b745c in usb_discover ()
#16 0xc05b7b07 in usb_event_thread ()
#17 0xc01002e1 in proc_trampoline ()




		--Steve Bellovin, http://www.cs.columbia.edu/~smb