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.
I have no clue which tool could help me, I found some topic here and tried smartctl but:
Code:
[root@TuxBox brice]# smartctl -a /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.19.12-arch1-1] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/sda: Unsupported USB bridge [0x04b4:0x6830 (0x001)]
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
[root@TuxBox brice]#
I think the interface you are using is a POS. If I was in your shoes I'd use ddrescue and pull a full image of this drive, then mount partitions-filesystems in this image and see what's intact and can be used.
Guess you can check the jumpers. Not sure which way they might need to be or even if in.
IOW, without correctly setting drive jumpers according to the instructions for the USB container, you cannot expect to mount or read whatever the drive contains. Correct jumper settings depend on both the drive and the container, as not all PATA drives require the same jumper setting for the same purpose. Most likely the container requires use of either a master drive setting (e.g. for Seagate), or an only drive setting (e.g. for WD).
The drive appears to be a dud from those errors. Forget it.
If you have an old PC, I'd remove it from it's external box, remove the jumpers and try it as a slave. The master jumper is usually marked if there's no other drive on that lead. Forget any external boxes. It's just an extra source of possible error.
A long time ago I played with those and found some cases and drives needed to have jumpers in non-standard locations. Play with them to see if it changes.
Drive spins at power up and then stops after some seconds.
I tried under W.. and not able to initialize it.
I tried in an old computer directly on an IDE connector and got at start a "disk2 failure" (with or without the original IDE drive). I did not change the jumper settings at that time as it was previously working in the external box. I let the jumper as is and not as slave, I can give it a go but I have little hope...
one more thing: now I seem not getting any "sda" mention at power up:
Output of dmesg:
Code:
[ 612.781866] usb 1-3: new high-speed USB device number 6 using xhci_hcd
[ 612.922953] usb 1-3: New USB device found, idVendor=04b4, idProduct=6830, bcdDevice= 0.01
[ 612.922961] usb 1-3: New USB device strings: Mfr=56, Product=78, SerialNumber=100
[ 612.922964] usb 1-3: Product: USB2.0 Storage Device
[ 612.922966] usb 1-3: Manufacturer: Cypress Semiconductor
[ 612.922968] usb 1-3: SerialNumber: ############
[ 612.924063] ums-cypress 1-3:1.0: USB Mass Storage device detected
[ 612.924220] scsi host1: usb-storage 1-3:1.0
Given the errors related to the USB interface, what happens if you try a different IDE-USB interface. It easily could be either the drive itself, or the external case / adapter you connected it with. Should you happen to have access to older PC hardware with a mobo that has the ide interface it might be possible to connect directly to the drive and eliminate the usb interface entirely.
Smartctl often does not communicate with a drive connected by USB, though for better quality interfaces it may.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.