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

Bug#598978: btrfs requires crc32c.ko

Package: kernel-wedge
Version: 2.67

Benoît Knecht reported that the btrfs module requires crc32c.ko which
is not available in d-i.

The module is under kernel/crypto/crc32c.ko so presumably the correct
solution is to put crc32c.ko into crypto-modules and have
btrfs-modules depends on crypto-modules.

* Benoît Knecht <benoit.knecht@fsfe.org> [2010-10-01 22:48]:
> First, partman wouldn't let me format any partition with btrfs, although
> mkfs.btrfs was present and I saw partman-btrfs being downloaded. After
> formating the partition manually (i.e. using mkfs.btrfs) and
> unsuccessfully trying to mount it, I noticed the btrfs kernel module
> wasn't loaded; trying to modprobe it gave me the error:
> FATAL: Error inserting btrfs (/lib/modules/2.6.32-5-kirkwood/kernel/fs/btrfs/btrfs.ko): Unknown symbol in module, or unknown parameter (see dmesg)
> Turns out, btrfs.ko depends on crc32c.ko, which wasn't included. So I
> downloaded linux-image-2.6.32-5-kirkwood_2.6.32-23_armel.deb and
> extracted it on a USB stick, from which I copied crc32c.ko to
> /lib/modules/2.6.32-5-kirkwood/kernel/crypto/. After running depmod,
> btrfs loaded successfully. From there, the "Partition disks" step in the
> installer offered me the option of btrfs.

Martin Michlmayr

Reply to: