: Gentoo Linux Genkernel; Version 3.4.49.2 Running with options: all Using genkernel.conf from /etc/genkernel.conf Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86/config.sh .. Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86/modules_load .. Linux Kernel 3.18.12-gentoo for x86... .. with config file /usr/share/genkernel/arch/x86/kernel-config kernel: Using config from /usr/share/genkernel/arch/x86/kernel-config Previous config backed up to .config--2015-06-13--22-31-25.bak kernel: >> Running mrproper... >> Running oldconfig... kernel: >> Cleaning... >> Compiling 3.18.12-gentoo bzImage... >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)... >> Compiling 3.18.12-gentoo modules... >> Generating module dependency data... Copying config for successful build to /etc/kernels/kernel-config-x86-3.18.12-gentoo busybox: >> Applying patches... - 1.18.1-openvt.diff - busybox-1.20.1-mdstart.patch - busybox-1.20.2-bunzip2.patch - busybox-1.20.2-glibc-sys-resource.patch - busybox-1.20.2-modprobe.patch - busybox-1.7.4-signal-hack.patch busybox: >> Configuring... busybox: >> Compiling... busybox: >> Copying to cache... initramfs: >> Initializing... >> Appending base_layout cpio data... >> Appending auxilary cpio data... >> Copying keymaps >> Appending busybox cpio data... >> Appending modules cpio data... >> Appending zfs cpio data... ERROR: Binary /sbin/mount.zfs could not be found Reproducible: Always Steps to Reproduce: 1. --- genkernel all : Gentoo Linux Genkernel; Version 3.4.49.2 Running with options: all Using genkernel.conf from /etc/genkernel.conf Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86/config.sh .. Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86/modules_load .. Linux Kernel 3.18.12-gentoo for x86... .. with config file /usr/share/genkernel/arch/x86/kernel-config kernel: Using config from /usr/share/genkernel/arch/x86/kernel-config Previous config backed up to .config--2015-06-13--22-31-25.bak kernel: >> Running mrproper... >> Running oldconfig... kernel: >> Cleaning... >> Compiling 3.18.12-gentoo bzImage... >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)... >> Compiling 3.18.12-gentoo modules... >> Generating module dependency data... Copying config for successful build to /etc/kernels/kernel-config-x86-3.18.12-gentoo busybox: >> Applying patches... - 1.18.1-openvt.diff - busybox-1.20.1-mdstart.patch - busybox-1.20.2-bunzip2.patch - busybox-1.20.2-glibc-sys-resource.patch - busybox-1.20.2-modprobe.patch - busybox-1.7.4-signal-hack.patch busybox: >> Configuring... busybox: >> Compiling... busybox: >> Copying to cache... initramfs: >> Initializing... >> Appending base_layout cpio data... >> Appending auxilary cpio data... >> Copying keymaps >> Appending busybox cpio data... >> Appending modules cpio data... >> Appending zfs cpio data... ERROR: Binary /sbin/mount.zfs could not be found 2. --> missing --no-zfs 2. --> check /etc/genkernel.conf 3. -- check genkernel option to disable: # genkernel --help |grep zfs --zfs Include ZFS support --no-zfs Exclude ZFS support -> genkernel -no-zfs all 2.- or check /etc/genkernel.conf foo=/etc/genkernel.conf grep -i zfs $foo # sed -i$( date '%y%m%d.%H%M').bak $foo sed -i.000.bak 's/^#ZFS="no"/ZFS="no"/ $foo ls $foo* grep -i zfs $foo grep -i zfs $foo
? Do we have to # emerge sys-fs/zfs or # emerge sys-fs/zfs-kmo before ?
I remember this happening in the past, too. Can we please assume that ZFS isn't there by default, and don't make people have to set --no-zfs.
this does not appear to be an issue with the latest kernel, so close this bug on next stabilization
I have been having nothing but problems with this genkerel. I have been working on installing Gentoo for 3 days now. Another thing, initramfs will not build.
(In reply to Robert from comment #4) > I have been having nothing but problems with this genkerel. I have been > working on installing Gentoo for 3 days now. Another thing, initramfs will > not build. the new genkernel has recently been stablized on most arches so this should be good.
This fail was yesterday, 12-07-15, I was unable to build genkernel at all. I even masked the newest version and used the last stable build and it did the same thing.
Latest ~arch sometimes exhibits this issue: * Using genkernel.conf from /etc/genkernel.conf * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. * * ERROR: Binary /sbin/mount.zfs could not be found * * -- End log... -- [ebuild R ] sys-kernel/genkernel-3.4.52.4::gentoo USE="-cryptsetup (-ibm) (-selinux)" 0 KiB
* Running with options: initramfs --no-mountboot --bootdir=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/final/boot --logfile=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/genkernel.log --tempdir=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/tmp --module-prefix=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/final --kerneldir=/usr/src/linux-4.4.1-gentoo --kernel-config=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/tmp/kernel/.config --cachedir=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/cache --lvm --mdadm --no-zfs * Using genkernel.conf from /etc/genkernel.conf * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. * * ERROR: Binary /sbin/btrfs could not be found * * -- End log... --
(In reply to Patrick Lauer from comment #8) > * Running with options: initramfs --no-mountboot > --bootdir=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/ > final/boot > --logfile=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/ > genkernel.log > --tempdir=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/ > tmp > --module-prefix=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4. > 4.1/final --kerneldir=/usr/src/linux-4.4.1-gentoo > --kernel-config=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4. > 4.1/tmp/kernel/.config > --cachedir=/var/tmp/portage/sys-fs/buildkernel-4.4.1/work/buildkernel-4.4.1/ > cache --lvm --mdadm --no-zfs > * Using genkernel.conf from /etc/genkernel.conf > * Sourcing arch-specific config.sh from > /usr/share/genkernel/arch/x86_64/config.sh .. > * Sourcing arch-specific modules_load from > /usr/share/genkernel/arch/x86_64/modules_load .. > * > * ERROR: Binary /sbin/btrfs could not be found > * > * -- End log... -- I see that you didn't pass any params to explicitly enable or disable btrfs. In which case, the default would be to enable it if your rootfs is btrfs. Is that the case? Alternatively, was it maybe set in your config file?
Can somebody that has this problem still run with --loglevel=5 and attach the output?
This has a minimal fix in commit c37d0daba2f264c72a945dcebd08e9a42d8649f7. https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c37d0daba2f264c72a945dcebd08e9a42d8649f7 Further changes should improve the detection function.