Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

genkernel-next-68 on Gentoo fails to find modules #55

Open
Massimo-B opened this issue Sep 14, 2017 · 3 comments
Open

genkernel-next-68 on Gentoo fails to find modules #55

Massimo-B opened this issue Sep 14, 2017 · 3 comments

Comments

@Massimo-B
Copy link

When booting with LUKS, the dm-mod Module is missing.
When creating the initramfs it doesn't find the modules:

=================================================================
*         >> Appending modules cpio data...
* initramfs: >> Searching for modules...
* Warning :: 3w-9xxx.ko not found; skipping...
* Warning :: 3w-xxxx.ko not found; skipping...
* Warning :: aacraid.ko not found; skipping...
* Warning :: advansys.ko not found; skipping...
* Warning :: aes_generic.ko not found; skipping...
...

Although it later in the process finds the right directory /lib/modules/4.13.0-pf2..:

=================================================================
About to add these files from '/var/tmp/genkernel/18034.4215.3537.13467/initramfs-modules-4.13.0-pf2-temp' to cpio archive:
drwxr-xr-x 4 root root     80 Sep 14 15:46 .
drwxr-xr-x 3 root root     60 Sep 14 15:46 ./etc
drwxr-xr-x 2 root root    420 Sep 14 15:46 ./etc/modules
-rw-r--r-- 1 root root     24 Sep 14 15:46 ./etc/modules/ataraid
-rw-r--r-- 1 root root     78 Sep 14 15:46 ./etc/modules/crypt
-rw-r--r-- 1 root root     78 Sep 14 15:46 ./etc/modules/crypto
-rw-r--r-- 1 root root     26 Sep 14 15:46 ./etc/modules/dmraid
-rw-r--r-- 1 root root     23 Sep 14 15:46 ./etc/modules/firewire
-rw-r--r-- 1 root root     59 Sep 14 15:46 ./etc/modules/fs
-rw-r--r-- 1 root root     31 Sep 14 15:46 ./etc/modules/hyperv
-rw-r--r-- 1 root root     40 Sep 14 15:46 ./etc/modules/iscsi
-rw-r--r-- 1 root root    230 Sep 14 15:46 ./etc/modules/lvm
-rw-r--r-- 1 root root    109 Sep 14 15:46 ./etc/modules/mdadm
-rw-r--r-- 1 root root     75 Sep 14 15:46 ./etc/modules/multipath
-rw-r--r-- 1 root root    138 Sep 14 15:46 ./etc/modules/net
-rw-r--r-- 1 root root    519 Sep 14 15:46 ./etc/modules/pata
-rw-r--r-- 1 root root     83 Sep 14 15:46 ./etc/modules/pcmcia
-rw-r--r-- 1 root root    158 Sep 14 15:46 ./etc/modules/sata
-rw-r--r-- 1 root root    508 Sep 14 15:46 ./etc/modules/scsi
-rw-r--r-- 1 root root    349 Sep 14 15:46 ./etc/modules/usb
-rw-r--r-- 1 root root     94 Sep 14 15:46 ./etc/modules/virtio
-rw-r--r-- 1 root root     15 Sep 14 15:46 ./etc/modules/waitscan
drwxr-xr-x 3 root root     60 Sep 14 15:46 ./lib
drwxr-xr-x 3 root root     60 Sep 14 15:46 ./lib/modules
drwxr-xr-x 2 root root    260 Sep 14 15:46 ./lib/modules/4.13.0-pf2
-rw-r--r-- 1 root root  85412 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.alias
-rw-r--r-- 1 root root  91814 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.alias.bin
-rw-r--r-- 1 root root   3277 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.builtin
-rw-r--r-- 1 root root   4230 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.builtin.bin
-rw-r--r-- 1 root root  19373 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.dep
-rw-r--r-- 1 root root  28315 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.dep.bin
-rw-r--r-- 1 root root    248 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.devname
-rw-r--r-- 1 root root   7633 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.order
-rw-r--r-- 1 root root    358 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.softdep
-rw-r--r-- 1 root root  92169 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.symbols
-rw-r--r-- 1 root root 111896 Sep 14 15:46 ./lib/modules/4.13.0-pf2/modules.symbols.bin
@Massimo-B
Copy link
Author

Here is my config:

# grep -v "^#" /etc/genkernel.conf
INSTALL="yes"
OLDCONFIG="yes"
MENUCONFIG="no"
NCONFIG="no"
CLEAN="no"
MRPROPER="no"
MOUNTBOOT="yes"
SYMLINK="yes"
SAVE_CONFIG="yes"
USECOLOR="yes"
MAKEOPTS="-j4 -l2"
LVM="yes"
LUKS="yes"
GPG="yes"
UDEV="yes"
BTRFS="yes"
DISKLABEL="yes"
PLYMOUTH="yes"
PLYMOUTH_THEME="glow"
KERNEL_CC="/usr/lib/ccache/bin/gcc"
GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
CACHE_DIR="/var/cache/genkernel"
DISTDIR="/var/lib/genkernel/src"
LOGFILE="/var/log/genkernel.log"
LOGLEVEL=1
DEFAULT_KERNEL_SOURCE="/usr/src/linux"
COMPRESS_INITRD="yes"
COMPRESS_INITRD_TYPE="gzip"

@whoo
Copy link

whoo commented Jul 27, 2018

Hi,

I've got the same issue with "CONFIG_MODULE_COMPRESS".
Unset config variables will fix it.
(gen_initramfs.sh search for .ko and not .ko.gz)

Regards,

@tlhonmey
Copy link

tlhonmey commented Oct 5, 2018

I've noticed that genkernel-next doesn't always do a good job of figuring out which modules it needs to include. Try with --all-ramdisk-modules and see if the problem goes away. If so you can either just use that or figure out which modules to order it to specifically add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants