lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+7wUsxOsU6pw3wGt9VTj=wBf6uW6wTUdydU5jJQw+STVBiJ8Q@mail.gmail.com>
Date:   Wed, 2 May 2018 10:01:32 +0200
From:   Mathieu Malaterre <malat@...ian.org>
To:     "Theodore Ts'o" <tytso@....edu>
Cc:     Milan Kupcevic <milan@...ian.org>,
        Ben Hutchings <ben@...adent.org.uk>,
        Mathieu Malaterre <malat@...ian.org>,
        Andreas Dilger <adilger.kernel@...ger.ca>,
        linux-ext4@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] fs: Add MODULE_SOFTDEP declarations for hard-coded crypto drivers

On Fri, Apr 6, 2018 at 9:52 PM, Mathieu Malaterre <malat@...ian.org> wrote:
> This helps initramfs builders and other tools to find the full
> dependencies of a module.

Replaced by:

https://github.com/torvalds/linux/commit/7ef79ad521367

> Debian on powerpc (ppc32) still uses yaboot as default boot loader. Using a
> default installation (debian-installer) 64bit and metadata_csum feature are
> not setup in ext4. This is discussed in more details at:
>
> https://bugs.debian.org/825110#81
>
> and implemented here:
>
> https://anonscm.debian.org/cgit/d-i/partman-ext3.git/patch/?id=f87dc92157262de1ad8dd3f2343436f08271b4dc
>
> This means that building the kernel as default debian package:
>
>   make ARCH=powerpc XYZ_defconfig
>   make -j8 ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- bindeb-pkg
>
> Will lead to the following boot failure (initramfs prompt):
>
>   /dev/sda3: clean, 127679/305216 files, 11128559/1220703 blocks done.
>   [    5.592819] EXT4-fs (sda3): Cannot load crc32c driver.
>   mount: mounting /dev/sda3 on /root failed: No such file or directory
>
> Link: https://bugs.debian.org/819725
> Link: https://salsa.debian.org/kernel-team/linux/blob/master/debian/patches/bugfix/all/fs-add-module_softdep-declarations-for-hard-coded-cr.patch
> Suggested-by: Ben Hutchings <ben@...adent.org.uk>
> Cc: Milan Kupcevic <milan@...ian.org>
> Signed-off-by: Mathieu Malaterre <malat@...ian.org>
> ---
>  fs/ext4/super.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/fs/ext4/super.c b/fs/ext4/super.c
> index 185f7e61f4cf..10bda040e78f 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: crypto-crc32c");
>  module_init(ext4_init_fs)
>  module_exit(ext4_exit_fs)
> --
> 2.11.0
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ