W. van den Akker | 1 Jan 14:44
Picon
Favicon

Re: Still problems to get ath9k in accessmode. Kernel hangs

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.
(Continue reading)

Jouni Malinen | 5 Jan 10:41
Picon

Re: Still problems to get ath9k in accessmode. Kernel hangs

On Thu, Jan 01, 2009 at 02:44:20PM +0100, W. van den Akker wrote:

> 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.

Just to make sure I understood this correctly.. Does this happen with
just a single association station (your laptop)? What are you referring
to with a "session"? Just another program using network (i.e., no new
wireless associations, etc.)? As far as the ath9k driver is concerned,
new applications (e.g., new TCP connection) should not really matter
much.. If you have IEEE 802.11n enabled, could you please run a test
with it disabled to make sure this is not related to frame aggregation?

As far as getting any output from the system is concerned, the next step
could be to see if NMI watchdog would be able to provide any help.
Please take a look at Documentation/nmi_watchdog.txt in the kernel
source code and see if you could use that on the AP to get some output
when the system hangs (running without X on console to make sure you see
the output).

--

-- 
(Continue reading)

W. van den Akker | 6 Jan 08:57
Picon
Favicon

Re: Still problems to get ath9k in accessmode. Kernel hangs

On Monday 05 January 2009, you wrote:
> On Thu, Jan 01, 2009 at 02:44:20PM +0100, W. van den Akker wrote:
> > 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.
>
> Just to make sure I understood this correctly.. Does this happen with
> just a single association station (your laptop)? What are you referring
> to with a "session"? Just another program using network (i.e., no new
> wireless associations, etc.)? As far as the ath9k driver is concerned,
> new applications (e.g., new TCP connection) should not really matter
> much.. If you have IEEE 802.11n enabled, could you please run a test
> with it disabled to make sure this is not related to frame aggregation?
>
> As far as getting any output from the system is concerned, the next step
> could be to see if NMI watchdog would be able to provide any help.
> Please take a look at Documentation/nmi_watchdog.txt in the kernel
> source code and see if you could use that on the AP to get some output
> when the system hangs (running without X on console to make sure you see
> the output).

(Continue reading)

W. van den Akker | 6 Jan 15:52
Picon
Favicon

Re: Still problems to get ath9k in accessmode. Kernel hangs

On Tuesday 06 January 2009, you wrote:
> On Monday 05 January 2009, you wrote:
> > On Thu, Jan 01, 2009 at 02:44:20PM +0100, W. van den Akker wrote:
> > > 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.
> >
> > Just to make sure I understood this correctly.. Does this happen with
> > just a single association station (your laptop)? What are you referring
> > to with a "session"? Just another program using network (i.e., no new
> > wireless associations, etc.)? As far as the ath9k driver is concerned,
> > new applications (e.g., new TCP connection) should not really matter
> > much.. If you have IEEE 802.11n enabled, could you please run a test
> > with it disabled to make sure this is not related to frame aggregation?
> >
> > As far as getting any output from the system is concerned, the next step
> > could be to see if NMI watchdog would be able to provide any help.
> > Please take a look at Documentation/nmi_watchdog.txt in the kernel
> > source code and see if you could use that on the AP to get some output
> > when the system hangs (running without X on console to make sure you see
> > the output).
(Continue reading)

W. van den Akker | 6 Jan 21:32
Picon
Favicon

Re: Still problems to get ath9k in accessmode. Kernel hangs

On Tuesday 06 January 2009 15:52:45 you wrote:
> On Tuesday 06 January 2009, you wrote:
> > On Monday 05 January 2009, you wrote:
> > > On Thu, Jan 01, 2009 at 02:44:20PM +0100, W. van den Akker wrote:
> > > > 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.
> > >
> > > Just to make sure I understood this correctly.. Does this happen with
> > > just a single association station (your laptop)? What are you referring
> > > to with a "session"? Just another program using network (i.e., no new
> > > wireless associations, etc.)? As far as the ath9k driver is concerned,
> > > new applications (e.g., new TCP connection) should not really matter
> > > much.. If you have IEEE 802.11n enabled, could you please run a test
> > > with it disabled to make sure this is not related to frame aggregation?
> > >
> > > As far as getting any output from the system is concerned, the next
> > > step could be to see if NMI watchdog would be able to provide any help.
> > > Please take a look at Documentation/nmi_watchdog.txt in the kernel
> > > source code and see if you could use that on the AP to get some output
> > > when the system hangs (running without X on console to make sure you
(Continue reading)

pat-lkml | 6 Jan 21:51

Re: Still problems to get ath9k in accessmode. Kernel hangs

W. van den Akker wrote:
--- Snip ---
>>
>> However, after starting a internet session and Kmail session the server
>> hangs again without any output. Does the NMI-handler not process per CPU?
>> So if one CPU hangs, the other would still proceed?
>>
>> I have no 802.11n enabled, nor X.
>>
>> This means I think the system halted hard 'hlt-instruction'
>>
>> Any further suggestion? I am little bit hopeless now. I have placed the PCI
>> card into another slot, no result.
> 
> Some additional information:
> I have booted the server at approx 16:00. Hostapd was started at boot-time.
> After 5 hours without any connection from any computers the server hangs.
> 

Just as a data point, I'm running master mode with ath9k on 64bit with
multiple clients and have no problems.  Perhaps it's hardware version
related?  Here's the info for my system:

kernel: 2.6.28-gentoo
compat-wireless-2.6: cedd75beb269e2b559a5174ee628ebd01f63a4040
wireless-testing: fd1dae5fbc7a260b0ddfab7d4939a766a82ef3f3
hostapd: 2c04820d80b5c489576cb735c3be8f026a035a5b

I have 80211n enabled for my device with this config:

(Continue reading)

W. van den Akker | 6 Jan 23:42
Picon
Favicon

Re: Still problems to get ath9k in accessmode. Kernel hangs

On Tuesday 06 January 2009 21:51:09 you wrote:
> W. van den Akker wrote:
> --- Snip ---
>
> >> However, after starting a internet session and Kmail session the server
> >> hangs again without any output. Does the NMI-handler not process per
> >> CPU? So if one CPU hangs, the other would still proceed?
> >>
> >> I have no 802.11n enabled, nor X.
> >>
> >> This means I think the system halted hard 'hlt-instruction'
> >>
> >> Any further suggestion? I am little bit hopeless now. I have placed the
> >> PCI card into another slot, no result.
> >
> > Some additional information:
> > I have booted the server at approx 16:00. Hostapd was started at
> > boot-time. After 5 hours without any connection from any computers the
> > server hangs.
>
> Just as a data point, I'm running master mode with ath9k on 64bit with
> multiple clients and have no problems.  Perhaps it's hardware version
> related?  Here's the info for my system:
>
> kernel: 2.6.28-gentoo
> compat-wireless-2.6: cedd75beb269e2b559a5174ee628ebd01f63a4040
> wireless-testing: fd1dae5fbc7a260b0ddfab7d4939a766a82ef3f3
> hostapd: 2c04820d80b5c489576cb735c3be8f026a035a5b
>
> I have 80211n enabled for my device with this config:
(Continue reading)

W. van den Akker | 7 Jan 16:42
Picon
Favicon

Re: Still problems to get ath9k in accessmode. Kernel hangs

On Tuesday 06 January 2009, you wrote:
> On Tuesday 06 January 2009 21:51:09 you wrote:
> > W. van den Akker wrote:
> > --- Snip ---
> >
> > >> However, after starting a internet session and Kmail session the
> > >> server hangs again without any output. Does the NMI-handler not
> > >> process per CPU? So if one CPU hangs, the other would still proceed?
> > >>
> > >> I have no 802.11n enabled, nor X.
> > >>
> > >> This means I think the system halted hard 'hlt-instruction'
> > >>
> > >> Any further suggestion? I am little bit hopeless now. I have placed
> > >> the PCI card into another slot, no result.
> > >
> > > Some additional information:
> > > I have booted the server at approx 16:00. Hostapd was started at
> > > boot-time. After 5 hours without any connection from any computers the
> > > server hangs.
> >
> > Just as a data point, I'm running master mode with ath9k on 64bit with
> > multiple clients and have no problems.  Perhaps it's hardware version
> > related?  Here's the info for my system:
> >
> > kernel: 2.6.28-gentoo
> > compat-wireless-2.6: cedd75beb269e2b559a5174ee628ebd01f63a4040
> > wireless-testing: fd1dae5fbc7a260b0ddfab7d4939a766a82ef3f3
> > hostapd: 2c04820d80b5c489576cb735c3be8f026a035a5b
> >
(Continue reading)

W. van den Akker | 10 Jan 12:26
Picon
Favicon

Re: Still problems to get ath9k in accessmode. Kernel hangs

On Wednesday 07 January 2009, you wrote:
> On Tuesday 06 January 2009, you wrote:
> > On Tuesday 06 January 2009 21:51:09 you wrote:
> > > W. van den Akker wrote:
> > > --- Snip ---
> > >
> > > >> However, after starting a internet session and Kmail session the
> > > >> server hangs again without any output. Does the NMI-handler not
> > > >> process per CPU? So if one CPU hangs, the other would still proceed?
> > > >>
> > > >> I have no 802.11n enabled, nor X.
> > > >>
> > > >> This means I think the system halted hard 'hlt-instruction'
> > > >>
> > > >> Any further suggestion? I am little bit hopeless now. I have placed
> > > >> the PCI card into another slot, no result.
> > > >
> > > > Some additional information:
> > > > I have booted the server at approx 16:00. Hostapd was started at
> > > > boot-time. After 5 hours without any connection from any computers
> > > > the server hangs.
> > >
> > > Just as a data point, I'm running master mode with ath9k on 64bit with
> > > multiple clients and have no problems.  Perhaps it's hardware version
> > > related?  Here's the info for my system:
> > >
> > > kernel: 2.6.28-gentoo
> > > compat-wireless-2.6: cedd75beb269e2b559a5174ee628ebd01f63a4040
> > > wireless-testing: fd1dae5fbc7a260b0ddfab7d4939a766a82ef3f3
> > > hostapd: 2c04820d80b5c489576cb735c3be8f026a035a5b
(Continue reading)

pat-lkml | 10 Jan 20:50

Re: Still problems to get ath9k in accessmode. Kernel hangs

W. van den Akker wrote:
> 
> Did some futher testing to exclude problems....
> The wlan0 and eth1 are both part of a bridge. I have removed the eth1 
> interface so the the eth1-driver cannot interfer with the ath9k driver.
> Also no result. The server still locks.
> 
> What is the right way to combine the eth1 and wlan0 into a bridge. Do I even 
> need  a bridge? The hostapd.config says I must define a bridge when I use the 
> nl80211driver interface.
> The bridge has an IP adress, wlan0 and eth1 are in the same subnet.
> 
> When hostapd is started I have some error-messages. Dont know if they can 
> hurt...
> Failed to set CTS protect in kernel driver
> Failed to set Short Slot Time option in kernel driver
> Could not set preamble for kernel driver
> 
> 

I use gentoo's init scripts, but my wlan0 and eth0 are both in a bridge
(br0) and it works fine.  I don't get the CTS, Short Slot Time, or
preamble kernel driver errors.  Perhaps you need to comment out a few
lines in hostapd.conf?

# preamble=1

and I have:

rts_threshold=2347
(Continue reading)

W. van den Akker | 12 Jan 08:47
Picon
Favicon

Re: Still problems to get ath9k in accessmode. Kernel hangs

On Saturday 10 January 2009, you wrote:
> W. van den Akker wrote:
> > Did some futher testing to exclude problems....
> > The wlan0 and eth1 are both part of a bridge. I have removed the eth1
> > interface so the the eth1-driver cannot interfer with the ath9k driver.
> > Also no result. The server still locks.
> >
> > What is the right way to combine the eth1 and wlan0 into a bridge. Do I
> > even need  a bridge? The hostapd.config says I must define a bridge when
> > I use the nl80211driver interface.
> > The bridge has an IP adress, wlan0 and eth1 are in the same subnet.
> >
> > When hostapd is started I have some error-messages. Dont know if they can
> > hurt...
> > Failed to set CTS protect in kernel driver
> > Failed to set Short Slot Time option in kernel driver
> > Could not set preamble for kernel driver
>
> I use gentoo's init scripts, but my wlan0 and eth0 are both in a bridge
> (br0) and it works fine.  I don't get the CTS, Short Slot Time, or
> preamble kernel driver errors.  Perhaps you need to comment out a few
> lines in hostapd.conf?
>
> # preamble=1
>
> and I have:
>
> rts_threshold=2347
>
> I'll send you a direct e-mail with my .config and hostapd-wep.conf files
(Continue reading)

W. van den Akker | 3 Jan 14:56
Picon
Favicon

Re: Still problems to get ath9k in accessmode. Kernel hangs

On Thursday 01 January 2009, you wrote:
> 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
(Continue reading)


Gmane