Linux driver (or help) needed for Atheros AR8151 Ethernet device

  • Follow


I have an HP Pavilion dm4 laptop that I am dual-booting
Windows 7 and CentOS 5.7.  The Ethernet device is an
Atheros AR8151.

In Linux I am getting the "eth0 does not seem to be present"
message when I try to activate the device, which tells me I need the
driver.
Or is it something else?

Thanks,
-Richard Vaughn
0
Reply rvaughn9 (42) 10/4/2011 7:52:16 PM

On 4.10.11 10:52 , Richard Vaughn wrote:
> I have an HP Pavilion dm4 laptop that I am dual-booting
> Windows 7 and CentOS 5.7.  The Ethernet device is an
> Atheros AR8151.
>
> In Linux I am getting the "eth0 does not seem to be present"
> message when I try to activate the device, which tells me I need the
> driver.
> Or is it something else?
>
> Thanks,
> -Richard Vaughn

Have a look at <http://ubuntuforums.org/showthread.php?t=1677122>.

Have you tried googling 'AR8151 Linux'?

-- 

Tauno Voipio

0
Reply tauno.voipio3 (226) 10/4/2011 8:04:58 PM


On Oct 4, 4:04=A0pm, Tauno Voipio <tauno.voi...@notused.fi.invalid>
wrote:
> On 4.10.11 10:52 , Richard Vaughn wrote:
>
> > I have an HP Pavilion dm4 laptop that I am dual-booting
> > Windows 7 and CentOS 5.7. =A0The Ethernet device is an
> > Atheros AR8151.
>
> > In Linux I am getting the "eth0 does not seem to be present"
> Have you tried googling 'AR8151 Linux'?

Did I ever.  Here's the latest:
Downloaded, unpackaged AR81Family-Linux-v1.0.1.9.tar.gz.

Ran make install.  Got..
.....
/root/eth0/kcompat.h:1575: error: redefinition of 'struct napi_struct'
make [3]: *** [/root/eth0/src/at_common_main.o] Error 1
make [2]: *** [_module_/root/eth0/src] Error 2

Which is where I am now.

Thoughts, anyone?

> > message when I try to activate the device, which tells me I need the
> > driver.
> > Or is it something else?
>
> > Thanks,
> > -Richard Vaughn
>
> Have a look at <http://ubuntuforums.org/showthread.php?t=3D1677122>.
>
> Have you tried googling 'AR8151 Linux'?
>
> --
>
> Tauno Voipio

0
Reply rvaughn9 (42) 10/4/2011 9:00:41 PM

On Tue, 04 Oct 2011 17:00:41 -0400, Richard Vaughn <rvaughn9@gmail.com> wrote:

> On Oct 4, 4:04 pm, Tauno Voipio <tauno.voi...@notused.fi.invalid>
> wrote:
>> On 4.10.11 10:52 , Richard Vaughn wrote:
>>
>> > I have an HP Pavilion dm4 laptop that I am dual-booting
>> > Windows 7 and CentOS 5.7.  The Ethernet device is an
>> > Atheros AR8151.
>>
>> > In Linux I am getting the "eth0 does not seem to be present"
>> Have you tried googling 'AR8151 Linux'?
>
> Did I ever.  Here's the latest:
> Downloaded, unpackaged AR81Family-Linux-v1.0.1.9.tar.gz.
>
> Ran make install.  Got..
> ....
> /root/eth0/kcompat.h:1575: error: redefinition of 'struct napi_struct'
> make [3]: *** [/root/eth0/src/at_common_main.o] Error 1
> make [2]: *** [_module_/root/eth0/src] Error 2
>
> Which is where I am now.
>
> Thoughts, anyone?

Try the patch from
http://ubuntuforums.org/showthread.php?t=1677122

Regards, Dave Hodgins

-- 
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
0
Reply dwhodgins (365) 10/5/2011 1:36:21 AM

OK.  Here's what I did.
Modified kcompat.h per this: http://blog.lkc.idv.hk/?p=3D338.

Then re-ran make install, which seemed to work:
[root@localhost src]# make install
make -C /lib/modules/2.6.18-274.el5/build SUBDIRS=3D/root/eth0/src
modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-274.el5-x86_64'
  Building modules, stage 2.
  MODPOST
make[1]: Leaving directory `/usr/src/kernels/2.6.18-274.el5-x86_64'
# remove all old versions of the driver
find /lib/modules/2.6.18-274.el5 -name atl1e.ko -exec rm -f {} \; ||
true
find /lib/modules/2.6.18-274.el5 -name atl1e.ko.gz -exec rm -f {} \;
|| true
install -D -m 644 atl1e.ko /lib/modules/2.6.18-274.el5/kernel/drivers/
net/atl1e/atl1e.ko
/sbin/depmod -a || true
install -D -m 644 atl1e.7.gz /usr/share/man/man7/atl1e.7.gz
man -c -P'cat > /dev/null' atl1e || true
Formatting page, please wait...

From there I ran "rmmod atl1e.ko" and "insmod atl1e.ko" w/ no
complaints.
Then I ran "modprobe atl1e" w/ no complaints.

Then I ran "ifconfig -a", but still no eth0.
Thoughts on this?

CentOS 5.7.  64-bit.  2.6.18-274.el5 #1.

Thanks,
-Richard

On Oct 4, 9:36=A0pm, "David W. Hodgins" <dwhodg...@nomail.afraid.org>
wrote:
> On Tue, 04 Oct 2011 17:00:41 -0400, Richard Vaughn <rvaug...@gmail.com> w=
rote:
> > On Oct 4, 4:04 pm, Tauno Voipio <tauno.voi...@notused.fi.invalid>
> > wrote:
> >> On 4.10.11 10:52 , Richard Vaughn wrote:
>
> >> > I have an HP Pavilion dm4 laptop that I am dual-booting
> >> > Windows 7 and CentOS 5.7. =A0The Ethernet device is an
> >> > Atheros AR8151.
>
> >> > In Linux I am getting the "eth0 does not seem to be present"
> >> Have you tried googling 'AR8151 Linux'?
>
> > Did I ever. =A0Here's the latest:
> > Downloaded, unpackaged AR81Family-Linux-v1.0.1.9.tar.gz.
>
> > Ran make install. =A0Got..
> > ....
> > /root/eth0/kcompat.h:1575: error: redefinition of 'struct napi_struct'
> > make [3]: *** [/root/eth0/src/at_common_main.o] Error 1
OK.  Here's what I did.
Modified kcompat.h per this: http://blog.lkc.idv.hk/?p=3D338.

Then re-ran make install, which seemed to work:
[root@localhost src]# make install
make -C /lib/modules/2.6.18-274.el5/build SUBDIRS=3D/root/eth0/src
modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-274.el5-x86_64'
  Building modules, stage 2.
  MODPOST
make[1]: Leaving directory `/usr/src/kernels/2.6.18-274.el5-x86_64'
# remove all old versions of the driver
find /lib/modules/2.6.18-274.el5 -name atl1e.ko -exec rm -f {} \; ||
true
find /lib/modules/2.6.18-274.el5 -name atl1e.ko.gz -exec rm -f {} \;
|| true
install -D -m 644 atl1e.ko /lib/modules/2.6.18-274.el5/kernel/drivers/
net/atl1e/atl1e.ko
/sbin/depmod -a || true
install -D -m 644 atl1e.7.gz /usr/share/man/man7/atl1e.7.gz
man -c -P'cat > /dev/null' atl1e || true
Formatting page, please wait...

From there I ran "rmmod atl1e.ko" and "insmod atl1e.ko" w/ no
complaints.
Then I ran "modprobe atl1e" w/ no complaints.

Then I ran "ifconfig -a", but still no eth0.
Thoughts on this?

CentOS 5.7.  64-bit.  2.6.18-274.el5 #1.







> > make [2]: *** [_module_/root/eth0/src] Error 2
>
> > Which is where I am now.
>
> > Thoughts, anyone?
>
> Try the patch fromhttp://ubuntuforums.org/showthread.php?t=3D1677122
>
> Regards, Dave Hodgins
>
> --
> Change nomail.afraid.org to ody.ca to reply by email.
> (nomail.afraid.org has been set up specifically for
> use in usenet. Feel free to use it yourself.)

0
Reply rvaughn9 (42) 10/5/2011 5:54:18 PM

4 Replies
1162 Views

(page loaded in 0.096 seconds)

Similiar Articles:




7/20/2012 10:55:55 PM


Reply: