On Thursday, April 07, 2016 07:41:35 PM Remy Blank wrote: > [email protected] wrote on 2016-04-07 17:24: > > I have a new box with an NVMe SSD drive attached to the PCI bus via an M.2 > > interface. The drive shows up as /dev/nvme0n1, with partitions > > /dev/nvme0n1p1, /dev/nvme0n1p2, ... > > > > After following the instructions in the handbook for a UEFI system, I get > > as far as a kernel panic. Grub finds the kernel and starts it, but it > > seems to be passing a null root device name. > > > > Can anyone offer some advice to help me get past this? > > Make sure you have BLK_DEV_NVME compiled into your kernel (not as a > module), and that you pass the right device name as a root FS to the > kernel. It might also help to use a very recent kernel. > > FWIW, I'm writing this from a laptop that boots from two NVMe devices in > RAID 1 configuration, with kernel 4.4.5. > > -- Remy
Remy (and others), I have been trying to get Gentoo to boot from an NVME device, but I am getting stuck. The kernel-config I use will boot when the root-device is on a spinning sata- disk and I can see the NVME device. When using the same config with the root-partition on the NVME, it fails, complaining it can't find the root-partition. The NVME driver is loaded into the kernel (not module). Does anyone have a working config for a 4.4.6 kernel or any other version that is currently in portage? Along with the boot-options being used? Many thanks, Joost

