Subject: mode 11g on ath(4) on Soekris net4801
To: NetBSD-current Discussion List <current-users@netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: current-users
Date: 01/14/2005 17:17:52
--Apple-Mail-2-732337025
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
I am running 2.99.13 on Soekris net4801 am see strange behaviour of the
ath interface. The interface is configured in hostap mode with no IP
address. (A bridge0 interface is setup to bridge Ethernet traffic to
the wirelss network.)
ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu
1500
ssid Planix nwkey xxxxxxxxxxxxx
powersave off
bssid 00:02:6f:20:f5:4a chan 11
address: 00:02:6f:20:f5:4a
media: IEEE802.11 autoselect mode 11b hostap
status: active
inet6 fe80::202:6fff:fe20:f54a%ath0 prefixlen 64 scopeid 0x4
This configuration works fine.
If I change the mode to 11g the system starts be behave erratic. At
times, the amount of time the system spends processing interrupts goes
to 100%, the system appears looked up for up to minutes at on end.
Packet loss across the wireless link is greater that 70%. The interrupt
rate then is anywhere from 120/sec to 19000/sec. At other times the
cpu usage is about what i expect (ie. interrupt cpu about 2 to 5 %) but
the interrupt rate is still one or two orders of magnitude greater then
the number of packets moved by the interface. (ie 500 interrupts for 2
packets).
What can I do to find out what is going on?
NetBSD 2.99.13 (NET4801) #13: Thu Jan 13 12:36:33 EST 2005
root@woffi.planix.com:/m5/netbsd-current/obj.i386/sys/arch/i386/
compile/
NET4801
total memory = 127 MB
avail memory = 121 MB
BIOS32 rev. 0 found at 0xf7840
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: National Semiconductor Geode GX1 (586-class), 266.65 MHz, id 0x540
cpu0: features 808131<FPU,TSC,MSR,CX8>
cpu0: features 808131<CMOV,MMX>
cpu0: "Geode(TM) Integrated Processor by National Semi"
cpu0: I-cache 12K uOp cache 8-way
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Cyrix MediaGX Built-in PCI Host Controller (rev. 0x00)
sip0 at pci0 dev 6 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip0: interrupting at irq 10
sip0: Ethernet address 00:00:24:c1:cf:18
nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sip1 at pci0 dev 7 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip1: interrupting at irq 10
sip1: Ethernet address 00:00:24:c1:cf:19
nsphyter1 at sip1 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sip2 at pci0 dev 8 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip2: interrupting at irq 10
sip2: Ethernet address 00:00:24:c1:cf:1a
nsphyter2 at sip2 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ath0 at pci0 dev 14 function 0
ath0: interrupting at irq 11
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36M
bps 48Mbps 54Mbps
ath0: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
pcib0 at pci0 dev 18 function 0
pcib0: National Semiconductor SC1100 PCI-ISA bridge (rev. 0x00)
National Semiconductor SC1100 SMI/ACPI (miscellaneous bridge) at pci0
dev 18 fun
ction 1 not configured
geodeide0 at pci0 dev 18 function 2
geodeide0: AMD Geode SC1100 IDE controller (rev. 0x01)
geodeide0: bus-master DMA support present
geodeide0: primary channel wired to compatibility mode
geodeide0: primary channel interrupting at irq 14
atabus0 at geodeide0 channel 0
geodeide0: secondary channel wired to compatibility mode
geodeide0: secondary channel interrupting at irq 15
atabus1 at geodeide0 channel 1
National Semiconductor SC1100 X-Bus (miscellaneous bridge) at pci0 dev
18 functi
on 5 not configured
ohci0 at pci0 dev 19 function 0: Compaq USB Controller (rev. 0x08)
ohci0: interrupting at irq 5
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Compaq OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pcppi0 at isa0 port 0x61
npx0 at isa0 port 0xf0-0xff: using exception 16
IPsec: Initialized Security Association Processing.
wd0 at atabus0 drive 0: <IBM-DMDM-10340>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 342 MB, 695 cyl, 16 head, 63 sec, 512 bytes/sect x 700560 sectors
wd0: 32-bit data port
wd0(geodeide0:0:0): using PIO mode 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cc_microset[0]: delta -55991983, resetting state
ath0: creating bss 00:02:6f:20:f5:4a
cc_microset[0]: delta 1755612, resetting state
--
aew
--Apple-Mail-2-732337025
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFB6EUUEh/h9J/TQyERAr30AJ9yNkU64JGNLzhp5DFcL2emh8tQIwCgnjzq
U8A7D1bz6wyJDcA81PiaxUY=
=7hoi
-----END PGP SIGNATURE-----
--Apple-Mail-2-732337025--