Re: athn(4) device timeout

2012-01-19 Thread Ishwor Gurung
Hi Tech,

On 16 January 2012 21:28, Ishwor Gurung  wrote:

[...]

> I'll be enabling the athn specific debug on my Atheros card and see
> what comes out of it.
>
> Hopefully, something will make sense :-)
>
> I'll also make sure I post the log here.

Here's the output of debug:

athn0: device timeout
athn0: begin active scan
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 11 mode 11g
athn0: received beacon from 00:26:f2:56:f8:c2 rssi 17 mode 11g
athn0: received beacon from c4:3d:c7:61:49:ba rssi 31 mode 11g
athn0: received beacon from 00:60:64:55:2c:08 rssi 41 mode 11g
athn0: received beacon from c4:3d:c7:61:49:ba rssi 32 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 12 mode 11g
athn0: received beacon from 00:60:64:55:2c:08 rssi 40 mode 11g
athn0: received beacon from 00:60:64:55:2c:08 rssi 41 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 13 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 14 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 1 mode 11g
athn0: received beacon from 08:76:ff:4e:bf:10 rssi 19 mode 11g
athn0: received beacon from 00:26:44:50:73:21 rssi 19 mode 11g
athn0: received beacon from 08:76:ff:4e:bf:10 rssi 19 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 2 mode 11g
athn0: received beacon from 00:26:44:50:73:21 rssi 18 mode 11g
athn0: received beacon from 08:76:ff:4e:bf:10 rssi 15 mode 11g
athn0: received beacon from 00:26:44:50:73:21 rssi 18 mode 11g
athn0: received beacon from 08:76:ff:4e:bf:10 rssi 14 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 3 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 4 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 5 mode 11g
athn0: received beacon from 94:44:52:4d:80:84 rssi 22 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 6 mode 11g
athn0: received beacon from 08:76:ff:45:46:3c rssi 16 mode 11g
athn0: received beacon from 94:44:52:4d:80:84 rssi 24 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 7 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 8 mode 11g
athn0: received probe_resp from c4:3d:c7:61:49:ba rssi 18 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 9 mode 11g
athn0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 10 mode 11g
athn0: received beacon from 00:60:64:55:2c:08 rssi 40 mode 11g
athn0: received beacon from 00:60:64:55:2c:08 rssi 38 mode 11g
athn0: received beacon from c4:3d:c7:61:49:ba rssi 33 mode 11g
athn0: received beacon from 00:1f:33:88:a6:da rssi 21 mode 11g
athn0: end active scan
athn0: sending auth to c4:3d:c7:61:49:ba on channel 10 mode 11g
athn0: received auth from c4:3d:c7:61:49:ba rssi 30 mode 11g
athn0: sending assoc_req to c4:3d:c7:61:49:ba on channel 10 mode 11g
athn0: received assoc_resp from c4:3d:c7:61:49:ba rssi 31 mode 11g
athn0: associated with c4:3d:c7:61:49:ba ssid "abs" channel 10 start
1Mb short preamble short slot time protection enabled
athn0: received msg 1/4 of the 4-way handshake from c4:3d:c7:61:49:ba
athn0: sending msg 2/4 of the 4-way handshake to c4:3d:c7:61:49:ba
athn0: received msg 3/4 of the 4-way handshake from c4:3d:c7:61:49:ba
athn0: sending msg 4/4 of the 4-way handshake to c4:3d:c7:61:49:ba

[~] $ ifconfig athn0
athn0: flags=8947 mtu 1500
lladdr 54:37:8f:20:83:ae
priority: 4
groups: wlan egress
media: IEEE802.11 autoselect (DS1 mode 11g)
status: active
ieee80211: nwid abs chan 10 bssid c4:3d:c7:61:49:ba 32dB
wpakey  wpaprotos wpa2 wpaakms psk wpaciphers tkip
wpagroupcipher tkip
inet6 fe80::5637:8fff:fe20:83ae%athn0 prefixlen 64 scopeid 0x2
inet 10.1.1.2 netmask 0xff00 broadcast 10.1.1.255

I was expecting log entries prior to the device timeout (after
enabling driver-dependent debugging code) but it seems all I can see
is the wpa scan and associate after the reset.

Is this something I should be looking at by upgrading to -current / -stable ?

Thanks!
-- 
Best regards,
Ishwor



Re: athn(4) device timeout

2012-01-16 Thread Ishwor Gurung
Hi Tech,

On 16 January 2012 02:46, Ishwor Gurung  wrote:
> Hi Tech,
>
> I have been advised by cthuluh and others on #openbsd@freenode to post
> issue with my hardware reset for athn(4) in here. It is not clear why
> it happens to me. Also, I wanted to point out that it doesn't affect
> my connection to the router in any way if any at all.

[...]

I'll be enabling the athn specific debug on my Atheros card and see
what comes out of it.

Hopefully, something will make sense :-)

I'll also make sure I post the log here.

Thanks.
-- 
Best regards,
Ishwor



athn(4) device timeout

2012-01-15 Thread Ishwor Gurung
Hi Tech,

I have been advised by cthuluh and others on #openbsd@freenode to post
issue with my hardware reset for athn(4) in here. It is not clear why
it happens to me. Also, I wanted to point out that it doesn't affect
my connection to the router in any way if any at all.

The issue I have is as stated in ath(4) is:
"ath%d: device timeout  A frame dispatched to the hardware for
transmission did not complete in time.  The driver will reset the
hardware and continue.  This should not happen."

And here's the grep'ed log:
Jan 14 15:14:50 puffybox /bsd: athn0: device timeout
Jan 14 20:26:58 puffybox /bsd: athn0: device timeout

And here's the full dmesg:
OpenBSD 5.0 (GENERIC.MP) #59: Wed Aug 17 10:19:44 MDT 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error 80
cpu0: Intel(R) Atom(TM) CPU N455 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE
real mem  = 1060954112 (1011MB)
avail mem = 1033527296 (985MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/24/11, BIOS32 rev. 0 @
0xef735, SMBIOS rev. 2.6 @ 0xe5840 (33 entries)
bios0: vendor INSYDE version "V1.00" date 03/24/2011
bios0: Acer AOD257
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG SLIC BOOT SSDT SSDT SSDT WDAT
acpi0: wakeup devices P32_(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3)
ECHI(S3) EXP1(S4) EXP2(S3) EXP3(S3) EXP4(S3) AZAL(S4) MODM(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU N455 @ 1.66GHz ("GenuineIntel" 686-class) 1.67 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE
ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P32_)
acpiprt2 at acpi0: bus 1 (EXP1)
acpiprt3 at acpi0: bus 2 (EXP2)
acpiprt4 at acpi0: bus 3 (EXP3)
acpiprt5 at acpi0: bus -1 (EXP4)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpitz0 at acpi0: critical temperature is 96 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID_
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 model "AL10A31" serial 4478 type LION oem "SANYO"
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
bios0: ROM list: 0xc/0xda00! 0xcda00/0x1000
cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1666, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Pineview DMI" rev 0x00
vga1 at pci0 dev 2 function 0 "Intel Pineview Video" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0x4000, size 0x1000
inteldrm0 at vga1: apic 4 int 16
drm0 at inteldrm0
"Intel Pineview Video" rev 0x00 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 4 int 16
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8101E" rev 0x05: RTL8105E
(0x4080), apic 4 int 16, address e8:9a:8f:09:b8:f7
ukphy0 at re0 phy 7: Generic IEEE 802.3u media interface, rev. 2: OUI
0x000732, model 0x0008
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 4 int 17
pci2 at ppb1 bus 2
athn0 at pci2 dev 0 function 0 "Atheros AR9285" rev 0x01: apic 4 int 17
athn0: AR9285 rev 2 (1T1R), ROM rev 14, address ec:55:f9:ac:d6:32
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 4 int 18
pci3 at ppb2 bus 3
"Realtek RTS5209 Card Reader" rev 0x01 at pci3 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 4 int 16
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 4 int 17
uhci2 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 4 int 19
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 4 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci4 at ppb3 bus 4
pcib0 at pci0 dev 31 function 0 "Intel Tigerpoint LPC" rev 0x02
ahci0 at pci0 dev 31 function 2 "Intel 82801GR AHCI" rev 0x02: msi, AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0:  SCSI3
0/direct fixed naa.5000cca66cd2a09e
sd0: 238475MB, 512 bytes/sector, 488397