Unable to boot since upgrading to kernel 26 - kernel panic

Started by kalpana, Oct 05, 2023, 06:42 AM

Previous topic - Next topic

kalpana

I did a brand new install of Ubutu 23.04 on this computer and it was working find - until kernel 6.2.0-26-generic came out (same problem with all later kernels, but kernel 25 still works great). Since then whenever I boot I get the following (see section begining with DMAR). Looking at all the information, I'm wondering if somehow the first kernel update (to kernel 26) figured that obviously /dev/sda would be the boot device (after all, a comes before b), especially since it's the SATA 0.0 and that seems to be where the system is looking for the root fs. However, for all that I have been using Unix/Linux for the last, well, let's stick with "a long time" and not be specific, I've never really researched the boot sequence and so that could be completely wrong.

Any advice on how to fix this would be very much appreciated.

Code:
DMAR: DRHD: handling fault status reg 2
DMAR: [INTR-REMAP] Request device [f0:1f.0] fault index 0x0 [fault reason 0x25] Blocked a compatibility format interrupt request
x86/cpu: SGX disabled by BIOS.
/dev/root: Can't open blockdev
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.2.0-32-generic #32-Ubuntu
                                      OR  6.2.0-31-generic #31-Ubuntu
                                      OR  6.2.0-26-generic #26-Ubuntu
Hardware name: Dell Inc. Inspiron 7472/06KVJV, BIOS 1.11.0 03/18/2022
Call Trace:
 <TASK>
 dump_stack_lvl+0x48/0x70
 dump_stack+0x10/0x20
 panic+0x37b/0x3c0
 mount_block_root+0x2c9/0x2d0
 mount_root+0x83/0xb0
 prepare_namespace+0xf5/0x200
 kernel_init_freeable+0x1e5/0x220
 ? __pfx_kernel_init+0x10/0x10
 kernel_init_0x1b/0x200
 ? __pfx_kernel_init+0x10/0x10
 ret_from_fork+0x29/0x50
 </TASK>
Kernel Offset: 0x2a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Disk configuration info:
Two drives - an SDD (1.28 GiB) for boot, and a 1 TB HDD (for data) (at least that's what I would like it to be)

From the BIOS Configuration:
Code:
SATA 0.0 ST1000LM035-1RK172     => Terabyte HDD, apparently /dev/sda
    SATA 0.2 LITON CV8-8E128-11    => 128 GiB SDD, apparently /dev/sdb
From gparted:
Code:
/dev/sda1, 930.46
Partition    File system     Mount Point     Size         Used             Unused      Flags
---------    ---- ------     ----- -----     ----         ----             ------      -----
/dev/sda2    fat32                             1.05 GiB                                boot, esp
    /dev/sda1    ext4            /home           930.46 GiB   178.40 GiB       752.06 GiB
    Unallocated                                    1.71 MiB

/dev/sdb2, 118.19 GiB
Partition    File system     Mount Point     Size         Used             Unused      Flags
---------    ---- ------     ----- -----     ----         ----             ------      -----
/dev/sdb1    fat 32                            1.05 GiB   11.59 MiB          1.04 GiB  boot, esp
    /dev/sdb2    ext4            /,/var/snap...  118.19 GiB   24.02 GiB         94.17 GiB
    unallocated                                    1.34 MiB