From: Niklas Cassel <cassel@kernel.org>
To: Wolf <snow.wolf.29@proton.me>, dlemoal@kernel.org
Cc: 1120831@bugs.debian.org, linux-ide@vger.kernel.org
Subject: Re: [regression] failed command: READ FPDMA QUEUED after boot for INTEL SSDSC2KG480G8, XCV10120 after 9b8b84879d4a ("block: Increase BLK_DEF_MAX_SECTORS_CAP")
Date: Wed, 14 Jan 2026 17:25:05 +0100 [thread overview]
Message-ID: <aWfDYaZU7nYtcH0b@fedora> (raw)
In-Reply-To: <kkJPUUv8aExqrXPkwlzwEJV7Ywy3ogYCeTawLZZJm3wHBYylIhyCUeIKVFg6PWku-5BbspvtELJC6Tok6ens7Ib26hFkuSKKSm8NEwigRYo=@proton.me>
Hello Wolf,
On Wed, Jan 14, 2026 at 03:11:50PM +0000, Wolf wrote:
> Here is find-max-sectors.sh output:
>
> Drive model:
> INTEL SSDSC2KG480G8
>
> Drive firmware:
> XCV10120
>
> SATA / AHCI controller:
> 00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller [8086:a353] (rev 10)
>
> Drive values before running the test:
> /sys/block/sda/queue/max_hw_sectors_kb:32767
> /sys/block/sda/queue/max_sectors_kb:1280
> /sys/block/sda/queue/read_ahead_kb:128
>
> Running test with max_sectors 128 KiB
> Test: PASS
>
> Running test with max_sectors 1024 KiB
> Test: PASS
>
> Running test with max_sectors 2048 KiB
> Test: PASS
>
> Running test with max_sectors 3072 KiB
> Test: PASS
>
> Running test with max_sectors 4095 KiB
> Test: PASS
>
> Running test with max_sectors 4096 KiB
> Test: PASS
It is quite unexpected that 4096 KiB passes.
find-max-sectors.sh performs reads.
The commands that timed out according to dmesg shared were
also reads:
Dec 10 18:58:49 kernel: ata1.00: failed command: READ FPDMA QUEUED
Dec 10 18:58:49 kernel: ata1.00: cmd 60/00:18:50:4a:4c/20:00:0c:00:00/40 tag 3 ncq dma 4194304 in res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
And also of size 4194304 == 4096 KiB.
The script has been able to detect different limits for other
"broken" drives, and was used to get the quirk value for e.g.
commit 2e9832713631 ("ata: libata-core: Quirk DELLBOSS VD max_sectors"),
so I wonder why it is not workin here (why 4 MiB reads passes).
Damien, ideas?
Kind regards,
Niklas
next prev parent reply other threads:[~2026-01-14 16:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-14 11:47 [regression] failed command: READ FPDMA QUEUED after boot for INTEL SSDSC2KG480G8, XCV10120 after 9b8b84879d4a ("block: Increase BLK_DEF_MAX_SECTORS_CAP") Salvatore Bonaccorso
2026-01-14 14:17 ` Niklas Cassel
[not found] ` <kkJPUUv8aExqrXPkwlzwEJV7Ywy3ogYCeTawLZZJm3wHBYylIhyCUeIKVFg6PWku-5BbspvtELJC6Tok6ens7Ib26hFkuSKKSm8NEwigRYo=@proton.me>
2026-01-14 16:25 ` Niklas Cassel [this message]
[not found] ` <iy-aryUnhtm6ORlJyPqOF0OrRSv1jAmyv_rOu1PswCnpCfQoNL8DKbBg26v5qsmW1zSU1MfDdWnvFJ5Y3mzYqXCq121b-I5pWll_AkEj1Sc=@proton.me>
2026-01-16 13:59 ` Niklas Cassel
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=aWfDYaZU7nYtcH0b@fedora \
--to=cassel@kernel.org \
--cc=1120831@bugs.debian.org \
--cc=dlemoal@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=snow.wolf.29@proton.me \
/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