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

Bug#819725: ext4 missing softdep on crc32c module



Control: tag -1 sid upstream
Control: found -1 4.4.6-1
Control: retitle -1 ext4 missing softdep on crc32c module
Control: severity -1 important

On Fri, 2016-04-01 at 14:51 +0000, Mattia Rizzolo wrote:
> control: reassign -1 src:linux
> 
> please don't use html in your emails, it'll probably make our tooling
> grumpy (as it did in this case).
> Also, 1) there are no packages "linux-image" 2) 4.4.0-1 is surely
> something non-current

It is the current ABI version though.

> Then I haven't read the bug report, though I'm somehow confident this is
> not a *critical* bug (as in our meaning of critical, at least), but I'll
> let the linux maintainers deal with it.

It would be if a default installation was broken, but the default
installation builds a generic initramfs (MODULES=most) which won't have
this problem.

> On Fri, Apr 01, 2016 at 01:25:19PM +0000, Raymond Burkholder wrote:
[...]
> > Here is the final output of the boot sequence to console:
> > =================
> > Loading Linux 4.4.0-1-amd64 ...
> > Loading initial ramdisk ...
> > modprobe: module btrfs not found in modules.dep
> > /dev/sda2: clean, 24088/137088 files, 160700/547840 blocks
> > [    1.486902] EXT4-fs (sda2): Cannot load crc32c driver.
[...]

It appears that the initramfs is missing the crc32c driver, even though
ext4 needs it.  The ext4 module doesn't have a static dependency on it
so mkinitramfs does not know that it should be included.  (The same is
true for btrfs but we already have a workaround for that.)

The dynamic loading of crc32c was added way back in Linux 3.5 *but*
only for filesystems with the metadata_csum option turned on, which was
not the default.  So the regression is triggered by a change in
e2fsprogs:

> e2fsprogs (1.43~WIP.2015.05.18-1) unstable; urgency=low
[...]
>   * Mke2fs will now create file systems with metadata_csum and 64bit
>     enabled by default.

Until this is fixed in the kernel package, you can work around it by
either:

- Setting base-installer/initramfs-tools/driver-policy to "most"
  instead of "dep"
- Setting base-config/late_command to a script that adds crc32c to
  /etc/initramfs-tools/modules

Ben.

-- 
Ben Hutchings
73.46% of all statistics are made up.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: