On 6 June 2014 16:41, Filipe David Manana <fdmanana@xxxxxxxxx> wrote: > On Fri, Jun 6, 2014 at 3:40 PM, Roman Mamedov <rm@xxxxxxxxxxx> wrote: >> Hello, >> >> Not sure if this has been reported somewhere closer to Btrfs development, and >> not just in Debian... Anyways, just now I (also) hit this bug when upgrading my >> kernel from 3.12.21 to 3.14.5 on one machine (but not on a number of others): >> >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747929 >> >> I use btrfs as my root FS, and the error early in the initramfs stage, is >> along the lines of: >> >>> FATAL: Error inserting btrfs...: Unknown symbol in >>> module, or unknown parameter (see dmesg) >> >> (noting in dmesg). >> >> The workaround has been detailed back in 2010: >> https://lists.debian.org/debian-user/2010/06/msg02060.html >> >> After adding "crc32c" into /etc/initramfs-tools/modules (for forced inclusion >> into the initramfs) and regenerating the initramfs image, the btrfs module >> started loading fine. >> >> Interesting why this problem from 2010 has resurfaced in 3.14, with 3.12 >> working normally. Also why not every machine with a similar setup is affected >> (I have several hosts with btrfs root, although both hardware and software >> configurations are not identical but quite diverse), but as I said just one >> for me. > > Hi Roman, > > This thread might help: http://www.spinics.net/lists/linux-btrfs/msg32187.html > Since WorMzy went through similar problem(s), he might provide more > recommendations. > > >> >> -- >> With respect, >> Roman > > > > -- > Filipe David Manana, > > "Reasonable men adapt themselves to the world. > Unreasonable men adapt the world to themselves. > That's why all progress depends on unreasonable men." Hi, My solution was to write a patch for mkinitcpio (Arch initrd creation tool) [1] so that it explicitly adds the crc32c module to the initrd if btrfs is needed. I imagine it wouldn't be difficult to add the same logic to debian's initrd creation tool. IIRC it already does something similar in other cases where there's an invisible dependency like this. Cheers, WorMzy P.S. Apologies if you receive this twice, I foolishly assumed that the gmail app on my android phone would send a plain text message as plain text! [1] https://mailman.archlinux.org/pipermail/arch-projects/2014-March/004093.html -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
