LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-02-2010, 08:55 AM   #1
mylvarab
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Rep: Reputation: 0
compile error on centos 5.3 for attansic gigabit ethernet controller


have installed centos 5.3. My network is not up, I have a attinsic gigabit ethernet adapter and I am trying to install the linux driver l1-linux-v1.2.40.3 which I assume is the appropriate driver. I tried compiling it but I run into this error. lspci... shows me attinsic ethernet controller unknown device. Below is the error I am running into. I have the correct target kernel.

[root@localhost src]# make install
make -C /lib/modules/2.6.18-128.el5xen/build SUBDIRS=/root/l1-linux-v1.2.40.3/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-128.el5-xen-i686'
CC [M] /root/l1-linux-v1.2.40.3/src/at_main.o
In file included from /root/l1-linux-v1.2.40.3/src/at.h:29,
from /root/l1-linux-v1.2.40.3/src/at_main.c:27:
/root/l1-linux-v1.2.40.3/src/kcompat.h:1116: error: redefinition of typedef ‘irq_handler_t’
include/linux/interrupt.h:67: error: previous declaration of ‘irq_handler_t’ was here
make[2]: *** [/root/l1-linux-v1.2.40.3/src/at_main.o] Error 1
make[1]: *** [_module_/root/l1-linux-v1.2.40.3/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-128.el5-xen-i686'
make: *** [default] Error
 
Old 03-02-2010, 09:43 AM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
First, you should establish which driver you do need.

There are three possibilities. The atl1, atl1c, and atl1e.

Look at the output of
Code:
/sbin/lspci -n | grep 1969
1969:1048=atl1
1969:1063=atl1c
1969:1026=atl1e

All of these drivers are available in the elrepo repository. Enable that and you can just do
Code:
su -
yum install kmod-atl1c
Replace atl1c with whichever driver you need.
 
1 members found this post helpful.
Old 03-02-2010, 10:43 AM   #3
mylvarab
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Original Poster
Rep: Reputation: 0
that was informative but when I try to install the atl1c rpm I run into this error.

[root@localhost Transcend]# rpm -ivh kmod-atl1c-xen-1.0.0.11-1.el5.elrepo.i686.rpm
warning: kmod-atl1c-xen-1.0.0.11-1.el5.elrepo.i686.rpm: Header V3 DSA signature: NOKEY, key ID baadae52
error: Failed dependencies:
kernel(rhel5_net_core_u4) = 7e72e198bce23e216a13448545ed94bced980fc6 is needed by kmod-atl1c-xen-1.0.0.11-1.el5.elrepo.i686


Pls take a look at the commands and respective outputs

uname -a

[root@localhost Transcend]# uname -a
Linux localhost.localdomain 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:55:02 EST 2009 i686 i686 i386 GNU/Linux

lspci - | grep 1969

[root@localhost Transcend]# lspci -n | grep 1969
02:00.0 0200: 1969:1063 (rev c0)

ifco[root@localhost Transcend]# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4199 errors:0 dropped:0 overruns:0 frame:0
TX packets:4199 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5366102 (5.1 MiB) TX bytes:5366102 (5.1 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

veth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

veth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

veth2 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

veth3 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vif0.1 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vif0.2 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vif0.3 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:10864 (10.6 KiB)

xenbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
nfig -a
 
Old 03-03-2010, 08:37 AM   #4
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Quote:
[root@localhost Transcend]# rpm -ivh kmod-atl1c-xen-1.0.0.11-1.el5.elrepo.i686.rpm
warning: kmod-atl1c-xen-1.0.0.11-1.el5.elrepo.i686.rpm: Header V3 DSA signature: NOKEY, key ID baadae52
error: Failed dependencies:
kernel(rhel5_net_core_u4) = 7e72e198bce23e216a13448545ed94bced980fc6 is needed by kmod-atl1c-xen-1.0.0.11-1.el5.elrepo.i686
Well, I'm not particularly familiar with CentOS, but it looks like you're missing at least one dependency. I really suggest just adding the repository and using yum, which will automatically handle dependency resolution.
 
  


Reply



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
Eee Pc, gPXE boot (with Attansic L1 gigabit ethernet adapter) ernst Linux - Laptop and Netbook 1 05-10-2009 11:21 PM
Ethernet Controller: Attansic Technology Corp. L2, compile/install problems. infynidy Linux - Hardware 2 03-03-2009 01:13 PM
Attansic Ethernet controller captain_buckethead Linux - General 5 11-24-2008 04:56 AM
Attansic L1 Gigabit ethernet problems. Tomasu Linux - Hardware 2 05-27-2008 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 AM.

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
Open Source Consulting | Domain Registration