From: Niklas Cassel <cassel@kernel.org>
To: AlanCui4080 <me@alancui.cc>
Cc: linux-ide@vger.kernel.org
Subject: Re: Default IDENTIFY timeout is 5000ms which is too short for enterprise disks
Date: Mon, 20 Apr 2026 18:27:53 +0200 [thread overview]
Message-ID: <aeZUCa5wumWXi_yN@ryzen> (raw)
In-Reply-To: <23071769.EfDdHjke4D@alanarchdesktop>
On Thu, Apr 16, 2026 at 08:59:30PM +0800, AlanCui4080 wrote:
[...]
> [12961.113196] ata2: link is slow to respond, please be patient (ready=0)
> [12961.114200] ata4: link is slow to respond, please be patient (ready=0)
> [12963.428372] r8169 0000:07:00.0 enp7s0: Link is Up - 1Gbps/Full - flow control rx/tx
> [12965.816162] ata2: found unknown device (class 0)
> [12965.816180] ata4: found unknown device (class 0)
> [12965.969160] ata2: found unknown device (class 0)
> [12965.969171] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
> [12965.970159] ata4: found unknown device (class 0)
> [12965.970167] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
> [12981.369196] ata2.00: qc timeout after 15000 msecs (cmd 0xec)
> [12981.369207] ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4)
> [12981.369210] ata2.00: revalidation failed (errno=-5)
> [12981.369226] ata4.00: qc timeout after 15000 msecs (cmd 0xec)
> [12981.369236] ata4.00: failed to IDENTIFY (I/O error, err_mask=0x4)
> [12981.369238] ata4.00: revalidation failed (errno=-5)
> [12981.833047] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
> [12981.833134] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
> [12981.869506] ata2.00: configured for UDMA/133
> [12981.879537] ata4.00: configured for UDMA/133
From this it seems that it is simply the first IDENTIFY that times out.
On the second try, it seems that the IDENTIFY passes, otherwise we would
have seen more "revalidation failed (errno=-5)" prints for the same drive.
So, from this log alone, I don't see any problem. We will try to do IDENTIFY
up to three times, so just a single IDENTIFY failing should not be a problem.
So I think the question is, at this point, can you read from the drive?
E.g.:
# dd if=/dev/sda of=/dev/null iflag=direct bs=4K count=1
replace /dev/sda with the drive connected to ata2.00 or ata4.00.
If you can read from the device, then this seem like a problem with zpool
kicking the device off the RAID array (perhaps because it is taking longer
than some zpool defined timeout value?), rather than a libata problem.
Kind regards,
Niklas
next prev parent reply other threads:[~2026-04-20 16:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-09 10:21 Default IDENTIFY timeout is 5000ms which is too short for enterprise disks AlanCui4080
2026-04-09 11:55 ` Damien Le Moal
2026-04-09 12:01 ` Damien Le Moal
2026-04-15 12:40 ` Niklas Cassel
2026-04-16 12:59 ` AlanCui4080
2026-04-20 16:27 ` Niklas Cassel [this message]
2026-04-23 9:18 ` AlanCui4080
2026-04-23 11:15 ` Niklas Cassel
2026-04-23 14:26 ` AlanCui4080
2026-04-23 16:17 ` Niklas Cassel
2026-05-08 20:48 ` AlanCui4080
[not found] ` <14062658.dW097sEU6C@alanarchdesktop>
[not found] ` <4482b737-1454-48cb-a941-165aa84fb2eb@kernel.org>
2026-04-10 11:24 ` AlanCui4080
2026-04-10 12:14 ` AlanCui4080
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aeZUCa5wumWXi_yN@ryzen \
--to=cassel@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=me@alancui.cc \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox