AR9220 - R52Hn Mikrotik High Power 802.11a/b/g/n mPCI Adapter not functional
-
I can't get my shiny new R52Hn Mikrotik High Power 802.11a/b/g/n mPCI Adapter to work. Its an Atheros based chipset. Can somone help me through configuring it? I read that it was supported, but I can't figure it out.
Using it on an ALIX.2D13 Pc Engines setup.
dmesg output
Copyright 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-RELEASE-p4 #0: Fri Jun 3 05:31:30 EDT 2011
sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_wrap.8.i386 i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by AMD PCS (498.05-MHz 586-class CPU)
Origin = "AuthenticAMD" Id = 0x5a2 Family = 5 Model = a Stepping = 2
Features=0x88a93d <fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx>AMD Features=0xc0400000 <mmx+,3dnow!+,3dnow!>real memory = 268435456 (256 MB)
avail memory = 243433472 (232 MB)
pnpbios: Bad PnP BIOS data checksum
wlan: mac acl policy registered
ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_bss_fw, 0xc0708980, 0) error 1
ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc0708a20, 0) error 1
wpi: You need to read the LICENSE file in /usr/share/doc/legal/intel_wpi/.
wpi: If you agree with the license, set legal.intel_wpi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (wpi_fw, 0xc087b840, 0) error 1
ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc0708ac0, 0) error 1
K6-family MTRR support enabled (2 registers)
ACPI Error: A valid RSDP was not found (20100331/tbxfroot-309)
ACPI: Table initialisation failed: AE_NOT_FOUND
ACPI: Try disabling either ACPI or apic support.
cryptosoft0: <software crypto="">on motherboard
padlock0: No ACE support.
pcib0: <host to="" pci="" bridge="">pcibus 0 on motherboard
pci0: <pci bus="">on pcib0
Geode LX: PC Engines ALIX.2 v0.99h tinyBIOS V1.4a (C)1997-2007
pci0: <encrypt decrypt,="" entertainment="" crypto="">at device 1.2 (no driver attached)
vr0: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1000-0x10ff mem 0xe0000000-0xe00000ff irq 10 at device 9.0 on pci0
vr0: Quirks: 0x2
vr0: Revision: 0x96
miibus0: <mii bus="">on vr0
ukphy0: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: [ITHREAD]
vr1: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1400-0x14ff mem 0xe0040000-0xe00400ff irq 11 at device 10.0 on pci0
vr1: Quirks: 0x2
vr1: Revision: 0x96
miibus1: <mii bus="">on vr1
ukphy1: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr1: [ITHREAD]
vr2: <via 10="" vt6105m="" rhine="" iii="" 100basetx="">port 0x1800-0x18ff mem 0xe0080000-0xe00800ff irq 15 at device 11.0 on pci0
vr2: Quirks: 0x2
vr2: Revision: 0x96
miibus2: <mii bus="">on vr2
ukphy2: <generic ieee="" 802.3u="" media="" interface="">PHY 1 on miibus2
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr2: [ITHREAD]
ath0: <atheros 9280="">mem 0xe00c0000-0xe00cffff irq 9 at device 12.0 on pci0
ath0: [ITHREAD]
ath0: AR9280 mac 128.2 RF5133 phy 13.0
isab0: <pci-isa bridge="">port 0x6000-0x6007,0x6100-0x61ff,0x6200-0x623f,0x9d00-0x9d7f,0x9c00-0x9c3f at device 15.0 on pci0
isa0: <isa bus="">on isab0
atapci0: <amd cs5536="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 15.2 on pci0
ata0: <ata 0="" channel="">on atapci0
ata0: [ITHREAD]
ata1: <ata 1="" channel="">on atapci0
ata1: [ITHREAD]
ohci0: <ohci (generic)="" usb="" controller="">mem 0xefffe000-0xefffefff irq 12 at device 15.4 on pci0
ohci0: [ITHREAD]
usbus0: <ohci (generic)="" usb="" controller="">on ohci0
ehci0: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">mem 0xefffd000-0xefffdfff irq 12 at device 15.5 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <amd cs5536="" (geode)="" usb="" 2.0="" controller="">on ehci0
cpu0 on motherboard
orm0: <isa option="" rom="">at iomem 0xe0000-0xea7ff pnpid ORM0000 on isa0
atrtc0: <at real="" time="" clock="">at port 0x70 irq 8 on isa0
ppc0: parallel port not found.
uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
uart0: [FILTER]
uart0: console (9600,n,8,1)
uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0
uart1: [FILTER]
Timecounter "TSC" frequency 498053359 Hz quality 800
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <amd>at usbus0
uhub0: <amd 1="" 9="" ohci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus0
ugen1.1: <amd>at usbus1
uhub1: <amd 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usbus1
ad0: 967MB <cf 20110221="" 1gb="">at ata0-master PIO4
Root mount waiting for: usbus1 usbus0
uhub0: 4 ports with 4 removable, self powered
Root mount waiting for: usbus1
uhub1: 4 ports with 4 removable, self powered
Trying to mount root from ufs:/dev/ufs/pfsense1
ath0: unable to reset hardware; hal status 14
ath0: ath_chan_set: unable to reset channel 1 (2412 MHz, flags 0xa0), hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: ath_chan_set: unable to reset channel 6 (2437 MHz, flags 0xa0), hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0xa0), hal status 3
ath0: ath_chan_set: unable to reset channel 7 (2442 MHz, flags 0xa0), hal status 3
ath0: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
pflog0: promiscuous mode enabled
ath0: unable to reset hardware; hal status 3
ath0: ath_chan_set: unable to reset channel 1 (2412 MHz, flags 0x480), hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
wlan0: changing name to 'ath0_wlan0'
ath0: unable to reset hardware; hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: ath_chan_set: unable to reset channel 6 (2437 MHz, flags 0x480), hal status 3
ath0: ath_reset: unable to reset hardware; hal status 3
ath0: ath_chan_set: unable to reset channel 11 (2462 MHz, flags 0x480), hal status 3
ath0: ath_chan_set: unable to reset channel 7 (2442 MHz, flags 0x480), hal status 3
ath0: ath_chan_set: unable to reset channel 13 (2472 MHz, flags 0x480), hal status 3
ath0: ath_chan_set: unable to reset channel 2 (2417 MHz, flags 0x480), hal status 3
ath0: ath_chan_set: unable to reset channel 1 (2412 MHz, flags 0x480), hal status 3
ath0: unable to reset hardware; hal status 3
ath0: unable to reset hardware; hal status 3
(END)</cf></amd></amd></amd></amd></at></isa></amd></amd></ohci></ohci></ata></ata></amd></isa></pci-isa></atheros></generic></mii></via></generic></mii></via></generic></mii></via></encrypt></pci></host></software></mmx+,3dnow!+,3dnow!></fpu,de,pse,tsc,msr,cx8,sep,pge,cmov,clflush,mmx> -
Alrighty, so the card isn't dead.
IpFire - Works
DD-WRT - Most recent brainslayer build from here http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fothers%2Feko%2FBrainSlayer-V24-preSP2%2F2011%2F05-08-11-r16994%2Fx86/ - Works
Mikrotik RouterOS 5.4 - WorksSomething is wrong with FreeBSD drivers. :(
I'm a linux guy, dunno how to proceed. -
Supposedly the chipset is well supported from Adrian Chadd's work..
http://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport
http://wiki.freebsd.org/dev/ath_hal%284%29
sys/dev/ath/ath_hal/ar9002/ - AR9002 specific routines - AR9220, AR9280, AR9285 -
Do you know when support was introduced?
pfSense 2.0 is based on FreeBSD 8.1 which has been out for while now. It may be possible to use a newer driver. Search the forum.Steve
-
Don't worry, I've been searching diligently.
But I'm totally confused about BSD coming from Linux.
Don't really understand BSD driver system or build process at ALL. -
That card isn't supported until FreeBSD 9, won't work in any release versions.