NetBSD Problem Report #9701
Received: (qmail 15531 invoked from network); 29 Mar 2000 06:03:01 -0000
Message-Id: <200003290601.e2T61e405179@itojun.org>
Date: Wed, 29 Mar 2000 15:01:40 +0900 (JST)
From: itojun@itojun.org
Reply-To: itojun@itojun.org
To: gnats-bugs@gnats.netbsd.org
Subject: wi driver: 11M card does not show statistics on wiconfig -o
X-Send-Pr-Version: 3.95
>Number: 9701
>Category: kern
>Synopsis: wi driver: 11M card does not show statistics on wiconfig -o
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 28 22:06:00 +0000 2000
>Closed-Date: Tue Jul 04 05:07:36 +0000 2000
>Last-Modified: Tue Jul 04 05:07:36 +0000 2000
>Originator: Jun-ichiro itojun Hagino
>Release:
>Organization:
itojun.org
>Environment:
using if_wi.c revision 1.6, backported to NetBSD 1.4.2 + KAME.
System: NetBSD lychee.itojun.org 1.4.2 NetBSD 1.4.2 (LYCHEE.v6) #809: Tue Mar 28 13:46:38 JST 2000 itojun@lychee.itojun.org:/export/home/itojun/k/kame/netbsd/sys/arch/i386/compile/LYCHEE.v6 i386
Buffalo 11M card (which is OEM of Lucent card)
I know NetBSD-current user has the same symptom, with Lucent 11M card.
>Description:
wiconfig -o does not seem to work properly on 11M cards.
Transmitted unicast frames: 0
Transmitted multicast frames: 0
Transmitted fragments: 0
Transmitted unicast octets: 0
Transmitted multicast octets: 0
Single transmit retries: 0
Multiple transmit retries: 0
Transmit retry limit exceeded: 0
Transmit discards: 0
Transmit discards due to wrong SA: 0
Received unicast frames: 0
Received multicast frames: 0
Received fragments: 0
Received unicast octets: 0
Received multicast octets: 0
Receive FCS errors: 0
Receive discards due to no buffer: 0
Can't decrypt WEP frame: 0
Received message fragments: 0
Received message bad fragments: 0
>How-To-Repeat:
% wiconfig -i wi0 -o
>Fix:
>Release-Note:
>Audit-Trail:
From: enami tsugutomo <enami@sm.sony.co.jp>
To: itojun@itojun.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/9701: wi driver: 11M card does not show statistics on wiconfig -o
Date: 29 Mar 2000 15:18:32 +0900
itojun@itojun.org writes:
> >Synopsis: wi driver: 11M card does not show statistics on wiconfig -o
So, does anyone know whether it works with another type of card?
# I'm wondering that whether it is related that wi_cmd() in wi_inquire
# times out...
enami.
From: enami tsugutomo <enami@sm.sony.co.jp>
To: itojun@itojun.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/9701: wi driver: 11M card does not show statistics on wiconfig -o
Date: 03 Jul 2000 18:42:13 +0900
itojun@itojun.org writes:
> >Synopsis: wi driver: 11M card does not show statistics on wiconfig -o
Recently, I found that wiconfig -o works with if_wi.c rev 1.22 and
Melco WLA-L11. Is the behaviour depends on the station?
enami.
From: itojun@iijlab.net
To: enami tsugutomo <enami@sm.sony.co.jp>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/9701: wi driver: 11M card does not show statistics on wiconfig -o
Date: Mon, 03 Jul 2000 18:44:04 +0900
>> >Synopsis: wi driver: 11M card does not show statistics on wiconfig -o
>Recently, I found that wiconfig -o works with if_wi.c rev 1.22 and
>Melco WLA-L11. Is the behaviour depends on the station?
i'll try to do it again when i go home. thanks.
itojun
From: itojun@iijlab.net
To: enami tsugutomo <enami@sm.sony.co.jp>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/9701: wi driver: 11M card does not show statistics on wiconfig -o
Date: Tue, 04 Jul 2000 12:33:43 +0900
>> >Synopsis: wi driver: 11M card does not show statistics on wiconfig -o
>Recently, I found that wiconfig -o works with if_wi.c rev 1.22 and
>Melco WLA-L11. Is the behaviour depends on the station?
I have the exactly the same card, but it does not work.
I'm using melco card against melco base station, on top of mostly
GENERIC i386 kernel.
itojun
itojun[starfruit:~] wiconfig wi0 -o
Transmitted unicast frames: 0
Transmitted multicast frames: 0
Transmitted fragments: 0
Transmitted unicast octets: 0
Transmitted multicast octets: 0
Single transmit retries: 0
Multiple transmit retries: 0
Transmit retry limit exceeded: 0
Transmit discards: 0
Transmit discards due to wrong SA: 0
Received unicast frames: 0
Received multicast frames: 0
Received fragments: 0
Received unicast octets: 0
Received multicast octets: 0
Receive FCS errors: 0
Receive discards due to no buffer: 0
Can't decrypt WEP frame: 0
Received message fragments: 0
Received message bad fragments: 0
itojun[starfruit:~] netstat -in |grep wi0
wi0 1500 <Link> 00:60:1d:f1:86:61 22 1 21 2 0
wi0 1500 fe80::/64 fe80::260:1dff:fe 22 1 21 2 0
itojun[starfruit:~] wiconfig wi0
NIC serial number: [ 00UT01367048 ]
Station name: [ NetBSD WaveLAN/IEEE node ]
SSID for IBSS creation: [ NetBSD IBSS ]
Current netname (SSID): [ 740EC9GROUP ]
Desired netname (SSID): [ ]
Current BSSID: [ 00:60:1d:22:e9:4f ]
Channel list: [ 16383 ]
IBSS channel: [ 14 ]
Current channel: [ 14 ]
Comms quality/signal/noise: [ 43 99 56 ]
Promiscuous mode: [ Off ]
Port type (1=BSS, 3=ad-hoc): [ 1 ]
MAC address: [ 00:60:1d:f1:86:61 ]
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: [ Off ]
TX encryption key: [ 1 ]
Encryption keys: [ ][ ][ ][ ]
NetBSD 1.5B (STARFRUIT) #16: Mon Jul 3 06:29:52 JST 2000
itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT
cpu0: family 6 model 8 step 3
cpu0: Intel Pentium III (E) (686-class)
total memory = 127 MB
avail memory = 113 MB
using 1658 buffers containing 6632 KB of memory
BIOS32 rev. 0 found at 0xfd820
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
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: console (80x25, vt100 emulation)
Texas Instruments PCI1450 PCI-CardBus Bridge (CardBus bridge, revision 0x03) at pci0 dev 2 function 0 not configured
Texas Instruments PCI1450 PCI-CardBus Bridge (CardBus bridge, revision 0x03) at pci0 dev 2 function 1 not configured
fxp0 at pci0 dev 3 function 0: Intel i82557 Ethernet, rev 9
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:90:27:96:1c:e1, 10/100 Mb/s
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Xircom product 0x000c (serial communications, interface 0x02) at pci0 dev 3 function 1 not configured
clcs0 at pci0 dev 5 function 0: Cirrus Logic CS4280 CrystalClear Audio Interface (rev. 0x01)
clcs0: interrupting at irq 11
clcs0: AC97 read fail (VSTS==0) for add=0x7e
clcs0: ac97_attach failed
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
Intel 82371AB IDE controller (PIIX4) (IDE mass storage, interface 0x80, revision 0x01) at pci0 dev 7 function 1 not configured
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (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 Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
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
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <IBM-DBCA-206480>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6149 MB, 13328 cyl, 15 head, 63 sec, 512 bytes/sect x 12594960 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wdc1 at isa0 port 0x170-0x177 irq 15
lpt2 at isa0 port 0x3bc-0x3bf: polled
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: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
biomask efed netmask efed ttymask ffef
pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..5..7..9..10
pcic0: using irq 3 for socket events
IPsec: Initialized Security Association Processing.
com3 at pcmcia0 function 0 port 0x2f8-0x2ff: serial device
com3: ns16550a, working fifo
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
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)
wsmux1: connecting to wsdisplay0
wi0 at pcmcia1 function 0 port 0x400-0x43f
wi0: address 00:60:1d:f1:86:61
pcmcia1: card irq 5
wi0: timeout in wi_seek to ffff/0; last status ffff
wi0: timeout in wi_seek to ffff/0; last status ffff
From: enami tsugutomo <enami@sm.sony.co.jp>
To: itojun@iijlab.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/9701: wi driver: 11M card does not show statistics on wiconfig -o
Date: 04 Jul 2000 13:45:01 +0900
itojun@iijlab.net writes:
> >> >Synopsis: wi driver: 11M card does not show statistics on wiconfig -o
> >Recently, I found that wiconfig -o works with if_wi.c rev 1.22 and
> >Melco WLA-L11. Is the behaviour depends on the station?
>
> I have the exactly the same card, but it does not work.
> I'm using melco card against melco base station, on top of mostly
> GENERIC i386 kernel.
Let me clearify some point:
- Is your base station the new one? (i.e., the station which supports
wep?).
- It looks like the statistics are updated every 60sec or so. Did you
wait enough?
> IBSS channel: [ 14 ]
> Current channel: [ 14 ]
Except the mac address or essid, the difference seems only channel (we
use 7 at here) and use of WEP (we use it).
> NetBSD 1.5B (STARFRUIT) #16: Mon Jul 3 06:29:52 JST 2000
> itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT
Even with GENERIC kernel of 1.5_ALAHA, I could retrieve statistics as
follows:
Transmitted unicast frames: 7
Transmitted multicast frames: 0
Transmitted fragments: 23
Transmitted unicast octets: 770
Transmitted multicast octets: 0
Single transmit retries: 0
Multiple transmit retries: 0
Transmit retry limit exceeded: 0
Transmit discards: 0
Transmit discards due to wrong SA: 0
Received unicast frames: 7
Received multicast frames: 79
Received fragments: 1261
Received unicast octets: 984
Received multicast octets: 11154
Receive FCS errors: 0
Receive discards due to no buffer: 0
Can't decrypt WEP frame: 0
Received message fragments: 0
Received message bad fragments: 0
enami.
From: itojun@iijlab.net
To: enami tsugutomo <enami@sm.sony.co.jp>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/9701: wi driver: 11M card does not show statistics on wiconfig -o
Date: Tue, 04 Jul 2000 14:00:47 +0900
>> I have the exactly the same card, but it does not work.
>> I'm using melco card against melco base station, on top of mostly
>> GENERIC i386 kernel.
>Let me clearify some point:
>- Is your base station the new one? (i.e., the station which supports
> wep?).
yes it is. round-shaped one.
>- It looks like the statistics are updated every 60sec or so. Did you
> wait enough?
hmmm, i was not patient enough. i see the numbers now.
i think the PR can be closed.
itojun
State-Changed-From-To: open->closed
State-Changed-By: itojun
State-Changed-When: Mon Jul 3 22:07:12 PDT 2000
State-Changed-Why:
wiconfig -o values show up only after certain period of time (1 minute).
I was not patient enough.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.