Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AR928X - wireless card problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Prospero_s
n00b
n00b


Joined: 22 Aug 2011
Posts: 8

PostPosted: Mon Aug 22, 2011 6:09 am    Post subject: AR928X - wireless card problem Reply with quote

Heya mates.
First - excuse my poor English :)
Sooo, i am totaly new in Gentoo and i encounter a big big problem - cannot make my wireless card to work.

from lspci:
Quote:
03:00.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)


the options in the kernel are with [M] for ath9k drivers.

from lsmod:
Quote:
Module Size Used by
ath_pci 60345 0
wlan 133356 1 ath_pci
ath_hal 187544 1 ath_pci
nvidia 10489306 42
snd_hda_codec_hdmi 16850 1
snd_hda_codec_realtek 199627 1
ath9k_common 1194 0
snd_hda_intel 15508 2
ath9k_hw 260384 1 ath9k_common
snd_hda_codec 42691 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 3854 1 snd_hda_codec
snd_pcm 46559 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer 11815 2 snd_pcm
snd 32957 9 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc 4829 2 snd_hda_intel,snd_pcm
ath 11072 1 ath9k_hw


As you can see - did not load ath9k .... when i try to load it by - modprobe ath9k it gives me that bummer:
Quote:
FATAL: Error inserting ath9k (/lib/modules/3.0.3-gentoo/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko): Unknown symbol in module, or unknown parameter (see dmesg)


from dmesg:
Quote:
[ 163.220178] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[ 163.244958] wlan: svn r4136 (branch madwifi-0.9.4)
[ 163.266838] ath_pci: svn r4136 (branch madwifi-0.9.4)
[ 1770.592868] ath9k: Unknown symbol led_classdev_unregister (err 0)
[ 1770.592877] ath9k: Unknown symbol __ieee80211_create_tpt_led_trigger (err 0)
[ 1770.592885] ath9k: Unknown symbol __ieee80211_get_radio_led_name (err 0)
[ 1770.593107] ath9k: Unknown symbol led_classdev_register (err 0)


i tried to install madwifi drivers but the result was, as you can see, nada :D

when i type "ifconfig wlan0 up" - it says:
Quote:
wlan0: ERROR while getting interface flags: No such device


I reaaaly wanna use Gentoo, but without wireless i'm stuck in the kitchen :D
P.S. Do know that i install my Gentoo 2 days ago :) I am realy noob at it, so be kind :)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Aug 22, 2011 10:06 am    Post subject: Reply with quote

Are you trying to get wifi connection with the cd booted? If so, make it easy on yourself, make a System Rescue CD and boot it to an xfce GUI and a network connection. Network Manager icon is in the lower right of the desktop.
If you have already installed gentoo but can't connect wifi, do you have wired connection to work with while setting up wifi?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Prospero_s
n00b
n00b


Joined: 22 Aug 2011
Posts: 8

PostPosted: Mon Aug 22, 2011 10:25 am    Post subject: Reply with quote

Yes i have installed gentoo on my hard drive and a wired connection - I am using it right now.
But the main problem is that it cannot find my wireless card

ifconfig:
Quote:
eth0 Link encap:Ethernet HWaddr 00:1d:72:c5:ac:0d
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5212 (5.0 KiB) TX bytes:8302 (8.1 KiB)
Interrupt:16

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:400 (400.0 B) TX bytes:400 (400.0 B)


iwconfig:
Quote:
lo no wireless extensions.

eth0 no wireless extensions.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Aug 22, 2011 6:06 pm    Post subject: Reply with quote

Code:
emerge pciutils wgetpaste
lspci -k | wgetpaste
post the url returned.

What is your kernel version?

Does System Rescue CD make a connection? If it does, it would show there is no fundamental incompatibility. Network manager icon in the lower right of the xfce desktop.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Mon Aug 22, 2011 6:31 pm    Post subject: Reply with quote

Code:
FATAL: Error inserting ath9k (/lib/modules/3.0.3-gentoo/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko): Unknown symbol in module, or unknown parameter (see dmesg)
means that the module does not match your kernel, probably because they were built with different config / compiler / at different times.

Verify with "uname -a" that you are running the kernel you think you are, and that the build date and time matches with the ath9k.ko module.
Back to top
View user's profile Send private message
djdunn
l33t
l33t


Joined: 26 Dec 2004
Posts: 810

PostPosted: Mon Aug 22, 2011 9:06 pm    Post subject: Reply with quote

its very possible that you may have a separate partition for /boot, and you did not mount /boot when you installed the kernel, so when you boot it mounts the partition "over top of" the /boot where you new kernel is and when you installed the modules you got the new modules, but an old kernel because your /boot partition lays on top of /boot where your new kernel is.
_________________
“Music is a moral law. It gives a soul to the Universe, wings to the mind, flight to the imagination, a charm to sadness, gaiety and life to everything. It is the essence of order, and leads to all that is good and just and beautiful.”

― Plato
Back to top
View user's profile Send private message
Prospero_s
n00b
n00b


Joined: 22 Aug 2011
Posts: 8

PostPosted: Tue Aug 23, 2011 5:28 am    Post subject: Reply with quote

Well thx for the answers mates. In the end I just downgrade the kernel to 2.6.37 (I was on 3.0.3) and it turned out that this is the problem. Now my card is up and i am fighting to connect it to my wifi network :)
Again - thx for the help :) Great community you have here :)
Back to top
View user's profile Send private message
mario.franic
n00b
n00b


Joined: 11 Dec 2010
Posts: 15
Location: Split, Croatia

PostPosted: Sun Aug 28, 2011 2:27 am    Post subject: Reply with quote

For anyone else with this problem, PCI bus support in ath9k must be enabled also.

$ zgrep ATH9K_PCI /proc/config.gz
CONFIG_ATH9K_PCI=y
_________________
This is linux land. In quiet nights, you can hear the windows machines reboot.
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Wed Oct 12, 2011 11:58 am    Post subject: Reply with quote

mario.franic wrote:
For anyone else with this problem, PCI bus support in ath9k must be enabled also.

$ zgrep ATH9K_PCI /proc/config.gz
CONFIG_ATH9K_PCI=y


I do not seem to have this option in my kernel :

Code:
# zgrep ATH9K /proc/config.gz 
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K=m
# CONFIG_ATH9K_DEBUGFS is not set
CONFIG_ATH9K_RATE_CONTROL=y
# CONFIG_ATH9K_HTC is not set


My kernel is gentoo-sources-2.6.39-gentoo-r3. Which one are you using?

Thanks!
Back to top
View user's profile Send private message
mario.franic
n00b
n00b


Joined: 11 Dec 2010
Posts: 15
Location: Split, Croatia

PostPosted: Wed Oct 12, 2011 12:30 pm    Post subject: Reply with quote

I first encountered this problem when I switched kernel to 3.x.x version, so this is solution for 3.x.x versions of kernel. In you're case problem is probably something else.
_________________
This is linux land. In quiet nights, you can hear the windows machines reboot.
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 713
Location: Barcelona, Spain

PostPosted: Fri Oct 14, 2011 8:20 am    Post subject: Reply with quote

mario.franic wrote:
I first encountered this problem when I switched kernel to 3.x.x version, so this is solution for 3.x.x versions of kernel. In you're case problem is probably something else.


Thanks for the tip! :D I will keep and eye when kernel 3.x.x gets stable!

Cheers!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum