Linux ATA/IDE development
 help / color / mirror / Atom feed
* ata: SSDSC2KB480G8 (XCV10120) also hits the 4 MiB timeout
@ 2026-12-03 11:02 keyborad hero
  2026-12-03 14:15 ` Niklas Cassel
  0 siblings, 1 reply; 2+ messages in thread
From: keyborad hero @ 2026-12-03 11:02 UTC (permalink / raw)
  To: linux-ide; +Cc: 1120831

(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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ata: SSDSC2KB480G8 (XCV10120) also hits the 4 MiB timeout
  2026-12-03 11:02 ata: SSDSC2KB480G8 (XCV10120) also hits the 4 MiB timeout keyborad hero
@ 2026-12-03 14:15 ` Niklas Cassel
  0 siblings, 0 replies; 2+ messages in thread
From: Niklas Cassel @ 2026-12-03 14:15 UTC (permalink / raw)
  To: keyborad hero; +Cc: linux-ide, 1120831

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-03 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 11:02 ata: SSDSC2KB480G8 (XCV10120) also hits the 4 MiB timeout keyborad hero
2026-12-03 14:15 ` Niklas Cassel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox