On Sat, 4 Oct 2003, Matthias Urlichs wrote:

> Hi,
> 
> Alan Stern wrote:
> > For comparison, here is the corresponding log I got when I unplugged a USB
> > CD-RW device, minus several lengthy and uninformative stack dumps
> > following the "Badness" lines -- did you enable debugging in
> > lib/kobject.c?
> 
> Yes, I did.
> 
> I'll try to find that problem; thanks for your debug messages.

Just in case it helps, I can tell you what the stack traces for those 
"Badness" lines indicated.

The first one ('class_obj') was from scsi_remove_host() ->
scsi_forget_host() -> scsi_remove_device() -> class_device_unregister() 
...

The second one ('iosched') was from scsi_remove_host() ->
scsi_forget_host() -> scsi_remove_device() -> device_del() -> 
bus_remove_device() -> device_release_driver() -> sr_remove() -> 
del_gendisk() ...

(That sr_remove() would be sd_remove() for you.)

The third one ('queue') was from pretty much the same path as the second.

Alan Stern




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to