Linux 5.11.22 无法启动, 5.11.0-31却可以, 有人知道这是怎么回事吗

img

    menuentry 'Ubuntu, with Linux 5.11.22 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.11.22-recovery-7a913e8f-58fb-442f-9b20-4d3971ecaf7f' {
            recordfail
            load_video
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_gpt
            insmod ext2
            set root='hd0,gpt9'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9  7a913e8f-58fb-442f-9b20-4d3971ecaf7f
            else
              search --no-floppy --fs-uuid --set=root 7a913e8f-58fb-442f-9b20-4d3971ecaf7f
            fi
            echo    '载入 Linux 5.11.22 ...'
            linux   /boot/vmlinuz-5.11.22 root=UUID=7a913e8f-58fb-442f-9b20-4d3971ecaf7f ro recovery dis_ucode_ldr 
            echo    '载入初始化内存盘...'
            initrd  /boot/initrd.img-5.11.22
    }
    menuentry 'Ubuntu,Linux 5.11.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.11.0-31-generic-advanced-7a913e8f-58fb-442f-9b20-4d3971ecaf7f' {
            recordfail
            load_video
            gfxmode $linux_gfx_mode
            insmod gzio
            if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
            insmod part_gpt
            insmod ext2
            set root='hd0,gpt9'
            if [ x$feature_platform_search_hint = xy ]; then
              search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9  7a913e8f-58fb-442f-9b20-4d3971ecaf7f
            else
              search --no-floppy --fs-uuid --set=root 7a913e8f-58fb-442f-9b20-4d3971ecaf7f
            fi
            echo    '载入 Linux 5.11.0-31-generic ...'
            linux   /boot/vmlinuz-5.11.0-31-generic root=UUID=7a913e8f-58fb-442f-9b20-4d3971ecaf7f ro  quiet splash $vt_handoff
            echo    '载入初始化内存盘...'
            initrd  /boot/initrd.img-5.11.0-31-generic
    }

5.11.0-31可以启动, 但是5.11.22启动就会报错,这个是咋回事呢?

我对比了两个grub的配置是一样的, 估计是内核编译的问题,但是不知道如何入手,哪位可以帮忙给个提示

[ 0.110892] DMAR: Host address width 39
[ 0.110893] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.110899] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 7e3ff0501e
[ 0.110901] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.110905] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.110907] DMAR: RMRR base: 0x00000077027000 end: 0x00000077046fff
[ 0.110909] DMAR: RMRR base: 0x00000078800000 end: 0x0000007cffffff
[ 0.110910] DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x0000000078800000-0x000000007cffffff], contact BIOS vendor for fixes
[ 0.110915] DMAR: [Firmware Bug]: Your BIOS is broken; bad RMRR [0x0000000078800000-0x000000007cffffff]
BIOS vendor: Dell Inc.; Ver: 1.3.0; Product Version: 1.3.0
[ 0.110918] DMAR: ANDD device: 1 name: _SB.PCI0.I2C0
[ 0.110920] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.110921] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.110923] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.
[ 0.110924] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.
[ 0.112429] DMAR-IR: Enabled IRQ remapping in xapic mode

[ 0.825327] hid: raw HID events driver (C) Jiri Kosina
[ 0.825346] rtsx_pci 0000:06:00.0: enabling device (0000 -> 0002)
[ 0.827405] wmi_bus wmi_bus-PNP0C14:01: WQBC data block query control method not found
[ 0.828617] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 0.828778] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[ 0.829826] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 0.830754] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[ 0.833386] ahci 0000:00:17.0: version 3.0
[ 0.833398] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000001109810
[ 0.835265] r8169 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 0.835735] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[ 0.837350] ahci 0000:00:17.0: flags: 64bit ncq sntf pm led clo only pio slum part ems deso sadm sds apst
[ 0.839007] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[ 0.839983] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.841205] usb usb1: Product: xHCI Host Controller
[ 0.841291] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[ 0.842385] usb usb1: Manufacturer: Linux 5.11.0-31-generic xhci-hcd
[ 0.843836] idma64 idma64.0: Found Intel integrated DMA 64-bit
[ 0.844599] usb usb1: SerialNumber: 0000:00:14.0
[ 0.844765] hub 1-0:1.0: USB hub found
[ 0.844784] hub 1-0:1.0: 16 ports detected
[ 0.846009] i2c i2c-0: 2/2 memory slots populated (from DMI)
[ 0.848430] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 0.849155] scsi host0: ahci
[ 0.849351] i2c i2c-0: Successfully instantiated SPD at 0x50
[ 0.849802] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 0.850608] scsi host1: ahci
[ 0.851256] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[ 0.851996] ata1: SATA max UDMA/133 abar m2048@0xdf433000 port 0xdf433100 irq 129
[ 0.852951] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.11
[ 0.852999] i2c_hid i2c-ELAN1010:00: supply vdd not found, using dummy regulator
[ 0.853021] i2c_hid i2c-ELAN1010:00: supply vddl not found, using dummy regulator
[ 0.853608] ata2: SATA max UDMA/133 abar m2048@0xdf433000 port 0xdf433180 irq 129
[ 0.854431] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.857996] libphy: r8169: probed
[ 0.858274] usb usb2: Product: xHCI Host Controller
[ 0.859152] r8169 0000:04:00.0 eth0: RTL8168gu/8111gu, f4:8e:38:f0:67:ef, XID 509, IRQ 132
[ 0.859768] usb usb2: Manufacturer: Linux 5.11.0-31-generic xhci-hcd
[ 0.860547] r8169 0000:04:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 0.861223] usb usb2: SerialNumber: 0000:00:14.0
[ 0.863523] hub 2-0:1.0: USB hub found
[ 0.864265] hub 2-0:1.0: 8 ports detected
[ 0.873771] r8169 0000:04:00.0 enp4s0: renamed from eth0
[ 1.108224] usb 1-3: new low-speed USB device number 2 using xhci_hcd
[ 1.169280] ata1: SATA link down (SStatus 4 SControl 300)
[ 1.171736] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1.251697] ata2.00: ATA-9: ST1000LM014-1EJ164, DEMN, max UDMA/133
[ 1.254191] ata2.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[ 1.264217] usb 1-3: New USB device found, idVendor=093a, idProduct=2510, bcdDevice= 1.00
[ 1.266779] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.269364] usb 1-3: Product: USB Optical Mouse
[ 1.271925] usb 1-3: Manufacturer: PixArt
[ 1.284972] usbcore: registered new interface driver usbhid
[ 1.287745] usbhid: USB HID core driver
[ 1.295235] input: ELAN1010:00 04F3:3012 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN1010:00/0018:04F3:3012.0001/input/input7
[ 1.298420] input: ELAN1010:00 04F3:3012 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN1010:00/0018:04F3:3012.0001/input/input8

也参照 安装LFS6.2 VFS:Cannot open root device "sda"_linuxer的技术博客_51CTO博客 安装LFS6.2 VFS:Cannot open root device "sda",LFS:6.2宿主机OS:ubuntuserver7.10这两天一直在安装lfs6.2,安装到最后编译完内核,修改完fstab,最后安装grub后,启动lfs报错提示 VFS:Cannotopenrootdevice"sda"orunknow-block(0,0)Pleaseappendacorrect"root="bootoptionkernelpan https://blog.51cto.com/deidara/99930 这个把 文章里说的 几处全选了还是不行

[ 0.750737] HOME=/
[ 0.750737] TERM=linux
[ 0.750738] BOOT_IMAGE=/boot/vmlinuz-5.11.0-31-generic
[ 0.825327] hid: raw HID events driver (C) Jiri Kosina
[ 0.825346] rtsx_pci 0000:06:00.0: enabling device (0000 -> 0002)
[ 0.827405] wmi_bus wmi_bus-PNP0C14:01: WQBC data block query control method not found
[ 0.828617] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 0.828778] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[ 0.829826] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 0.830754] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[ 0.833386] ahci 0000:00:17.0: version 3.0
[ 0.833398] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000001109810
[ 0.835265] r8169 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
[ 0.835735] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
[ 0.837350] ahci 0000:00:17.0: flags: 64bit ncq sntf pm led clo only pio slum part ems deso sadm sds apst
[ 0.839007] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[ 0.839983] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.841205] usb usb1: Product: xHCI Host Controller
[ 0.841291] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[ 0.842385] usb usb1: Manufacturer: Linux 5.11.0-31-generic xhci-hcd
[ 0.843836] idma64 idma64.0: Found Intel integrated DMA 64-bit
[ 0.844599] usb usb1: SerialNumber: 0000:00:14.0
[ 0.844765] hub 1-0:1.0: USB hub found
[ 0.844784] hub 1-0:1.0: 16 ports detected
[ 0.846009] i2c i2c-0: 2/2 memory slots populated (from DMI)
[ 0.848430] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 0.849155] scsi host0: ahci
[ 0.849351] i2c i2c-0: Successfully instantiated SPD at 0x50
[ 0.849802] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 0.850608] scsi host1: ahci
[ 0.851256] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[ 0.851996] ata1: SATA max UDMA/133 abar m2048@0xdf433000 port 0xdf433100 irq 129
[ 0.852951] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.11
[ 0.852999] i2c_hid i2c-ELAN1010:00: supply vdd not found, using dummy regulator
[ 0.853021] i2c_hid i2c-ELAN1010:00: supply vddl not found, using dummy regulator
[ 0.853608] ata2: SATA max UDMA/133 abar m2048@0xdf433000 port 0xdf433180 irq 129
[ 0.854431] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.857996] libphy: r8169: probed
[ 0.858274] usb usb2: Product: xHCI Host Controller
[ 0.859152] r8169 0000:04:00.0 eth0: RTL8168gu/8111gu, f4:8e:38:f0:67:ef, XID 509, IRQ 132