Re: [BUG? NVME Linux-4.15] Dracut loops indefinitely with 4.15

2018-02-15 Thread Julien Durillon
2018-02-15 21:19 GMT+01:00 Keith Busch : > The problem is dracut assumes the 'dev' file for an nvme namespace's > parent device contains a maj:min for a block device. It's actually a > character device, and its maj:min happens to also be be the same as the > device mapper's

Re: [BUG? NVME Linux-4.15] Dracut loops indefinitely with 4.15

2018-02-15 Thread Julien Durillon
2018-02-15 21:19 GMT+01:00 Keith Busch : > The problem is dracut assumes the 'dev' file for an nvme namespace's > parent device contains a maj:min for a block device. It's actually a > character device, and its maj:min happens to also be be the same as the > device mapper's block device. So

Re: [BUG? NVME Linux-4.15] Dracut loops indefinitely with 4.15

2018-02-15 Thread Keith Busch
On Thu, Feb 15, 2018 at 02:49:56PM +0100, Julien Durillon wrote: > I opened an issue here: > https://github.com/dracutdevs/dracut/issues/373 for dracut. You can > read there how dracuts enters an infinite loop. > > TL;DR: in linux-4.14, trying to find the last "slave" of /dev/dm-0 > ends with a

Re: [BUG? NVME Linux-4.15] Dracut loops indefinitely with 4.15

2018-02-15 Thread Keith Busch
On Thu, Feb 15, 2018 at 02:49:56PM +0100, Julien Durillon wrote: > I opened an issue here: > https://github.com/dracutdevs/dracut/issues/373 for dracut. You can > read there how dracuts enters an infinite loop. > > TL;DR: in linux-4.14, trying to find the last "slave" of /dev/dm-0 > ends with a

[BUG? NVME Linux-4.15] Dracut loops indefinitely with 4.15

2018-02-15 Thread Julien Durillon
Hi there, I opened an issue here: https://github.com/dracutdevs/dracut/issues/373 for dracut. You can read there how dracuts enters an infinite loop. TL;DR: in linux-4.14, trying to find the last "slave" of /dev/dm-0 ends with a maj:min of "249:0" which does not exist in /sys/dev/block. In

[BUG? NVME Linux-4.15] Dracut loops indefinitely with 4.15

2018-02-15 Thread Julien Durillon
Hi there, I opened an issue here: https://github.com/dracutdevs/dracut/issues/373 for dracut. You can read there how dracuts enters an infinite loop. TL;DR: in linux-4.14, trying to find the last "slave" of /dev/dm-0 ends with a maj:min of "249:0" which does not exist in /sys/dev/block. In