Bug occurs only for modules that have similar names, in my case piix and ata-piix, didn't checked if other such modules exist. /usr/share/genkernel/generic/modprobe:66 real_mod_path() { # Find -name is no good since the return status is always zero find /lib/modules | grep "${1}${KSUFF}" } this finds and returns /lib/modules/.../kernel/drivers/ide/pci/piix.ko /lib/modules/.../kernel/drivers/scsi/ata_piix.ko which prints error about wrong parameter(/lib/modules/.../kernel/drivers/scsi/ata_piix.ko) for module piix ;] my simple hack to repair this is to change line 69 to find /lib/modules | grep "/${1}${KSUFF}" which returns correct, one path to module
I've fixed this now in subversion and it'll show up in the next release of genkernel.
Fixed in 3.4.6