[Bug 1540] New: Error removing USB Flash hard drive

From: Martin J. Bligh
Date: Fri Nov 14 2003 - 10:21:39 EST


http://bugme.osdl.org/show_bug.cgi?id=1540

Summary: Error removing USB Flash hard drive
Kernel Version: 2.6.0-test9-mm2
Status: NEW
Severity: normal
Owner: akpm@xxxxxxxxx
Submitter: bunnadik@xxxxxxxxxxxxxx


Distribution:Mandrake 9.2-rc1
Hardware Environment:Dell Optiplex G1
Software Environment:
Problem Description:When removing the flash drive (after umount) I get a:
Badness in atomic_dec_and_test at include/asm/atomic.h:150
Call Trace:
[<c0243b21>] kobject_put+0x71/0x80
[<c88d9f9f>] scsi_remove_host+0x5f/0x80 [scsi_mod]
[<c88cf978>] storage_disconnect+0x38/0x48 [usb_storage]
[<c02c8ad8>] usb_unbind_interface+0x78/0x80
[<c0285236>] device_release_driver+0x66/0x70
[<c0285375>] bus_remove_device+0x55/0xa0
[<c028423d>] device_del+0x5d/0xa0
[<c02cf320>] usb_disable_device+0x70/0xb0
[<c02c9656>] usb_disconnect+0x96/0xf0
[<c02cbeff>] hub_port_connect_change+0x32f/0x340
[<c02cb7da>] hub_port_status+0x3a/0xb0
[<c02cc246>] hub_events+0x336/0x3a0
[<c02cc2e5>] hub_thread+0x35/0xf0
[<c0344b72>] ret_from_fork+0x6/0x14
[<c011b2b0>] default_wake_function+0x0/0x30
[<c02cc2b0>] hub_thread+0x0/0xf0
[<c0109299>] kernel_thread_helper+0x5/0xc

Steps to reproduce:
Mount flash drive, add some files, umount, remove from computer

Note:Happens _probably_ under Linus' tree as well. Don't have time to check
right now.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/