From: Niklas Cassel <cassel@kernel.org>
To: Eyal Lebedinsky <eyal@eyal.emu.id.au>
Cc: list linux-ide <linux-ide@vger.kernel.org>, dlemoal@kernel.org
Subject: Re: ata timeout exceptions
Date: Tue, 18 Nov 2025 16:17:41 +0100 [thread overview]
Message-ID: <aRyOFRCQ_nSWtmsh@ryzen> (raw)
In-Reply-To: <4f0fa70c-b259-4998-bf94-c6c6fd8c733c@eyal.emu.id.au>
On Fri, Nov 14, 2025 at 03:32:20PM +1100, Eyal Lebedinsky wrote:
> > For the last few weeks it started to log timeout errors (not always) like this:
>
> For the last two weeks I was monitoring the activity on the disk and here is what I did:
>
> - added to boot command line: libata.force=2.00:noncq
> now smartmon sees no more Command_Timeout errors since
To be honest, I don't think you should need to disable NCQ.
> This disk was used for a few years without such errors. The first report is recent (from 25/Oct this year).
Which kernel version are you running?
> 12:15:14+11:00 kernel: ata2.00: failed command: WRITE DMA EXT
> 12:15:14+11:00 kernel: ata2.00: cmd 35/00:00:00:68:4e/00:20:77:00:00/e0 tag 28 dma 4194304 out
> res 40/00:00:00:4f:c2/00:00:00:00:00/40 Emask 0x4 (timeout)
> 12:15:14+11:00 kernel: ata2.00: status: { DRDY }
> 12:15:14+11:00 kernel: ata2: hard resetting link
> 12:15:15+11:00 kernel: ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
> 12:15:15+11:00 kernel: ata2.00: configured for UDMA/133
> 12:15:15+11:00 kernel: ata2: EH complete
It is a 4194304 byte write that is failing, i.e. 4 MiB write.
This sounds very much like a recent bug report we have received:
https://bugzilla.kernel.org/show_bug.cgi?id=220693
In fact, a lot of the failing commands in that bug report is also a read
or write of size 4 MiB.
I guess you could try reverting 459779d04ae8 ("block: Improve read ahead
size for rotational devices") and see if that improves things for you
(while keeping NCQ enabled).
Kind regards,
Niklas
next prev parent reply other threads:[~2025-11-18 15:17 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-03 4:13 ata timeout exceptions Eyal Lebedinsky
2025-11-09 20:40 ` Niklas Cassel
2025-11-09 22:41 ` Eyal Lebedinsky
2025-11-10 13:11 ` Niklas Cassel
2025-11-14 4:32 ` Eyal Lebedinsky
2025-11-18 15:17 ` Niklas Cassel [this message]
2025-11-18 23:05 ` Eyal Lebedinsky
2025-11-19 5:41 ` Damien Le Moal
2025-11-19 13:37 ` Eyal Lebedinsky
2025-11-20 3:34 ` Damien Le Moal
2025-11-20 11:38 ` Eyal Lebedinsky
2025-11-20 12:18 ` Damien Le Moal
2025-11-20 23:53 ` Eyal Lebedinsky
2025-12-16 23:39 ` Eyal Lebedinsky
2025-12-17 1:35 ` Damien Le Moal
2025-12-17 11:56 ` Eyal Lebedinsky
2025-12-17 12:02 ` Niklas Cassel
2025-12-20 4:03 ` Eyal Lebedinsky
2025-12-21 8:34 ` Damien Le Moal
2025-12-21 12:12 ` Eyal Lebedinsky
2025-12-21 22:43 ` Eyal Lebedinsky
2025-12-21 23:14 ` Damien Le Moal
2025-12-22 2:10 ` Eyal Lebedinsky
2025-12-22 3:43 ` Damien Le Moal
2025-12-22 5:57 ` Eyal Lebedinsky
2025-12-30 22:43 ` Eyal Lebedinsky
2026-01-02 1:21 ` Damien Le Moal
2026-01-02 6:30 ` Eyal Lebedinsky
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=aRyOFRCQ_nSWtmsh@ryzen \
--to=cassel@kernel.org \
--cc=dlemoal@kernel.org \
--cc=eyal@eyal.emu.id.au \
--cc=linux-ide@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.