Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: keyborad hero <xiaoshifeng521@gmail.com>
Cc: linux-ide@vger.kernel.org, 1120831@bugs.debian.org
Subject: Re: ata: SSDSC2KB480G8 (XCV10120) also hits the 4 MiB timeout
Date: Thu, 3 Dec 2026 15:15:40 +0100	[thread overview]
Message-ID: <axF5jKBClWniF7dB@ryzen> (raw)
In-Reply-To: <CA+Yw5V+C-Ok0OHWV-9AfbSf+EejH54Z=0aSQgmmcGKjie5KM6w@mail.gmail.com>

Hello XZY,

On Thu, Dec 03, 2026 at 07:02:19PM +0800, keyborad hero wrote:
> (Replying outside the thread; original patch:
>  https://lore.kernel.org/all/a293512b-dac6-46d8-b9fc-6dd6433816a2@kernel.org/)
> 
> Hi Niklas,
> 
> The -KG/XCV10120 max_sectors quirk looks incomplete: the 2.5" part with the
> same firmware fails identically.
> 
>   model      INTEL SSDSC2KB480G8   (2.5" SATA, not the M.2 -KG SKU)
>   firmware   XCV10120
>   host       Intel 9 Series PCH AHCI (Z97), 6.17.13, iommu=pt
>   link       6.0 Gbps, SError clean, CRC_Error_Count stable at 4
> 
> Symptom, right after the 1280 -> 4096 KiB default bump:
> 
>   ata1.00: exception Emask 0x0 SAct 0x7fdcf806 SErr 0x0 action 0x6 frozen
>   ata1.00: failed command: READ FPDMA QUEUED
>   ata1.00: cmd 60/00:08:00:70:5c/20:00:01:00:00/40 tag 1 ncq dma 4194304 in
>                     res ... Emask 0x4 (timeout)
>   ata1: hard resetting link
> 
> Four resets per boot, ~2 min of unresponsive userspace (udev settle blocks
> ifupdown2-pre, box comes up without a bridge).
> 
> Drive error log is empty and CRC does not move, so the command is accepted
> and then never completes in firmware -- not a transport problem.
> 
> Deterministic repro, read-only against the root disk, 16x
> `dd bs=4M iflag=direct`, 32 iterations each:
> 
>   max_sectors_kb=4096  -> 127 s, 75 timeout events
>   max_sectors_kb=2047  -> 4.5 s, 0 events
>   sequential throughput 383 vs 388 MB/s, i.e. the cap is free
> 
> Consistent with the same 8191-sector boundary; 8192 sectors is enough to
> wedge it. 2047 KiB has been clean in production since.
> 
> If you agree, the table entry would be:
> 
>   { "INTEL SSDSC2KB480G8", "XCV10120", 8191 },
>   ATA_QUIRK_MAX_SEC
> 
> A udev rule pinning queue/max_sectors_kb=2047 is the current stopgap.
> 
> Thanks,
> XZY

Please test:
https://lore.kernel.org/linux-ide/20261203141140.1480089-2-cassel@kernel.org/

And reply with your Tested-by: tag if it solves your problem.


Kind regards,
Niklas

      reply	other threads:[~2026-12-03 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 11:02 ata: SSDSC2KB480G8 (XCV10120) also hits the 4 MiB timeout keyborad hero
2026-12-03 14:15 ` Niklas Cassel [this message]

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=axF5jKBClWniF7dB@ryzen \
    --to=cassel@kernel.org \
    --cc=1120831@bugs.debian.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=xiaoshifeng521@gmail.com \
    /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