On Wed, Apr 30, 2014 at 11:45:25AM -0400, John Hoyt wrote:
> I went back and re-ran make install from the kernel directory and got the
> following output:
>>> mkdir -p /lib/modules/3.8.0-38-generic/kernel/net/pf_ring
>> cp *.ko /lib/modules/3.8.0-38-generic/kernel/net/pf_ring
>> cp linux/pf_ring.h /usr/include/linux
>> /sbin/depmod 3.8.0-38-generic
>> Then I re-ran the command:
>> modprobe pf_ring enable_tx_capture=0 min_num_slots=32768
>> And got the error:
>> FATAL: Error inserting pf_ring (/lib/modules/3.8.0-38-generic/kernel/net/
> pf_ring/pf_ring.ko): Invalid module format
Ah, try doing a make clean and then a make install. That should install
a working module build for the right kernel.
>> Then, I went back through the steps of re-running make install, beginning with
> the directoryPF_RING-5.6.1/userland/lib
Your problem is with the kernel module so reinstalling the stuff in lib/
would not have helped.
--
-- Justin Azoff