CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Hardware Support
  [SOLVED] Can't load NIC driver

 

 Bottom   Previous Topic   Next Topic
12>
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  vpeppers
      vpeppers
[SOLVED] Can't load NIC driver
#1
Newbie
Joined: 2010/10/6
From Atlanta, GA
Posts: 10
Okay, all you Linux gurus. Help me out on this one.

I am starting a new line of business for my company, selling IP PBX's, based on Asterisk. I am using the Elastix build, which is based on CentOS 5.5.

I just purchased a Shuttle XS35-701, which is an Atom powered box, which draws 40W of power. It looks like it is going to make a great Asterisk appliance. My only problem is that CentOS doesn't recognize my network card. It is a JMicron JME260. JMicron has a "driver" on its web site. There are two versions for Linux: 1.0.5, available as a tar archive, and 1.0.6, in a rar archive. I have downloaded both a tried to install both. I get the same errors on either one.

The instructions say to expand the archive, and to change to the proper directory. Then is says to "make install" I have done this multiple times. I get a series of errors:

make[1]]: Entering directory 'usr/src/kernels/2.6.18-194.3.1.el5-x86_64'
CC [m] /root/jme-1.0.6/jme.o
In file included from /root/jme-1.0.6/jme.c:41:
/root/jme-1.0.6/jme.h:415:error:redefinition of 'ip_hdr'
Include/linux/ip.h:109:error:previous definition of 'ip_hdr' was here
/root/jme-1.0.6/jme.h:420:error:redefinition of 'ipv6_hdr'
Include/linux/ipv6.h:199:error:previous definition of 'ipv6_hdr' was here
/root/jme-1.0.6/jme.h:425:error:redefinition of 'tcp_hdr'
Include/linux/tcp.h:169:error:previous definition of 'tcp_hdr' was here
make[2]: ***[/root/jme-1.0.6/jme.o] Error 1
make[1]: ***[_module_/root/jme-1.0.6] Error 2
make[1]: Leaving directory 'usr/src/kernels/2.6.18-194.3.1.el5-x86_64'
make: ***[all] Error 2


After I run this, there is no jme.ko. I have no idea why not. I don't know what to do about it. Has anyone installed this JME260 NIC? Is there anyone who can help me?

Please don't suggest that I just put another NIC in the machine. It is built onto the motherboard, and has no slots to put another one into.
Posted on: 2010/10/6 14:11
Create PDF from Post Print
Top
  •  gerald_clark
      gerald_clark
Re: Can't load NIC driver
#2
Professional Board Member
Joined: 2005/8/5
From Northern Illinois, USA
Posts: 6178
Welcome to CentOS.
New users should read:
http://www.centos.org/modules/newbb/viewforum.php?forum=47

I would start by reading the FAQ at the ELRepo Project's website.
Posted on: 2010/10/6 14:38
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: Can't load NIC driver
#3
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9135
If you still have a problem after following Gerald's advice, please post the output returned by executing ./getinfo.sh network, as detailed in How To Provide Information About Your System.

To be very specific, we will need to know the Vendor:Device ID Pairing (a.k.a. the fingerprint) for the NIC in question before any other advice can be given.
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2010/10/6 20:03
Create PDF from Post Print
Top
  •  vpeppers
      vpeppers
Re: Can't load NIC driver
#4
Newbie
Joined: 2010/10/6
From Atlanta, GA
Posts: 10
Thanks for the tip, Gerald. I went to the elrepo site, and found a forum article on my NIC. I followed what it said, and downloaded the rpm file. I ran the command rpm -Uvh kmod-jme-1.0.6.1-1.el5.elrepo.x86_64.rpm. I got a whole bunch of error messages, all reading like this:

kernel(rhel5_xxxx_ga)=[whole bunch of numbers] is needed by kmod-jme-1.0.6.1-1.el5.elrepo.x86_64

There were too many to fit on one screen. I know of no way to capture this output as a file to post.

I also know of no way to get the information out of the system that Alan suggested, as I have no NIC, and no writable drives. I have tried a flash drive, but I haven't successfully gotten that to work.

I know that I am missing something important here, but I have no clue as to what it migth be. Can you help me out?
Posted on: 2010/10/7 19:22
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: Can't load NIC driver
#5
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9135
Please post the output returned by the following --

uname -rmi
rpm -qa kernel\* | sort
rpm -q centos-release

-- along with the Vendor:Device ID Pairing that you have determined for the NIC in question. (Hints as to how to determine it can be seen in FAQ #4 on the ELRepo Project's website.)
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2010/10/7 19:50
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Can't load NIC driver
#6
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

vpeppers wrote:
...
I have tried a flash drive, but I haven't successfully gotten that to work.

It goes something like this:

0. Put the getinfo.sh script on a USB stick.

1. Plug in USB stick.

2. Find the device.
fdisk -l


3. Look at the output and find the USB device - let's assume it is /dev/sde1 for this exercise.

4. Make a mount point - say /tmp/mnt - and mount the device
mkdir /tmp/mnt
mount /dev/sde1 /tmp/mnt


5. Run the script (or alternatively the commands mentioned in post #5) with output to the USB stick.
sh /tmp/mnt/getinfo.sh network > /tmp/mnt/OutputFile


6. Release the device.
umount /tmp/mnt
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/10/7 20:38
Create PDF from Post Print
Top
  •  vpeppers
      vpeppers
Re: Can't load NIC driver
#7
Newbie
Joined: 2010/10/6
From Atlanta, GA
Posts: 10
rpm -qa kernel\*
kernel-2.6.18-194.3.1.el5
kernel-devel-2.6.18-194.3.1.el5
kernel-headers-2.6.18-194.3.1.el5
kernel-module-dahdi-2.3.0.1-3_2.6.18-194.3.1.el5
kernel-module-rhino-0.99.3-2.beta2_2.6.18-194.3.1.el5
kernel-wanpipe-3.5.14-0_2.6.18-194.3.1.el5

rpm -q centos-release
centos-release-5-5.el5.centos

vendor:hardwareID
197b:0260
Posted on: 2010/10/7 20:45
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: Can't load NIC driver
#8
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9135
Quote:

197b:0260

O.k., so looking on the Device IDs page, I see --

pci     197B:0260       kmod-jme

So there is an appropriate kmod package for that NIC. However I cannot tell you which one you should be using because you have failed to show me the first item of information requested, the output returned by uname -rmi.

For a 32-bit system there are the standard, the PAE and the xen versions.
For a 64-bit system there are the standard and the xen version.

From you earlier comments (post #4), I suspect you have a 32-bit system and have made the wrong choice between standard or PAE kmod package . . .
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2010/10/7 22:13
Create PDF from Post Print
Top
  •  vpeppers
      vpeppers
Re: Can't load NIC driver
#9
Newbie
Joined: 2010/10/6
From Atlanta, GA
Posts: 10
Thanks, Alan. That was just what I needed. I had tried all kinds of combinations of mount, with and without fs, with no success. I guess I just wasn't holding my mouth right.
Posted on: 2010/10/8 1:38
Create PDF from Post Print
Top
  •  vpeppers
      vpeppers
Re: Can't load NIC driver
#10
Newbie
Joined: 2010/10/6
From Atlanta, GA
Posts: 10
Sorry about the uname stuff. I guess I am just getting old, and read past stuff now. The response on that was 2.6.18-194.3.1.el5 x86_64 x86_64. I was sure that it was 64 biit, because I had downloaded and installed the 64 bit version.
Posted on: 2010/10/8 1:39
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Can't load NIC driver
#11
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

vpeppers wrote:
I guess I am just getting old, and read past stuff now.

Us too. Just noticed in post #1:
Quote:

make[1]]: Entering directory 'usr/src/kernels/2.6.18-194.3.1.el5-x86_64'


It would be a good idea to update now that the networking is presumably working. It should be easy with the kABI tracking kmod module. Current kernel is 2.6.18-194.17.1.el5 and there have been a number of other recent security and bug-fix updates.

I'm guessing that this thread can now be marked [SOLVED] for posterity. [?]
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/10/8 12:01
Create PDF from Post Print
Top
  •  vpeppers
      vpeppers
Re: Can't load NIC driver
#12
Newbie
Joined: 2010/10/6
From Atlanta, GA
Posts: 10
I wish. Only the flash drive problem is solved. I thought that replying to that particular post would put the reply under the post. Obviously, I was wrong. I still get that host of errors when I try to install the kmod.
Posted on: 2010/10/8 16:05
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: Can't load NIC driver
#13
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9135
Quote:

Us too. Just noticed in post #1:
Quote:

make[1]]: Entering directory 'usr/src/kernels/2.6.18-194.3.1.el5-x86_64'



D'oh!

As co-founder, along with Phil, of the Advanced-age Fools' Society I'll just continue to mutter to myself as I go in search of another
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2010/10/8 16:11
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Can't load NIC driver
#14
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

vpeppers wrote:
I wish. Only the flash drive problem is solved. I thought that replying to that particular post would put the reply under the post. Obviously, I was wrong.

You have to change "View mode" to "Threaded" near the right top of the page to see what was a reply to what. I nearly always use "Flat".

Quote:

I still get that host of errors when I try to install the kmod.

That is Alan's territory. I'm stumped, or maybe just lost the answer in another wetware malfunction.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/10/8 19:58
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: Can't load NIC driver
#15
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9135
Still issues? That's odd.

Let me recap the facts as I understand them:

CentOS 5.5, 64-bit, with an earlier, not current, point 5 kernel-2.6.18-194.3.1.el5 installed. The NIC displays a fingerprint of 197b:0260.

The correct kmod-jme package for a standard (not xen) 64-bit el5 kernel is http://elrepo.org/linux/elrepo/el5/x86_64/RPMS/kmod-jme-1.0.6.1-1.el5.elrepo.x86_64.rpm

Currently I have two questions:

(1) If the system has no network connectivity, how did the original 5.5 installation kernel, 2.6.18-194.el5, come to be updated to 2.6.18-194.3.1.el5?
(2) And, related, from where and how were the following packages installed? --

kernel-module-dahdi-2.3.0.1-3_2.6.18-194.3.1.el5
kernel-module-rhino-0.99.3-2.beta2_2.6.18-194.3.1.el5
kernel-wanpipe-3.5.14-0_2.6.18-194.3.1.el5

Please show the output returned by --

rpm -qi kernel-2.6.18-194.3.1.el5 | grep -i sign
cat /proc/version


Later edit: I think I have just spotted the problem. In your first post you said --

Quote:

I am using the Elastix build, which is based on CentOS 5.5.

An admission of not using true CentOS but a re-spin, thereof. I suspect that the suppliers have rebuild the kernel and have broken the el5 kABI. If that is the case, it will be proven when you post the above requested output.

And unfortunately, if that is the case, there is nothing the CentOS Community or the ELRepo Project can do to help you.

Please see the following CentOS wiki pages --

http://wiki.centos.org/AdditionalResources/OtherSpins
http://wiki.centos.org/AdditionalResources/OtherVoices

Even later edit: Could you possibly consider installing true CentOS, the kmod-jme, kmod-dahdi and dahdi-tools packages from the ELRepo Project ?
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2010/10/8 22:37
Create PDF from Post Print
Top
  •  vpeppers
      vpeppers
Re: Can't load NIC driver
#16
Newbie
Joined: 2010/10/6
From Atlanta, GA
Posts: 10
Quote:

(1) If the system has no network connectivity, how did the original 5.5 installation kernel, 2.6.18-194.el5, come to be updated to 2.6.18-194.3.1.el5?
(2) And, related, from where and how were the following packages installed? --

kernel-module-dahdi-2.3.0.1-3_2.6.18-194.3.1.el5
kernel-module-rhino-0.99.3-2.beta2_2.6.18-194.3.1.el5
kernel-wanpipe-3.5.14-0_2.6.18-194.3.1.el5



It all came on the download of the Elastix software.

Quote:

Please show the output returned by --

rpm -qi kernel-2.6.18-194.3.1.el5 | grep -i sign



Signature: DSA/SHA1, Wed 09 Jun 2010 01:13;39 PM EDT, Key ID 4bfe99f4d05c057c

Quote:

cat /proc/version



Linux version 2.6.18-194.3.1.el5 (mockbuilder@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu May 13 13:08;30 EDT 2010

You are probably right about the respin. The grep -ri exclude command did return something. It look innocuous, but it means that something has been changed. I will look into replacing the Centos with a true version and go from there. Thanks for all your help. You guys are the best.
Posted on: 2010/10/9 13:24
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Can't load NIC driver
#17
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

vpeppers wrote:
...
Signature: DSA/SHA1, Wed 09 Jun 2010 01:13;39 PM EDT, Key ID 4bfe99f4d05c057c

For CentOS:
$ rpm -qip /share/CentOS/5/updates/x86_64/RPMS/kernel-2.6.18-194.3.1.el5.x86_64.rpm | grep -i sign
Signature   : DSA/SHA1, Fri 14 May 2010 05:20:46 PM EDT, Key ID a8a447dce8562897

It might be instructive to see all the output from
rpm -qi kernel-2.6.18-194.3.1.el5

Quote:

Linux version 2.6.18-194.3.1.el5 (mockbuilder@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu May 13 13:08;30 EDT 2010

That I don't understand. Seems to contradict the non-CentOS signing key, unless "mockbuilder@builder10.centos.org" comes from an unmodified gcc rather than from the kernel. Again, we need to await Alan's wisdom.

Quote:

... The grep -ri exclude command did return something. It look innocuous, but it means that something has been changed.

Huh?
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/10/9 13:45
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: Can't load NIC driver
#18
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9135
Wisdom? Huh? Phil's flattery will get him everywhere.

Quote:

Quote:

Linux version 2.6.18-194.3.1.el5 (mockbuilder@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Thu May 13 13:08;30 EDT 2010

That I don't understand. Seems to contradict the non-CentOS signing key, unless "mockbuilder@builder10.centos.org" comes from an unmodified gcc rather than from the kernel. Again, we need to await Alan's wisdom.

That is something puzzling to me. Perhaps we should call for toracat?

Quote:

It might be instructive to see all the output from
rpm -qi kernel-2.6.18-194.3.1.el5


I'll second that request, please.
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2010/10/9 16:23
Create PDF from Post Print
Top
  •  toracat
      toracat
Re: Can't load NIC driver
#19
Moderator
Joined: 2006/9/3
From California, US
Posts: 6919
Equally puzzled here

Most likely the kernel is not from CentOS. But let's wait for the full output from rpm -qi.
_________________
Useful links: Search Forums, Forum FAQ
Posted on: 2010/10/9 16:48
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: Can't load NIC driver
#20
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Assume:
Wisdom >= 0
Puzzlement <= 0

Then:
sum(Wisdom) + sum(Puzzlement) ~= 0



NEEDINFO

Edit: In any case, an install of real CentOS 5.5 on the hardware would eliminate a lot of confusion.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2010/10/9 22:02
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic
12>

 


 You cannot start a new topic.
 You cannot view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com