Fedora 21: I need help to create kmod rpm for driver with dependencies on other modules like raid_class and scsi_transport_sas, the current spec file is working fine till fedora 20 but not working for fedora 21

asked 2015-02-27 01:44:33 -0600

nagaraj gravatar image

lib/modules/3.17.4-301.x86_64/drivers/scsi has modules with .ko.xz (compressed) instead of .ko, make modules is working fine but make modules_install fails with depmod error

  • make -C /usr/src/kernels/3.17.4-301.fc21.x86_64 modules_install M=/home/buildkit/fedora17/ddiskit_fc20/mpt2sas/rpm/BUILD/mpt2sas-kmod- make[1]: Entering directory '/usr/src/kernels/3.17.4-301.fc21.x86_64' INSTALL /home/buildkit/fedora17/ddiskit_fc20/mpt2sas/rpm/BUILD/nwdlin-kmod- Can't read private key DEPMOD 3.17.4-301.fc21.x86_64 depmod: WARNING: could not open /home/buildkit/fedora17/ddiskit_fc20/nwdlin/rpm/BUILDROOT/nwdlin-kmod- No such file or directory depmod: WARNING: /home/buildkit/fedora17/ddiskit_fc20/mpt2sas/rpm/BUILDROOT/mpt2sas-kmod- needs unknown symbol sas_port_alloc_num ... RPM build errors: Bad owner/group: /home/buildkit/fedora17/ddiskit_fc20/mpt2sas/rpm/SOURCES/kmodtool_mpt2sas cp: cannot stat ‘/lib/modules/3.17.4-301.fc21.x86_64/kernel/drivers/scsi/scsi_transport_sas.ko’: No such file or directory
edit retag flag offensive close merge delete