Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1328653
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | James Bottomley <James.Bottomley@HansenPartnership.com> |
| Newsgroups | linux.kernel |
| Subject | Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional |
| Date | Mon, 08 Feb 2016 00:10:02 +0100 |
| Message-ID | <qZGCS-4Wf-29@gated-at.bofh.it> (permalink) |
| References | <qZfW2-2NI-9@gated-at.bofh.it> <qZtPj-46p-5@gated-at.bofh.it> <qZA4q-8rZ-11@gated-at.bofh.it> <qZG09-4mE-7@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=simple/simple; d=hansenpartnership.com; s=20151216; t=1454886442; bh=FIkBR4t21Fr5sKDnex3KN5PTe3ggNaCnyY9tHIBXdcA=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=HbSerfXsXv24HrHO5JW7CmBdAQYcFCqrlqVRXycYyBphnGi5AJFZ2ccN1ERUzz0Xf 3olbyKRVTS2vnNvNyCdMSDl7gA9zkSBC1ljv7vhay2jcKSGpe7Z9jMUt45AqP/KIiP Lg6TOtJhFJqiuauK0/tWadNiFmUQmp3aYLs6BWEo= |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.16.5 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 67 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | "linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>, linux-block@vger.kernel.org, linux-scsi <linux-scsi@vger.kernel.org>, linux-kernel <linux-kernel@vger.kernel.org> |
| X-Original-Date | Sun, 07 Feb 2016 15:07:21 -0800 |
| X-Original-Message-ID | <1454886441.2329.27.camel@HansenPartnership.com> |
| X-Original-References | <1454783624.2809.6.camel@HansenPartnership.com> <20160207092241.GA15331@lst.de> <1454861040.2329.4.camel@HansenPartnership.com> <56B7C527.6050300@kernel.dk> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1328653 |
Show key headers only | View raw
On Sun, 2016-02-07 at 15:28 -0700, Jens Axboe wrote: > On 02/07/2016 09:04 AM, James Bottomley wrote: > > On Sun, 2016-02-07 at 10:22 +0100, Christoph Hellwig wrote: > > > Keith said it should be on by default, and I promised him to > > > change > > > it once we run into problems, which I guess this counts as. > > > > > > But just curious: what distro are you using? Upstream systemd > > > explicitly rejected using scsi_id for NVMe here: > > > > > > https://github.com/systemd/systemd/issues/1453 > > > > > > and all my test systems don't do this either. > > > > This was SUSE (in my case, openSUSE Leap). I just checked the > > source > > package; they patch the by-id rules back in for NVME: > > > > # PATCH-FIX-SUSE 1101-rules-persistent-device-names-for-NVMe > > -devices.patch (bsc#944132) > > Patch1101: 1101-rules-persistent-device-names-for-NVMe > > -devices.patch > > > > The bugzilla is giving access denied for bug id 944132, so it's > > likely > > some proprietary vendor problem. The patch has no preamble, so > > it's > > hard to tell what they were thinking. > > I run root-on-nvme on my laptop, and I haven't observed any problems. Me too apparently. It looks like this problem may be SUSE specific unless another distro has enabled this. I can see why they would: you do need persistent names for devices, even NVMe ones. > Generally I hate for options to default y unless absolutely > necessary, it's a sure fire way to feature creep your kernel without > noticing. I don't think getting all hot about this issue is fair, if > the only known case is suse. Well, OK, I'm annoyed because it was a systemd system which means debugging boot failures are excruciatingly difficult so it took me a week and a half to find out what the problem was. Perhaps I was a bit rash to label this as an easily foreseen problem. I opened a bug against SUSE to tell them to turn it on: https://bugzilla.opensuse.org/show_bug.cgi?id=965497 The second problem is that there's currently no way to transition to using the serial attribute the way the udev 60-persistent-storage.rules are written, so if distros have some by-id hack, it will have to be maintained for a while. I annotated the already closed bug on this in systemd with the rules that work for me. > If anything, let's make the description better. It's trying to be > funny, it'd be better if it was descriptive and covered this case as > well. The problem with this is that when moving to new kernels, distro maintainers don't read the new option help texts, they just take the defaults. However, I checked the only other distribution I use (debian) and they don't have a nvme persistent ID hack, so if someone checked ubuntu and Red Hat, I think all the majors are now covered and perhaps there's no need to do anything more. James
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-02-06 19:40 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Christoph Hellwig <hch@lst.de> - 2016-02-07 10:30 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-02-07 17:10 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Jens Axboe <axboe@kernel.dk> - 2016-02-07 23:30 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-02-08 00:10 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Christoph Hellwig <hch@lst.de> - 2016-02-08 08:30 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Hannes Reinecke <hare@suse.de> - 2016-02-08 08:40 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Sagi Grimberg <sagig@dev.mellanox.co.il> - 2016-02-08 11:10 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Christoph Hellwig <hch@lst.de> - 2016-02-08 11:20 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Hannes Reinecke <hare@suse.de> - 2016-02-08 16:20 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Keith Busch <keith.busch@intel.com> - 2016-02-08 17:20 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Keith Busch <keith.busch@intel.com> - 2016-02-08 16:20 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-02-08 16:30 +0100
Re: complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional Hannes Reinecke <hare@suse.de> - 2016-02-08 08:30 +0100
csiph-web