Dears, I got a QNAP TS 109 Pro II (orion arch) with a Debian Lenny. It works well except for an external USB HD that fails under heavy works (raid sync). I spoken with Martin Michlmayr on forum.qnap.com: he said to write to the linux-usb ML and to keep the orion mainteiners in CC. I've read the FAQ about linux-usb: I've changed several USB cables and other funky fixes. I've used the kernel 2.6.26 and I'm actually using the 2.6.29 (deb made by Martin). You can find further details in the original forum thread and in the reported original post. Please, keep me in CC because I'm not a linux-usb ML subscriber. http://forum.qnap.com/viewtopic.php?f=147&t=12354 > Dears, > I bought a TS 109 Pro II to install Debian Lenny. I've a quite long experience with unix systems and my precedent NAS was a Linksys NLSU2 with Debian Etch (only 32Mb of RAM). > Lenny on the TS 109 Pro II works well expect the known missing support for the DMA on the disks (I'm waiting the new updates on the Debian kernel). I have a nasty problem: I'm trying to use the internal SATA WD disk jointly with an external USB disk (WD MyBook 500Gb): I would configure a RAID1. The system is already installed and working on the internal disk but when I try to add the external one to the RAID /dev/md0 it starts the sync process but it fails after several minutes under heavy work. The usb device resets and the unit is excluded from the raid. I've changed 3 different USB cables and the drive works well with the old NAS (USB 2) and with my PC. I looks a problem with the orion-ehci module. > It is strange that the problem appears only under the RAID1 sync: I've tried to heavily stress the external drive with other procedures, like 'md5sum /dev/sdc' or 'dd if=/dev/sdc of=/dev/null bs=50M' and so on, but the reset of the drive doesn't happen. > > Can you help me? Thanks! > > I'm reporting the log of the problem: > Mar 9 20:07:38 gimli kernel: [42949724.280000] usb 2-1.3: reset high speed USB device using orion-ehci and address 3 > Mar 9 20:09:00 gimli kernel: [42949805.880000] usb 2-1.3: reset high speed USB device using orion-ehci and address 3 > .... > Mar 9 20:39:40 gimli kernel: [42951646.660000] hub 2-1:1.0: cannot reset port 3 (err = -71) > Mar 9 20:39:40 gimli kernel: [42951646.670000] hub 2-1:1.0: cannot reset port 3 (err = -71) > Mar 9 20:39:40 gimli kernel: [42951646.670000] hub 2-1:1.0: cannot reset port 3 (err = -71) > Mar 9 20:39:40 gimli kernel: [42951646.680000] hub 2-1:1.0: cannot reset port 3 (err = -71) > Mar 9 20:39:40 gimli kernel: [42951646.690000] hub 2-1:1.0: cannot reset port 3 (err = -71) > Mar 9 20:39:40 gimli kernel: [42951646.690000] hub 2-1:1.0: Cannot enable port 3. Maybe the USB cable is bad? > Mar 9 20:39:40 gimli kernel: [42951646.700000] hub 2-1:1.0: cannot disable port 3 (err = -71) > Mar 9 20:39:40 gimli kernel: [42951646.710000] hub 2-1:1.0: cannot reset port 3 (err = -71) > .... > Mar 9 20:39:41 gimli kernel: [42951646.860000] hub 2-1:1.0: hub_port_status failed (err = -71) > Mar 9 20:39:41 gimli kernel: [42951646.870000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951646.880000] end_request: I/O error, dev sdb, sector 47623743 > Mar 9 20:39:41 gimli kernel: [42951646.880000] raid1: Disk failure on sdb1, disabling device. > Mar 9 20:39:41 gimli kernel: [42951646.880000] raid1: Operation continuing on 1 devices. > Mar 9 20:39:41 gimli kernel: [42951646.900000] md: md0: recovery done. > Mar 9 20:39:41 gimli kernel: [42951646.950000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951646.950000] end_request: I/O error, dev sdb, sector 47623871 > Mar 9 20:39:41 gimli kernel: [42951646.970000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951646.970000] end_request: I/O error, dev sdb, sector 47623999 > Mar 9 20:39:41 gimli kernel: [42951646.980000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951646.990000] end_request: I/O error, dev sdb, sector 47624127 > Mar 9 20:39:41 gimli kernel: [42951647.000000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951647.010000] end_request: I/O error, dev sdb, sector 47624255 > Mar 9 20:39:41 gimli kernel: [42951647.020000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951647.020000] end_request: I/O error, dev sdb, sector 47624383 > .... > Mar 9 20:39:41 gimli kernel: [42951647.460000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951647.460000] end_request: I/O error, dev sdb, sector 47627071 > Mar 9 20:39:41 gimli kernel: [42951647.470000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951647.480000] end_request: I/O error, dev sdb, sector 47627199 > Mar 9 20:39:41 gimli mdadm[1865]: FailSpare event detected on md device /dev/md0, component device /dev/sdb1 > Mar 9 20:39:41 gimli kernel: [42951647.500000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951647.500000] end_request: I/O error, dev sdb, sector 47627327 > Mar 9 20:39:41 gimli kernel: [42951647.510000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951647.520000] end_request: I/O error, dev sdb, sector 47627455 > Mar 9 20:39:41 gimli kernel: [42951647.540000] sd 2:0:0:0: [sdb] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK > Mar 9 20:39:41 gimli kernel: [42951647.540000] end_request: I/O error, dev sdb, sector 47627583 > Mar 9 20:39:41 gimli kernel: [42951647.650000] RAID1 conf printout: > Mar 9 20:39:41 gimli kernel: [42951647.650000] --- wd:1 rd:2 > Mar 9 20:39:41 gimli kernel: [42951647.650000] disk 0, wo:0, o:1, dev:sda3 > Mar 9 20:39:41 gimli kernel: [42951647.660000] disk 1, wo:1, o:0, dev:sdb1 > Mar 9 20:39:41 gimli mdadm[1865]: RebuildFinished event detected on md device /dev/md0 > Mar 9 20:39:41 gimli kernel: [42951647.690000] RAID1 conf printout: > Mar 9 20:39:41 gimli kernel: [42951647.690000] --- wd:1 rd:2 > Mar 9 20:39:41 gimli kernel: [42951647.690000] disk 0, wo:0, o:1, dev:sda3 > Mar 9 20:39:48 gimli kernel: [42951654.250000] usb 2-1.3: USB disconnect, address 3 > Mar 9 20:39:48 gimli kernel: [42951654.400000] usb 2-1: reset high speed USB device using orion-ehci and address 2 > Mar 9 20:39:49 gimli kernel: [42951654.900000] usb 2-1.3: new high speed USB device using orion-ehci and address 4 > Mar 9 20:39:49 gimli kernel: [42951655.020000] usb 2-1.3: configuration #1 chosen from 1 choice > Mar 9 20:39:49 gimli kernel: [42951655.030000] scsi3 : SCSI emulation for USB Mass Storage devices > Mar 9 20:39:49 gimli kernel: [42951655.040000] usb 2-1.3: New USB device found, idVendor=1058, idProduct=0901 > Mar 9 20:39:49 gimli kernel: [42951655.050000] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > Mar 9 20:39:49 gimli kernel: [42951655.050000] usb 2-1.3: Product: External HDD > Mar 9 20:39:49 gimli kernel: [42951655.060000] usb 2-1.3: Manufacturer: Western Digital > Mar 9 20:39:49 gimli kernel: [42951655.060000] usb 2-1.3: SerialNumber: XXXXXXXXXXXXXXXXXXXXXX > Mar 9 20:39:49 gimli kernel: [42951655.070000] usb-storage: device found at 4 > Mar 9 20:39:49 gimli kernel: [42951655.070000] usb-storage: waiting for device to settle before scanning > Mar 9 20:39:54 gimli kernel: [42951660.070000] usb-storage: device scan complete > Mar 9 20:39:54 gimli kernel: [42951660.100000] scsi 3:0:0:0: Direct-Access WD 5000AAKB Externa l108 PQ: 0 ANSI: 0 > Mar 9 20:39:54 gimli kernel: [42951660.120000] sd 3:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB) > Mar 9 20:39:54 gimli kernel: [42951660.130000] sd 3:0:0:0: [sdc] Write Protect is off > Mar 9 20:39:54 gimli kernel: [42951660.130000] sd 3:0:0:0: [sdc] Mode Sense: 03 00 00 00 > Mar 9 20:39:54 gimli kernel: [42951660.130000] sd 3:0:0:0: [sdc] Assuming drive cache: write through > Mar 9 20:39:54 gimli kernel: [42951660.140000] sd 3:0:0:0: [sdc] 976773168 512-byte hardware sectors (500108 MB) > Mar 9 20:39:54 gimli kernel: [42951660.150000] sd 3:0:0:0: [sdc] Write Protect is off > Mar 9 20:39:54 gimli kernel: [42951660.160000] sd 3:0:0:0: [sdc] Mode Sense: 03 00 00 00 > Mar 9 20:39:54 gimli kernel: [42951660.160000] sd 3:0:0:0: [sdc] Assuming drive cache: write through > Mar 9 20:39:54 gimli kernel: [42951660.160000] sdc: sdc1 > Mar 9 20:39:54 gimli kernel: [42951660.180000] sd 3:0:0:0: [sdc] Attached SCSI disk > .... thanks, Mario (anakin) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html