Discussion:
athn0: device timeout with AR9271
(too old to reply)
ML mail
2016-07-25 09:57:38 UTC
Permalink
Hi,

I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time to time there are timeouts which prevents any access to it anymore until I either plug out and in the Wifi dongle again or reboot.

Here is the hardware details of that Wifi USB dongle:


athn0 at uhub1 port 4 configuration 1 interface 0 "ATHEROS USB2.0 WLAN" rev 2.00/1.08 addr 4
athn0: AR9271 rev 1 (1T1R), ROM rev 13, address c4:e9:84:xx:xx:xx


There error is the following (many of these messages are repeated):


athn0: device timeout


My /etc/hostname.athn0 is the following:

inet 172.16.20.1 255.255.255.0
media autoselect
mediaopt hostap
mode 11b
chan 6
nwid <EDITED>
wpakey <EDITED>

So I was wondering what is going on here... Is my Wifi USB dongle crap? or am I maybe doing something wrong?

Let me know if I should provide any other infos...


Regards
ML
Stefan Sperling
2016-07-25 11:31:13 UTC
Permalink
Post by ML mail
Hi,
I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time to time there are timeouts which prevents any access to it anymore until I either plug out and in the Wifi dongle again or reboot.
Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs
in the wifi stack were fixed in -current which might affect this.
Adam Wolk
2016-07-26 09:38:00 UTC
Permalink
Post by Stefan Sperling
Post by ML mail
Hi,
I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time to time there are timeouts which prevents any access to it anymore until I either plug out and in the Wifi dongle again or reboot.
Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs
in the wifi stack were fixed in -current which might affect this.
The issue might also be what I encountered with my athn0 usb dongle.
https://marc.info/?l=openbsd-misc&m=144895556213390&w=2

I do plan on implementing the process context for this specific driver (even
started during pkgsrcon in the beginning of this month). Let me know if the
issue persists after upgrading, would be nice to have more than one person to
test the changes when I get around to finishing it up.

Regards,
Adam
ML mail
2016-07-26 19:57:46 UTC
Permalink
Hi Adam,


I upgraded yesterday from 5.8 to 5.9 and already encountered this morning the same issue. In the kernel log I get a ton of these messages:

athn0: firmware command 0x17 timed out
athn0: firmware command 0x18 timed out


Now what would be the next step? Should I upgrade to -CURRENT?

or is there any patches I can try from you?

Regards,
ML
Post by Stefan Sperling
Post by ML mail
Hi,
I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time to time there are timeouts which prevents any access to it anymore until I either plug out and in the Wifi dongle again or reboot.
Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs
in the wifi stack were fixed in -current which might affect this.
The issue might also be what I encountered with my athn0 usb dongle.
https://marc.info/?l=openbsd-misc&m=144895556213390&w=2

I do plan on implementing the process context for this specific driver (even
started during pkgsrcon in the beginning of this month). Let me know if the
issue persists after upgrading, would be nice to have more than one person to
test the changes when I get around to finishing it up.

Regards,
Adam
ML mail
2016-07-26 20:25:41 UTC
Permalink
Hi Stefan,

It's a Nexcom network application NSA 1150, you will find the exact specs
here:


http://www.nexcom.com/Products/network-and-communication-solutions/entry-leve
l-appliance/entry-level-appliance/network-communication-nsa-1150

Regards,
ML



On Tuesday, July 26, 2016 10:05 PM, "Kapfhammer, Stefan" <***@skapf.de>
wrote:
Hi ML,

in which machine is the usb dongle plugged in?
Alix/Apu1/Apu2? Other?


Freundliche Grüße / Regards
-stefan kapfhammer
Originalnachricht

Von: ML mail
Gesendet: Dienstag, 26. Juli 2016 21:59
An: Adam Wolk; Miscellaneous OBSD
Antwort an: ML mail
Betreff: Re: athn0: device timeout with AR9271


Hi Adam,


I upgraded yesterday from 5.8 to 5.9 and already encountered this morning the
same issue. In the kernel log I get a ton of these messages:

athn0: firmware command 0x17 timed out
athn0: firmware command 0x18 timed out


Now what would be the next step? Should I upgrade to -CURRENT?

or is there any patches I can try from you?

Regards,
ML
Post by Stefan Sperling
Post by ML mail
Hi,
I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time
to time there are timeouts which prevents any access to it anymore until I
either plug out and in the Wifi dongle again or reboot.
Post by Stefan Sperling
Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs
in the wifi stack were fixed in -current which might affect this.
The issue might also be what I encountered with my athn0 usb dongle.
https://marc.info/?l=openbsd-misc&m=144895556213390&w=2

I do plan on implementing the process context for this specific driver (even
started during pkgsrcon in the beginning of this month). Let me know if the
issue persists after upgrading, would be nice to have more than one person to
test the changes when I get around to finishing it up.

Regards,
Adam
Kapfhammer, Stefan
2016-07-26 20:37:33 UTC
Permalink
Yeah,

But answer to list and Adam as well, sorry pressed wrong button on my
BlackBerry.


Freundliche Grüße / Regards
-stefan kapfhammer
  Originalnachricht  
Von: ML mail
Gesendet: Dienstag, 26. Juli 2016 22:34
An: Kapfhammer, Stefan
Antwort an: ML mail
Betreff: Re: AW: athn0: device timeout with AR9271

Thanks for the tip regarding the BIOS. The machine was bought autumn 2015 so I
will check with the hardware vendor see if he has a newer firmware for this
BIOS and get back to you.


On Tuesday, July 26, 2016 10:28 PM, "Kapfhammer, Stefan" <***@skapf.de>
wrote:

Have latest bis firmware upgrade?
That was the issue on apu2.
After upgrading workes like a charm.


Freundliche Grüße / Regards
-stefan kapfhammer
Originalnachricht

Von: ML mail
Gesendet: Dienstag, 26. Juli 2016 22:26
An: Kapfhammer, Stefan; Adam Wolk; Miscellaneous OBSD
Antwort an: ML mail
Betreff: Re: AW: athn0: device timeout with AR9271


Hi Stefan,

It's a Nexcom network application NSA 1150, you will find the exact specs
here:


http://www.nexcom.com/Products/network-and-communication-solutions/entry-leve
l-appliance/entry-level-appliance/network-communication-nsa-1150

Regards,
ML



On Tuesday, July 26, 2016 10:05 PM, "Kapfhammer, Stefan" <***@skapf.de>
wrote:
Hi ML,

in which machine is the usb dongle plugged in?
Alix/Apu1/Apu2? Other?


Freundliche Grüße / Regards
-stefan kapfhammer
Originalnachricht

Von: ML mail
Gesendet: Dienstag, 26. Juli 2016 21:59
An: Adam Wolk; Miscellaneous OBSD
Antwort an: ML mail
Betreff: Re: athn0: device timeout with AR9271


Hi Adam,


I upgraded yesterday from 5.8 to 5.9 and already encountered this morning the
same issue. In the kernel log I get a ton of these messages:

athn0: firmware command 0x17 timed out
athn0: firmware command 0x18 timed out


Now what would be the next step? Should I upgrade to -CURRENT?

or is there any patches I can try from you?

Regards,
ML
Post by Stefan Sperling
Post by ML mail
Hi,
I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time
to time there are timeouts which prevents any access to it anymore until I
either plug out and in the Wifi dongle again or reboot.
Post by Stefan Sperling
Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs
in the wifi stack were fixed in -current which might affect this.
The issue might also be what I encountered with my athn0 usb dongle.
https://marc.info/?l=openbsd-misc&m=144895556213390&w=2

I do plan on implementing the process context for this specific driver (even
started during pkgsrcon in the beginning of this month). Let me know if the
issue persists after upgrading, would be nice to have more than one person to
test the changes when I get around to finishing it up.

Regards,
Adam
Kapfhammer, Stefan
2016-07-26 20:05:53 UTC
Permalink
Hi ML,

in which machine is the usb dongle plugged in?
Alix/Apu1/Apu2? Other?


Freundliche Grüße / Regards
-stefan kapfhammer
Originalnachricht
Von: ML mail
Gesendet: Dienstag, 26. Juli 2016 21:59
An: Adam Wolk; Miscellaneous OBSD
Antwort an: ML mail
Betreff: Re: athn0: device timeout with AR9271


Hi Adam,


I upgraded yesterday from 5.8 to 5.9 and already encountered this morning the
same issue. In the kernel log I get a ton of these messages:

athn0: firmware command 0x17 timed out
athn0: firmware command 0x18 timed out


Now what would be the next step? Should I upgrade to -CURRENT?

or is there any patches I can try from you?

Regards,
ML
Post by Stefan Sperling
Post by ML mail
Hi,
I installed a USB Wifi card on my OpenBSD 5.8 firewall as AP and from time
to time there are timeouts which prevents any access to it anymore until I
either plug out and in the Wifi dongle again or reboot.
Post by Stefan Sperling
Please upgrade from 5.8 to 5.9 and then to -current. Last week, bugs
in the wifi stack were fixed in -current which might affect this.
The issue might also be what I encountered with my athn0 usb dongle.
https://marc.info/?l=openbsd-misc&m=144895556213390&w=2

I do plan on implementing the process context for this specific driver (even
started during pkgsrcon in the beginning of this month). Let me know if the
issue persists after upgrading, would be nice to have more than one person to
test the changes when I get around to finishing it up.

Regards,
Adam
Stefan Sperling
2016-07-26 21:23:52 UTC
Permalink
Post by ML mail
Should I upgrade to -CURRENT?
Yes!

Loading...