on 02/11/2010 14:00 Hans Petter Selasky said the following:
> 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.

-H option would that for ps.
But I am not why mentioned ps, because procstat shows the threads, e.g. procstat
-k -a will show stacks of all non-running kernel threads.

Andriy Gapon
freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to