Subject: kern/30806: ipw broken
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Denis Lagno <dlagno@rambler.ru>
List: netbsd-bugs
Date: 07/21/2005 18:52:00
>Number:         30806
>Category:       kern
>Synopsis:       ipw does not work
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 21 18:52:00 +0000 2005
>Originator:     Denis Lagno
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
System: NetBSD chup.gado 3.99.7 NetBSD 3.99.7 (CHUP) #0: Tue Jul 19 11:59:28 MSD 2005 dina@chup.gado:/flam/volatile/worksrc/netbsd-current/src/sys/arch/i386/compile/CHUP i386
Architecture: i386
Machine: i386
>Description:
with new kernel network via ipw no longer works.
Rebooting into 3.99.5 kernel fixes the problem.
>How-To-Repeat:
On system with ipw:

# dmesg | grep ipw
ipw0 at pci1 dev 5 function 0: Intel PRO/Wireless LAN 2100 3B Mini-PCI Adapter (rev. 0x04)
ipw0: interrupting at irq 7

# ipwctl -f /crux/ipw2100-1.2.fw

# ifconfig ipw0 inet 192.168.0.22 netmask 0xffffff00 nwid gado_wifi chan 11           

# ifconfig -a
fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 00:e0:18:00:03:19:ee:fb
ipw0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ssid gado_wifi
        powersave off
        bssid 00:0f:3d:4c:a7:d2 chan 11
        address: 00:0c:f1:2f:c6:33
        media: IEEE802.11 autoselect
        status: active
        inet 192.168.0.22 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::20c:f1ff:fe2f:c633%ipw0 prefixlen 64 scopeid 0x2
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:0e:a6:c4:8b:de
        media: Ethernet 100baseTX (100baseTX flowcontrol,rxpause,txpause)
        status: no carrier
        inet 192.168.0.23 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::20e:a6ff:fec4:8bde%fxp0 prefixlen 64 scopeid 0x3
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4

There is operational Access Point within 1 meter.
However pinging this AP:

# ping ap
PING ap.gado (192.168.0.50): 56 data bytes
ping: sendto: Host is down
ping: sendto: Host is down
^C
----ap.gado PING Statistics----
8 packets transmitted, 0 packets received, 100.0% packet loss

Other information:

# wiconfig ipw0 -D
scanning ...
AP Information
ap[0]:
        netname (SSID):                 [ gado_wifi ]
        BSSID:                          [ 00:0f:3d:4c:a7:d2 ]
        Channel:                        [ 11 ]
        Quality/Signal/Noise [signal]:  [ 0 / 75 / 0 ]
                                [dBm]:  [ 0 / -74 / -149 ]
        BSS Beacon Interval [msec]:     [ 0 ]
        Capinfo:                        [ ]

# wlanctl ipw0
ipw0: mac 00:00:00:00:00:00 bss 00:0f:3d:4c:a7:d2
        node flags 0001<bss>
        ess <gado_wifi>
        chan 11 freq 2462MHz flags 00a0<cck,2.4GHz>
        capabilities 0000
        beacon-interval 0 TU tsft 0 us
        rates
        assoc-id 0 assoc-failed 0 inactivity 300s
        rssi 75 txseq 35 rxseq 35264

# ipwctl
Number of frames submitted for transfer                     [3]
Number of frames transmitted                                [0]
Number of unicast frames transmitted                        [0]
Number of unicast frames transmitted at 1Mb/s               [0]
Number of unicast frames transmitted at 2Mb/s               [0]
Number of unicast frames transmitted at 5.5Mb/s             [0]
Number of unicast frames transmitted at 11Mb/s              [0]
Number of multicast frames transmitted at 1Mb/s             [0]
Number of multicast frames transmitted at 2Mb/s             [0]
Number of multicast frames transmitted at 5.5Mb/s           [0]
Number of multicast frames transmitted at 11Mb/s            [0]
Number of null frames transmitted                           [0]
Number of RTS frames transmitted                            [0]
Number of CTS frames transmitted                            [0]
Number of ACK frames transmitted                            [0]
Number of association requests transmitted                  [3]
Number of association responses transmitted                 [0]
Number of reassociation requests transmitted                [0]
Number of reassociation responses transmitted               [0]
Number of probe requests transmitted                        [44]
Number of probe reponses transmitted                        [0]
Number of beacons transmitted                               [0]
Number of ATIM frames transmitted                           [0]
Number of disassociation requests transmitted               [2]
Number of authentification requests transmitted             [3]
Number of deauthentification requests transmitted           [0]
Number of bytes transmitted                                 [0]
Number of transmission retries                              [0]
Number of transmission retries at 1Mb/s                     [0]
Number of transmission retries at 2Mb/s                     [0]
Number of transmission retries at 5.5Mb/s                   [0]
Number of transmission retries at 11Mb/s                    [0]
Number of transmission failures                             [0]
Number of transmission aborted due to DMA                   [0]
Number of disassociation failures                           [0]
Number of spanning tree frames transmitted                  [0]
Number of transmission errors due to missing ACK            [0]
Number of frames received                                   [10]
Number of unicast frames received                           [0]
Number of unicast frames received at 1Mb/s                  [0]
Number of unicast frames received at 2Mb/s                  [0]
Number of unicast frames received at 5.5Mb/s                [0]
Number of unicast frames received at 11Mb/s                 [0]
Number of multicast frames received                         [2]
Number of multicast frames received at 1Mb/s                [0]
Number of multicast frames received at 2Mb/s                [0]
Number of multicast frames received at 5.5Mb/s              [0]
Number of multicast frames received at 11Mb/s               [2]
Number of null frames received                              [0]
Number of poll frames received                              [0]
Number of RTS frames received                               [0]
Number of CTS frames received                               [0]
Number of ACK frames received                               [0]
Number of CF-End frames received                            [0]
Number of CF-End + CF-Ack frames received                   [0]
Number of association requests received                     [0]
Number of association responses received                    [3]
Number of reassociation requests received                   [0]
Number of reassociation responses received                  [0]
Number of probe requests received                           [0]
Number of probe reponses received                           [3]
Number of beacons received                                  [3436]
Number of ATIM frames received                              [0]
Number of disassociation requests received                  [0]
Number of authentification requests received                [3]
Number of deauthentification requests received              [0]
Number of bytes received                                    [344]
Number of frames with a bad CRC received                    [1]
Number of frames with a bad CRC received at 1Mb/s           [0]
Number of frames with a bad CRC received at 2Mb/s           [1]
Number of frames with a bad CRC received at 5.5Mb/s         [0]
Number of frames with a bad CRC received at 11Mb/s          [0]
Number of duplicated frames received at 1Mb/s               [0]
Number of duplicated frames received at 2Mb/s               [0]
Number of duplicated frames received at 5.5Mb/s             [0]
Number of duplicated frames received at 11Mb/s              [0]
Number of duplicated frames received                        [0]
Number of frames with a bad protocol received               [0]
Boot time                                                   [0]
Number of frames dropped due to missing buffer              [0]
Number of frames dropped due to DMA                         [0]
Number of frames dropped due to missing fragment            [0]
Number of frames dropped due to non-seq fragment            [0]
Number of frames dropped due to missing first frame         [0]
Number of frames dropped due to uncompleted frame           [0]
Number of times adapter suspended                           [0]
Beacon timeout                                              [4]
Number of poll response timeouts                            [0]
Number of PSP DTIM frames received                          [0]
Number of PSP TIM frames received                           [0]
PSP station Id                                              [1]
RTC time of last association                                [4405458]
Percentage of missed beacons                                [0%]
Percentage of missed transmission retries                   [0%]
Number of access points in access points table              [1]
Number of associations                                      [3]
Number of association failures                              [0]
Number of full scans                                        [10]
Card disabled                                               [false]
RSSI at time of association                                 [76]
Number of reassociations due to no probe response           [3]
Number of reassociations due to poor line quality           [0]
Number of reassociations due to load                        [0]
Number of reassociations due to access point RSSI level     [0]
Number of reassociations due to load leveling               [0]
Number of times authentification failed                     [0]
Number of times authentification response failed            [0]
Number of entries in association table                      [1]
Average RSSI                                                [76]
Self test status                                            [0]
Power mode                                                  [0]
Power index                                                 [0]
IEEE country code                                           [0x00004555]
Channels supported for this country                         [0x00001FFF]
Number of adapter warm resets                               [0]
Beacon interval                                             [100]
Princeton version                                           [0]
Antenna diversity disabled                                  [false]
CCA RSSI                                                    [8191]
Number of times EEPROM updated                              [2047]
Beacon intervals between DTIM                               [3]
Current channel                                             [11]
RTC time                                                    [459466]
Operating mode                                              [1]
Transmission rate                                           [0x00000008]
Supported transmission rates                                [0x000F000F]
ATIM window                                                 [0]
Supported basic transmission rates                          [0x000F000F]
Adapter highest rate                                        [0x00080008]
Access point highest rate                                   [0x00080008]
Management frame capability                                 [true]
Type of authentification                                    [0]
Adapter card platform type                                  [0]
RTS threshold                                               [2312]
International mode                                          [true]
Fragmentation threshold                                     [0]
Microcode version                                           [1]

>Fix:
N/A