Ethtool script not running on boot.

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Ethtool script not running on boot.
# 8  
Old 10-21-2011
Hi mark54g,

The card is 10/100 but Fedora is defaulting to e1000e as the e100 driver isn't included with Fedora 15.

I downloaded the e100 driver from http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=2896&ProdId=998&lang=eng which is
Quote:
Known to build properly on 2.4.19 & 2.6.x kernels.
but receive the error
Quote:
Makefile:170: *** *** Aborting the build. *** This driver is not supported on kernel versions older than 2.4.0. Stop.
.
I'm using 2.6.40.6-0.fc15.x86_64.

Removing the section of code that produces this error just leads to another bunch of errors so as I said I don't have much confidence in the driver that eventually installed.
# 9  
Old 10-21-2011
Why not get the src rpm? I would suggest that would make more sense, no?

What is the outpout of this command:

Code:
lspci -vv | grep -i net

That will get you started on what card you have and perhaps what driver you should be using:

alternately you may also want to run:

Code:
ethtool -i <ethdevice>

also, what happens if you do this:

Code:
modprobe -r e1000e 
modprobe e100

FYI, if it doesn't work, you will have to modprobe the e1000e driver again (no -r) in order to connect (or reboot)

---------- Post updated at 01:28 PM ---------- Previous update was at 01:17 PM ----------

If I remember correctly, they don't put out src RPMs, so sorry there. How did you try to build it? Did you do an rpmbuild -ba or -bb?

did you try to extract it and build? I suggest you just rpmbuild or rpm --rebuild against the tgz file.

After that, you will then have to find the RPM it created and install it, then I would suggest a reboot.

Last edited by mark54g; 10-21-2011 at 02:33 PM.. Reason: clarity
# 10  
Old 10-21-2011
Hi Mark54g, thanks again.

Code:
lspci -vv | grep -i net

gives
Quote:
00:19.0 Ethernet controller: Intel Corporation 82562V-2 10/100 Network Connection (rev 02)
Quote:

Previously I'd tried rpmbuild -tb against the tar.gz. I've tried again with rpmbuild -ts to create a source then ran rpmbuild --rebuild against the src.rpm. End result is either
Quote:
Makefile:170: *** *** Aborting the build. *** This driver is not supported on kernel versions older than 2.4.0. Stop.
make: Leaving directory `/root/rpmbuild/BUILD/e100-3.5.17/src'
error: Bad exit status from /var/tmp/rpm-tmp.1HV9jv (%build)
or if I modfiy the Makefile to force it to carry on I get
Quote:
Makefile:190: *** Warning: kernel source configuration (UP)
Makefile:191: *** does not match running kernel (SMP)
Makefile:193: *** Continuing with build,
Makefile:194: *** resulting driver may not be what you want
Can't figure out what the problem is as
Code:
[root@Fedora15 craig]# rpm -qa kernel-devel
kernel-devel-2.6.40.6-0.fc15.x86_64
[root@Fedora15 craig]# uname -r
2.6.40.6-0.fc15.x86_64

seems to be in order.


Sorry, afraid I've wasted your time with the driver install as it is in fact already installed as shown by modinfo e100. modprobe -r e1000e followed by modprobe e100 cuts off my network entirely and following a reboot e1000e is back as the driver in use.

Last edited by torley; 10-21-2011 at 08:32 PM.. Reason: Because I'm an eejit
# 11  
Old 10-22-2011
Try opening a bug with the Fedora folks.
# 12  
Old 10-22-2011
Thanks Mark54g, I think this has something to do with the stage at which the Ethtool config is applied as I had the same problem using Ubuntu 10.10 on this machine but configuring the driver directly on my Windows installation seems to work fine.

NIC's tend to be dirt cheap these days so I think I'll take the easy way out and just pick up a new one thus getting rid of the incompatibility.

Thanks again for all the help.
# 13  
Old 10-23-2011
Buy a new Intel Pro NIC that uses the e1000 driver.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ethtool command not working

Hi All, I am trying to find my NIC card speed in centos 5. But i am unable to get the info using ethtool command. # ethtool eth0 Settings for eth0: Link detected: yes and even tried to look for the file # cd /sys/class/net/eth0/speed files which is also not available.... (8 Replies)
Discussion started by: sravani25
8 Replies

2. Red Hat

Can't boot RHEL7.2 due to "Start Job is Running"

Dear community, as already done tons of times, I prepare the RedHat installation on VMWare, then clone it with clonezilla, and finally restore it on final server. Due to different hrdware, I have to boot from rhel-server-7.4-x86_64-boot.iso cd and rewrite the initramfs that contains the hardware... (3 Replies)
Discussion started by: Lord Spectre
3 Replies

3. Shell Programming and Scripting

Script will keep checking running status of another script and also restart called script at night

I am using blow script :-- #!/bin/bash FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not if then # echo "process found" exit 0; else echo "process not found" exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies

4. UNIX for Dummies Questions & Answers

check service is running at boot

dears am having solaris 10, and i would like to know if the NTP service is running when the OS staritng?on the other hand how can i make it start at the boot up?note the ntp is managed by the SMF in solaris 10. thanks a lot (2 Replies)
Discussion started by: thehero
2 Replies

5. Programming

ethtool problem

Hi, I'm using ethtool to change network settings: Just for the experiment, i want to change speed to 10, instead of 100, I type: ethtool -s eth0 speed 10 duplex full autoneg off and to view settings i type: ethtool eth0, and get this: Settings for eth0: Supported ports: ... (4 Replies)
Discussion started by: alex889
4 Replies

6. Shell Programming and Scripting

ethtool : command not found

Hi, I am uising Suse linux on my system and i tried : man ethtool and i got the manual for ethtool but when i tried to use the command as: ethtool -a eth0 it says Command not found. also, i tried rpm -qa|grep ethtool i got: ethtool-3-15.2 so,it means my system has ethtool server or... (4 Replies)
Discussion started by: salil2012
4 Replies

7. Solaris

Running from Shell Vs running from RC script

Hi, i have a script which need to do behave differently when run as a startup process from init.d/ rc2.d script and when run manually from shell. How do i distinguish whether my script is run by init process or by shell?? Will the command /proc/$$/psinfo | grep "myscript" work well???... (2 Replies)
Discussion started by: vickylife
2 Replies

8. Ubuntu

system not booting after running local boot scripts

I have two systems in my computer . I update the ubuntu system these days and always interrupt it and exit the system . now the system cannot boot after Running local boot scripts(/etc/rc.local), it just stops there. i have to terminate the gnome display manager. what can i do with it ? thank... (0 Replies)
Discussion started by: tcb3210
0 Replies

9. Filesystems, Disks and Memory

Compile a code for running on boot

How can I compile a code that can be runned on boot:?? (2 Replies)
Discussion started by: d4n1l0d
2 Replies

10. UNIX for Dummies Questions & Answers

Running a program on boot!

Hi there! I tried to search for something like this here but couldn't find anything. I need to run a specific program when linux starts up. I need to run it after the rp-pppoe has started because this prog needs internet connection. I start the program by entering ./dynix start (its in my home... (4 Replies)
Discussion started by: D-Lexy
4 Replies
Login or Register to Ask a Question