[ATrpms-devel] madwifi package for RHEL5

Martin Dubuc martind1111 at gmail.com
Wed Jul 30 16:28:51 CEST 2008


I would like to build the madwifi RPM for a custom version of a RHEL5-based
kernel (CentOS). I have tried the madwifi RPMs that I could find on ATrpms
against a stock kernel and they work as expected. However, I can't load the
RPMs that I build on my build box. When I perform the modprobe ath_pci, I
get the following errors:

WARNING: Error inserting ath_hal
(/lib/modules/2.6.18-92.1.6.20080721.el5/updates/net/ath_hal.ko): Invalid
module format
WARNING: Error inserting wlan
(/lib/modules/2.6.18-92.1.6.20080721.el5/updates/net/wlan.ko): Invalid
module format
FATAL: Error inserting ath_pci
(/lib/modules/2.6.18-92.1.6.20080721.el5/updates/net/ath_pci.ko): Invalid
module format

I can also see the following error messages in /var/log/messages:
Jul 30 13:39:39 localhost kernel: ath_hal: disagrees about version of symbol
struct_module
Jul 30 13:39:39 localhost kernel: wlan: disagrees about version of symbol
struct_module
Jul 30 13:39:39 localhost kernel: ath_pci: disagrees about version of symbol
struct_module

This is the command I am using to build the madwifi RPMs:

rpmbuild --bb --target=i686 --define "kmdl_kernelsrcdir
/root/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18.i686" --define "_kernel
2.6.18-92.1.6.20080721.el5" --define 'kmdl_userland 0' --define "dist .el5"
/root/rpmbuild/SPECS/madwifi.spec

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20080730/9c5c8f99/attachment.html 


More information about the atrpms-devel mailing list