Skip to contentSkip to conversation

ath9k atomic failure (i am so cool to use words i don't understand)

ath9k-devel Dmitri Seletski 2 participants 3 messages Dec 18, 2008 – Dec 19, 2008

lore
Share & tools
lore
#1 lore raw
In reply to Dmitri Seletski
Quoted 15 lines · Dmitri Seletski

Hello boys and girls.
Tried yesterdays package provided by Luis.

in order to catch kernel error message i have written little script that is basically loop that writes dmesg info onto my flash memory card. several times tried it - not one time successful...

script is below by the way.

////////////////////////////////////////////////////////////////////////////////////////////////////////

while [ "1" != "0" ]

Quoted 7 lines

do

savepath=/media/disk/fcron/dmesg$(date +%H%M+%S).txt

echo $savepath

dmesg >> $savepath

You shouldn' tdo this in a loop, if anything first rmmod ath9k, then dump the first dmesg -c to /dev/null/; then modprobe ath9k and start appending to the file using dmesg -c

Quoted 23 lines

sync

done

///////////////////////////////////////////////////////////////////////////////////////////////////////

it takes roughly 0.6 second to update file on flash drive.

Bad news, out of 3 times - no error message has being caught in dmesg... last dmesg output is attached to this email. in any of cases raising elephants didn't help.

What i have noticed - if i run two "ping -A ROUTER" in parallel, than condition comes earlier. It seems to me, that using "several streams" at the same time, be it tcp traffic or icm - computer hangs quicker. Let me know if you want me to try anything else.

I am trying to be good, so Santa will spare my sinful soul and do me a Christmas present :-)

Dmitri

Quoted 9 lines
[  170.981448] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  215.004494] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 1
[  215.007989] wlan0 direct probe responded
[  215.007995] wlan0: authenticate with AP 00:1e:58:b4:f6:83
[  215.010413] wlan0: authenticated
[  215.010418] wlan0: associate with AP 00:1e:58:b4:f6:83
[  215.019408] wlan0: RX AssocResp from 00:1e:58:b4:f6:83 (capab=0x421 status=0 aid=1)
[  215.019413] wlan0: associated
[  215.028226] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Unfortunately as you noted this provides no help to us to help debug the issue you are seeing. What kernel are you using? Please provide the output of:

modprobe -l mac80211
modprobe -l cfg80211
modprobe -l ath9k

Did you disable Network Manager and wpa_supplicant before starting? Are you using encryption or no encryption? If so what encryption are you using? Is it an 11n AP? If so do you have HT enabled? If so is it HT20 or HT40?

Luis

#0 lore raw

Hello boys and girls.
Tried yesterdays package provided by Luis.

in order to catch kernel error message i have written little script that is basically loop that writes dmesg info onto my flash memory card. several times tried it - not one time successful...

script is below by the way.

////////////////////////////////////////////////////////////////////////////////////////////////////////

while [ "1" != "0" ]

do

savepath=/media/disk/fcron/dmesg$(date +%H%M+%S).txt

echo $savepath

dmesg >> $savepath

sync

done

///////////////////////////////////////////////////////////////////////////////////////////////////////

it takes roughly 0.6 second to update file on flash drive.

Bad news, out of 3 times - no error message has being caught in dmesg... last dmesg output is attached to this email. in any of cases raising elephants didn't help.

What i have noticed - if i run two "ping -A ROUTER" in parallel, than condition comes earlier. It seems to me, that using "several streams" at the same time, be it tcp traffic or icm - computer hangs quicker. Let me know if you want me to try anything else.

I am trying to be good, so Santa will spare my sinful soul and do me a Christmas present :-)

Dmitri
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg2340+27.txt
Url: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081219/ae7b637b/attachment-0001.txt

#2 lore raw
In reply to Luis R. Rodriguez
Quoted 21 lines · Luis R. Rodriguez
Quoted 19 lines · Dmitri Seletski

Hello boys and girls.
Tried yesterdays package provided by Luis.

in order to catch kernel error message i have written little script that is basically loop that writes dmesg info onto my flash memory card. several times tried it - not one time successful...

script is below by the way.

////////////////////////////////////////////////////////////////////////////////////////////////////////

while [ "1" != "0" ]

do

savepath=/media/disk/fcron/dmesg$(date +%H%M+%S).txt

Quoted 10 lines
Quoted 4 lines

echo $savepath

dmesg >> $savepath

You shouldn' tdo this in a loop, if anything first rmmod ath9k, then dump the first dmesg -c to /dev/null/; then modprobe ath9k and start appending to the file using dmesg -c

How am I supposed to do it while my machine is fully hanged up? last test i did, gdm was killed, no X was running, not even caps lock was reacting to me. ctrl + alt + sysrq + R didnt help either.

Quoted 44 lines
Quoted 25 lines

sync

done

///////////////////////////////////////////////////////////////////////////////////////////////////////

it takes roughly 0.6 second to update file on flash drive.

Bad news, out of 3 times - no error message has being caught in dmesg... last dmesg output is attached to this email. in any of cases raising elephants didn't help.

What i have noticed - if i run two "ping -A ROUTER" in parallel, than condition comes earlier. It seems to me, that using "several streams" at the same time, be it tcp traffic or icm - computer hangs quicker. Let me know if you want me to try anything else.

I am trying to be good, so Santa will spare my sinful soul and do me a Christmas present :-)

Dmitri

Quoted 10 lines
[  170.981448] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  215.004494] wlan0: direct probe to AP 00:1e:58:b4:f6:83 try 1
[  215.007989] wlan0 direct probe responded
[  215.007995] wlan0: authenticate with AP 00:1e:58:b4:f6:83
[  215.010413] wlan0: authenticated
[  215.010418] wlan0: associate with AP 00:1e:58:b4:f6:83
[  215.019408] wlan0: RX AssocResp from 00:1e:58:b4:f6:83 (capab=0x421 status=0 aid=1)
[  215.019413] wlan0: associated
[  215.028226] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Unfortunately as you noted this provides no help to us to help debug the issue you are seeing. What kernel are you using? Please provide the output of:

modprobe -l mac80211
modprobe -l cfg80211
modprobe -l ath9k

Quoted 6 lines

Did you disable Network Manager and wpa_supplicant before starting? Are you using encryption or no encryption? If so what encryption are you using? Is it an 11n AP? If so do you have HT enabled? If so is it HT20 or HT40?

Luis

localhost dimko # modprobe -l mac80211 /lib/modules/2.6.27.7/updates/net/mac80211/mac80211.ko localhost dimko # modprobe -l cfg80211 /lib/modules/2.6.27.7/updates/net/wireless/cfg80211.ko localhost dimko # modprobe -l ath9k /lib/modules/2.6.27.7/updates/drivers/net/wireless/ath9k/ath9k.ko

localhost dimko # ls -la /lib/modules/2.6.27.7/updates/drivers/net/wireless/ath9k/ath9k.ko -rw-r--r-- 1 root root 314798 2008-12-17 21:55 /lib/modules/2.6.27.7/updates/drivers/net/wireless/ath9k/ath9k.ko

No encryption or any other wireless security enabled. access point is used in only N mode. link quality is warring from 60-80(access point is in another room, below me ). Usually speeds i can notice on wireless interface are or 0 or 11 M a second.
Playing with any of the settings of the access point never gave any result really.

What else information are you seeking?

Dmitri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.png
Type: image/png
Size: 155695 bytes
Desc: not available
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081219/43a04af2/attachment-0001.png