I just tried this with CentOS 5.3 as well, and got exactly the same symptoms and dmesg output. (As a point of comparison, Ubunu 8.04 on my work laptop is able to access the drive.)
Obviously "not detected" is a misapprehension, though I'm puzzled why "lsusb" doesn't show it. The device is there even though the partition table can't be read.
---------- Forwarded message ---------- From: Bart Schaefer barton.schaefer@gmail.com Date: Tue, Apr 28, 2009 at 10:58 AM Subject: Re: [CentOS] USB device not detected (CentOS 4.7) To: CentOS mailing list centos@centos.org
On Tue, Apr 28, 2009 at 10:01 AM, Craig White craigwhite@azapple.com wrote:
On Tue, 2009-04-28 at 09:48 -0700, Bart Schaefer wrote:
I recently purchased an I/O Magic USB enclosure for 3.5" IDE
check what it says about the drive in dmesg after you plugged it in.
Hmm.
usb 1-6: new high speed USB device using address 4 scsi7 : SCSI emulation for USB Mass Storage devices Vendor: HDS72251 Model: 6VLAT80 Rev: 0 0 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdd: 321672960 512-byte hdwr sectors (164697 MB) sdd: assuming drive cache: write through SCSI device sdd: 321672960 512-byte hdwr sectors (164697 MB) sdd: assuming drive cache: write through
(so far this is correct, it's a 160GB drive in the enclosure) (the leading space on the next line is literally there in dmesg)
sdd:SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 ldm_validate_partition_table(): Disk read failed. SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 unable to read partition table Attached scsi disk sdd at scsi7, channel 0, id 0, lun 0 USB Mass Storage device found at 4 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 8 Buffer I/O error on device sdd, logical block 1
(the last three lines then repeat for each of sectors 16-568, logical blocks 2-71)
SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 512 Buffer I/O error on device sdd, logical block 64 usb 1-6: USB disconnect, address 4
(that's where I unplugged)
Could be a problem with the USB port on the CentOS computer, or if you are using a cable on with that computer, the cable.
Craig
On Tue, 2009-04-28 at 15:11 -0700, Bart Schaefer wrote:
I just tried this with CentOS 5.3 as well, and got exactly the same symptoms and dmesg output. (As a point of comparison, Ubunu 8.04 on my work laptop is able to access the drive.)
Obviously "not detected" is a misapprehension, though I'm puzzled why "lsusb" doesn't show it. The device is there even though the partition table can't be read.
---------- Forwarded message ---------- From: Bart Schaefer barton.schaefer@gmail.com Date: Tue, Apr 28, 2009 at 10:58 AM Subject: Re: [CentOS] USB device not detected (CentOS 4.7) To: CentOS mailing list centos@centos.org
On Tue, Apr 28, 2009 at 10:01 AM, Craig White craigwhite@azapple.com wrote:
On Tue, 2009-04-28 at 09:48 -0700, Bart Schaefer wrote:
I recently purchased an I/O Magic USB enclosure for 3.5" IDE
check what it says about the drive in dmesg after you plugged it in.
Hmm.
usb 1-6: new high speed USB device using address 4 scsi7 : SCSI emulation for USB Mass Storage devices Vendor: HDS72251 Model: 6VLAT80 Rev: 0 0 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdd: 321672960 512-byte hdwr sectors (164697 MB) sdd: assuming drive cache: write through SCSI device sdd: 321672960 512-byte hdwr sectors (164697 MB) sdd: assuming drive cache: write through
(so far this is correct, it's a 160GB drive in the enclosure) (the leading space on the next line is literally there in dmesg)
sdd:SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 ldm_validate_partition_table(): Disk read failed. SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 unable to read partition table Attached scsi disk sdd at scsi7, channel 0, id 0, lun 0 USB Mass Storage device found at 4 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 0 Buffer I/O error on device sdd, logical block 0 SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 8 Buffer I/O error on device sdd, logical block 1
(the last three lines then repeat for each of sectors 16-568, logical blocks 2-71)
SCSI error : <7 0 0 0> return code = 0x10070000 end_request: I/O error, dev sdd, sector 512 Buffer I/O error on device sdd, logical block 64 usb 1-6: USB disconnect, address 4
(that's where I unplugged) _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, Apr 28, 2009 at 6:24 PM, Craig White craigwhite@azapple.com wrote:
Could be a problem with the USB port on the CentOS computer, or if you are using a cable on with that computer, the cable.
Same cable everywhere. Four different computers (two desktops, two laptops; three custom-built, one an HP; and the HP is the one running CentOS 5.3). Fails on CentOS 4.7 desktop and CentOS 5.3 laptop. Works on Windows XPsp3 desktop and Ubuntu 8.04 laptop. Maxtor OneTouch works on the CentOS 5.3 laptop (in fact, that laptop has its root filesystem on the Maxtor USB).
So it sure looks like some specific incompatibility of this I/O Magic drive enclosure with the EL4/EL5 USB drivers.
On Tue, 2009-04-28 at 22:37 -0700, Bart Schaefer wrote:
On Tue, Apr 28, 2009 at 6:24 PM, Craig White craigwhite@azapple.com wrote:
Could be a problem with the USB port on the CentOS computer, or if you are using a cable on with that computer, the cable.
Same cable everywhere. Four different computers (two desktops, two laptops; three custom-built, one an HP; and the HP is the one running CentOS 5.3). Fails on CentOS 4.7 desktop and CentOS 5.3 laptop. Works on Windows XPsp3 desktop and Ubuntu 8.04 laptop. Maxtor OneTouch works on the CentOS 5.3 laptop (in fact, that laptop has its root filesystem on the Maxtor USB).
So it sure looks like some specific incompatibility of this I/O Magic drive enclosure with the EL4/EL5 USB drivers.
---- FWIW, I have an el cheapo USB card reader that won't work on WinXP (2 computers) but works fine on Linux including the same computer via dual-boot.
I also had problems with a USB hard disk drive on one computer until I updated the BIOS. Always make sure that computers that exhibit these problems, you would want to update BIOS on them.
Basically, USB sucks as a technology and it can be entirely inconsistent.
Craig