Getting Fedora 38 running on an NVME disk, but after the GRUB menu, the kernel boot (6.4-rc6) fails with the sbi_trap error…
…
Loading Linux 6.4.0-rc6v5 …
Loading initial ramdisk …
EFI stub: Booting Linux Kernel…
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services…
clk u2_dw_i2c_clk_core already disabled
clk u2_dw_i2c_clk_apb already disabled
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
sbi_trap_error: hart0: trap handler failed (error -2)
sbi_trap_error: hart0: mcause=0x0000000000000005 mtval=0x0000000040061068
sbi_trap_error: hart0: mepc=0x00000000400052d6 mstatus=0x0000000200001800
sbi_trap_error: hart0: ra=0x000000004000ab08 sp=0x0000000040060ee0
sbi_trap_error: hart0: gp=0x0000000000000000 tp=0x0000000040061000
…etc…
The fix previously suggested for sdcard/mmc does not work in this case:
fdt rsvmem add 0x40000000 0x00001000
libfdt fdt_add_mem_rsv(): FDT_ERR_NOSPACE
exit not allowed from main input shell.
My next move will be to retrofit the custom V5 5.15 kernel from the (working) Debian NVME image, to see if I can get that to boot cleanly… The partitions are a bit ‘unusual’ and the boot kernel images are in the EFI directory, but I have fixed this on my NVME setup, with several messy changes to the uboot parameters. There have been instances of the modified parameters getting corrupted somehow, so more investigation is needed… I have encountered these problems on other uboot setups over the years…