Linux - Hardware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
06-10-2022, 09:01 AM
|
#16
|
Moderator
Registered: Aug 2002
Posts: 26,552
|
Quote:
=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error badly formed scsi parameters
SMART overall-health self-assessment test result: UNKNOWN!
SMART Status, Attributes and Thresholds cannot be read.
|
The dmesg output does not show the drive was being read.
IMHO it looks like the drive is dead. The heads might of crashed or stuck to the disk.
|
|
|
06-10-2022, 09:13 AM
|
#17
|
Member
Registered: Dec 2014
Posts: 37
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
The dmesg output does not show the drive was being read.
IMHO it looks like the drive is dead. The heads might of crashed or stuck to the disk.
|
yes... it's detected but with 0
guess i will need just to replace it
is smartctl a good tool or my guess is very limited?
|
|
|
06-10-2022, 12:57 PM
|
#18
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849
|
Quote:
Originally Posted by tendouser
yes... it's detected but with 0
guess i will need just to replace it
|
I would take that to mean that the disk electronics are able (or mostly able) to respond but that the platters/heads aren't functioning. I.e., "dead".
Having an external drive dock would be useful in that you could probably hear whether the disk is spinning up (or you can put a finger on the drive in the dock to feel if it's spinning). If it isn't, then, as michealk noted, the heads are probably stuck to the platter.
It is a 500GB drive and, frankly, I haven't seen one of those available for purchase for a number of years. CoD is probably old age.
|
|
|
06-10-2022, 06:03 PM
|
#19
|
Member
Registered: Jan 2022
Location: Earth
Distribution: Debian
Posts: 249
Rep: 
|
Can you try using a different USB cable to connect the drive?
Quote:
.....and yes, here in my country there are outages, not every day but at least 1-2 times a week... and probably fluctuations too
|
I was referring to the fact that the computer might not be providing enough power to the USB drive for it to function correctly. Can you try connecting the drive to a different USB port?
are you able to run 'fdisk -l /dev/sda' (as root, without the quotes) on the drive?
|
|
|
06-10-2022, 07:24 PM
|
#20
|
Moderator
Registered: Aug 2002
Posts: 26,552
|
It is an internal drive in a laptop.
|
|
|
06-10-2022, 09:03 PM
|
#21
|
Senior Member
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,805
|
Quote:
Originally Posted by tendouser
Code:
[root@sysrescue ~]# dmesg | grep usb
|
Why are you looking for a USB device when this is the internal SATA drive on a laptop? Here are the relevant lines from your pastebin:
Code:
[ 1.693027] ata1: SATA max UDMA/133 abar m2048@0x8141c000 port 0x8141c100 irq 118
...
[ 2.064066] ata1.00: failed to read native max address (err_mask=0x1)
[ 2.064076] ata1.00: HPA support seems broken, skipping HPA handling
[ 2.064083] ata1.00: ATA-8: ST500LT012-1DG142, 0003, max UDMA/133
[ 2.064088] ata1.00: 0 sectors, multi 16: LBA NCQ (depth 32)
[ 2.076805] ata1.00: configured for UDMA/133
[ 2.087336] scsi 0:0:0:0: Direct-Access ATA ST500LT012-1DG14 0003 PQ: 0 ANSI: 5
[ 2.088036] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[ 2.088051] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 2.088098] sd 0:0:0:0: [sda] Write Protect is off
[ 2.088109] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2.088208] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
It looks like the drive is indeed dead, or at least unable to spin its platters. Have you tried the trick of rotating the laptop sharply in the horizontal plane just as you turn on power and the disk is trying to spin up? Sometimes that can break loose a sticky bearing. (If you can hear the drive spinning, that is of course pointless.)
Last edited by rknichols; 06-10-2022 at 09:07 PM.
Reason: add: If you can hear ...
|
|
|
06-12-2022, 05:05 PM
|
#22
|
Member
Registered: Dec 2014
Posts: 37
Original Poster
Rep: 
|
Quote:
Originally Posted by rknichols
Why are you looking for a USB device when this is the internal SATA drive on a laptop? Here are the relevant lines from your pastebin:
Code:
[ 1.693027] ata1: SATA max UDMA/133 abar m2048@0x8141c000 port 0x8141c100 irq 118
...
[ 2.064066] ata1.00: failed to read native max address (err_mask=0x1)
[ 2.064076] ata1.00: HPA support seems broken, skipping HPA handling
[ 2.064083] ata1.00: ATA-8: ST500LT012-1DG142, 0003, max UDMA/133
[ 2.064088] ata1.00: 0 sectors, multi 16: LBA NCQ (depth 32)
[ 2.076805] ata1.00: configured for UDMA/133
[ 2.087336] scsi 0:0:0:0: Direct-Access ATA ST500LT012-1DG14 0003 PQ: 0 ANSI: 5
[ 2.088036] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[ 2.088051] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 2.088098] sd 0:0:0:0: [sda] Write Protect is off
[ 2.088109] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2.088208] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
It looks like the drive is indeed dead, or at least unable to spin its platters. Have you tried the trick of rotating the laptop sharply in the horizontal plane just as you turn on power and the disk is trying to spin up? Sometimes that can break loose a sticky bearing. (If you can hear the drive spinning, that is of course pointless.)
|
i rotated it as advised but remains the same
thxs to you and all the other guys.... brilliant support!
|
|
|
All times are GMT -5. The time now is 08:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|