Begin forwarded message:
Date: Tue, 4 Jul 2006 03:48:43 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 6789] New: ehci_hcd driver freezes external usb hard-disk drive http://bugzilla.kernel.org/show_bug.cgi?id=6789 Summary: ehci_hcd driver freezes external usb hard-disk drive Kernel Version: 2.6.16 Status: NEW Severity: normal Owner: [EMAIL PROTECTED] Submitter: [EMAIL PROTECTED] Most recent kernel where this bug did not occur: Distribution: Kanotix, Debian SID Hardware Environment: Several Software Environment: Debian SID Problem Description: When transferring data to or from an external USB disk (Revoltec Alu Book Edition 2 USB Enclosure, see http://www.revoltec.de/english/produkte/rs025.htm), the connection stops after a short period of time with several i/o errors. The external disk is then no longer accessible. After attaching the external device appears as sda: Jul 4 12:36:27 LaptopMB kernel: usb 1-3: new high speed USB device using ehci_hcd and address 14 Jul 4 12:36:27 LaptopMB kernel: usb 1-3: configuration #1 chosen from 1 choice Jul 4 12:36:27 LaptopMB kernel: scsi3 : SCSI emulation for USB Mass Storage devices Jul 4 12:36:27 LaptopMB kernel: usb-storage: device found at 14 Jul 4 12:36:27 LaptopMB kernel: usb-storage: waiting for device to settle before scanning Jul 4 12:36:32 LaptopMB kernel: Vendor: IC25N040 Model: ATMR04-0 Rev: MO2O Jul 4 12:36:32 LaptopMB kernel: Type: Direct-Access ANSI SCSI revision: 00 Jul 4 12:36:32 LaptopMB kernel: SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB) Jul 4 12:36:32 LaptopMB kernel: sda: Write Protect is off Jul 4 12:36:32 LaptopMB kernel: sda: Mode Sense: 00 14 00 00 Jul 4 12:36:32 LaptopMB kernel: sda: assuming drive cache: write through Jul 4 12:36:32 LaptopMB kernel: SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB) Jul 4 12:36:32 LaptopMB kernel: sda: Write Protect is off Jul 4 12:36:32 LaptopMB kernel: sda: Mode Sense: 00 14 00 00 Jul 4 12:36:32 LaptopMB kernel: sda: assuming drive cache: write through Jul 4 12:36:32 LaptopMB kernel: sda: sda1 sda2 sda3 sda4 Jul 4 12:36:32 LaptopMB kernel: sd 3:0:0:0: Attached scsi disk sda Jul 4 12:36:32 LaptopMB kernel: sd 3:0:0:0: Attached scsi generic sg0 type 0 Jul 4 12:36:32 LaptopMB kernel: usb-storage: device scan complete fdisk -l shows the new device (hda is the internal, sda the external): Platte /dev/hda: 80.0 GByte, 80026361856 Byte 255 K_pfe, 63 Sektoren/Spuren, 9729 Zylinder Einheiten = Zylinder von 16065 _ 512 = 8225280 Bytes Ger_t boot. Anfang Ende Bl_cke Id System /dev/hda1 * 1 122 979933+ 6 FAT16 /dev/hda2 123 1989 14996677+ 83 Linux /dev/hda3 1990 2269 2249100 82 Linux Swap / Solaris /dev/hda4 2270 9729 59922450 83 Linux Platte /dev/sda: 40.0 GByte, 40007761920 Byte 16 K_pfe, 63 Sektoren/Spuren, 77520 Zylinder Einheiten = Zylinder von 1008 _ 512 = 516096 Bytes Ger_t boot. Anfang Ende Bl_cke Id System /dev/sda1 * 1 969 488344+ 6 FAT16 /dev/sda2 970 20810 9999864 83 Linux /dev/sda3 20811 23778 1495872 b W95 FAT32 /dev/sda4 23779 77520 27085968 b W95 FAT32 Transferring data stops after an arbitrary time period: > dd if=/dev/sda2 of=/dev/null dd: Lesen von _/dev/sda2_: Eingabe-/Ausgabefehler 214464+0 Datens_tze ein 214464+0 Datens_tze aus 109805568 Bytes (110 MB) kopiert, 6,32627 Sekunden, 17,4 MB/s (Eingabe-/Ausgabefehler means I/O Error) dmesg shows lots of errors: Jul 4 12:42:06 LaptopMB kernel: end_request: I/O error, dev sda, sector 1191216 Jul 4 12:42:06 LaptopMB kernel: printk: 5 messages suppressed. Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26808 Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26809 Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26810 Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26811 Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26812 Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26813 Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26814 Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26815 Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26816 Jul 4 12:42:06 LaptopMB kernel: Buffer I/O error on device sda2, logical block 26817 Jul 4 12:42:06 LaptopMB kernel: end_request: I/O error, dev sda, sector 1191472 Jul 4 12:42:06 LaptopMB kernel: end_request: I/O error, dev sda, sector 1191712 Jul 4 12:42:06 LaptopMB kernel: end_request: I/O error, dev sda, sector 1191216 The disk is no longer accessible, e.g. via fdisk -l: > fdisk -l Platte /dev/hda: 80.0 GByte, 80026361856 Byte 255 K_pfe, 63 Sektoren/Spuren, 9729 Zylinder Einheiten = Zylinder von 16065 _ 512 = 8225280 Bytes Ger_t boot. Anfang Ende Bl_cke Id System /dev/hda1 * 1 122 979933+ 6 FAT16 /dev/hda2 123 1989 14996677+ 83 Linux /dev/hda3 1990 2269 2249100 82 Linux Swap / Solaris /dev/hda4 2270 9729 59922450 83 Linux dmesg shows error while fdisk -l: Jul 4 12:44:05 LaptopMB kernel: end_request: I/O error, dev sda, sector 0 Jul 4 12:44:05 LaptopMB kernel: printk: 53 messages suppressed. Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 0 Jul 4 12:44:05 LaptopMB kernel: end_request: I/O error, dev sda, sector 0 Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 0 Jul 4 12:44:05 LaptopMB kernel: end_request: I/O error, dev sda, sector 0 Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 0 Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 1 Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 2 Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 3 Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 4 Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 5 Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 6 Jul 4 12:44:05 LaptopMB kernel: Buffer I/O error on device sda, logical block 7 Jul 4 12:44:05 LaptopMB kernel: end_request: I/O error, dev sda, sector 0 Jul 4 12:44:05 LaptopMB last message repeated 4 times Removing temporarily usb-storage resets the drive and makes it accessible again: > rmmod usb_storage > modprobe usb-storage > fdisk -l Platte /dev/hda: 80.0 GByte, 80026361856 Byte 255 K_pfe, 63 Sektoren/Spuren, 9729 Zylinder Einheiten = Zylinder von 16065 _ 512 = 8225280 Bytes Ger_t boot. Anfang Ende Bl_cke Id System /dev/hda1 * 1 122 979933+ 6 FAT16 /dev/hda2 123 1989 14996677+ 83 Linux /dev/hda3 1990 2269 2249100 82 Linux Swap / Solaris /dev/hda4 2270 9729 59922450 83 Linux Platte /dev/sda: 40.0 GByte, 40007761920 Byte 16 K_pfe, 63 Sektoren/Spuren, 77520 Zylinder Einheiten = Zylinder von 1008 _ 512 = 516096 Bytes Ger_t boot. Anfang Ende Bl_cke Id System /dev/sda1 * 1 969 488344+ 6 FAT16 /dev/sda2 970 20810 9999864 83 Linux /dev/sda3 20811 23778 1495872 b W95 FAT32 /dev/sda4 23779 77520 27085968 b W95 FAT32 The problem occurs on my desktop pc as well as on my laptop (both running the same system). Using the uhci driver the device works flawlessly, but is of course very slow. This is a direct USB connection with no USB hubs whatsoever in between. I also tried different hard disk, but with no effect. It rather seems to be the USB enclosure. I have already tried several different cables. None of them made any difference. All of them worked under WindowsXP, on the desktop PC as well as on the laptop. Steps to reproduce: Use the above mentioned enclosure, attach to the computer, run "dd if=/dev/sda of=/dev/null" as a test example. ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel