I didn't realize FC3 was mounting this drive, else I might have done things differently ... but I think everyone will agree that oopsing is not OK. See the following dmesg trace.
I've seen a lot of messages about similar failures lately, as if maybe more distros are automounting removable drives. But I also remember seeing a lot of fixes go by; does this oops have a fix? - Dave ============================================================================ Connect drive to NEC EHCI hub 2-0:1.0: state 5 ports 5 chg 0000 evt 0020 ehci_hcd 0000:02:06.2: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT hub 2-0:1.0: port 5, status 0501, change 0001, 480 Mb/s hub 2-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501 ehci_hcd 0000:02:06.2: port 5 high speed ehci_hcd 0000:02:06.2: GetStatus port 5 status 001005 POWER sig=se0 PE CONNECT usb 2-5: new high speed USB device using ehci_hcd and address 2 ehci_hcd 0000:02:06.2: port 5 high speed ehci_hcd 0000:02:06.2: GetStatus port 5 status 001005 POWER sig=se0 PE CONNECT usb 2-5: new device strings: Mfr=1, Product=3, SerialNumber=2 usb 2-5: default language 0x0409 usb 2-5: Product: OneTouch usb 2-5: Manufacturer: Maxtor usb 2-5: SerialNumber: ........ usb 2-5: hotplug usb 2-5: adding 2-5:1.0 (config #1, interface 0) usb 2-5:1.0: hotplug Initializing USB Mass Storage driver... usb-storage 2-5:1.0: usb_probe_interface usb-storage 2-5:1.0: usb_probe_interface - got id scsi0 : SCSI emulation for USB Mass Storage devices usbcore: registered new driver usb-storage USB Mass Storage support registered. usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning Vendor: Maxtor Model: OneTouch Rev: 0201 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sda: 490232832 512-byte hdwr sectors (250999 MB) sda: assuming drive cache: write through SCSI device sda: 490232832 512-byte hdwr sectors (250999 MB) sda: assuming drive cache: write through sda: sda1 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 usb-storage: device scan complete Erm, FC3 must be automatically mounting this for me. I didn't ask it to, but I suppose that could be OK ... kjournald starting. Commit interval 5 seconds EXT3 FS on sda1, internal journal EXT3-fs: mounted filesystem with ordered data mode. ... except that when I then unplug the drive ... hub 2-0:1.0: state 5 ports 5 chg 0000 evt 0020 ehci_hcd 0000:02:06.2: GetStatus port 5 status 00100a POWER sig=se0 PEC CSC hub 2-0:1.0: port 5, status 0100, change 0003, 12 Mb/s usb 2-5: USB disconnect, address 2 usb 2-5: usb_disable_device nuking all URBs usb 2-5: unregistering interface 2-5:1.0 usb 2-5:1.0: hotplug usb 2-5: unregistering device usb 2-5: hotplug scsi0 (0:0): rejecting I/O to dead device Buffer I/O error on device sda1, logical block 0 ... then things go completely haywire ... lost page write due to I/O error on sda1 Unable to handle kernel paging request at virtual address 6b6b6b6b printing eip: c027169b *pde = 00000000 Oops: 0000 [#1] SMP Modules linked in: usb_storage ohci_hcd ehci_hcd CPU: 1 EIP: 0060:[<c027169b>] Not tainted VLI EFLAGS: 00010286 (2.6.11-rc1-helium) EIP is at scsi_device_put+0x7/0x48 eax: 0000000f ebx: 6b6b6b6b ecx: 00000000 edx: c14efbdc esi: cd3f2360 edi: d12b3148 ebp: cd241ee4 esp: cd241ee0 ds: 007b es: 007b ss: 0068 Process umount (pid: 3497, threadinfo=cd240000 task=ccd71ac0) Stack: cd3f2360 cd241efc c0278852 6b6b6b6b cd3f2360 c0279e4e cd2f05b8 cd241f10 c0278bf2 cd3f2360 c14df02c c14df02c cd241f34 c01519c3 c14df0a0 00000000 c14df0a0 00000000 00000000 dfc695d4 d12b3148 cd241f54 c0151a69 c14df02c Call Trace: [<c0102f63>] show_stack+0x74/0x7c [<c0103077>] show_registers+0xf4/0x15e [<c010323e>] die+0xd8/0x157 [<c010fe9a>] do_page_fault+0x43d/0x5cc [<c0102c2b>] error_code+0x2b/0x30 [<c0278852>] scsi_disk_put+0x38/0x4d [<c0278bf2>] sd_release+0x46/0x4f [<c01519c3>] blkdev_put+0x69/0x137 [<c0151a69>] blkdev_put+0x10f/0x137 [<c014fdc7>] deactivate_super+0x59/0x78 [<c0161ffa>] sys_umount+0x6b/0x73 [<c0102155>] sysenter_past_esp+0x52/0x75 Code: 06 8d 04 02 ff 80 00 01 00 00 eb 0d 56 e8 3a 8c fd ff ba fa ff ff ff eb 02 31 d2 8d 65 f8 89 d0 5b 5e c9 c3 55 89 e5 53 8b 5d 08 <8b> 03 8b 40 74 8b 10 85 d2 74 26 b8 00 e0 ff ff 21 e0 8b 40 10 <7>hub 2-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x100 ... so things go haywire when I reconnect to ALI EHCI ... hub 1-0:1.0: state 5 ports 6 chg 0000 evt 0002 ehci_hcd 0000:00:08.3: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:08.3: port 1 high speed ehci_hcd 0000:00:08.3: GetStatus port 1 status 001005 POWER sig=se0 PE CONNECT usb 1-1: new high speed USB device using ehci_hcd and address 2 ehci_hcd 0000:00:08.3: port 1 high speed ehci_hcd 0000:00:08.3: GetStatus port 1 status 001005 POWER sig=se0 PE CONNECT usb 1-1: new device strings: Mfr=1, Product=3, SerialNumber=2 usb 1-1: default language 0x0409 usb 1-1: Product: OneTouch usb 1-1: Manufacturer: Maxtor usb 1-1: SerialNumber: ........ usb 1-1: hotplug usb 1-1: adding 1-1:1.0 (config #1, interface 0) usb 1-1:1.0: hotplug usb-storage 1-1:1.0: usb_probe_interface usb-storage 1-1:1.0: usb_probe_interface - got id scsi1 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 2 usb-storage: waiting for device to settle before scanning Vendor: Maxtor Model: OneTouch Rev: 0201 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sda: 490232832 512-byte hdwr sectors (250999 MB) sda: assuming drive cache: write through ... at this point, nothing else ever happened; and in particular 'hdparm -tT /dev/sda' hung. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel