Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless

2012-07-10 Thread Mark Stodola

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


Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless

2012-07-10 Thread Phil Perry

On 10/07/12 14:17, Mark Stodola wrote:

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



I think the atl1c driver in kmod-compat-wireless might also support that 
device, but first we really need to see the vendor:device ID pairing to 
be able to advise further.


Please post the output from the following command (note this is on one 
line):


for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }'); 
do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done


Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless

2012-07-10 Thread Freak Trick
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

Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless

2012-07-10 Thread Freak Trick
Hi Phil,

As I noted in my earlier mail, the problem was resolved by installing atl1e 
driver from elrepo. Also, before that I had already tried with atl1c but it did 
not work.  


Just in case if you do require (for curiosity or better solution) here is the 
output from the command offered by yourself:

02:00.0 Ethernet controller Atheros Communications Inc. AR8151 v2.0 
Gigabit Ethernet -rc0 Giga-byte Technology Device e000
03:01.0 Network controller Ralink corp. RT2500 Wireless 802.11bg -r01 
Linksys WMP54G 2.0 PCI Adapter



Thanks for your reply!




 From: Phil Perry p...@pendre.co.uk
To: scientific-linux-us...@fnal.gov scientific-linux-us...@fnal.gov 
Sent: Tuesday, 10 July 2012 6:55 PM
Subject: Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless
 
On 10/07/12 14:17, Mark Stodola wrote:
 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


I think the atl1c driver in kmod-compat-wireless might also support that 
device, but first we really need to see the vendor:device ID pairing to 
be able to advise further.

Please post the output from the following command (note this is on one 
line):

for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }'); 
do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done

Re: Error with 'irq_set_affinity_hint' while compiling compat-wireless

2012-07-10 Thread Phil Perry

On 10/07/12 15:40, Freak Trick wrote:

Hi Phil,

As I noted in my earlier mail, the problem was resolved by installing atl1e 
driver from elrepo. Also, before that I had already tried with atl1c but it did 
not work.




Great, if that driver works then that is definitely the preferred driver 
for you and you can disregard my earlier suggestion :-)



Just in case if you do require (for curiosity or better solution) here is the 
output from the command offered by yourself:

02:00.0 Ethernet controller Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet -rc0 
Giga-byte Technology Device e000
03:01.0 Network controller Ralink corp. RT2500 Wireless 802.11bg -r01 Linksys 
WMP54G 2.0 PCI Adapter



Thanks for your reply!