[SOLVED] Can't load NIC driver
Posted: 2010/10/06 14:11:01
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.
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.