dmitri
21st January 2005, 12:43 AM
I have an external USB hard drive (Maxtor OneTouch), which hangs whenever I try to write lots of data to it. After it 'hangs', cpu foes to !00%, I cannot access or umount the drive until reboot. Happens under all 2.6.9 and 2.6.10 kernels (FC3 & kernel.org) that I've tried. 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 PCI USB 2.0 card.
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 (this is driving me nuts...)
Steps to reproduce:
boot, mount drive, copy lots of data to it (~5-10Gb), drive hangs
In /var/log/messages I get a thousand of:
Jan 20 19:14:40 *** kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jan 20 19:14:40 *** kernel: end_request: I/O error, dev sdd, sector 300491839
Jan 20 19:14:48 *** kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jan 20 19:14:48 *** kernel: end_request: I/O error, dev sdd, sector 300491847
Jan 20 19:14:56 *** kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jan 20 19:14:56 *** kernel: end_request: I/O error, dev sdd, sector 300491855
Here's some more info:
# 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/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
# 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)
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 (this is driving me nuts...)
Steps to reproduce:
boot, mount drive, copy lots of data to it (~5-10Gb), drive hangs
In /var/log/messages I get a thousand of:
Jan 20 19:14:40 *** kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jan 20 19:14:40 *** kernel: end_request: I/O error, dev sdd, sector 300491839
Jan 20 19:14:48 *** kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jan 20 19:14:48 *** kernel: end_request: I/O error, dev sdd, sector 300491847
Jan 20 19:14:56 *** kernel: SCSI error : <2 0 0 0> return code = 0x70000
Jan 20 19:14:56 *** kernel: end_request: I/O error, dev sdd, sector 300491855
Here's some more info:
# 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/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
# 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)