You are not logged in.

#1 2010-07-22 00:51:00

Ratrinko
Member
Registered: 2010-07-22
Posts: 4

Trouble compiling Atheros AR8151 driver.

Hello, I just bought a new netbook and decided to give Arch a try. Figured less time for install than Gentoo.

Anyway, I discovered that the Atheros AR8151 network card is not currently support, though it may be in certain 2.6.35 kernels, but i have no way to install that yet.

So I got the source from Atheros' web site for their driver, put it in a new directory, untarred it, and typed make install. It says back:

*** Linux kernel source not configured - missing autoconf.h. Stop.

How to fix ?

Offline

#2 2010-07-22 17:56:55

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: Trouble compiling Atheros AR8151 driver.

This driver is for older kernel versions and won't compile. Support for AR8151 is included in recent 2.6.35rc kernels, so it is best to wait until 2.6.35 is released.

Cheers
thn81

Edit: Just noticed that 1. the driver is also included in kernel 2.6.34 and 2. AR81XX chips with PCI-ID: 1969:1067 are still not supported in 2.6.35. If that's your chip, you are out of luck I'm afraid...

Last edited by thn81 (2010-07-22 18:30:44)

Offline

#3 2010-07-22 19:30:41

Ratrinko
Member
Registered: 2010-07-22
Posts: 4

Re: Trouble compiling Atheros AR8151 driver.

Thanks for the answers

I have a 1969:1073.  I used the debian hardware chart @ http://kmuto.jp/debian/hcl/

and it says I need 2.6.34 or higher. Is that kernel going to be available any time soon ?

Offline

#4 2010-07-22 19:49:10

thn81
Member
Registered: 2009-08-27
Posts: 88

Re: Trouble compiling Atheros AR8151 driver.

I've ported the driver from Atheros to support kernels 2.6.34 and 2.6.35. The driver compiles on my installation but I don't know if it actually works. Modified driver source is here: http://filebin.ca/hbcrtz/ar81xx-1.0.1.9a.tar.gz. To compile it, you'll need to install the kernel26-headers package.

Good luck
thn81

Offline

#5 2010-07-22 20:45:28

Ratrinko
Member
Registered: 2010-07-22
Posts: 4

Re: Trouble compiling Atheros AR8151 driver.

Thanks !

oh, I have 2.6.33 installed. Is there a package for 2.6.34, and how can I install it without a network, like download it somewhere else and usb stick it ?

Offline

#6 2010-07-22 21:47:10

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Trouble compiling Atheros AR8151 driver.

The current Arch kernel package is 2.6.34.1, and you can get it from any Arch mirror.

Offline

#7 2010-08-25 11:37:38

The IceMan
Member
Registered: 2010-08-25
Posts: 1

Re: Trouble compiling Atheros AR8151 driver.

thn81 wrote:

I've ported the driver from Atheros to support kernels 2.6.34 and 2.6.35. The driver compiles on my installation but I don't know if it actually works. Modified driver source is here: http://filebin.ca/hbcrtz/ar81xx-1.0.1.9a.tar.gz. To compile it, you'll need to install the kernel26-headers package.

Good luck
thn81

thx to your Makefile i was able to compile the last driver from http://partner.atheros.com/Drivers.aspx for my new laptop. (running Fedora 13 / x64)

smile thx again

Last edited by The IceMan (2010-08-25 11:39:33)

Offline

Board footer

Powered by FluxBB