Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all!
I have a problem with and external USB 3.0 hard disk.
If connected to my pc this is what is shown in the dmesg:
Code:
[268998.150728] usb 5-2.4.4.4: new high-speed USB device number 13 using xhci_hcd
[268998.351536] usb 5-2.4.4.4: New USB device found, idVendor=0480, idProduct=a200, bcdDevice= 0.00
[268998.351544] usb 5-2.4.4.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[268998.351549] usb 5-2.4.4.4: Product: External USB 3.0
[268998.351554] usb 5-2.4.4.4: Manufacturer: TOSHIBA
[268998.351558] usb 5-2.4.4.4: SerialNumber: 20170325021274F
[268998.352223] usb-storage 5-2.4.4.4:1.0: USB Mass Storage device detected
[268998.352439] scsi host4: usb-storage 5-2.4.4.4:1.0
[268999.375860] scsi 4:0:0:0: Direct-Access TOSHIBA External USB 3.0 0 PQ: 0 ANSI: 6
[268999.376099] sd 4:0:0:0: Attached scsi generic sg1 type 0
[269006.286222] sd 4:0:0:0: [sdb] Media removed, stopped polling
[269006.287208] sd 4:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
[269006.287218] sd 4:0:0:0: [sdb] 0-byte physical blocks
[269006.288090] sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
[269006.289085] sd 4:0:0:0: [sdb] Asking for cache data failed
[269006.289092] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[269006.289861] sd 4:0:0:0: [sdb] Attached SCSI disk
[269029.191103] sd 4:0:0:0: [sdb] Media removed, stopped polling
As you can see it seems the disk has a size of 0 bytes... so I can't even try to dd_rescue it.
I have also bought a new PCB, replaced it and still 0 bytes.
Do you have any suggestiong for trying to fix the problem to, at least, try to recover its content?
P.s.: the same happens with different cables (USB 2 or USB 3), on different PCs, with different OSes (linux or not).
In a similar situation about two years ago I bought a new drive and restored my backup to my new drive. Then I used a sledge hammer to destroy the bad drive before I threw it into the dump.
[269006.286222] sd 4:0:0:0: [sdb] Media removed, stopped polling
That seems the pertinent line to me (a little past half way down your log snippet. It would indicate a loss of communication, which of course would set the system off bellyaching about the disk. But it may not actually be the disk.
USB drives are sata drives. Can you try it in a pc, or in another usb drive case? Ideally use nothing from the previous setup to check. If the drive works, check the old usb case piece by piece. Otherwise, use the wisdom in the previous answers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.