April 11, 200917 yr I have a atheros based wifi card that I would like to use with unRAID but I see that unRAID doesnt support wlan cards out of the box. I decided to try to implement the functionality on my own and found a madwifi package for the verison of slackware that unRAID runs here: http://www.slackware.com/~alien/slackbuilds/madwifi/pkg/12.2/ . The problem is that when I try to modprobe the module "ath_pci" i get an error that says "Invalid module format". I've tried compiling from the source but I'm still having the same issue. What must I do to get this working? What am I doing wrong?
April 11, 200917 yr The module must be compiled for the same version of linux that unRAID is running. you can type cat /proc/version to see the version on your server. On my server, running 4.5-beta3, the version is 2.6.28.4-unRAID The package you linked to was apparently compiled for 2.6.27.7. The version must match exactly for the module to load. (including the-unRAID suffix of the version) Another possibility is to install your module in /lib/modules/2.6.28.4-unRAID and then run depmod -a Then, you can use modprobe -f ath_pci to try to force the module to load Joe L.
April 11, 200917 yr Author I'm running unRAID version 4.4.2 so the kernel version is correct. However when I reun dmesg i get this line: ath_pci: version magic '2.6.27.7-smp SMP mod_unload 686 ' should be '2.6.27.7-unRAID SMP mod_unload CORE2 ' How would I go about compiling madwifi myself so it is what it should be?
April 11, 200917 yr As I already said, the difference is the version strings... normally, they must match exactly, otherwise, the module will not load. Did you try using the -f option to modprobe to try to get it to use the module with the mis-matched version string? If that does not work, you will need to compile your own module using a version label matching that used by unRAID. Joe L.
April 11, 200917 yr Author The -f option does not work. I'm just not sure how I would compile it with a version label that maches unRAID, whenever I try to compile it uses 2.6.27.7-smp. EDIT: Following this guide I'm able to compile with the correct version string: http://lime-technology.com/forum/index.php?topic=2937.0 . I'm now getting a whole bunch of "Unknown symbol" errors whenever I try to modprobe ach_pci or anything related to it.
Archived
This topic is now archived and is closed to further replies.