Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1328353

complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional

From James Bottomley <James.Bottomley@HansenPartnership.com>
Newsgroups linux.kernel
Subject complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional
Date 2016-02-06 19:40 +0100
Message-ID <qZfW2-2NI-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The reason is fairly obvious: the default for the new option
 BLK_DEV_NVME_SCSI is N and all the distribution kernels (and me when
testing) take the default options (I checked in the OBS kernel builds
and this is true).

The net result is that scsi_id from udev no longer works on nvme disks
and that means that the /dev/disk/by-id links are all gone in 4.5-rc1. 
 If this happens to be how you name your disks in fstab or crypttab,
you can't boot.

If you're going to break an ABI in this way, you really have to plan
for it in userspace.  How are NVMe disk ids supposed to be exported
now?  Does udev need a nvme_id program to do this?  Until there's an
infrastructure ready to work in this way, we need to unconditionally
enable BLK_DEV_NVME_SCSI.

James

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


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