Public bug reported:
After updating to linux-image-7.0.0-44-generic (7.0.0-44.44~24.04.1,
HWE) on a MacBook Pro 11,4, the kernel repeatedly reports "host bus
error" on ata1 during NCQ writes. This results in a link reset, I/O
errors, and ext4 messages "failed to convert unwritten extents to
written extents -- potential data loss!". On one boot the root
filesystem went read-only (errors=remount-ro).
The same disk and the same install on 6.14.0-37-generic shows zero
ata1/EXT4 errors on sda. The disk also works fine under macOS, and SMART
is clean. This looks like a kernel regression (libata/ahci, NCQ or LPM
handling) for this controller.
The system is Linux Mint 22.3, which is based on Ubuntu 24.04 (noble).
The kernel comes unchanged from the Ubuntu archive (noble-updates).
ubuntu-bug/apport refuses to file on Mint, so I am reporting manually.
== Occurrences (journalctl -k) ==
All three boots were on 7.0.0-44-generic. The error appears 1-3 minutes after
boot, under write load:
- 2026-12-02 20:29:47 (boot 20:27), about 455 error lines
- 2026-12-02 21:28:01 (boot 21:26)
- 2026-12-02 22:03:54 (boot 22:02)
Boots on 6.14.0-37-generic in the same period: no ata1/EXT4 errors on
sda. Short 7.0 boots without writes are also clean.
== Environment ==
DMI: Apple Inc. MacBookPro11,4/Mac-06F11FD93F0323C5, BIOS 489.0.0.0.0 10/07/2023
Disk: ATA-8: APPLE SSD SM0256G, BXW1SA0Q, 490234752 sectors, NCQ depth 32
Controller: 01:00.0 SATA controller [0106]: Samsung Electronics Co Ltd
S4LN058A01[SSUBX] AHCI SSD Controller [144d:a801]
Failing kernel: 7.0.0-44-generic (7.0.14), #44~24.04.1-Ubuntu
Working kernel: 6.14.0-37-generic (6.14.0-37.37~24.04.1)
Cmdline: BOOT_IMAGE=/boot/vmlinuz-7.0.0-44-generic root=UUID=07efba94-... ro
quiet splash
== Key log excerpts (7.0.0-44, 2026-12-02) ==
ata1.00: exception Emask 0x20 SAct 0x3ff80 SErr 0x0 action 0x6 frozen
ata1.00: irq_stat 0x20000000, host bus error
ata1.00: failed command: WRITE FPDMA QUEUED (x11)
ata1: hard resetting link
ata1.00: exception Emask 0x20 SAct 0x200 SErr 0x0 action 0x6 frozen
ata1.00: irq_stat 0x20000000, host bus error
...
EXT4-fs warning (device sda2): ext4_end_bio:369: I/O error 10 writing to inode
10112958 starting block 32695552)
EXT4-fs (sda2): failed to convert unwritten extents to written extents --
potential data loss! (inode 10112958, error -5)
...
[22:03:54] ata1.00: irq_stat 0x20000008, host bus error
[22:03:56] EXT4-fs warning (device sda2): ext4_end_bio:369: I/O error 10
writing to inode 10111047 starting block 31124736)
[22:03:56] EXT4-fs (sda2): failed to convert unwritten extents to written
extents -- potential data loss! (inode 10111047, error -5)
SErr is 0x0 with "host bus error", and 6.14 is clean, which points to
the host/driver side rather than the media.
== Disk health (smartctl 7.4) ==
APPLE SSD SM0256G, Power_On_Hours 23270
5 Reallocated_Sector_Ct 100 100 000 raw 0
197 Current_Pending_Sector 100 100 000 raw 0
199 UDMA_CRC_Error_Count 200 200 000 raw 0
173 Wear_Leveling_Count 174 174 100 (normalized value above threshold)
No media or transmission errors reported.
== After the incident ==
Filesystem state: clean, fsck was run, no Last error recorded. The two affected
inodes were Electron cache files and are still readable.
== Attachments ==
logi-linux-7.0-ata1.tar.gz contains:
- journal-7.0-kernel.txt (journalctl -k of the failing 7.0.0-44 boot)
- journal-6.14-kernel.txt (journalctl -k of a clean 6.14.0-37 boot)
- lspci-v.txt (lspci -vnn)
== Suggested follow-up ==
I can test on 7.0 with libata.force=noncq and/or ahci.mobile_lpm_policy=0 if
useful. Staying on 6.14.0-37 for now.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "logi-linux-7.0-ata1.tar.gz"
https://bugs.launchpad.net/bugs/2188415/+attachment/6024551/+files/logi-linux-7.0-ata1.tar.gz
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2188415
Title:
linux 7.0.0-44-generic (HWE 24.04): ata1 "host bus error" on WRITE
FPDMA QUEUED, hard resetting link, ext4 I/O errors on MacBookPro11,4;
6.14.0-37 is fine
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2188415/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs