I run debian sid from a nvme ssd, booting the stock image from sd card, then switching root once the kernel is loaded. That works beautifully, although of course i would prefer native nvme boot.
this is my nvme ssd:
Model: "Silicon Motion SM2263EN/SM2263XT SSD Controller"
Vendor: pci 0x126f "Silicon Motion, Inc."
Device: pci 0x2263 "SM2263EN/SM2263XT SSD Controller"
Anyway, what does not work is reboot. Whenever i issue “sudo reboot” the system hangs after reset, apparently because it can not find the nvme ssd:
This is what i get in the serial console:
[ 4.193478] starfive soc:display-subsystem: [drm] Cannot find any crtc or sizes
[ 4.200832] starfive soc:display-subsystem: [drm] Cannot find any crtc or sizes
[ 4.271971] random: fast init done
[ 4.379005] mmc_host mmc1: Bus speed (slot 0) = 198000000Hz (slot req 50000000Hz, actual 49500000HZ di
v = 2)
[ 4.389116] mmc1: new high speed SDHC card at address aaaa
[ 4.396704] mmcblk1: mmc1:aaaa SS08G 7.40 GiB
[ 4.412348] mmcblk1: p1 p2 p3 p4
[ 4.500308] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 300000Hz, actual 300000HZ div =
330)
[ 4.940288] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 200000Hz, actual 200000HZ div = 495)
[ 5.390287] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 100000Hz, actual 100000HZ div = 990)
[ 6.250267] ALSA device list:
[ 6.253314] #0: Starfive-PWMDAC-Sound-Card
[ 6.257642] #1: Starfive-HDMI-Sound-Card
[ 34.490781] mipi_0p9: disabling
[ 124.181761] nvme nvme0: Device not ready; aborting initialisation, CSTS=0x0
[ 124.188818] nvme nvme0: Removing after probe failure status: -19
[ 124.199603] Freeing unused kernel image (initmem) memory: 2196K
[ 124.230471] Run /init as init process
Loading, please wait...
Starting systemd-udevd version 252.6-1
[ 124.812057] starfive-eth-plat 16030000.ethernet end0: renamed from eth0
[ 124.870864] starfive-eth-plat 16040000.ethernet end1: renamed from eth1
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/nvme0n1p4 does not exist. Dropping to a shell!
Any idea if that is fixable ? If i power-cycle it boots fine.
Cheers,
KK