usbconfig reset ugen4.2 hanging since an hour

Hans Petter Selasky hselasky at freebsd.org
Tue Nov 2 11:59:46 UTC 2010


On Tuesday 02 November 2010 11:01:34 Alexander Leidinger wrote:
> # procstat -kk 29213
>    PID    TID COMM             TDNAME           KSTACK
> 29213 100291 usbconfig        -                mi_switch+0x188  
> sleepq_switch+0x13c sleepq_timedwait+0x40 _sleep+0x320 pause+0x30  
> usb_pause_mtx+0x94 usb_ioctl+0x171 devfs_ioctl_f+0x73 kern_ioctl+0x9d  
> ioctl+0xc5 syscallenter+0x1af syscall+0x34 Xint0x80_syscall+0x21
> 
> > somewhere in umass_detach(), which is preventing the usbconfig reset from
> 
> No umass_detach in there...

Hi,

The USB threads are joined into a single process and not visible from "ps". 
Not sure how you can get a list of all threads. You need to enter GDB or run 
GDB on /dev/mem and dump all threads there and look for USB and umass 
keywords.

--HPS


More information about the freebsd-usb mailing list