LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't load module ne2k-pci (https://www.linuxquestions.org/questions/linux-networking-3/cant-load-module-ne2k-pci-224179/)

TurkisH 08-30-2004 01:58 AM

Can't load module ne2k-pci
 
hiya guys,

I have got this splendid ethernet card: realtek 8029. I read the forum which module to steer this card. This is the ne2k-pci module. I loaded the module in /usr/src/linux with make menuconfig. Now when I try to modprobe this module I get the following error:
Code:

blaat linux # modprobe ne2k-pci
/lib/modules/2.4.26-gentoo-r8/kernel/drivers/net/ne2k-pci.o: couldn't find the kernel version the module was compiled for
/lib/modules/2.4.26-gentoo-r8/kernel/drivers/net/ne2k-pci.o: insmod /lib/modules/2.4.26-gentoo-r8/kernel/drivers/net/ne2k-pci.o failed
/lib/modules/2.4.26-gentoo-r8/kernel/drivers/net/ne2k-pci.o: insmod ne2k-pci failed

Then I tried
Code:

make include/linux/version.h
what i read somewhere, but it was already up to date. Sorry I'm really new with linux. Somebody can help me how to load this module

Thoreau 08-30-2004 02:07 AM

Your kernel module wasn't compiled properly. You need to move /lib/modules/2.6.whatever before you install the new modules.

Either you aren't booted to the right kernel for those modules, or your modules aren't the one's compiled against the kernel you are running.

Either way, you needa redo it.

TurkisH 08-30-2004 02:22 AM

thx for the fast reply. I've redone the compiling of the module it several times and Im quite sure i'm booted in the right kernel, because other modules can be loaded.

However what do you mean with moving the: /lib/modules/2.6
The kernel I got is: /lib/modules/2.4.26-gentoo-r8

Thoreau 08-31-2004 09:59 PM

Perhaps kernel-gentoo-development(aka 2.6) may alleviate the issue.


All times are GMT -5. The time now is 07:14 AM.