This problem mey be linked to bug 389755 I have trouble to get docache working for a livecd with genkernel-3.4.20, I use genkernel --no-ramdisk-modules initramfs to create the initrd. When I add "docache" to the kernel command-line, init tries to mount /mnt/cdrom/../livecd.squashfs instead of /mnt/cdrom/livecd.squashfs, which obviously fails. I traced it up to /etc/initrd.scripts inside the initrd where LOOPEXT is set to "../", which produces the "../". Setting it to "" resolves the issue for me, but might break caching non-squashfs (aka regular) disks. Strangely enough, an initrd created the same way with an earlier version (genkernel-3.4.15 I guess) works just fine. In the relevant areas, I could not find any significant differences. Reproducible: Always
Applies to x86 gentoo minimal iso too current install-x86-minimal-20120306.iso can't be booted with "docache" option without resulting in kernel panic.
Should be fixed, please give branch fix-docache a try .. # git clone git://git.overlays.gentoo.org/proj/genkernel.git # cd genkernel # git checkout -t origin/fix-docache # GK_SHARE="$PWD" ./genkernel initramfs --no-install --no-postclear .. and report back.
+*genkernel-3.4.28 (30 Mar 2012) + + 30 Mar 2012; Sebastian Pipping <sping@gentoo.org> +genkernel-3.4.28.ebuild: + Bump to 3.4.28 +
Related commit was http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=8ac8de605504c830b411be0d8eaa597e49ac75b1 in case anyone is searching again.