I am using the PC USB ports. I just tried to replicate the problem with no success. I will keep an eye on it though.
Cheers Grahame > BTW, I've also tried lowering '/sys/block/sdd/device/max_sectors' to 64 > and 32 (from the default 240) as well as setting > '/sys/module/usbcore/parameters/old_scheme_first' to 'Y', but to no > avail... > > Grahame, do you use a USB PCI card or a USB port on the motherboard? I'm > wondering if my ALi PCI card is the root of my trouble... > > -Dmitri > > Grahame Jordan wrote: > >>Hi all, >> >>Yes I get this same problem under a couple of external HDDs. When I try >> to >>rsync(backup) the filesystem over or copy some large files it tends to >>behave the same. Lots of SCSI bus resets. >> >>I thought that this might help because it looks more like a general >>problem rather than specificly for one brand. >> >>One device is: >>P: Vendor=04cf ProdID=8818 Rev=b0.07 >>S: Manufacturer=Myson Century, Inc. >>S: Product=USB Mass Storage Device >> >>The other is a Momobay >> >>I can detail more information if it helps >> >>Cheers >> >>Grahame Jordan >> >> >> >> >>>I have an external USB hard drive (Maxtor OneTouch) that hangs whenever >>>I try to write lots of data to it. After it 'hangs', cpu foes to 100%, >>>and I cannot access or umount the drive until reboot. I've tried 2.6.9 >>>and 2.6.10 kernels (FC3 & kernel.org). Happens on vfat, ext2, ext3, and >>>reiserfs. The 'noapic' boot option seems to only make things worse >>>(i.e., the drive hangs faster). The USB drive is plugged into a Ali PCI >>>USB 2.0 card. >>> >>>Also, when the kernel is compiled with USB_STORAGE_DEBUG=y, I get >>>corrupted kernel messages (see below). >>> >>>This problem does not occur if I plug the drive into a USB 1.1 slot on >>>the motherboard. Also, the problem does not happen under windows (i.e., >>>the hardware is OK). >>> >>>Any help would be greatly appreciated. >>> >>>Steps to reproduce: >>>boot, mount drive, copy lots of data to it (~5-10Gb), drive hangs >>> >>>After the problem, the CPU goes to 100% for one of the processors on an >>>I/O wait: >>>Cpu0 : 0.3% us, 0.3% sy, 0.0% ni, 0.0% id, 99.3% wa, 0.0% hi, >>> 0.0% >>>si >>>Cpu1 : 0.7% us, 0.3% sy, 0.0% ni, 98.7% id, 0.0% wa, 0.3% hi, >>> 0.0% >>>si >>> >>>Here's a snippet of /var/log/messages with some (corrupted?) usb_storage >>>messages: >>>Jan 22 17:11:24 myhost kernel: orage: scsi cmd done, result=0x0 >>>Jan 22 17:11:25 myhost kernel: 00 09 ab f4 ff 00 00 18 00 >>>Jan 22 17:15:00 myhost kernel: a 00 09 ac 68 6f 00 00 08 00 >>>Jan 22 17:15:01 myhost kernel: esult 0x0 >>>Jan 22 17:15:20 myhost kernel: <00 09 ac b2 47 00 00 08 00 >>>Jan 22 17:15:20 myhost kernel: ge:0teed13/1<-storage: -- transfer >>>complet: Bulk orage: scsi cmd done, result=0x0 >>>Jan 22 17:15:49 myhost kernel: <ad 0f af 00 00 28 00 >>>Jan 22 17:15:49 myhost kernel: a 00 09 ad 21 17 00 00 08 00 >>>Jan 22 17:33:13 myhost kernel: comstorage: Bulk status result = 0 >>>[the above usb_storage messages look corrupt...] >>>Jan 22 17:33:28 myhost kernel: <25355 T 0x1554c L 4096 F 0 Trg 0 LUN 0 >>> CL >>>10 >>>Jan 22 17:36:56 myhost kernel: SCSI error : <2 0 0 0> return code = >>>0x70000 >>>Jan 22 17:36:56 myhost kernel: end_request: I/O error, dev sdd, sector >>>162021927 >>>Jan 22 17:37:04 myhost kernel: SCSI error : <2 0 0 0> return code = >>>0x70000 >>>[more SCSI errors] >>>Jan 22 17:46:41 myhost kernel: Buffer I/O error on device sdd5, logical >>>block 6141139 >>>Jan 22 17:46:41 myhost kernel: lost page write due to I/O error on sdd5 >>>Jan 22 17:46:49 myhost kernel: SCSI error : <2 0 0 0> return code = >>>0x70000 >>>Jan 22 17:46:49 myhost kernel: end_request: I/O error, dev sdd, sector >>>208879543 >>>Jan 22 17:46:49 myhost kernel: Buffer I/O error on device sdd5, logical >>>block 6141140 >>>Jan 22 17:46:49 myhost kernel: lost page write due to I/O error on sdd5 >>>[more SCSI errors] >>>Jan 22 17:53:05 myhost kernel: REISERFS: abort (device sdd5): Journal >>>write error in flush_commit_list >>>Jan 22 17:53:05 myhost kernel: REISERFS: Aborting journal for filesystem >>>on sdd5 >>>[more SCSI errors] >>> >>>Here's some more info about my system. >>> >>># lspci >>>00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge >>>(rev 03) >>>00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge >>>(rev 03) >>>00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02) >>>00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) >>>00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) >>>00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02) >>>00:10.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) >>>00:10.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) >>>00:10.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) >>>00:10.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01) >>>00:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] >>>00:13.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03) >>>01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3] >>>(rev a3) >>>02:0a.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891 >>>02:0e.0 SCSI storage controller: Adaptec AIC-7880U (rev 01) >>> >>># lsusb >>>Bus 005 Device 002: ID 045e:0039 Microsoft Corp. IntelliMouse Optical >>>Bus 005 Device 001: ID 0000:0000 >>>Bus 004 Device 001: ID 0000:0000 >>>Bus 003 Device 001: ID 0000:0000 >>>Bus 002 Device 001: ID 0000:0000 >>>Bus 001 Device 002: ID 0d49:7010 Maxtor >>>Bus 001 Device 001: ID 0000:0000 >>> >>># cat /proc/bus/usb/devices >>> >>>T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 >>>B: Alloc= 93/900 us (10%), #Int= 1, #Iso= 0 >>>D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 >>>P: Vendor=0000 ProdID=0000 Rev= 2.06 >>>S: Manufacturer=Linux 2.6.10usbdbg uhci_hcd >>>S: Product=UHCI Host Controller >>>S: SerialNumber=0000:00:07.2 >>>C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA >>>I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub >>>E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms >>> >>>T: Bus=05 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 >>>D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 >>>P: Vendor=045e ProdID=0039 Rev= 3.00 >>>S: Manufacturer=Microsoft >>>S: Product=Microsoft 5-Button Mouse with IntelliEye(TM) >>>C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA >>>I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid >>>E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms >>> >>>T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 >>>B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 >>>D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 >>>P: Vendor=0000 ProdID=0000 Rev= 2.06 >>>S: Manufacturer=Linux 2.6.10usbdbg ohci_hcd >>>S: Product=OHCI Host Controller >>>S: SerialNumber=0000:00:0e.2 >>>C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA >>>I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub >>>E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms >>> >>>T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 >>>B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 >>>D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 >>>P: Vendor=0000 ProdID=0000 Rev= 2.06 >>>S: Manufacturer=Linux 2.6.10usbdbg ohci_hcd >>>S: Product=OHCI Host Controller >>>S: SerialNumber=0000:00:0e.1 >>>C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA >>>I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub >>>E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms >>> >>>T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 >>>B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 >>>D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 >>>P: Vendor=0000 ProdID=0000 Rev= 2.06 >>>S: Manufacturer=Linux 2.6.10usbdbg ohci_hcd >>>S: Product=OHCI Host Controller >>>S: SerialNumber=0000:00:0e.0 >>>C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA >>>I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub >>>E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms >>> >>>T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6 >>>B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 >>>D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 >>>P: Vendor=0000 ProdID=0000 Rev= 2.06 >>>S: Manufacturer=Linux 2.6.10usbdbg ehci_hcd >>>S: Product=EHCI Host Controller >>>S: SerialNumber=0000:00:0e.3 >>>C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA >>>I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub >>>E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms >>> >>>T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 >>>D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 >>>P: Vendor=0d49 ProdID=7010 Rev= 2.00 >>>S: Manufacturer=Maxtor >>>S: Product=OneTouch >>>S: SerialNumber=Y471SS4E >>>C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA >>>I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 >>> Driver=usb-storage >>>E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms >>>E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms >>>E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=32ms >>> >>> >>># cat /proc/scsi/usb-storage/2 >>>Host scsi2: usb-storage >>>Vendor: Maxtor >>>Product: OneTouch >>>Serial Number: Y471SS4E >>>Protocol: Transparent SCSI >>>Transport: Bulk >>>Quirks: >>> >>># cat /proc/scsi/scsi >>>Attached devices: >>>Host: scsi0 Channel: 00 Id: 00 Lun: 00 >>>Vendor: SEAGATE Model: ST318203LW Rev: 0001 >>>Type: Direct-Access ANSI SCSI revision: 02 >>>Host: scsi0 Channel: 00 Id: 04 Lun: 00 >>>Vendor: QUANTUM Model: ATLAS 10K 9WLS Rev: UCH0 >>>Type: Direct-Access ANSI SCSI revision: 03 >>>Host: scsi0 Channel: 00 Id: 06 Lun: 00 >>>Vendor: IBM Model: IC35L036UWD210-0 Rev: S5BA >>>Type: Direct-Access ANSI SCSI revision: 03 >>>Host: scsi1 Channel: 00 Id: 05 Lun: 00 >>>Vendor: NEC Model: CD-ROM DRIVE:466 Rev: 1.06 >>>Type: CD-ROM ANSI SCSI revision: 02 >>>Host: scsi2 Channel: 00 Id: 00 Lun: 00 >>>Vendor: Maxtor Model: OneTouch Rev: 0201 >>>Type: Direct-Access ANSI SCSI revision: 02 >>> >>> >>># cat /proc/interrupts >>>CPU0 CPU1 >>>0: 1271740 1298096 IO-APIC-edge timer >>>1: 3174 3536 IO-APIC-edge i8042 >>>2: 0 0 XT-PIC cascade >>>5: 132 1 IO-APIC-edge CS4231 >>>8: 0 1 IO-APIC-edge rtc >>>15: 11026 10923 IO-APIC-edge ide1 >>>161: 72020 73092 IO-APIC-level ohci_hcd, nvidia >>>169: 0 0 IO-APIC-level ohci_hcd >>>177: 109276 131018 IO-APIC-level aic7xxx, aic7xxx, ohci_hcd >>>185: 370316 288 IO-APIC-level ehci_hcd, uhci_hcd, eth0 >>>NMI: 0 0 >>>LOC: 2569679 2569678 >>>ERR: 1 >>>MIS: 0 >>> >>># cat /proc/cpuinfo >>>processor : 0 >>>vendor_id : GenuineIntel >>>cpu family : 6 >>>model : 7 >>>model name : Pentium III (Katmai) >>>stepping : 3 >>>cpu MHz : 597.159 >>>cache size : 512 KB >>>fdiv_bug : no >>>hlt_bug : no >>>f00f_bug : no >>>coma_bug : no >>>fpu : yes >>>fpu_exception : yes >>>cpuid level : 2 >>>wp : yes >>>flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov >>>pat pse36 mmx fxsr sse >>>bogomips : 1175.55 >>> >>>processor : 1 >>>vendor_id : GenuineIntel >>>cpu family : 6 >>>model : 7 >>>model name : Pentium III (Katmai) >>>stepping : 3 >>>cpu MHz : 597.159 >>>cache size : 512 KB >>>fdiv_bug : no >>>hlt_bug : no >>>f00f_bug : no >>>coma_bug : no >>>fpu : yes >>>fpu_exception : yes >>>cpuid level : 2 >>>wp : yes >>>flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov >>>pat pse36 mmx fxsr sse >>>bogomips : 1191.93 >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>>Tool for open source databases. Create drag-&-drop reports. Save time >>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>_______________________________________________ >>>[email protected] >>>To unsubscribe, use the last form field at: >>>https://lists.sourceforge.net/lists/listinfo/linux-usb-users >>> >>> >>> >> >> >> >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > [email protected] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
