linux-image-5.4.0-8x kernels on Ubuntu 20.04.3 LTS cause incorrect disk enumeration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
My system had this disk configuration running 20.04.3 LTS server (fresh install, not upgrade) without issue:
1 SATA SSD ext4 on internal 6Gb SATA port was /dev/sda with 20.04.3 LTS server OS installed.
1 SATA disk ext4 on internal 6Gb SATA port was /dev/sdb
8 SATA disks ext4 on LSI Megaraid 9240-8i in IT mode was /dev/sd[cdefghij]
2 SATA disks (mdraid1) on internal 3Gb SATA ports was /dev/sd[kl]
apt upgrade from 5.4.0-7x kernel booting any current linux-image-
8 SATA disks ext4 on LSI Megaraid 9240-8i in IT mode are /dev/sd[abcdefgh]
1 SATA SSD ext4 on internal 6Gb SATA port is now /dev/sdi with 20.04.3 OS installed.
1 SATA disk ext4 on internal 6Gb SATA port now /dev/sdj
2 SATA disks (mdraid1) on internal 3Gb SATA ports is /dev/sd[kl]
The system boots, but any utils e.g. smartd, hdparm etc. referencing /dev/sda are now fubared.
Booting any 5.4.0-7x kernel enumerates the disks correctly.
Booting any 5.4.0-8x kernel enumerates the disks incorrectly as described above.
Booting latest Mainline kernel 5.15.0-
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-generic 5.4.0.86.90
ProcVersionSign
Uname: Linux 5.4.0-86-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Sep 29 20:36 seq
crw-rw---- 1 root audio 116, 33 Sep 29 20:36 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CasperMD5CheckR
Date: Wed Sep 29 20:40:44 2021
InstallationDate: Installed on 2021-03-27 (186 days ago)
InstallationMedia: Ubuntu-Server 20.04.2 LTS "Focal Fossa" - Release amd64 (20210201.2)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: System manufacturer System Product Name
PciMultimedia:
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187.16
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/13/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2104
dmi.board.
dmi.board.name: P8Z77-V
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
# ubuntu-bug linux