Subject: Re: wi0 + wep network problems
To: None <current-users@netbsd.org>
From: Jeff Ito <jeffito@speakeasy.net>
List: current-users
Date: 02/26/2006 16:30:28
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Sun, Feb 26, 2006 at 03:06:14PM -0600, David Young wrote:
> On Sun, Feb 26, 2006 at 03:40:48PM -0500, Jeff Ito wrote:
> > Hello,
> >
> > I have a laptop with a D-Link (DWL-650) wireless card. This card has
> > been working flawlessly for quite some time. Recently I have decided
> > to enable WEP (128-bit), and now my connection routinely halts and I
> > need to run '/etc/rc.d/network restart' before I am able to make any
> > connections again.
> >
> > I am running very recent current
> > NetBSD 3.99.15 #0: Sun Feb 26 07:05:53 EST 2006
> > however, before upgrading (reinstalling) this laptop, it was 3.99.6
> > and I was experiencing the same problems.
> >
> > I have no good idea on where to begin troubleshooting this.
>
> Please send contents of /var/run/dmesg.boot. Also, send output from
> ifconfig -v wi0, both before and after the interface locks up.
>
Requested info attached.
Something I overlooked previously that a diff on the ifconfig outputs
helped point out, is the OACTIVE flag being present after the lock
ups.
Jeff
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.boot"
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 3.99.15 (LAPTOP) #0: Sun Feb 26 07:05:53 EST 2006
jeff@uni:/export/netbsd/src/sys/arch/i386/compile/LAPTOP
total memory = 383 MB
avail memory = 367 MB
BIOS32 rev. 0 found at 0xfe0db
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 646.86 MHz, id 0x683
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 256 KB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
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: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xd0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: S3 Savage/IX+MV (rev. 0x11)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 5 function 0
pcib0: Intel 82371AB (PIIX4) PCI-ISA Bridge (rev. 0x02)
piixide0 at pci0 dev 5 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 5 function 2: Intel 82371AB (PIIX4) USB Host Controller (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB (PIIX4) Power Management Controller (miscellaneous bridge, revision 0x03) at pci0 dev 5 function 3 not configured
fxp0 at pci0 dev 8 function 0: i82559S Ethernet, rev 9
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:10:a4:0e:b1:4e
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Xircom product 0x00d4 (serial communications, interface 0x02) at pci0 dev 8 function 1 not configured
cbb0 at pci0 dev 11 function 0: Toshiba ToPIC100 PCI-CardBus Bridge (rev. 0x20)
cbb0: NOT USED because of unconfigured interrupt
cbb1 at pci0 dev 11 function 1: Toshiba ToPIC100 PCI-CardBus Bridge (rev. 0x20)
cbb1: NOT USED because of unconfigured interrupt
yds0 at pci0 dev 12 function 0: Yamaha 754 (DS-1E) Audio (rev. 0x00)
yds0: interrupting at irq 11
yds0: ac97: Asahi Kasei AK4541/AK4543 codec; headphone, 18 bit DAC, 18 bit ADC, AKM 3D
yds0: ac97: ext id 200<AMAP>
audio0 at yds0: full duplex, mmap, independent
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
pckbc0 at isa0 port 0x60-0x64
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
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
pcppi0: attached to attimer0
isapnp0: no ISA Plug 'n Play devices found
opl0 at yds0: model OPL3
midi1 at opl0: DS-1 integrated Yamaha OPL3
mpu0 at yds0
midi2 at mpu0: Yamaha DS-1 MIDI UART
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..4..5..9..10
pcic0: using irq 3 for socket events
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
wi0 at pcmcia0 function 0: <D, Link DWL-650 11Mbps WLAN Card, Version 01.02, >
pcic0: port 0x400-0x43f
pcmcia0: card irq 4
wi0: 802.11 address 00:05:5d:da:7e:5a
wi0: using RF:PRISM2.5 MAC:ISL3873B(PCMCIA)
wi0: Intersil Firmware: Primary (1.0.7), Station (1.3.5)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wd0 at atabus0 drive 0: <TOSHIBA MK1016GAP>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 9590 MB, 19485 cyl, 16 head, 63 sec, 512 bytes/sect x 19640880 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-C2402, 0100205353, 1317> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
pcmcia0: card irq 4
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wi0: link state changed to UP
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ifconfig.pre.halt"
wi0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ssid bob nwkey *****
powersave off
bssid 00:12:17:aa:0d:fd chan 9
address: 00:05:5d:da:7e:5a
media: IEEE802.11 autoselect (DS11)
status: active
input: 9211 packets, 5251707 bytes, 5 multicasts
output: 9735 packets, 1229921 bytes, 5 multicasts, 510 collisions
rx frame with bad version: 0
rx frame too short: 0
rx from wrong bssid: 0
rx discard 'cuz dup: 0
rx w/ wrong direction: 0
rx discard 'cuz mcast echo: 0
rx discard 'cuz sta !assoc: 0
rx w/ wep but privacy off: 0
rx w/o wep and privacy on: 0
rx wep processing failed: 0
rx decapsulation failed: 0
rx discard mgt frames: 0
rx discard ctrl frames: 0
rx beacon frames: 0
rx rate set truncated: 0
rx required element missin: 0
rx element too big: 0
rx element too small: 0
rx element unknown: 0
rx frame w/ invalid chan: 0
rx frame chan mismatch: 0
rx frame dropped: 0
rx frame ssid mismatch : 0
rx w/ unsupported auth alg: 0
rx sta auth failure: 0
rx auth discard 'cuz CM: 0
rx assoc from wrong bssid: 0
rx assoc w/o auth: 0
rx assoc w/ cap mismatch: 0
rx assoc w/ no rate match: 0
rx assoc w/ bad WPA IE: 0
rx deauthentication: 0
rx disassociation: 0
rx frame w/ unknown subtyp: 0
rx failed for lack of buf: 0
rx decrypt failed on crc: 0
rx discard ahdemo mgt fram: 0
rx bad auth request: 0
rx on unauthorized port: 0
rx w/ incorrect keyid: 0
rx seq# violation (CCMP): 0
rx format bad (CCMP): 0
rx MIC check failed (CCMP): 0
rx seq# violation (TKIP): 0
rx format bad (TKIP): 0
rx MIC check failed (TKIP): 0
rx ICV check failed (TKIP): 0
rx failed 'cuz key type: 0
rx failed 'cuz key !setup: 0
rx discard 'cuz acl policy: 0
tx failed for lack of buf: 0
tx failed for no node: 0
tx of unknown mgt frame: 0
tx failed 'cuz key type: 0
tx failed 'cuz no defkey: 0
tx failed 'cuz no space: 0
active scans started: 0
passive scans started: 0
nodes timed out inactivity: 0
no memory for crypto ctx: 0
tkip crypto done in s/w: 0
tkip en-MIC done in s/w: 0
tkip de-MIC done in s/w: 0
tkip counter measures: 0
ccmp crypto done in s/w: 0
wep crypto done in s/w: 0
cipher rejected key: 0
no key index for setkey: 0
driver key delete failed: 0
unknown cipher: 0
cipher not available: 0
cipher attach failed: 0
cipher fallback to s/w: 0
driver key alloc failed: 0
en-MIC failed: 0
merge failed-cap mismatch: 0
merge failed-rate mismatch: 0
ps-poll for unassoc. sta: 0
ps-poll w/ incorrect aid: 0
ps-poll w/ nothing to send: 0
inet 192.168.0.251 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::205:5dff:feda:7e5a%wi0 prefixlen 64 scopeid 0x3
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ifconfig.post.halt"
wi0: flags=8c63<UP,BROADCAST,NOTRAILERS,RUNNING,OACTIVE,SIMPLEX,MULTICAST> mtu 1500
ssid bob nwkey *****
powersave off
bssid 00:12:17:aa:0d:fd chan 9
address: 00:05:5d:da:7e:5a
media: IEEE802.11 autoselect (DS11)
status: active
input: 9306 packets, 5307412 bytes, 5 multicasts
output: 9845 packets, 1255205 bytes, 5 multicasts, 510 collisions
rx frame with bad version: 0
rx frame too short: 0
rx from wrong bssid: 0
rx discard 'cuz dup: 0
rx w/ wrong direction: 0
rx discard 'cuz mcast echo: 0
rx discard 'cuz sta !assoc: 0
rx w/ wep but privacy off: 0
rx w/o wep and privacy on: 0
rx wep processing failed: 0
rx decapsulation failed: 0
rx discard mgt frames: 0
rx discard ctrl frames: 0
rx beacon frames: 0
rx rate set truncated: 0
rx required element missin: 0
rx element too big: 0
rx element too small: 0
rx element unknown: 0
rx frame w/ invalid chan: 0
rx frame chan mismatch: 0
rx frame dropped: 0
rx frame ssid mismatch : 0
rx w/ unsupported auth alg: 0
rx sta auth failure: 0
rx auth discard 'cuz CM: 0
rx assoc from wrong bssid: 0
rx assoc w/o auth: 0
rx assoc w/ cap mismatch: 0
rx assoc w/ no rate match: 0
rx assoc w/ bad WPA IE: 0
rx deauthentication: 0
rx disassociation: 0
rx frame w/ unknown subtyp: 0
rx failed for lack of buf: 0
rx decrypt failed on crc: 0
rx discard ahdemo mgt fram: 0
rx bad auth request: 0
rx on unauthorized port: 0
rx w/ incorrect keyid: 0
rx seq# violation (CCMP): 0
rx format bad (CCMP): 0
rx MIC check failed (CCMP): 0
rx seq# violation (TKIP): 0
rx format bad (TKIP): 0
rx MIC check failed (TKIP): 0
rx ICV check failed (TKIP): 0
rx failed 'cuz key type: 0
rx failed 'cuz key !setup: 0
rx discard 'cuz acl policy: 0
tx failed for lack of buf: 0
tx failed for no node: 0
tx of unknown mgt frame: 0
tx failed 'cuz key type: 0
tx failed 'cuz no defkey: 0
tx failed 'cuz no space: 0
active scans started: 0
passive scans started: 0
nodes timed out inactivity: 0
no memory for crypto ctx: 0
tkip crypto done in s/w: 0
tkip en-MIC done in s/w: 0
tkip de-MIC done in s/w: 0
tkip counter measures: 0
ccmp crypto done in s/w: 0
wep crypto done in s/w: 0
cipher rejected key: 0
no key index for setkey: 0
driver key delete failed: 0
unknown cipher: 0
cipher not available: 0
cipher attach failed: 0
cipher fallback to s/w: 0
driver key alloc failed: 0
en-MIC failed: 0
merge failed-cap mismatch: 0
merge failed-rate mismatch: 0
ps-poll for unassoc. sta: 0
ps-poll w/ incorrect aid: 0
ps-poll w/ nothing to send: 0
inet 192.168.0.251 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::205:5dff:feda:7e5a%wi0 prefixlen 64 scopeid 0x3
--W/nzBZO5zC0uMSeA--