linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Still problems to get ath9k in accessmode. Kernel hangs
@ 2009-01-01 13:44 W. van den Akker
  2009-01-03 13:56 ` W. van den Akker
  2009-01-05  9:41 ` Jouni Malinen
  0 siblings, 2 replies; 15+ messages in thread
From: W. van den Akker @ 2009-01-01 13:44 UTC (permalink / raw)
  To: linux-wireless

Jouni Malinen <j <at> w1.fi> writes:

> I've never tested this with compat-wireless, but the wireless-testing
> version seems to be working fine in my tests.
> 
> > I have build the kernel, compiled the compat-wireless and did a make 
install.
> > Make unload didnt work because some drivers were in use (mac80211).
> > First problem arises, a rmmod ath9k hangs the kernel. No message of what 
so 
> > ever in the log or to stdout.
> 
> Would you happen to have another host available for storing the logs? I
> have been able to receive debug messages from most crashes with
> netconsole (see Documentation/networking/netconsole.txt).
> 

I have tested on the server  with the latest wireless-testing the past days 
(2.6.28-rc9-wl). The wireless-testing looks somewhat more stable then the 
compat-wireless. 

I have also installed the netconsole module to watch any kernel prints. After 
running hostapd (v0.6.6) from command line the AP is up-and-running. Then if I 
connect with the laptop (tested it with kernel .26 and .28 on the laptop) I 
get a connection and can start a browser en explore the internet. If I start 
a second session (Kmail or second browser) the 
server hangs within a minute. Leaving again no trace on the console, 
hostapd-log or netconsole.
Only way to reset the server is switch off the power.
Its very frustrating because no information or what so ever can be found.

If I connect an internet radio (Musicpal) to the server there is no problem. 
It stays stable for hours. If I also connect the laptop and start a browser 
the server hangs again within minuts.

Its looks like if there is a second connection been set up the server hangs.

Anyone any clue how to investigate this??

Thanks,
Willem

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Still problems to get ath9k in accessmode. Kernel hangs
@ 2008-12-24  9:40 W. van den Akker
  2008-12-24 10:07 ` Jouni Malinen
  2008-12-24 17:45 ` Luis R. Rodriguez
  0 siblings, 2 replies; 15+ messages in thread
From: W. van den Akker @ 2008-12-24  9:40 UTC (permalink / raw)
  To: linux-wireless

Hi,

I have tested with the latest kernel 2.6.27.10 and compat-wireless 22-12-2008.
I have a dual core system (Intel(R) Pentium(R) 4 CPU 3.00GHz) and use hostapd 
0.6.6.

I have build the kernel, compiled the compat-wireless and did a make install.
Make unload didnt work because some drivers were in use (mac80211).
First problem arises, a rmmod ath9k hangs the kernel. No message of what so 
ever in the log or to stdout.

Rebooted the system (hostapd still disabled). Iwconfig shows:
wlan0     IEEE 802.11bgn  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

If I start hostapd (by hand or from init.d) the kernel hangs with no trace of 
such thing. Hostapd shows in stdout (with -dd):
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Opening raw packet socket for ifindex 1688
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
Allowed channel: mode=1 chan=1 freq=2412 MHz
Allowed channel: mode=1 chan=2 freq=2417 MHz
Allowed channel: mode=1 chan=3 freq=2422 MHz
Allowed channel: mode=1 chan=4 freq=2427 MHz
Allowed channel: mode=1 chan=5 freq=2432 MHz
Allowed channel: mode=1 chan=6 freq=2437 MHz
Allowed channel: mode=1 chan=7 freq=2442 MHz
Allowed channel: mode=1 chan=8 freq=2447 MHz
Allowed channel: mode=1 chan=9 freq=2452 MHz
Allowed channel: mode=1 chan=10 freq=2457 MHz
Allowed channel: mode=1 chan=11 freq=2462 MHz
Failed to update rate sets in kernel module
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x2
RATE[2] rate=55 flags=0x2
RATE[3] rate=110 flags=0x2
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Passive scanning not supported
Flushing old station entries

I have tried in the past several kernelversions and compat-wireless versions 
and all give the same problem.
So I think it is hardware (system) related and ap-mode.
How can I trace the problem? Default I get no entries in any log.

lspci -vv shows 
04:08.0 Network controller: Atheros Communications Inc. AR5416 802.11abgn 
Wireless PCI Adapter (rev 01)
        Subsystem: Linksys Device 0061
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 168, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at d0310000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [40] #80 [0000]
        Kernel driver in use: ath9k
        Kernel modules: ath9k


Can somebody provide some help. I am struggeling to get the card into ap mode.

TIA,
Willem

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-01-12  7:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-01 13:44 Still problems to get ath9k in accessmode. Kernel hangs W. van den Akker
2009-01-03 13:56 ` W. van den Akker
2009-01-05  9:41 ` Jouni Malinen
2009-01-06  7:57   ` W. van den Akker
2009-01-06 14:52     ` W. van den Akker
2009-01-06 20:32       ` W. van den Akker
2009-01-06 20:51         ` pat-lkml
2009-01-06 22:42           ` W. van den Akker
2009-01-07 15:42             ` W. van den Akker
2009-01-10 11:26               ` W. van den Akker
2009-01-10 19:50                 ` pat-lkml
2009-01-12  7:47                   ` W. van den Akker
  -- strict thread matches above, loose matches on Subject: below --
2008-12-24  9:40 W. van den Akker
2008-12-24 10:07 ` Jouni Malinen
2008-12-24 17:45 ` Luis R. Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).