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 19B1E59CAF for ; Fri, 8 Apr 2016 19:23:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50FFE21C02F; Fri, 8 Apr 2016 19:23:41 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C71221C00C for ; Fri, 8 Apr 2016 19:23:40 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aoc0G-00021H-Sf for gentoo-user@lists.gentoo.org; Fri, 08 Apr 2016 21:23:36 +0200 Received: from 178-82-208-184.dynamic.hispeed.ch ([178.82.208.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Apr 2016 21:23:36 +0200 Received: from remy.blank by 178-82-208-184.dynamic.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Apr 2016 21:23:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Remy Blank Subject: [gentoo-user] Re: NVMe drive and grub Date: Fri, 8 Apr 2016 21:23:31 +0200 Message-ID: References: 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-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 178-82-208-184.dynamic.hispeed.ch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20100305 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 In-Reply-To: X-Archives-Salt: 15a05c3e-a8eb-4fd7-9698-af0afcc72bfa X-Archives-Hash: 18ef73ca2b5f0c82f8f436ebd3c5ac2e peter@prh.myzen.co.uk wrote on 2016-04-08 11:01: > 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. > > Yes, I have that compiled in, and the kernel is 4.1.15-r1. > >> FWIW, I'm writing this from a laptop that boots from two NVMe devices in >> RAID 1 configuration, with kernel 4.4.5. > > Now, that's just showing off :-) Now now, I was merely providing evidence that what you are trying to do actually works. ... But yeah, it's fast :) -- Remy