1 |
On June 16, 2016 7:43:10 AM GMT+02:00, "J. Roeleveld" <joost@××××××××.org> wrote: |
2 |
>On Thursday, April 07, 2016 07:41:35 PM Remy Blank wrote: |
3 |
>> peter@××××××××××××.uk wrote on 2016-04-07 17:24: |
4 |
>> > I have a new box with an NVMe SSD drive attached to the PCI bus via |
5 |
>an M.2 |
6 |
>> > interface. The drive shows up as /dev/nvme0n1, with partitions |
7 |
>> > /dev/nvme0n1p1, /dev/nvme0n1p2, ... |
8 |
>> > |
9 |
>> > After following the instructions in the handbook for a UEFI system, |
10 |
>I get |
11 |
>> > as far as a kernel panic. Grub finds the kernel and starts it, but |
12 |
>it |
13 |
>> > seems to be passing a null root device name. |
14 |
>> > |
15 |
>> > Can anyone offer some advice to help me get past this? |
16 |
>> |
17 |
>> Make sure you have BLK_DEV_NVME compiled into your kernel (not as a |
18 |
>> module), and that you pass the right device name as a root FS to the |
19 |
>> kernel. It might also help to use a very recent kernel. |
20 |
>> |
21 |
>> FWIW, I'm writing this from a laptop that boots from two NVMe devices |
22 |
>in |
23 |
>> RAID 1 configuration, with kernel 4.4.5. |
24 |
>> |
25 |
>> -- Remy |
26 |
> |
27 |
>Remy (and others), |
28 |
> |
29 |
>I have been trying to get Gentoo to boot from an NVME device, but I am |
30 |
>getting |
31 |
>stuck. |
32 |
> |
33 |
>The kernel-config I use will boot when the root-device is on a spinning |
34 |
>sata- |
35 |
>disk and I can see the NVME device. |
36 |
>When using the same config with the root-partition on the NVME, it |
37 |
>fails, |
38 |
>complaining it can't find the root-partition. |
39 |
> |
40 |
>The NVME driver is loaded into the kernel (not module). |
41 |
> |
42 |
>Does anyone have a working config for a 4.4.6 kernel or any other |
43 |
>version that |
44 |
>is currently in portage? |
45 |
> |
46 |
>Along with the boot-options being used? |
47 |
> |
48 |
>Many thanks, |
49 |
> |
50 |
>Joost |
51 |
|
52 |
Ignore this. |
53 |
Got it working, had to enable UEFI first for the NVME device in bios.... |
54 |
|
55 |
Problem caused by silly BIOS devs at ASUS.... |
56 |
|
57 |
-- |
58 |
Joost |
59 |
-- |
60 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |