From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F3B541382BD for ; Thu, 16 Jun 2016 06:11:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1C4BE0AA0; Thu, 16 Jun 2016 06:11:15 +0000 (UTC) Received: from gw2.antarean.org (gw2.antarean.org [141.105.125.208]) by pigeon.gentoo.org (Postfix) with ESMTP id DDB13E0937 for ; Thu, 16 Jun 2016 06:11:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id 29F61122153 for ; Thu, 16 Jun 2016 06:10:02 +0000 () X-Virus-Scanned: amavisd-new at antarean.org Received: from gw2.antarean.org ([127.0.0.1]) by localhost (gw2.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k4LQ99e6VzXi for ; Thu, 16 Jun 2016 06:10:01 +0000 (%Z) Received: from data.antarean.org (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id 0B913121755 for ; Thu, 16 Jun 2016 06:10:01 +0000 () Received: from nl019.gst.antarean.org (nl019.gst.antarean.org [192.168.45.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id A81904C for ; Thu, 16 Jun 2016 08:10:23 +0200 (CEST) In-Reply-To: <10782500.05jPFbMMXn@andromeda> References: <10782500.05jPFbMMXn@andromeda> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [gentoo-user] Re: NVMe drive and grub From: "J. Roeleveld" Date: Thu, 16 Jun 2016 06:11:10 +0000 To: gentoo-user@lists.gentoo.org Message-ID: <9C788EAD-5BB1-4257-B78E-F5F213B311C2@antarean.org> X-Archives-Salt: 32029f23-0b1b-4c82-b12a-487f55448a84 X-Archives-Hash: 4ddba28dbec5b2eaaed73018dbd4c54f On June 16, 2016 7:43:10 AM GMT+02:00, "J. Roeleveld" wrote: >On Thursday, April 07, 2016 07:41:35 PM Remy Blank wrote: >> peter@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.... Problem caused by silly BIOS devs at ASUS.... -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.