Some new findings. Hopefully these means something to someone because I
don't really know where to go from here.
I noticed that I can't reproduce the 'device timeout' if I turn off the
device at the AP. Could the AP be responding with something fishy?
I also found out that if I change the ral-cards to
explicitly use 'media OFDM54' the 'device timeout' would occur less
often, and when they do, I can most often get it to work by bring it
down and then
#sh /etc/netstart ral0
When I get 'device timeout' I see the following at the AP
ral0: received auth from 00:13:f7:1e:a7:86 rssi 119
ral0: sending auth to 00:13:f7:1e:a7:86 on channel 11
ral0: station 00:13:f7:1e:a7:86 newly authenticated (open)
I have not yet been able to get a debug print from client ral when it is
failing, is there a way to set that in hostname.if? If the device is not
failing during boot, it is hard to get it to fail.
I have also seen the timeout on the AP once when I rebooted it while the
client was up, but it didn't occur repeatedly as it does on the client.
== AP hostname.if ==
# cat /etc/hostname.ral0
inet 192.168.0.2 255.255.255.0 NONE media OFDM54 mode 11g mediaopt
hostap chan 11 nwid "himmet_wlan"
== Client hostname.if ==
# cat /etc/hostname.ral0
dhcp NONE NONE NONE media OFDM54 mode 11g chan 11 nwid "himmet_wlan"
/Markus
For some time now I've been trying to get my SMC wireless cardbus[1] with
Ralink RT2600 chipset[2] to work on my laptop running OpenBSD 4.0 -stable but I
keep getting 'ral0: device timeout'.
If I bring the device down and then up (sometimes I have to do this several
times) I finally get it to work. After that I don't get any more 'device
timeout' until next reboot.
This is what ral(4) has to say about that error:
ral%d: device timeout A frame dispatched to the hardware for transmission
did not complete in time. The driver will reset the hardware. This should not
happen.
Unfortunately, it does happen. My question is, why? And what can i do to remedy
this?
I have a SMC pci-card[3] in the AP but I have not seen that problem there.
I enclose dmesg and ifconfig ral0 from client and ap.