LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 02-19-2020, 05:58 PM   #1
papaiso
LQ Newbie
 
Registered: Feb 2020
Posts: 5

Rep: Reputation: Disabled
Question Disk error: ATA2.00 status DRDY - failed command WRITE FPDMA QUEUED


Hi

I have an HP Z2 running on Debian 9 kernel 4.9.189-3+deb9u2.
The system boots from the default nvme drive but my root file system sits on a separate 1Tb SSD drive.
Suddenly I started having errors at boot:

ata2.00 status : [DRDY]
ata2.00 failed command: WRITE FPDMA QUEUED
ata2.00 cmd 61/50:d0:78:14:e4....
ata2.00 res 40/00:cc:58....

and this keeps repeating several times, then I get press CTRL+D or enter root password for maintenance.

when I press CTRL+D the system boots normally, but it is quite unstable.

Since the system boots but it seems to have problems mounting the root fs I have assumed that the issue was a defective SSD drive, so I replaced it.

After replacing the drive, everything worked well for several weeks, but now, suddenly the error is back again.

Is it a hardware issue? What is it causing it?
Thanks

Screenshot of the error
https://www.asuswebstorage.com/navigate/a/#/s/2C238948FA294DA7A5B2452609C73A8C4
 
Old 02-20-2020, 08:08 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,808
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
All I get from trying to open that is a white viewport. http://pastebin.com/ always works for me.

I would try smartctl -t long to see if device failure is indicated.
 
Old 02-21-2020, 02:16 AM   #3
papaiso
LQ Newbie
 
Registered: Feb 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi mrmazda, thanks for replying.

smartctl -t
bash: smartctl: command not found

do I have to install it?
 
Old 02-21-2020, 03:00 AM   #4
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,972
Blog Entries: 32

Rep: Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465Reputation: 1465
papaiso,

Code:
sudo apt install smartmontools gsmartcontrol
 
Old 02-21-2020, 05:59 AM   #5
papaiso
LQ Newbie
 
Registered: Feb 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
OK done...

Quote:
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 10 minutes for test to complete.
Test will complete after Fri Feb 21 22:39:44 2020

Use smartctl -X to abort test.
No visual output of any kind. I guess it generated some sort of report somewhere. Where can I find it?
 
Old 02-21-2020, 06:05 AM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,808
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Code:
# man smartctl
# smartctl -x /dev/<device> | less
 
Old 02-21-2020, 06:29 AM   #7
papaiso
LQ Newbie
 
Registered: Feb 2020
Posts: 5

Original Poster
Rep: Reputation: Disabled
WOW! The manual of smartctl is infinite!

Anyway... it figure it out...

sudo smartctl -l selftest /dev/sdb

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-11-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 224 -

So... the test is negative.

So it may be an issue with the controller on the motherboard... or the SATA cable...

It would be helpful to know what this stuff mean...

ata2.00 status : [DRDY]
ata2.00 failed command: WRITE FPDMA QUEUED
ata2.00 cmd 61/50:d0:78:14:e4....
ata2.00 res 40/00:cc:58....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] libata / SATA Error Messages During Linux Boot Sequence (exception Emask, interface fatal error, hard resetting link, status DRDY) Nz17 Linux - Hardware 8 02-13-2018 03:15 AM
"short read (fsck)" on disc access (failed command: READ FPDMA QUEUED) estellnb Linux - Hardware 3 02-22-2012 05:27 PM
failed command: read dma (status: { DRDY DF ERR }) G00fy Linux - Hardware 2 01-21-2012 06:01 PM
FPDMA error jonnynitro138 Linux - Newbie 3 01-03-2012 10:24 PM
SATA status {DRDY} NX-01 Fedora 4 09-28-2009 06:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration