We have a report that building the aoe6 driver on a fresh FC5 install results in an error.
[root@ws-test aoe6-29]# make Error: /lib/modules/2.6.15-1.2054_FC5/build sources are not configured. make: *** [prep] Error 1
After performing a yum upgrade and allowing the system to upgrade to 2.6.16 version of the kernel, this problem goes away.
If you see "invalid module format" errors when attempting to modprobe your newly compiled aoe driver, check for a mismatch between your running kernel and the aoe module's "vermagic" as reported by the "modinfo" command.
For example, say you are running the SMP kernel on your machine but the kernel source from "yum install kernel-devel" is for the single CPU kernel. You run "cat /proc/version" and "modinfo /lib/modules/`uname -r`/kernel/drivers/block/aoe/aoe.ko". In that case you will notice that the information in /proc/version doesn't match the target kernel listed in the output of modinfo.
For the case above, you need "yum install kernel-smp-devel" instead. That gives you a matching kernel, and you'll then be able to compile and use the aoe software.
Here is an example of matching RPMs.
kernel-smp-devel-2.6.17-1.2157_FC5 kernel-smp-2.6.17-1.2157_FC5
There is a reported problem with the above RPMs in that /lib/modules/2.6.17-1.2157_FC5smp/build points to a nonexistant source. The following steps fix the problem and allow the aoe driver to compile normally:
cd /lib/modules/2.6.17-1.2157_FC5smp ln -sf ../../../usr/src/kernels/2.6.17-1.2157_FC5-smp-i686 build
Thanks to Tim Fredrick, fredrick at ucar.edu, for this information.