Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927284

Summary: sys-kernel/genkernel-4-3-10 Did not found any udev-related files for sys-fs/zfs!
Product: Gentoo Hosted Projects Reporter: grixfosforito
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: UNCONFIRMED ---    
Severity: normal CC: grixfosforito, marek.bedy
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/log/genkernel.log
Gziped /var/log/genkernel.log

Description grixfosforito 2024-03-19 10:44:44 UTC
I create my initramfs with the following command:

genkernel initramfs --firmware --kernel-config=/usr/src/linux/.config --keymap --makeopts=-j16 --mountboot --no-clean --zfs

It has been working fine, but now it does not work and gives me the following error:

* initramfs: >> Initializing ...
*         >> Appending devices cpio data ...
*         >> Appending base_layout cpio data ...
*         >> Appending util-linux cpio data ...
*         >> Appending eudev cpio data ...
*         >> Appending auxiliary cpio data ...
*         >> Appending busybox cpio data ...
*         >> Appending modprobed cpio data ...
*         >> Appending zfs cpio data ...
* ERROR: Something went wrong: Did not found any udev-related files for sys-fs/zfs!

I am not sure if this is specific to my system, or a bug.

Reproducible: Always
Comment 1 grixfosforito 2024-03-19 10:46:04 UTC
Created attachment 887916 [details]
/var/log/genkernel.log
Comment 2 mbe 2024-04-24 14:39:29 UTC
I have this issue too, even with Genkernel version 4.3.11:

genkernel initramfs --firmware --kernel-config=/usr/src/linux/.config --keymap --makeopts=-j5 --mountboot --no-clean --zfs
* Gentoo Linux Genkernel; Version 4.3.11
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: initramfs --firmware --kernel-config=/usr/src/linux/.config --keymap --makeopts=-j5 --mountboot --no-clean --zfs

* Working with Linux kernel 6.6.28-gentoo-x86_64 for x86_64
* Using kernel config file '/usr/src/linux-6.6.28-gentoo/.config' ...

* mount: >> Boot partition was temporarily mounted on '/boot' ...

* initramfs: >> Initializing ...
*         >> Appending devices cpio data ...
*         >> Appending base_layout cpio data ...
*         >> Appending util-linux cpio data ...
*         >> Appending eudev cpio data ...
*         >> Appending auxiliary cpio data ...
*         >> Appending busybox cpio data ...
*         >> Appending modprobed cpio data ...
*         >> Appending zfs cpio data ...
* ERROR: Something went wrong: Did not found any udev-related files for sys-fs/zfs!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
* 
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* '/var/log/genkernel.log' so that your issue can be dealt with effectively.
* 
* Please do *not* report kernel compilation failures as genkernel bugs!
* 

* mount: >> Automatically unmounting boot partition from '/boot' as it was previously ...
Comment 3 mbe 2024-04-24 14:45:04 UTC
Created attachment 891660 [details]
Gziped /var/log/genkernel.log
Comment 4 grixfosforito 2024-04-24 15:52:09 UTC
This issue has been fixed for me, but I don't know the cause or the solution.

After reporting it, I upgraded my profile and re-emerged all of the @world packages. Afterwards, this issue was gone.
Comment 5 mbe 2024-04-28 20:55:36 UTC
The same issue in version 4.3.12:

# genkernel initramfs --firmware --kernel-config=/usr/src/linux/.config --keymap --makeopts=-j5 --mountboot --no-clean --zfs
* Gentoo Linux Genkernel; Version 4.3.12
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: initramfs --firmware --kernel-config=/usr/src/linux/.config --keymap --makeopts=-j5 --mountboot --no-clean --zfs

* Working with Linux kernel 6.6.28-gentoo-x86_64 for x86_64
* Using kernel config file '/usr/src/linux-6.6.28-gentoo/.config' ...

* mount: >> Boot partition was temporarily mounted on '/boot' ...

* initramfs: >> Initializing ...
*         >> Appending devices cpio data ...
*         >> Appending base_layout cpio data ...
*         >> Appending util-linux cpio data ...
*         >> Appending eudev cpio data ...
*         >> Appending auxiliary cpio data ...
*         >> Appending busybox cpio data ...
*         >> Appending modprobed cpio data ...
*         >> Appending zfs cpio data ...
* ERROR: Something went wrong: Did not found any udev-related files for sys-fs/zfs!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
* 
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* '/var/log/genkernel.log' so that your issue can be dealt with effectively.
* 
* Please do *not* report kernel compilation failures as genkernel bugs!
* 

* mount: >> Automatically unmounting boot partition from '/boot' as it was previously ...