Public bug reported: As a result, depmod doesn't report the dependancy in modules.dep, and initramfs doesn't pull crc32c.ko when a module declares libcrc32c.ko as a dependency. I ran into this when I noticed I couldn't remote boot a machine that uses the bnx2x.ko 10Gb BroadCom Enet adapter. bnx2x.ko depends on libcrc32c.ko another module, and all were properly present in initramfs. But the NIC driver didn't load. When attempting to manually insmod the module from the BusyBox, I realized libcrc32c was not loading, and insmod'ing libcrc32c from a fully booted machine, I realized it actually loaded crc32c.ko -- that didn't exist in the initramfs image. Running modinfo on libcrc32c.ko shows no dependancy. Consistently, modules.dep doesn't report any dependancy for libcrc32c.ko
This results in all kind of nasty irritating problems when libcrc32c.ko is needed in initramfs (including a number reported in launchpad), like when people try to use btrfs as their root and end up being unable to boot. This problem has existed for a while, and has most likely been introduced with this patch: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=69c35efcf1576ab5f00cba83e8ca740923afb6c9 ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: linux-image-2.6.35-23-generic 2.6.35-23.40 [modified: lib/modules/2.6.35-23-generic/kernel/drivers/net/bnx2.ko lib/modules/2.6.35-23-generic/kernel/drivers/net/cnic.ko] Regression: No Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.35-23.40-generic 2.6.35.7 Uname: Linux 2.6.35-23-generic i686 AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory AplayDevices: aplay: device_list:235: no soundcards found... Architecture: i386 ArecordDevices: arecord: device_list:235: no soundcards found... Date: Fri Nov 26 15:48:34 2010 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) MachineType: HP ProLiant DL380 G6 PciMultimedia: ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-23-generic root=UUID=727daec2-c6f1-43da-a59b-0831b8769949 ro debug ignore_loglevel radeon.nomodeset kgdb=ttyS0,115200 kgdboc=ttyS0,115200 ProcEnviron: SHELL=/bin/bash LANG=en_US.utf8 SourcePackage: linux dmi.bios.date: 10/14/2010 dmi.bios.vendor: HP dmi.bios.version: P62 dmi.chassis.type: 23 dmi.chassis.vendor: HP dmi.modalias: dmi:bvnHP:bvrP62:bd10/14/2010:svnHP:pnProLiantDL380G6:pvr:cvnHP:ct23:cvr: dmi.product.name: ProLiant DL380 G6 dmi.sys.vendor: HP ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 kernel-uncat maverick needs-upstream-testing -- libcrc32c.ko does not declare dependancy on crc32c.ko https://bugs.launchpad.net/bugs/681819 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
