Is Atheros AR9285 usable in AP mode ?

Claude Buisson clbuisson at orange.fr
Thu Aug 11 13:51:56 UTC 2011


Sorry, I had to travel these last days...

On 08/10/2011 07:33, Adrian Chadd wrote:
> is this on a laptop or some device with power saving enabled?
>
> Can you please provide some more background about what you are using?
>
> Thanks,  adrian
>

No, this is not a laptop, it is a "mini system" (Atom D525 ION2):

ZOTAC ZBOX I41 (see dmesg below)

and a do not run powerd, etc.

In the (AMI) BIOS there is an "Energy Lake" feature. Disabling it does not seems
to have a noticeable effect.

Disabling HyperThreading in the BIOS seems to have a small positive effect on
the packet loss rate (which remains at the 2-3 % level between station and ap).

I am running with hw.ath.bstuck=16 and the "stuck beacon" messages continue to flow.

At boot I find a:

power_profile: changed to 'performance'

entry in /var/log/messages, of which I can't get rid (I tried
power_profile_enable="NO" in rc.conf).

My test station is a 7.4-STABLE, with an 2200B/G iwi hardware, and for the
moment I run in open mode (for these tests).

On the other hand, I don't have any problem/loss running the ZBOX as a station
with my current access point (6 years old Netgear WG602v3) in WPA2 mode.

I can do furter tests at your will, if given sufficiently precise guidance.

Claude Buisson

> On 07/08/2011, Claude Buisson<clbuisson at orange.fr>  wrote:
>> Hi,
>>
>> I try to configure a new system as an access point, with:
>>
>> ath0:<Atheros 9285>  mem 0xfeaf0000-0xfeafffff irq 17 at device 0.0 on pci2
>> ath0: AR9285 mac 192.2 RF5133 phy 14.0
>>
>> ath0 at pci0:2:0:0: class=0x028000 card=0x10891a3b chip=0x002b168c rev=0x01
>> hdr=0x00
>>        vendor     = 'Atheros Communications Inc.'
>>        device     = 'AR9285 Wireless Network Adapter (PCI-Express)'
>>        class      = network
>>
>> According to the sticker, it is a:
>>
>> AzureWave AW-NE785 ATH-5B95
>>
>> I get a lot of:
>>
>>     ath0: stuck beacon: resetting (bmiss count 4)
>>
>> I set  hw.ath.bstuck=32
>>
>> but the stuck beacon messages continue flowing, and I suffer from packet
>> loss /
>> lost association of the test station.
>>
>> This is on a 9-CURRENT system amd64 SMP (2011/07/24 svn r224294).
>>
>> TIA,
>>
>> CBu
>>
>> P.S.: to prevent a number of useless questions (as seen when googling): I
>> live
>> in the country, with _no_ other wireless network in the vicinity :-)
>> _______________________________________________
>> freebsd-wireless at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org"
>>
>
-------------- next part --------------
Copyright (c) 1992-2011 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 9.0-CURRENT #0: Tue Aug  9 14:44:22 CEST 2011
    toor at zorglub:/usr/obj/home/src/sys/ZORGLUB amd64
CPU: Intel(R) Atom(TM) CPU D525   @ 1.80GHz (1795.74-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x106ca  Family = 6  Model = 1c  Stepping = 10
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x40e31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 4082229248 (3893 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <032111 APIC1732>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP/HT): APIC ID:  3
Security policy loaded: TrustedBSD MAC/Stub (mac_stub)
ioapic0: Changing APIC ID to 4
ioapic0 <Version 2.0> irqs 0-23 on motherboard
acpi0: <032111 XSDT1732> on motherboard
acpi0: Overriding SCI from IRQ 9 to IRQ 20
acpi0: Power Button (fixed)
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, bff00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
hdac0: <Intel 82801G High Definition Audio Controller> mem 0xfe8fc000-0xfe8fffff irq 16 at device 27.0 on pci0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfe9ff000-0xfe9fffff irq 16 at device 0.0 on pci1
xhci0: 32 byte context size.
usbus0 on xhci0
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pci2: <ACPI PCI bus> on pcib2
ath0: <Atheros 9285> mem 0xfeaf0000-0xfeafffff irq 17 at device 0.0 on pci2
ath0: AR9285 mac 192.2 RF5133 phy 14.0
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci3: <ACPI PCI bus> on pcib3
vgapci0: <VGA-compatible display> port 0xdc00-0xdc7f mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xce000000-0xcfffffff irq 18 at device 0.0 on pci3
nvidia0: <ION> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
hdac1: <NVidia (Unknown) High Definition Audio Controller> mem 0xfcf7c000-0xfcf7ffff irq 19 at device 0.1 on pci3
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0xcc00-0xcc1f irq 23 at device 29.0 on pci0
usbus1: <Intel 82801G (ICH7) USB controller USB-A> on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0xc880-0xc89f irq 19 at device 29.1 on pci0
usbus2: <Intel 82801G (ICH7) USB controller USB-B> on uhci1
uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0xc800-0xc81f irq 18 at device 29.2 on pci0
usbus3: <Intel 82801G (ICH7) USB controller USB-C> on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0xc480-0xc49f irq 16 at device 29.3 on pci0
usbus4: <Intel 82801G (ICH7) USB controller USB-D> on uhci3
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0xfe8fbc00-0xfe8fbfff irq 23 at device 29.7 on pci0
usbus5: EHCI version 1.0
usbus5: <Intel 82801GB/R (ICH7) USB 2.0 controller> on ehci0
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib4
re0: <RealTek 8169SC/8110SC Single-chip Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfebdfc00-0xfebdfcff irq 16 at device 11.0 on pci4
re0: Chip rev. 0x18000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 00:01:2e:2d:96:44
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel ICH7 AHCI SATA controller> port 0xb880-0xb887,0xc400-0xc403,0xc080-0xc087,0xc000-0xc003,0xbc00-0xbc1f mem 0xfe8fb800-0xfe8fbbff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ichsmb0: <Intel 82801GB (ICH7) SMBus controller> port 0x400-0x41f irq 19 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus generic I/O> on smbus0
acpi_button0: <Power Button> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <12 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
coretemp2: <CPU On-Die Thermal Sensors> on cpu2
coretemp3: <CPU On-Die Thermal Sensors> on cpu3
Timecounters tick every 1.000 msec
hdac0: HDA Codec #2: Realtek ALC888
pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 2 nid 1 on hdac0
pcm1: <HDA Realtek ALC888 PCM #1 Digital> at cad 2 nid 1 on hdac0
hdac1: HDA Codec #0: NVidia GT21x HDMI
hdac1: HDA Codec #1: NVidia GT21x HDMI
hdac1: HDA Codec #2: NVidia GT21x HDMI
hdac1: HDA Codec #3: NVidia GT21x HDMI
pcm2: <HDA NVidia GT21x HDMI PCM #0 DisplayPort> at cad 0 nid 1 on hdac1
pcm3: <HDA NVidia GT21x HDMI PCM #0 DisplayPort> at cad 1 nid 1 on hdac1
pcm4: <HDA NVidia GT21x HDMI PCM #0 DisplayPort> at cad 2 nid 1 on hdac1
pcm5: <HDA NVidia GT21x HDMI PCM #0 DisplayPort> at cad 3 nid 1 on hdac1
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
ugen0.1: <0x1106> at usbus0
uhub0: <0x1106 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
uhub0: 5 ports with 4 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
ugen0.2: <vendor 0x2109> at usbus0
uhub6: <vendor 0x2109 USB2.0 Hub, class 9/0, rev 2.00/20.00, addr 1> on usbus0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <Hitachi HTS725032A9A364 PC3OC70E> ATA-8 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #2 Launched!
Timecounter "TSC-low" frequency 14029209 Hz quality 1000
Root mount waiting for: usbus5 usbus0
uhub6: 4 ports with 4 removable, self powered
Root mount waiting for: usbus5
uhub5: 8 ports with 8 removable, self powered
Root mount waiting for: usbus5
Root mount waiting for: usbus5
ugen2.2: <Logitech> at usbus2
ums0: <Logitech USB-PS2 Optical Mouse, class 0/0, rev 2.00/11.10, addr 2> on usbus2
ums0: 3 buttons and [XYZ] coordinates ID=0
ugen5.2: <Generic> at usbus5
umass0: <Bulk-In, Bulk-Out, Interface> on usbus5
Root mount waiting for: usbus5
ugen2.3: <Logitech> at usbus2
ukbd0: <Logitech Logitech USB Keyboard, class 0/0, rev 2.00/60.00, addr 3> on usbus2
kbd0 at ukbd0
Trying to mount root from ufs:/dev/ada0p2 [rw]...
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <Generic- Multi-Card 1.00> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
bridge0: Ethernet address: 6e:3b:0a:a8:dc:cb
wlan0: Ethernet address: 48:5d:60:dc:20:ac


More information about the freebsd-wireless mailing list