You are not logged in.
Pages: 1
Hi everyone,
Ive just installed Arch for the first time and cant seem to build the drivers for my mobos built in Atheros ethernet card. I know i have the right drivers, but i get an error when i try to build them. Here's the output in console:
[mystx@BEAST atl1e]$ makepkg PKGBUILD
==> Making package: atl1e 1.0.0.4-5 x86_64 (Thu Jun 4 21:10:07 NZST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading LinuxDrivers.zip...
--2009-06-04 21:10:07-- http://dlcdnet.asus.com/pub/ASUS/mb/socket775/P5KPL-CM/LinuxDrivers.zip
Resolving dlcdnet.asus.com... 219.88.186.82
Connecting to dlcdnet.asus.com|219.88.186.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2701474 (2.6M) [application/zip]
Saving to: `LinuxDrivers.zip.part'
100%[======================================>] 2,701,474 320K/s in 12s
2009-06-04 21:10:25 (228 KB/s) - `LinuxDrivers.zip.part' saved [2701474/2701474]
==> Validating source files with md5sums...
LinuxDrivers.zip ... Passed
==> Extracting Sources...
-> bsdtar -x -f LinuxDrivers.zip
bsdtar: Failed to set default locale
==> Entering fakeroot environment...
==> Starting build()...
UNRAR 3.90 beta 2 freeware Copyright (c) 1993-2009 Alexander Roshal
Extracting from l1e-l2e-linux-v1.0.0.4.rar
Creating src OK
Extracting src/at.h OK
Extracting src/atl1e.mod.c OK
Extracting src/at_ethtool.c OK
Extracting src/at_hw.c OK
Extracting src/at_hw.h OK
Extracting src/at_main.c OK
Extracting src/at_osdep.h OK
Extracting src/at_param.c OK
Extracting src/kcompat.c OK
Extracting src/kcompat.h OK
Extracting src/kcompat_ethtool.c OK
Extracting src/Makefile OK
Extracting atl1e.7 OK
Extracting copying OK
Extracting ldistrib.txt OK
Extracting readme OK
All OK
make -C /lib/modules/2.6.29-ARCH/build SUBDIRS=/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src modules
make[1]: Entering directory `/usr/src/linux-2.6.29-ARCH'
CC [M] /home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.o
In file included from /home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_hw.h:29,
from /home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at.h:44,
from /home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.c:27:
/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_osdep.h:67:5: warning: "DBG" is not defined
In file included from /home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.c:27:
/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at.h:46:5: warning: "DBG" is not defined
/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.c: In function 'at_io_error_detected':
/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.c:885: error: 'struct net_device' has no member named 'priv'
/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.c: In function 'at_io_slot_reset':
/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.c:908: error: 'struct net_device' has no member named 'priv'
/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.c: In function 'at_io_resume':
/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.c:935: error: 'struct net_device' has no member named 'priv'
make[2]: *** [/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src/at_main.o] Error 1
make[1]: *** [_module_/home/mystx/Desktop/atl1e/src/LinuxDrivers/L1e_Lan/l1e/src] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-ARCH'
make: *** [default] Error 2
==> ERROR: Build Failed.
Aborting...
Can someone please help me out with this?
Thanks in advance.
P.S. on a side note, whats the best utils to use to get my wireless to connect on startup? At the moment i have to use iwconfig and wpa_supplicant on every boot to get it working =\
Offline
For connecting to your network:
http://wiki.archlinux.org/index.php/Netcfg
For your ethernet card there seems to be a pkgbuild in the aur that will automatically build your module:
http://aur.archlinux.org/packages.php?ID=18663
If you don't know how to use the aur checkout:
http://wiki.archlinux.org/index.php/AUR
and
http://wiki.archlinux.org/index.php/Yaourt
Good luck!
Jack.
Edit: it seems after further inspection of your error, it mentions something about your default locale not being set, did you uncomment the correct line for your locales (e.g. en_GB for me) in the configuration part of your installation and then set it in rc.conf?
Last edited by jack.mitchell (2009-06-04 09:45:29)
Offline
Jack:
That is the AUR pkg that i used, which gave me that error.
And as to my locale, i remember setting it to NZ_something.. But im not sure if it's anywhere in my rc.conf, ill go dig it out now. But i have installed heaps and heaps of other packages with that warning about locale with no problems at all.
Offline
If it's not the locale problem, then my only other guess is that it's a conflict with the new GCC which is way over my head. The other packages you have installed, were they compiled packages or binary blobs?
Jack.
Offline
They have all been installed from yaourt or pacman
Offline
The errors all point to some problem in the driver's source code itself. Shame the PKGBUILD creator did not state an (opt)depends for a kernel, then you might have had a clue what kernel it did build against.
Other than that, there should be a driver in the kernel:
[stijn@hermes ~]$ grep -i atl /var/abs/core/kernel26/config
CONFIG_ATL2=m
CONFIG_ATL1=m
CONFIG_ATL1E=m
CONFIG_ATL1C=m
CONFIG_INPUT_ATLAS_BTNS=m
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
B: That directory doesn't exist on my system..
Offline
The directory is irrelevant. Since I don't use the Arch kernel myself I have no config files of it around - so I had to resort to ABS. Check your configuration file in /boot for details. You can run the same grep command on the config file there.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
B: i still cant find any config files in /boot. At the moment i can use wireless anyways and ill take your word that there's a driver in the kernel
Offline
Atheros support in the kernel has been spectacular since .29. Atheros is paying a developer to develope for the linux kernel. If there are issues, then you should report them to the kernel bug tracker AFAIK.
Offline
Pages: 1