You are not logged in.

#1 2009-10-26 15:53:32

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

[SOLVED] Error compiling compat-wireless

Bugged by permanent connection drops with ath9k, I want to try out compat-wireless. Got compat-wireless-2.6.31-rc7 from here. The driver-select script mentioned on the website is not present in the source, and the included readme makes no mention of it.

When I run "make", it aborts with following error:

[user@arch compat-wireless-2.6.31-rc7]$ make
make -C /lib/modules/2.6.31-ARCH/build M=/home/user/compat-wireless-2.6.31-rc7 modules
make[1]: Entering directory `/usr/src/linux-2.6.31-ARCH'
make[3]: *** No rule to make target `/home/user/compat-wireless-2.6.31-rc7/drivers/misc/eeprom/max6875.c', needed by `/home/user/compat-wireless-2.6.31-rc7/drivers/misc/eeprom/max6875.o'.  Stop.
make[2]: *** [/home/user/compat-wireless-2.6.31-rc7/drivers/misc/eeprom] Error 2
make[1]: *** [_module_/home/user/compat-wireless-2.6.31-rc7] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31-ARCH'
make: *** [modules] Error 2

The PKBUILD in Aur seems to have a typo and tries to install kernel26<=2.6.31 as a dependency, however since I do not understand what else it does I am not overly confident to just remove the dependency line in question.

Anyone else got compat-wireless to compile?

Last edited by hokasch (2009-10-28 09:58:47)

Offline

#2 2009-10-27 08:42:33

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: [SOLVED] Error compiling compat-wireless

This is a known problem (at least to me): ath9k in the kernel is buggy as hell and compat-wireless does not compile.
I saw some people that had success by using ndiswrapper and ath9k windows drivers. Haven't tried it yet but that might fix your problem.

Offline

#3 2009-10-27 14:18:33

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Error compiling compat-wireless

Hmm, not overly enthusiastic to search for windows drivers at the moment... The problem got worse recently, before I just had a hotkey for "netcfg2 -r", now the module has to be unloaded/loaded also...

However, just got a "Mission Accomplished" moment by changing wpa mode in the router config to "wpa2 only" (before: auto wpa/wpa2), no connection drops anymore for an unusual long period of time... Also, copying large files over the network would force it to break before, which is not happening now.
But if this indeed fixes anything is still too early to say.

edit: surfing, torrent running, copying 15gb from a network disk and no connection drop - this is unheard of so far. the only thing why I remain suspicious, there is no one else home, so maybe it will fail again when more people use the network. don't know what speed is considered "standard", I had ~2,7Mb/sec copying files.

edit II: Crap. The connection was still dropping, but reconnected automatically. Before the connection was just broken, without any output in dmesg, and did not come up again by itself. That's where I'm back now.

Last edited by hokasch (2009-10-27 16:56:38)

Offline

#4 2009-10-28 09:57:49

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Error compiling compat-wireless

Silly me. I downloaded the stable version, latest is here. Selected ath9k, make, install - went through with no errors (kernel-headers got an update today to 31, this may have helped too...)

Testing now, I really hope it introduces some stability - signal strenght is up from 30 to 50 already. Next thing would be to give this patch a try - disables rfkill polling and powermanagement, seems to have helped for some.



and another edit: naahh. Now it is "No probe response from AP after 500ms, disconnecting."

Last edited by hokasch (2009-10-28 10:09:32)

Offline

#5 2009-10-28 10:45:26

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: [SOLVED] Error compiling compat-wireless

Haha don't cheer to soon. ath9k is seriously messed up. But there are many reports everywhere on the internet so maybe you can provide some info to the kernel developers

Offline

Board footer

Powered by FluxBB