Thanks Mr. Mark! Your reply helped. Although there was no package kmod-atl2 in 
the elrepo, however installing kmod-atl1e from the same repo has enabled the 
system to detect the ethernet.

Thanks, once again, for quick and effective response.


________________________________
 From: Mark Stodola <stod...@pelletron.com>
To: Freak Trick <trickfr...@ymail.com> 
Cc: "scientific-linux-us...@fnal.gov" <scientific-linux-us...@fnal.gov> 
Sent: Tuesday, 10 July 2012 6:47 PM
Subject: Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless
 
On 07/10/2012 07:59 AM, Freak Trick wrote:
> I have Atheros Ethernet (On Board) which is not detected by the SL 6.2
> (Updated).
>
> Ethernet Details:
>
> [root@localhost compat-wireless-2012-03-12-p]# lspci | grep Ethernet
> 02:00.0 Ethernet controller: Atheros Communications Inc. AR8151 v2.0
> Gigabit Ethernet (rev c0)
>
>
> After looking up various internet resources, I came across:
> http://www.linuxfoundation.org/collaborate/workgroups/networking/alx
> The site has the required drivers. I am going as per the instructions
> mentioned to compile and install the drivers, however I get the
> following error:
>
> [root@localhost compat-wireless-2012-03-12-p]# make
> make -C /lib/modules/2.6.32-220.23.1.el6.i686/build
> M=/home/sunhost/Downloads/compat-wireless-2012-03-12-p modules
> make[1]: Entering directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686'
> CC [M] /home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o
> In file included from
> /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.h:55,
> from <command-line>:0:
> /home/sunhost/Downloads/compat-wireless-2012-03-12-p/include/linux/compat-2.6.35.h:27:
> error: static declaration of ‘irq_set_affinity_hint’ follows non-static
> declaration
> include/linux/interrupt.h:218: note: previous declaration of
> ‘irq_set_affinity_hint’ was here
> make[3]: ***
> [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat/main.o] Error 1
> make[2]: ***
> [/home/sunhost/Downloads/compat-wireless-2012-03-12-p/compat] Error 2
> make[1]: ***
> [_module_/home/sunhost/Downloads/compat-wireless-2012-03-12-p] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.23.1.el6.i686'
> make: *** [modules] Error 2
>
> I would be thankful for any help provided in resolving the issue.
>
> Thanks!

You might want to try the various atl drivers from ELrepo (elrepo.org). 
  They maintain current drivers for a lot of devices not generally 
supported by TUV.  I think you'll want kmod-atl2.  If you find that none 
of the ELrepo drivers work, it might be worth contacting them to get the 
correct one built and added to the repository.

-Mark

-- 
Mr. Mark V. Stodola
Senior Control Systems Engineer

National Electrostatics Corp.
P.O. Box 620310
Middleton, WI 53562-0310 USA
Phone: (608) 831-7600
Fax: (608) 831-9591

Reply via email to