You have been subscribed to a public bug: 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-5.4.0-8x kernel now looks like this: 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 with 20.04.3 OS installed. 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-051500rc3-generic enumerates the disks correctly. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-generic 5.4.0.86.90 ProcVersionSignature: Ubuntu 5.4.0-86.97-generic 5.4.133 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-0ubuntu27.20 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: CasperMD5CheckResult: pass 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=/boot/vmlinuz-5.4.0-86-generic root=UUID=f84368a6-a484-40ef-aacf-d7cd3ce2ecc2 ro RelatedPackageVersions: linux-restricted-modules-5.4.0-86-generic N/A linux-backports-modules-5.4.0-86-generic N/A 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.asset.tag: To be filled by O.E.M. dmi.board.name: P8Z77-V dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2104:bd08/13/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-V:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.family: To be filled by O.E.M. dmi.product.name: System Product Name dmi.product.sku: SKU dmi.product.version: System Version dmi.sys.vendor: System manufacturer ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- linux-image-5.4.0-8x kernels on Ubuntu 20.04.3 LTS cause incorrect disk enumeration https://bugs.launchpad.net/bugs/1945451 You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp