LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NIC driver installation issue due to change in kernel.. (https://www.linuxquestions.org/questions/linux-newbie-8/nic-driver-installation-issue-due-to-change-in-kernel-884939/)

amitvasani 06-07-2011 02:24 AM

NIC driver installation issue due to change in kernel..
 
Hi guys,
I am facing a problem that after upgrading RAM from 2 GB to $ GB in my ASUS-P5KPL AM-PS board with Realtek r8168 driver that was previously labled
as r8168.ko, but now as I reinstall Redhat Linux 5.1 (same as before),
but the kernel is looked now like 2.6.18-53.el5.PAE insted of 2.6.18-53.el5. (What is this PAE.???)
and now as I am going to install the LAN driver same r8168.ko file on the same path as before /lib/modules/2.6.../.../net directory using the
insmod command. it throws an error that "Invalid module format.."
so tell me please How can I get .c source file of the LAN driver and how can i compile it again to
.ko file to make it working again with this PAE kernel..??
Please Help..!!!

pinga123 06-07-2011 02:55 AM

First check Which modules are existing?

Code:

# modprobe -l | egrep 'pcnet32|vmxnet|e1000'
If you find anything here you may load it and try like below.

Code:

#modprobe e1000
restart the machine to take it into effect.

amitvasani 06-08-2011 10:50 PM

The modprobe command displayes the twol lines of output of e1000 and e1000e modules at the given path
but It haven't solved the problem. my r8168.ko file still can't work.guy., even after restart.

pinga123 06-08-2011 11:07 PM

Try loading

Code:

modprobe e1000
restart


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