LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-31-2008, 12:25 AM   #1
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Atheros wireless does not work with MadWifi and generic SMP kernel (12.2)


Hardware: Acer Aspire One, PCI-E Atheros wireless chipset.
lspci: 03:00.0 Ethernet controller: Atheros Communications Inc. Unknown device ff1b (rev 01)

I recently installed Slackware 12.2 and downloaded the testing MadWifi HAL snapshot from http://snapshots.madwifi-project.org/. I was using the huge kernel at this point and lo and behold, my wireless worked.

Today, I've switched to the generic SMP kernel, reinstalled the MadWifi drivers and nothing. An ath0 device isn't created at all. The only (relevant) output from dmesg is the following:

ath_hal: module license 'Proprietary' taints kernel.
AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, DFS, XR)

What's also weird (to me, anyway!) is that the lspci entry with the generic kernel is different to when I was using the huge kernel:

03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)

Any ideas anyone? I suppose I could go back to the huge kernel, since it doesn't really impair performance that much. However, I would still quite like to know where the problem is (and why the lspci entries are different), if possible.

Thanks!
 
Old 12-31-2008, 02:52 AM   #2
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,593

Rep: Reputation: 142Reputation: 142
As far as I know, most Atheros chipset based wireless hardware is
supported by the current kernels by default. I am using a Netgear
PC Card in my laptop with an Atheros chipset, too.

Slackware 12.2 supports my card out of the box, I didn't have to
install MADWIFI (which was necessary in 12.1 and earlier).

So you might try to remove the MADWIFI stuff, and just see, if the
ath5k support of the generic SMP kernel is good enough for you.

I am not sure, if ath9k support is integrated in the stock kernel.
But if not, they are reports, that Slackware 12.2 runs quite well
with kernel 2.6.28, which should have this (to be verified).

Also, if you haven't seen it, yet, this helped me a lot:
Alien Bob's Wiki article on wireless networks in Slackware

gargamel
 
Old 12-31-2008, 03:40 AM   #3
Rupa
Member
 
Registered: Apr 2008
Location: Berlin, Germany
Distribution: Slackware, Debian, NetBSD
Posts: 80

Rep: Reputation: 25
Quote:
Originally Posted by gargamel View Post
As far as I know, most Atheros chipset based wireless hardware is
supported by the current kernels by default.
Not this one. The HAL won't load. You need madwifi with the HAL from OpenWRT.

I would try to rebuild madwifi with the running kernel.
 
Old 12-31-2008, 06:10 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Thanks for the replies. Yeah, ath5k doesn't work for that chipset. I did try rebuilding MadWifi, to no avail. I've also tried switching back to the huge kernel and have the same problem. I don't know why it won't work any more :/. I'll try some other things when I have time.
 
Old 01-02-2009, 10:59 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
I've fixed it. All I needed to do was flick the switch for the wireless on the front of the netbook.

Last edited by Nylex; 01-02-2009 at 11:58 AM.
 
Old 01-03-2009, 11:54 AM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,453

Rep: Reputation: Disabled
I have the same chip. ath5k kind of worked, in the sense that iwconfig showed the interface. But to actually connect (at least to secured networks, I didn't try unsecured ones) I did need to install madwifi.

Brian
 
Old 01-03-2009, 12:11 PM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
I'm not sure what happened when I tried ath5k. I may have had the same results as you, but I don't remember.
 
Old 01-03-2009, 11:15 PM   #8
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
Quote:
Originally Posted by Nylex View Post
I've fixed it. All I needed to do was flick the switch for the wireless on the front of the netbook.
How did you fix it? I had not problem with 12.1.

I just upgraded to 12.2 and I now get the following compile errors:
Quote:
make[3]: *** [/home/me/downloads/madwifi-ng/net80211/ieee80211_wireless.o] Error 1
make[2]: *** [/home/me/downloads/madwifi-ng/net80211] Error 2
make[1]: *** [_module_/home/me/downoads/madwifi-ng] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7'
make: *** [modules] Error 2
Thanks
 
Old 01-04-2009, 12:28 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by okos View Post
How did you fix it? I had not problem with 12.1.
I flicked the switch on the netbook..

Quote:
I just upgraded to 12.2 and I now get the following compile errors:

Quote:
make[3]: *** [/home/me/downloads/madwifi-ng/net80211/ieee80211_wireless.o] Error 1
make[2]: *** [/home/me/downloads/madwifi-ng/net80211] Error 2
make[1]: *** [_module_/home/me/downoads/madwifi-ng] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7'
make: *** [modules] Error 2
Thanks
I didn't use madwifi-ng, but you need to post the actual compile errors. They'll be listed somewhere above those lines (exactly where, I can't tell you). Do you see any complaints about something missing?
 
Old 01-04-2009, 01:00 AM   #10
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
Im sorry, I don't mean to hijack this thread.

I will start a new thread.
 
Old 01-04-2009, 01:46 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Original Poster
Rep: Reputation: Disabled
Personally, I wouldn't consider it hijacking as it's a similar problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
generic-smp kernel doesn't boot in 12.2 samac Slackware 7 12-12-2008 12:01 PM
ndiswrapper and generic smp kernel Bazzaah Slackware 13 05-17-2008 02:31 AM
F8 atheros 5212 -madwifi/ ndiswrapper do not work tnrooster Linux - Wireless Networking 5 12-24-2007 11:24 AM
smp oops in kernel 2.6.20-16-generic anirudhvij Linux - Kernel 0 08-19-2007 06:02 AM
fc5 madwifi atheros ar5005g wireless network mike_morley Linux - Wireless Networking 0 10-27-2006 04:08 PM


All times are GMT -5. The time now is 04:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration