Re: Linux 4.14.36

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

 




Le 26/04/18 à 08:22, Theodore Y. Ts'o a écrit :
> François, James,
>
> Does this fix things for you?
>
> Thanks,
>
> 					- Ted
>
> From 7ef79ad52136712172eb0525bf0b462516bf2f93 Mon Sep 17 00:00:00 2001
> From: Theodore Ts'o <tytso@xxxxxxx>
> Date: Thu, 26 Apr 2018 00:44:46 -0400
> Subject: [PATCH] ext4: add MODULE_SOFTDEP to ensure crc32c is included in the initramfs
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Fixes: a45403b51582 ("ext4: always initialize the crc32c checksum driver")
> Reported-by: François Valenduc <francoisvalenduc@xxxxxxxxx>
> Signed-off-by: Theodore Ts'o <tytso@xxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> ---
>  fs/ext4/super.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/fs/ext4/super.c b/fs/ext4/super.c
> index 185f7e61f4cf..eb104e8476f0 100644
> --- a/fs/ext4/super.c
> +++ b/fs/ext4/super.c
> @@ -5886,5 +5886,6 @@ static void __exit ext4_exit_fs(void)
>  MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
>  MODULE_DESCRIPTION("Fourth Extended Filesystem");
>  MODULE_LICENSE("GPL");
> +MODULE_SOFTDEP("pre: crc32c");
>  module_init(ext4_init_fs)
>  module_exit(ext4_exit_fs)
Unfortunately, this patch doesn't help to solve the problem:

xzcat /boot/initramfs-genkernel-x86_64-4.14.37-rc1 | cpio --list | grep
crc32
lib/modules/4.14.37-rc1/kernel/lib/libcrc32c.ko
69823 blocs

So the libcrc32 module is included, but crc32c_generic   is also needed.

François



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]