Public bug reported:

The Ubuntu linux kernel detects phantom ahdi atari partitions leading to
various issues:

https://bugs.launchpad.net/ubuntu/+source/linux-aws/+bug/1908264
https://github.com/axboe/fio/issues/1942
https://github.com/rook/rook/issues/7940

It is fairly easy to create phantom partitions by using fio to write
random data to a blank secondary SSD:

sudo fio --name=ahditest --ioengine=io_uring --direct=1 --number_ios=128
--bs=128k --rw=write --numjobs=1 --iodepth=128 --refill_buffers=1
--filename=/dev/nvme0n1

Dmesg shows this after running the above fio command:

[  677.748933]  nvme0n1: AHDI p1 p2 p3 p4
[  677.748943] nvme0n1: p1 size 3532333299 extends beyond EOD, truncated
[  677.748991] nvme0n1: p2 start 3151093823 is beyond EOD, truncated
[  677.748993] nvme0n1: p3 size 3455140020 extends beyond EOD, truncated
[  677.749022] nvme0n1: p4 start 2615369870 is beyond EOD, truncated
[  677.850135]  nvme0n1: AHDI p1 p2 p3 p4
[  677.850144] nvme0n1: p1 size 3532333299 extends beyond EOD, truncated
[  677.850192] nvme0n1: p2 start 3151093823 is beyond EOD, truncated
[  677.850194] nvme0n1: p3 size 3455140020 extends beyond EOD, truncated
[  677.850220] nvme0n1: p4 start 2615369870 is beyond EOD, truncated

Is it possible to support AHDI atari partions as a module so that it can
be loaded or unloaded depending on use case?

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-22-generic 7.0.0-22.22
ProcVersionSignature: Ubuntu 7.0.0-22.22-generic 7.0.0
Uname: Linux 7.0.0-22-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  sped       1740 F.... pipewire
                      sped       1749 F.... wireplumber
 /dev/snd/controlC0:  sped       1749 F.... wireplumber
 /dev/snd/seq:        sped       1740 F.... pipewire
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Jun 11 12:55:42 2026
InstallationDate: Installed on 2026-06-03 (8 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
IwDevWlp2s0Link: Not connected.
MachineType: Gigabyte Technology Co., Ltd. Z690 AORUS PRO
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-22-generic 
root=UUID=d2113686-587f-415e-aefd-a854a9f759fa ro quiet splash 
libata.allow_tpm=1 apparmor=0 cpufreq.default_governor=performance 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/01/2025
dmi.bios.release: 5.27
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: F32
dmi.board.asset.tag: Default string
dmi.board.name: Z690 AORUS PRO
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF32:bd12/01/2025:br5.27:svnGigabyteTechnologyCo.,Ltd.:pnZ690AORUSPRO:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnZ690AORUSPRO:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:pfaZ690MB:
dmi.product.family: Z690 MB
dmi.product.name: Z690 AORUS PRO
dmi.product.sku: Default string
dmi.product.version: -CF
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
modified.conffile..etc.default.apport:
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo service apport start force_start=1
 enabled=0
mtime.conffile..etc.default.apport: 2026-06-03T15:25:14.246019

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156536

Title:
  Ubuntu linux kernel detects phantom ahdi atari partitions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2156536/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to