LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-28-2011, 02:41 AM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 36
How do i change network drivers?


In recent time i have observed that two identical servers are behaving different in terms of network.

For example after reboot one of the server was taking some time to get into network after starting the network service.

After digging more into the system commands i came to know that they two are running different ethernet controllers Intel 82575EB Gigabit Ethernet Controller Intel 82576 Gigabit Ethernet Controller respectively.

The problematic server having Intel 82576 Gigabit Ethernet Controller.

More digging reveals that problematic server running igb drivers where as good one running both igb and e1000
problematic server
Code:
# lsmod | egrep 'pcnet32|vmxnet|e1000|igb'
igb                   104197  0
good one
Code:
# lsmod | egrep 'pcnet32|vmxnet|e1000|igb'
e1000e                127249  0
igb                   104197  0
Is there any way i can add e1000e driver on problematic one.

i tried running modprobe e1000e on problematic server but after reboot it showed following result.
Code:
# modprobe -l | egrep 'pcnet32|vmxnet|e1000|igb'
/lib/modules/2.6.18-128.2.1.4.25.el5xen/kernel/drivers/net/e1000/e1000.ko
/lib/modules/2.6.18-128.2.1.4.25.el5xen/kernel/drivers/net/e1000e/e1000e.ko
/lib/modules/2.6.18-128.2.1.4.25.el5xen/kernel/drivers/net/igb/igb.ko
/lib/modules/2.6.18-128.2.1.4.25.el5xen/kernel/drivers/net/pcnet32.ko
# lsmod | egrep 'pcnet32|vmxnet|e1000|igb'
igb                   104197  0
Any other way of getting around this problem would be appreciated.
 
Old 11-28-2011, 05:18 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
e1000e is almost certainly the appropriate driver - it handles most of the recent Intel Ethernet cards.

I would recommend doing a few things.

1. Rename the igb module so it can't be found, anyhow.
Code:
sudo mv /lib/modules/$(uname -r)/kernel/drivers/net/igb/igb.ko{,.bak}
2. Blacklist the igb module in modprobe's blacklist file.
Code:
echo 'blacklist igb' > /etc/modprobe.d/blacklist.conf
3. Download the latest e1000e driver, build the source and install, as per the instructions that it comes with. (Probably just make install, I'd guess.)
Code:
#TODO: homework 4u
4. Run depmod to update the module dependency map (the above might already have done this.)
Code:
depmod
5. Update your initrd
Code:
mkinitramfs -o /boot/initrd.img-$(uname -r) $(uname -r)
6. Reboot and expect to have the most recent e1000e running on your system.

I would be very surprised if you're still having trouble after all that.

Last edited by jhwilliams; 11-28-2011 at 05:29 AM.
 
1 members found this post helpful.
Old 11-30-2011, 06:12 AM   #3
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 36
Hi I m trying to make install but its giving me following error.
Code:
# make install
Makefile:124: *** Compiler not found.  Stop.
I have glib installed in the system .What could be an issue.

Code:
# yum install glib*
Setting up Install Process
Parsing package install arguments
Package 1:glib-1.2.10-20.el5.i386 already installed and latest version
Package glibc-2.5-34.i686 already installed and latest version
Package glib2-2.12.3-2.fc6.i386 already installed and latest version
Package glibc-common-2.5-34.i386 already installed and latest version
Nothing to do
 
Old 12-01-2011, 08:00 PM   #4
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
You need to install the GNU C Compiler.
 
1 members found this post helpful.
Old 12-02-2011, 12:51 AM   #5
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Original Poster
Rep: Reputation: 36
What should i write in yum install ?
 
Old 12-02-2011, 07:23 AM   #6
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
I don't personally use an rpm-based system, but this should probably work:

http://antarktikos.wordpress.com/200...nt-for-fedora/

The compiler is only one thing you'll need; there will likely be several other things in order to do a build. The commands in the link above should hopefully install everything for you.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to change video drivers darksaurian Slackware 6 10-12-2010 07:41 PM
[SOLVED] How Do I Change Network Drivers? peridian Red Hat 2 08-15-2010 12:14 PM
Fedora C2 - Wireless network drivers? Broadcom 802.11g Network Adapter FragTek Linux - Wireless Networking 7 01-22-2010 01:10 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 07:48 AM
Change sound drivers?? moussen15 Linux - Hardware 0 05-25-2005 04:03 PM


All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration