Author Topic: USB drive not seen as logical block device [SOLVED]  (Read 3015 times)

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
USB drive not seen as logical block device [SOLVED]
« on: August 13, 2012, 05:06:12 AM »
This weeks removeable storage saga continues.

This time I have a new 64Gb generic USB pen drive which is not recognized as a logical block device.
Either that or the system is not able to correctly determine the size of the media.

lsusb reports Device/ Vendor ID 0011:7788

fdisk -l causes the terminal to freeze.

Gparted just scans for devices for ever and I have to close it.

Dmesg output,  for the device only, shows it is seen as:

Code: [Select]
usb 4-1.3: New USB device found, idVendor=0011, idProduct=7788
usb 4-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-1.3: Manufacturer: Generic
usb 4-1.3: SerialNumber: 210F8EF1
usb 4-1.4: new low speed USB device using uhci_hcd and address 6
usb 4-1.4: string descriptor 0 malformed (err = -61), defaulting to 0x0409

But not as a logical block device:

Code: [Select]
sd 2:0:0:0: [sdb] Unhandled error code
sd 2:0:0:0: [sdb]  Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
sd 2:0:0:0: [sdb] CDB: Read(10): 28 00 07 c3 7f f8 00 00 01 00
end_request: I/O error, dev sdb, sector 130252792
Buffer I/O error on device sdb, logical block 16281599
usb 4-1.3: reset full speed USB device using uhci_hcd and address 5
usb 4-1.3: reset full speed USB device using uhci_hcd and address 5
usb 4-1.3: reset full speed USB device using uhci_hcd and address 5
usb 4-1.3: reset full speed USB device using uhci_hcd and address 5
usb 4-1.3: reset full speed USB device using uhci_hcd and address 5
usb 4-1.3: reset full speed USB device using uhci_hcd and address 5
sd 2:0:0:0: [sdb] Unhandled error code
sd 2:0:0:0: [sdb]  Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
sd 2:0:0:0: [sdb] CDB: Read(10): 28 00 07 c3 7f f8 00 00 01 00
end_request: I/O error, dev sdb, sector 130252792

The device works fine on a Windblows (TM) system and on my DVD player but does not work on any Linux distro here at all, eg Mint, Buntu, PCLOS. All report the same error.
« Last Edit: August 16, 2012, 02:48:25 PM by Jonesy »
"But it was ok before.... honest"

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10613
  • MLUs Forever!
Re: USB drive not seen as logical block device
« Reply #1 on: August 13, 2012, 08:20:09 AM »
Quote
The device works fine on a Windblows (TM) system

Have you any tools available there to examine the structure of the device?

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline pags

  • Hero Member
  • *****
  • Posts: 2515
  • Keep it clean.
Re: USB drive not seen as logical block device
« Reply #2 on: August 13, 2012, 12:04:05 PM »
Have you considered booting from a LiveCD without any USb devices connected (except mouse and keyboard) and then plug it in, and see how it handles it?  Would be a good time to check dmesg, also...

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
Re: USB drive not seen as logical block device
« Reply #3 on: August 13, 2012, 02:14:46 PM »
Quote
The device works fine on a Windblows (TM) system

Have you any tools available there to examine the structure of the device?



No unfortunately I don't. All I have is a small util by HP for Win that formats such devices to FAT32 which I have used to no effect.

It works fine in WinXP and Win 7 and my DVD player sees it np, but Linux see'eth it not  :'( . I will try pags suggestion and let you know.
"But it was ok before.... honest"

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
Re: USB drive not seen as logical block device
« Reply #4 on: August 13, 2012, 03:15:00 PM »
Booting from  a live cd of an OLD! version of PCLOS, 2010 running kernel 2.6.33.7
dmesg gives more positive info. The device is accurately identified and the media size
is correct at 66.6 GB and no logical block errors but it still will not mount and is not seen.

Code: [Select]
usb 1-1.3: new full speed USB device using uhci_hcd and address 6
usb 1-1.3: not running at top speed; connect to a high speed hub
usb 1-1.3: New USB device found, idVendor=0011, idProduct=7788
usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.3: Manufacturer: Generic
usb 1-1.3: SerialNumber: 210F8EF1
scsi2 : usb-storage 1-1.3:1.0
scsi 2:0:0:0: Direct-Access     Generic                   8.00 PQ: 0 ANSI: 2
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] 130252800 512-byte logical blocks: (66.6 GB/62.1 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI removable disk
"But it was ok before.... honest"

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
Re: USB drive not seen as logical block device
« Reply #5 on: August 13, 2012, 03:43:08 PM »
Ok so now I have switched from using an expansion hub directly into a USB port on the machine which gives the following dmesg output indicating the device is seen registered and identified correctly::

Code: [Select]
Initializing USB Mass Storage driver...
scsi2 : usb-storage 4-1.3:1.0
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver uas
scsi 2:0:0:0: Direct-Access     Generic                   8.00 PQ: 0 ANSI: 2
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] 130252800 512-byte logical blocks: (66.6 GB/62.1 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI removable disk



Now this is where the fun starts.... When I try to mount it as /dev/sdb the led on the device flashes a few seconds then terminal freezes.

Code: [Select]
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
sd 2:0:0:0: [sdb] Unhandled error code
sd 2:0:0:0: [sdb]  Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
sd 2:0:0:0: [sdb] CDB: Read(10): 28 00 07 c3 7f f8 00 00 01 00
end_request: I/O error, dev sdb, sector 130252792
Buffer I/O error on device sdb, logical block 16281599
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6
usb 4-1.3: reset full speed USB device using uhci_hcd and address 6


The device simply will not mount

« Last Edit: August 13, 2012, 03:48:38 PM by Jonesy »
"But it was ok before.... honest"

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: USB drive not seen as logical block device
« Reply #6 on: August 13, 2012, 03:59:44 PM »
This confuses me a bit:

When I try to mount it as /dev/sdb the led on the device flashes a few seconds then terminal freezes.

Normally you can't mount /dev/sdb. That's the whole drive. You should mount the partitions on it. If there's only one, that would be /dev/sdb1.

But that doesn't explain why fdisk -l doesn't work. (And fdisk -l /dev/sdb should show all the partitions on the drive - at least if you run it as root.)
« Last Edit: August 13, 2012, 04:13:10 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
Re: USB drive not seen as logical block device
« Reply #7 on: August 13, 2012, 05:20:56 PM »
This confuses me a bit:

When I try to mount it as /dev/sdb the led on the device flashes a few seconds then terminal freezes.

Normally you can't mount /dev/sdb. That's the whole drive. You should mount the partitions on it. If there's only one, that would be /dev/sdb1.

But that doesn't explain why fdisk -l doesn't work. (And fdisk -l /dev/sdb should show all the partitions on the drive - at least if you run it as root.)


Sorry thats what i meant to say /dev/sdb1  :-\

Your also right that it doesn't explain why fdisk -l doesn't work properly or why hard PCC drake freezes. Also if I try to examine the device in Gparted the app locks up and I have to kill it.
"But it was ok before.... honest"

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 997
  • Wayfarer of The Western Wastes
Re: USB drive not seen as logical block device
« Reply #8 on: August 16, 2012, 10:05:49 AM »
Hey, Jonesy,

What's the brand name and model on this device?  The reason I ask is this:  if you're having trouble with it, it's likely other folks are, too.  One of them may have found a cure for the problem?

I'm sure you've tried it in every port on the system (and you said it works fine with Windows)...  Is it USB 3.0?  (Yeah, that shouldn't make a difference, but...)

This sounds like an interesting problem. 

Later On,
D
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
Re: USB drive not seen as logical block device
« Reply #9 on: August 16, 2012, 02:47:50 PM »
The mystery is solved, the device is a fake!. It is an 8GB device hacked to appear as 64GB.
I contacted the seller today and he has agreed to refund the full cost.

Here are the TRUE specs for this device after running a Chip ID util on Windblows (TM).

Code: [Select]
Description: [D:]USB Mass Storage Device(Generic)
Device Type: Mass Storage Device

Protocal Version: USB 2.00
Current Speed: High Speed
Max Current: 100mA

USB Device ID: VID = 0011 PID = 7788
Serial Number: 210F8EF1

Device Vendor: Generic
Device Revision: 0103

Manufacturer: Generic
Product Revision: 8.00

Chip Vendor: Alcor Micro
Chip Part-Number: SC708(FC8708)/AU6987/AU6990 - F/W EC23
Flash ID Code: 2C68044A - Micron - 2CE/Single Channel [MLC-4K] -> Total Capacity = 8GB
Reference Product: U

If anyone else has a similar problem this is the answer. Seems they all have the 0011:7788
Device/ Vendor ID

As the saying goes Caveat Emptor. At least this once again shows the infallibility of Linux which
wasn't fooled for a moment.
"But it was ok before.... honest"