On Thursday 16 Jun 2016 06:11:10 J. Roeleveld wrote: > On June 16, 2016 7:43:10 AM GMT+02:00, "J. Roeleveld" <jo...@antarean.org> wrote: > >On Thursday, April 07, 2016 07:41:35 PM Remy Blank wrote: > >> pe...@prh.myzen.co.uk 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 > > Ignore this. > Got it working, had to enable UEFI first for the NVME device in bios....
Glad to hear it. You had me scratching my head there, trying to remember exactly what I did. > Problem caused by silly BIOS devs at ASUS.... When confronted with new ways of doing things I naturally assume I don't understand, before I start name calling. :) -- Rgds Peter