Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread Sergey Kish
From binary kernel


-- Forwarded message --
From: Sergey Kish sergey.k...@gmail.com
Date: Wed, Jan 26, 2011 at 5:18 PM
Subject: Acer Aspire One 751, Atheros AR5424 doesn't work
To: dm...@openbsd.org


OpenBSD 4.8 (GENERIC) #1: Wed Jan 26 12:03:41 EET 2011
   r...@sergeykish.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU Z520 @ 1.33GHz (GenuineIntel 686-class) 1.25
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,xTPR,
PDCM,MOVBE
real mem  = 1063514112 (1014MB)
avail mem = 1036156928 (988MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/22/09, BIOS32 rev. 0 @
0xfda50, SMBIOS rev. 2.5 @ 0x3f6bf000 (35 entries)
bios0: vendor Acer version V0.3210 date 09/22/2009
bios0: Acer AO751h
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SLIC SSDT
acpi0: wakeup devices PWRB(S3) PXS1(S5) PXS2(S3) USB1(S3) USB2(S3) EHC1(S3)
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 124MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP02)
acpiec0 at acpi0
acpicpu0 at acpi0: C1, PSS
acpitz0 at acpi0: critical temperature 95 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD01
acpivout1 at acpivideo0: DD02
acpivout2 at acpivideo0: DD04
acpivout3 at acpivideo0: DD05
acpivout4 at acpivideo0: DD04
acpivout5 at acpivideo0: DD05
bios0: ROM list: 0xc/0xe600! 0xce800/0x1000 0xe/0x1800!
cpu0: Enhanced SpeedStep 1242 MHz: speeds: 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel US15W Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel US15W Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp at vga1 not configured
azalia0 at pci0 dev 27 function 0 Intel SCH HD Audio rev 0x07: apic
2 int 22 (irq 10)
azalia0: codecs: Realtek ALC272
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel SCH PCIE rev 0x07: apic 2 int 17 (irq
4)
pci1 at ppb0 bus 2
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 2 int 16 (irq 7), address 00:23:8b:b3:c4:e7
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 1 Intel SCH PCIE rev 0x07: apic 2 int 16 (irq
7)
pci2 at ppb1 bus 3
mem address conflict 0xd000/0x1
ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq
4)
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0
uhci0 at pci0 dev 29 function 0 Intel SCH USB rev 0x07: apic 2 int 23 (irq
10)
uhci1 at pci0 dev 29 function 1 Intel SCH USB rev 0x07: apic 2 int 19 (irq
5)
uhci2 at pci0 dev 29 function 2 Intel SCH USB rev 0x07: apic 2 int 18 (irq
3)
ehci0 at pci0 dev 29 function 7 Intel SCH USB rev 0x07: apic 2 int 21 (irq
11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 Intel SCH LPC rev 0x07
pciide0 at pci0 dev 31 function 1 Intel SCH IDE rev 0x07: DMA,
channel 0 wired to compatibility
wd0 at pciide0 channel 0 drive 0: OCZ-VERTEX
wd0: 1-sector PIO, LBA48, 61057MB, 125045424 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 4 configuration 1 interface 0 SuYin WebCam rev
2.00/2.22 addr 2
video0 at uvideo0
umass0 at uhub0 port 7 configuration 1 interface 0 Generic
USB2.0-CRW rev 2.00/58.88 addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0
0/direct removable
sd0: 15193MB, 512 bytes/sec, 31116288 sec total
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
hw.sensors.acpitz0.temp0=55.00 degC (zone temperature)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibat0.volt0=11.10 VDC (voltage)

Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread Sergey Kish
Now with recompiled kernel

OpenBSD 4.8 (GENERIC) #3: Fri Jan 28 10:04:06 EET 2011
   r...@sergeykish.my.domain:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Atom(TM) CPU Z520 @ 1.33GHz (GenuineIntel 686-class) 1.25
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A
CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,xTPR,
PDCM,MOVBE
real mem  = 1063514112 (1014MB)
avail mem = 1036156928 (988MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/22/09, BIOS32 rev. 0 @
0xfda50, SMBIOS rev. 2.5 @ 0x3f6bf000 (35 entries)
bios0: vendor Acer version V0.3210 date 09/22/2009
bios0: Acer AO751h
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET MCFG TCPA TMOR APIC BOOT SLIC SSDT
acpi0: wakeup devices PWRB(S3) PXS1(S5) PXS2(S3) USB1(S3) USB2(S3) EHC1(S3)
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 124MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP02)
acpiec0 at acpi0
acpicpu0 at acpi0: C1, PSS
acpitz0 at acpi0: critical temperature 95 degC
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT1 not present
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD01
acpivout1 at acpivideo0: DD02
acpivout2 at acpivideo0: DD04
acpivout3 at acpivideo0: DD05
acpivout4 at acpivideo0: DD04
acpivout5 at acpivideo0: DD05
bios0: ROM list: 0xc/0xe600! 0xce800/0x1000 0xe/0x1800!
cpu0: Enhanced SpeedStep 1242 MHz: speeds: 1333, 1067, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel US15W Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel US15W Video rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp at vga1 not configured
azalia0 at pci0 dev 27 function 0 Intel SCH HD Audio rev 0x07: apic
2 int 22 (irq 10)
azalia0: codecs: Realtek ALC272
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel SCH PCIE rev 0x07: apic 2 int 17 (irq
4)
pci1 at ppb0 bus 2
re0 at pci1 dev 0 function 0 Realtek 8101E rev 0x02: RTL8102EL
(0x2480), apic 2 int 16 (irq 7), address 00:23:8b:b3:c4:e7
rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 28 function 1 Intel SCH PCIE rev 0x07: apic 2 int 16 (irq
7)
pci2 at ppb1 bus 3
mem address conflict 0xd000/0x1
ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq
4)
ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0
uhci0 at pci0 dev 29 function 0 Intel SCH USB rev 0x07: apic 2 int 23 (irq
10)
uhci1 at pci0 dev 29 function 1 Intel SCH USB rev 0x07: apic 2 int 19 (irq
5)
uhci2 at pci0 dev 29 function 2 Intel SCH USB rev 0x07: apic 2 int 18 (irq
3)
ehci0 at pci0 dev 29 function 7 Intel SCH USB rev 0x07: apic 2 int 21 (irq
11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 Intel SCH LPC rev 0x07
pciide0 at pci0 dev 31 function 1 Intel SCH IDE rev 0x07: DMA,
channel 0 wired to compatibility
wd0 at pciide0 channel 0 drive 0: OCZ-VERTEX
wd0: 1-sector PIO, LBA48, 61057MB, 125045424 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 4 configuration 1 interface 0 SuYin WebCam rev
2.00/2.22 addr 2
video0 at uvideo0
umass0 at uhub0 port 7 configuration 1 interface 0 Generic
USB2.0-CRW rev 2.00/58.88 addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: Generic-, Multi-Card, 1.00 SCSI0
0/direct removable
sd0: 15193MB, 512 bytes/sec, 31116288 sec total
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
ath0: unable to reset hardware; hal status 200
ath0: unable to reset hardware; hal status 3692322188



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread Neal Hogan
 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq
 4)
 ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0

First, why do you not think you have an AR5424 chipset? I ask because
you've said so elsewhere.

 ath0: unable to reset hardware; hal status 200
 ath0: unable to reset hardware; hal status 3692322188

Second, I wonder if you have that card marked as 'up after the
recompile. I have the same card and when I have it marked as 'down'
there is no problem. In fact, I wonder if compiling the kernal has
anything to do with it, because I've done that too with no unable to
reset hardware mesage. that message only occurs when I  mark the card
'up' and try to use it.

So, to fix the issue (if it is what I think it is), mark your card
as 'down' (i.e., ifconfig ath0 down). It's not supported (yet),
anyway.

-Neal



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread sergey . kish
 First, why do you not think you have an AR5424 chipset? I ask because
 you've said so elsewhere.

It is not AR5424.
My question is simple Why is it different?, maybe
What else can be different?

 So, to fix the issue ... mark your card as 'down' 

No, my issue isn't few lines in dmesg then
I try to use hardware. But working hardware.



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-28 Thread Neal Hogan
On Fri, Jan 28, 2011 at 6:48 AM,  sergey.k...@gmail.com wrote:
 First, why do you not think you have an AR5424 chipset? I ask because
 you've said so elsewhere.

 It is not AR5424.

Sorry, got confused by your dmesg, the subject to this thread, and the
subject of the message you sent to dmesg@ . . .

quote
-- Forwarded message --
From: Sergey Kish sergey.k...@gmail.com
Date: Wed, Jan 26, 2011 at 5:18 PM
Subject: Acer Aspire One 751, Atheros AR5424 doesn't work
To: dm...@openbsd.org
/quote

 My question is simple Why is it different?, maybe
 What else can be different?

 So, to fix the issue ... mark your card as 'down'

 No, my issue isn't few lines in dmesg then
 I try to use hardware. But working hardware.


You want to know why those lines are added to your dmesg, no? You want
to know what the difference is. I'm suggesting that, after you did
something (not necessarily the kernel compile), the difference is
that your system is now trying to use a card that is unsupported.



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread Jan Stary
 But why? There was no changes except kernel!

Indeed.
Thanks.



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread sergey . kish
 I've found that Luis Henriques was able to use it year ago
 http://www.mail-archive.com/tech@openbsd.org/msg01613.html

 Short answer, it doesn't work.

As you can see I've already red it. But here I'm not asking how to make AR5424
work. My point is different.

 No changes were applied, clean src.tar.gz and sys.tar.gz
 which I get from the same place as distribution CD...

I've made no changes and wait for no changes.
But behaviour changed!

-ath0: unable to reset hardware: hal status 3
+ath0: unable to reset hardware; hal status 200
+ath0: unable to reset hardware; hal status 3692322168

Why? Does install binaries were made not from provided source?



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread sergey . kish
 But why? There was no changes except kernel!

 Indeed.
 Thanks.

Jan, please read the message

 No changes were applied, clean src.tar.gz and sys.tar.gz
which I get from the same place as distribution CD

Once again. The only change I've made - recompiled kernel.
Same release kernel. Same as (I thought) was used to make
distribution.

But it gives me other errors. And the only way I know to make
other erros is different source code.

Is it true?



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread Stuart Henderson
On 2011-01-26, sergey.k...@gmail.com sergey.k...@gmail.com wrote:
 My Acer Aspire One 751 shipped with Atheros AR5424.
 It isn't supported, but was found during boot

 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 
 4)
 ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0

 It fails to scan network:

   $ ifconfig ath0 scan debug
   ath0: unable to reset hardware: hal status 3

 I've found that Luis Henriques was able to use it year ago
 http://www.mail-archive.com/tech@openbsd.org/msg01613.html

No, that is for an AR5424 10.2 phy 6.1, this will
not work with your AR5424 14.2 phy 7.0

 Why? I've made no changes in kernel and I was waiting for same error (status 
 3)!

Possibly the card is in a different state (cold boot vs warm boot)?
Could be lots of possible reasons.

I would suggest one of the mini-USB devices (or swapping the internal
card, but the mini-USB ones are much cheaper+easier to buy).



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread Sergey Kish
 Why? I've made no changes in kernel and I was waiting for same error (status 
 3)!
 Possibly the card is in a different state (cold boot vs warm boot)?
 Could be lots of possible reasons.

No, same state. I've copied binary kernel bsd from mirror and it
returns error 3 again.
What's why I've posted here.



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-27 Thread Philip Guenther
On Thu, Jan 27, 2011 at 3:17 PM, Sergey Kish sergey.k...@gmail.com wrote:
...
 No, same state. I've copied binary kernel bsd from mirror and it
 returns error 3 again.
 What's why I've posted here.

No dmesg, don't state what kernel you downloaded (snapshot?  4.8?),
and don't state what source branch you built from.  You didn't read
the How to create a problem report section of the FAQ I guess.

To head off a question: SNAPSHOTS OFTEN CONTAIN CODE THAT HASN'T BEEN
COMMITTED.  Similarly, there are often commits between when a snapshot
build started and when it was posted.  Failing to include dmesg output
means you don't really want an answer.


Philip Guenther



AR5424 diffirent errors before and after recompiling same kernel

2011-01-26 Thread sergey . kish
My Acer Aspire One 751 shipped with Atheros AR5424.
It isn't supported, but was found during boot

 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 4)
 ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0

It fails to scan network:

$ ifconfig ath0 scan debug
ath0: unable to reset hardware: hal status 3

I've found that Luis Henriques was able to use it year ago
http://www.mail-archive.com/tech@openbsd.org/msg01613.html

So I've started from recompiling my kernel.
No changes applied just src.tar.gz by ftp and recompiled kernel

Running same command gives me other errors:

$ ifconfig ath0 scan debug
ath0: unable to reset hardware; hal status 200
ath0: unable to reset hardware; hal status 3692322168

Running again gives only second:

$ ifconfig ath0 scan debug
ath0: unable to reset hardware; hal status 3692322168

Why? I've made no changes in kernel and I was waiting for same error (status 3)!

there was no changes except recompiling kernel. I've downloaded src.tar.gz and 
sys.tar.gz from ftp://ftp.spline.de/pub/OpenBSD/4.8/

which is official ftp mirror
12:33  sergeykish then I've used instructions from 
http://openbsd.org/faq/faq5.html 5.3.4 - Building the kernel

12:36  sergeykish yes, AR5424 isn't supported, but I've found 
http://www.mail-archive.com/tech@openbsd.org/msg01613.html
12:36  sergeykish and first step is recompiling kernel and checking same 
behaviour
12:37  sergeykish but for some reason it is changed, why?
12:37  sergeykish (I've recompiled kernel without patch)



AR5424 diffirent errors before and after recompiling same kernel

2011-01-26 Thread sergey . kish
Hello

My Acer Aspire One 751 shipped with Atheros AR5424.
It isn't supported, but was found during boot

 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 4)
 ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0

It fails to scan network:

$ ifconfig ath0 scan debug
ath0: unable to reset hardware: hal status 3

I've found that Luis Henriques was able to use it year ago
http://www.mail-archive.com/tech@openbsd.org/msg01613.html

So I've started from recompiling my kernel.
No changes were applied, clean src.tar.gz and sys.tar.gz
which I get from the same place as distribution CD
ftp://ftp.spline.de/pub/OpenBSD/4.8/ by FTP.

I've used 5.3.4 - Building the kernel FAQ insturctions
http://openbsd.org/faq/faq5.html

# cd /usr/src/sys/arch/i386/conf
# config GENERIC
# cd ../compile/GENERIC
# make clean  make depend  make
[...lots of output...]
# make install
# reboot

Now running same command gives me other errors:

$ ifconfig ath0 scan debug
ath0: unable to reset hardware; hal status 200
ath0: unable to reset hardware; hal status 3692322168

Running again gives only second:

$ ifconfig ath0 scan debug
ath0: unable to reset hardware; hal status 3692322168

But why? There was no changes except kernel!



Re: AR5424 diffirent errors before and after recompiling same kernel

2011-01-26 Thread Hugo Osvaldo Barrera
On 01/26/2011 12:35 PM, sergey.k...@gmail.com wrote:
 My Acer Aspire One 751 shipped with Atheros AR5424.
 It isn't supported, but was found during boot
 
 ath0 at pci2 dev 0 function 0 Atheros AR5424 rev 0x01: apic 2 int 17 (irq 
 4)
 ath0: AR5424 14.2 phy 7.0 rf 0.0, WOR5_ETSIC, address 00:24:2c:6f:ab:c0
 
 It fails to scan network:
 
   $ ifconfig ath0 scan debug
   ath0: unable to reset hardware: hal status 3
 
 I've found that Luis Henriques was able to use it year ago
 http://www.mail-archive.com/tech@openbsd.org/msg01613.html
 
 So I've started from recompiling my kernel.
 No changes applied just src.tar.gz by ftp and recompiled kernel
 
 Running same command gives me other errors:
 
   $ ifconfig ath0 scan debug
   ath0: unable to reset hardware; hal status 200
   ath0: unable to reset hardware; hal status 3692322168
 
 Running again gives only second:
 
   $ ifconfig ath0 scan debug
   ath0: unable to reset hardware; hal status 3692322168
 
 Why? I've made no changes in kernel and I was waiting for same error (status 
 3)!
 
 there was no changes except recompiling kernel. I've downloaded src.tar.gz 
 and sys.tar.gz from ftp://ftp.spline.de/pub/OpenBSD/4.8/
 
 which is official ftp mirror
 12:33  sergeykish then I've used instructions from 
 http://openbsd.org/faq/faq5.html 5.3.4 - Building the kernel
 
 12:36  sergeykish yes, AR5424 isn't supported, but I've found 
 http://www.mail-archive.com/tech@openbsd.org/msg01613.html
 12:36  sergeykish and first step is recompiling kernel and checking same 
 behaviour
 12:37  sergeykish but for some reason it is changed, why?
 12:37  sergeykish (I've recompiled kernel without patch)
 

Short answer, it doesn't work.

http://marc.info/?l=openbsd-miscm=129274716428603w=2
which just points to:
http://marc.info/?l=openbsd-miscm=126420221716157w=2

-- 
Hugo Osvaldo Barrera