Date: Sun, 24 Feb 2002 11:54:25 +0200 (EET) From: Adrian Penisoara <ady@usv.ro> To: freebsd-isp@freebsd.org, freebsd-network@freebsd.org Subject: Lucent Avaya Comm 11Mbps wireless eating all CPU Message-ID: <Pine.BSF.4.10.10202241132240.73481-200000@ady.warpnet.ro>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hi,
I have a PCMCIA Lucent Avaya Communication Silver 11Mbps wireless card
(hosted on a PCI PC Card bus) installed on a gateway with a Pentium
233Mhz MMX CPU and this card eats all CPU at about 3Mbps (with >90% of
the time spent in interrupts).
The strange thing is that it doesn't really generate that many
interrupts (about 100 interrupts per second, versus ~300 total
interrupts per second). The card is attached (through the pccardd
daemon) as a wi0 interface and has WEP encription (40bit key) enabled.
My hypothesis is that the CPU is hogged by the WEP encryption
calculations done by the driver in the interrupt handler or it might be
something wrong with the driver.
Has anyone seen this issue ? Is it normal ? Could a better CPU (e.g.
700Mh Duron) handle the whole 11Mbps bandwidth ?
Some background:
[ifconfig wi0]
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet xx.xx.xx.xx netmask 0xfffffff0 broadcast xx.xx.xx.xx
ether 00:02:2d:22:2c:3b
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
status: associated
ssid xxxx 1:xxxx
stationname "FreeBSD WaveLAN/IEEE node"
channel 10 authmode NONE powersavemode OFF powersavesleep 100
wepmode MIXED weptxkey 1
wepkey 1:64-bit
[wicontrol -i wi0]
NIC serial number: [ 01UT21446483 ]
Station name: [ FreeBSD WaveLAN/IEEE node ]
SSID for IBSS creation: [ xxxx ]
Current netname (SSID): [ xxxx ]
Desired netname (SSID): [ xxxx ]
Current BSSID: [ 00:02:2d:30:f1:a2 ]
Channel list: [ 2047 ]
IBSS channel: [ 10 ]
Current channel: [ 10 ]
Comms quality/signal/noise: [ 33 88 55 ]
Promiscuous mode: [ Off ]
Port type (1=BSS, 3=ad-hoc): [ 1 ]
MAC address: [ 00:02:2d:22:2c:3b ]
TX rate (selection): [ 3 ]
TX rate (actual speed): [ 11 ]
RTS/CTS handshake threshold: [ 2347 ]
Create IBSS: [ Off ]
Access point density: [ 1 ]
Power Mgmt (1=on, 0=off): [ 0 ]
Max sleep time: [ 100 ]
WEP encryption: [ On ]
TX encryption key: [ 1 ]
Encryption keys: [ xxxxx ][ ][ ][ ]
[console.log]
Feb 23 13:15:14 xxx /kernel: Feb 23 13:15:14 fw pccardd[57]: wi0: Avaya
Communication (Avaya Wireless PC Card) remov
ed.
Feb 23 13:15:24 xxx /kernel: Feb 23 13:15:24 fw pccardd[57]: Card "Avaya
Communication"("Avaya Wireless PC Card") [V
ersion 01.01] [] matched "Avaya Communication" ("Avaya Wireless PC
Card") [(null)] [(null)]
Feb 23 13:15:29 xxx /kernel: Feb 23 13:15:29 fw pccardd[57]: wi0: Avaya
Communication (Avaya Wireless PC Card) inser
ted.
Feb 23 13:56:28 xxx /kernel: Feb 23 13:56:28 fw pccardd[57]: wi0: Avaya
Communication (Avaya Wireless PC Card) remov
ed.
Feb 23 14:02:35 xxx /kernel: Feb 23 14:02:35 fw pccardd[57]: Card "Avaya
Communication"("Avaya Wireless PC Card") [V
ersion 01.01] [] matched "Avaya Communication" ("Avaya Wireless PC
Card") [(null)] [(null)]
Feb 23 14:02:40 xxx /kernel: Feb 23 14:02:40 fw pccardd[57]: wi0: Avaya
Communication (Avaya Wireless PC Card) inser
ted.
Dmesg attached. If further details are needed please ask.
Thank you,
Ady (@usv.ro)
net/sys admin
DCTI, USV
[-- Attachment #2 --]
Copyright (c) 1992-2002 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 4.5-STABLE #7: Fri Feb 22 21:23:46 EET 2002
root@xxx.usv.ro:/usr/obj/usr/src/sys/FW-GW
Timecounter "i8254" frequency 1193449 Hz
CPU: Pentium/P55C (233.92-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x543 Stepping = 3
Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory = 50331648 (49152K bytes)
avail memory = 46219264 (45136K bytes)
Preloaded elf kernel "kernel" at 0xc02cb000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02cb0a8.
Preloaded elf module "vesa.ko" at 0xc02cb0f8.
Intel Pentium detected, installing workaround for F00F bug
VESA: v1.2, 1024k memory, flags:0x0, mode table:0xc02c8274 (1000014)
VESA: Cirrus Logic GD-54xx VGA
Using $PIR table, 6 entries at 0xc00fd8e0
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
rl0: <RealTek 8139 10/100BaseTX> port 0x6500-0x65ff mem 0xe0001000-0xe00010ff irq 11 at device 8.0 on pci0
rl0: Ethernet address: 00:20:18:89:95:fc
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0x6600-0x661f irq 10 at device 9.0 on pci0
ed0: address 00:20:18:2e:47:ba, type NE2000 (16 bit)
de0: <Digital 21140A Fast Ethernet> port 0x6700-0x677f mem 0xe0000000-0xe000007f irq 9 at device 10.0 on pci0
de0: can't read ENET ROM (why=-4) (0000000000000000ff00ffffffffffffffffffffffffffffffffffffffffffff
de0: 21140A [10-100Mb/s] pass 2.2
de0: address unknown
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 12 at device 11.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pccard0: <PC Card bus (classic)> on pcic0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: cannot reserve I/O port range
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging limited to 10000 packets/entry by default
DUMMYNET initialized (011031)
IP Filter: v3.4.20 initialized. Default = pass all, Logging = enabled
ad0: 4134MB <QUANTUM BIGFOOT_CY4320A> [8960/15/63] at ata0-master WDMA2
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
pccard: card removed, slot 0
pccard: card inserted, slot 0
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 12 slot 0 on pccard0
wi0: Ethernet address: 00:02:2d:22:2c:3b
wi0: detached
pccard: card removed, slot 0
pccard: card inserted, slot 0
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 12 slot 0 on pccard0
wi0: Ethernet address: 00:02:2d:22:2c:3b
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10202241132240.73481-200000>
