mmatuska/mfsbsd

Boot loop with NVMe Disks : /boot/config

Opened this issue · 1 comments

spagu commented

When I upload your images from FreeBSD 12.1 (including build ones) machines with only NVMe disks get into a loop at boot.

image

On system installed manually:

/var/run/dmesg.boot
nvme0: mem 0xf7b10000-0xf7b13fff irq 50 at device 0.0 on pci7
nvme1: mem 0xf7a10000-0xf7a13fff irq 46 at device 0.0 on pci8
nvd0: NVMe namespace
nvd0: 1831420MB (3750748848 512 byte sectors)
nvd1: NVMe namespace
nvd1: 1831420MB (3750748848 512 byte sectors)

ls -l /dev/nv*
crw-r----- 1 root operator 0x66 Jun 4 14:01 /dev/nvd0
crw-r----- 1 root operator 0x67 Jun 4 14:01 /dev/nvd0p1
crw-r----- 1 root operator 0x68 Jun 4 14:01 /dev/nvd0p2
crw-r----- 1 root operator 0x69 Jun 4 14:01 /dev/nvd0p3
crw-r----- 1 root operator 0x6e Jun 4 14:01 /dev/nvd1
crw-r----- 1 root operator 0x6f Jun 4 14:01 /dev/nvd1p1
crw-r----- 1 root operator 0x70 Jun 4 14:01 /dev/nvd1p2
crw-r----- 1 root operator 0x71 Jun 4 14:01 /dev/nvd1p3
crw------- 1 root wheel 0x33 Jun 4 14:01 /dev/nvme0
crw------- 1 root wheel 0x64 Jun 4 14:01 /dev/nvme0ns1
crw------- 1 root wheel 0x34 Jun 4 14:01 /dev/nvme1
crw------- 1 root wheel 0x6d Jun 4 14:01 /dev/nvme1ns1

Any suggestion on how to make it work with NV disks?

Same problem solved in my case by setting flag "-m" in boot.config.

~/mfsbsd/conf]# cat boot.config
-m

Solution was found in this thread