Unable to access 3TB USB drive via IB-351

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm having trouble accessing a 3TB external drive. I have an IcyBox IB-351 series (IB-351StU3-B) external USB SATA enclosures. When I connect a 3TB external drive to my server (Ubuntu Server 10.04) and try to access it, it hangs completely. For example, running parted, mounting a partition, or running badblocks. It just hangs and I usually have to kill -9 the process.

It works just fine when I use the 750GB drive in the enclosure. The enclosure and drive work just fine with a 3TB drive when hooked up to a Windows PC (Server 2008R2 64-bit). I have tried on two different Ubuntu servers with completely different chipsets, and I see the same results.

I've only used prebuilt kernel binaries from Ubuntu, including some backports. I've tried: 3.0.0-12, 2.6.32-30, 2.6.32-34, and 2.6.38-11. Results were the same on all versions. All were 64-bit.

Usually when I connect the external drive, I see something like this in dmesg:

[685772.270020] usb 1-4: new high speed USB device using ehci_hcd and address 6
[685772.426961] usb 1-4: configuration #1 chosen from 1 choice
[685772.427386] scsi4 : SCSI emulation for USB Mass Storage devices
[685772.427509] usb-storage: device found at 6
[685772.427514] usb-storage: waiting for device to settle before scanning
[685777.421648] usb-storage: device scan complete
[685781.621724] scsi 4:0:0:0: Direct-Access     WDC WD30 EZRX-00MMMB0     80.0 PQ: 0 ANSI: 2
[685781.622341] sd 4:0:0:0: Attached scsi generic sg3 type 0
[685781.626581] sd 4:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16).
[685781.627079] sd 4:0:0:0: [sdc] 5860533165 512-byte logical blocks: (3.00 TB/2.72 TiB)
[685781.627827] sd 4:0:0:0: [sdc] Write Protect is off
[685781.627831] sd 4:0:0:0: [sdc] Mode Sense: 00 06 00 00
[685781.627834] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[685781.632076] sd 4:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16).
[685781.633201] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[685781.633450]  sdc: unknown partition table
[685781.652453] sd 4:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16).
[685781.653577] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[685781.653828] sd 4:0:0:0: [sdc] Attached SCSI disk
[685812.071907] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[685844.101896] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[685876.100648] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[685908.100650] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[685940.101897] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[685972.160666] usb 1-4: reset high speed USB device using ehci_hcd and address 6
[685973.316165] sd 4:0:0:0: [sdc] Unhandled error code
[685973.316170] sd 4:0:0:0: [sdc] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
[685973.316175] sd 4:0:0:0: [sdc] CDB: Read(16): 88 00 00 00 00 01 5d 50 a3 00 00 00
[685973.316188] end_request: I/O error, dev sdc, sector 5860532992
[685973.316440] Buffer I/O error on device sdc, logical block 5860532992
[685973.316696] Buffer I/O error on device sdc, logical block 5860532993
[685973.316948] Buffer I/O error on device sdc, logical block 5860532994
[685973.317200] Buffer I/O error on device sdc, logical block 5860532995
[685973.317453] Buffer I/O error on device sdc, logical block 5860532996
[685973.317706] Buffer I/O error on device sdc, logical block 5860532997
[685973.317957] Buffer I/O error on device sdc, logical block 5860532998
[685973.318209] Buffer I/O error on device sdc, logical block 5860532999

"unknown partition table" is expected, it's a new drive.

The sector that it complains about is not always the same, but is usually within that rough vicinity. It is always a >32-bit number.

lsusb shows:

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 1234:5678
Bus 001 Device 005: ID 046d:c05b Logitech, Inc.
Bus 001 Device 004: ID 04f2:0116 Chicony Electronics Co., Ltd KU-2971 German Keyboard
Bus 001 Device 003: ID 04b4:6560 Cypress Semiconductor Corp. CY7C65640 USB-2.0 "TetraHub"
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Device ID 1234:5678 seems wrong to me, but that's how it shows up on both boxes. However, this is also how it shows up when I have a *working* 750G drive installed, so I'm not sure how relevant this is.

"lsusb | grep PCI" on the two servers I've tried this on shows:

00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 09)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 09)
00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #3 (rev 09)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 09)

and

00:12.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.5 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:16.0 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller

Which looks to me like completely different USB chipsets.

lsusb verbose output on the device shows the following:

Bus 001 Device 006: ID 1234:5678
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1234
  idProduct          0x5678
  bcdDevice            0.05
  iManufacturer           1 VLI manufacture String
  iProduct                2 VLI Product String
  iSerial                 3 0000000000006452
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      2 SFF-8020i, MMC-2 (ATAPI)
      bInterfaceProtocol     80
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered


Any ideas as to what I can do to make this work?

Thanks,
Simon


--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux