Re: bcache not working on 4.16.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2018-05-02 at 19:03 +0800, Coly Li wrote:

> On 2018/5/2 6:53 PM, Massimo B. wrote:
> > https://github.com/dracutdevs/dracut/issues/393
> > At least here I'm not able to modprobe the bcache module from an initramfs.
> > So I can't boot with that 4.16.x kernel as my root fs is on bcache.
> > 
> > I have no Live system available with that recent kernel, my favourite
> > sysresccd.org is still on 4.14.
> > 

> As I replied on IRC, I tried modprobe bcache on 4.16 kernel after whole
> system was up. But I didn't try to add it in initrd. That requires
> bcache-register and udev to be included to...

For those who like to investigate this issue:
udev and bcache-register are all included in the new initramfs just identical to
the older working initramfs:

# lsinitrd initramfs-4.16.6-gentoo.img |grep bcache
bcache
drwxr-xr-x   2 root     root            0 May  2 12:54 lib64/modules/4.16.6-gentoo/kernel/drivers/md/bcache
-rw-r--r--   1 root     root        86362 May  2 12:54 lib64/modules/4.16.6-gentoo/kernel/drivers/md/bcache/bcache.ko.gz
-rwxr-xr-x   1 root     root         5928 Dec  5 23:25 lib64/udev/bcache-register
-rw-r--r--   1 root     root          789 Dec  5 23:25 lib64/udev/rules.d/69-bcache.rules

And also grep udev is the same output:
# diff <(lsinitrd initramfs-4.16.6-gentoo.img |grep udev |awk '{print $9}') <(lsinitrd initramfs-4.15.12-gentoo.img |grep udev |awk '{print $9}') |wc -l
0

Best regards,
Massimo
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux