malo driver NMI after sending auth: Stopped at ieee80211_recv_auth+0x23

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

malo driver NMI after sending auth: Stopped at ieee80211_recv_auth+0x23

walter-daugherity
Synopsis: malo driver NMI after sending auth: Stopped at
ieee80211_recv_auth+0x23

Category: network driver


Environment:



System      : OpenBSD 5.7-current



Details     : OpenBSD 5.7-current (GENERIC) #753: Thu Mar 26 14:56:52 MDT
2015

    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC



Architecture: OpenBSD.i386


Machine     : i386



Description:

         This is a 90MHz Pentium (Compaq Deskpro XL 590) with a Netgear

WG311v3 WiFi card which uses the malo driver.  On bootup the malo driver

probes for a WiFi link but crashes with a NMI after sending auth.  (The
WiFi

peer was powered on for the first crash dump below.)  After that trace, ps,

and show registers, the system was rebooted with the WiFi peer powered off.


Then when the WiFi peer was powered on, the system also crashed with a NMI

after sending auth. Another trace, ps, and show registers follow.


Here is the ifconfig display (with the WiFi peer powered off) and
hostname.malo0:


$ ifconfig malo0

malo0: flags=8847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> mtu 1500

        lladdr 00:1e:2a:46:ac:e3

        priority: 4

        groups: wlan WAN

        media: IEEE802.11 autoselect mode 11g (DS1 mode 11g)

        status: no network

        ieee80211: nwid <ID goes here> wpakey <not displayed> wpaprotos
wpa1,wpa2 wpaakms psk wpaciphers tkip wpagroupcipher tkip

        inet 192.168.10.200 netmask 0xffffff00 broadcast 192.168.10.255

$ cat /etc/hostname.malo0

inet 192.168.10.200 255.255.255.0

media autoselect mode 11g

group WAN

nwid <ID goes here>

wpa

wpakey <key goes here>

wpaakms psk

wpaciphers tkip

debug

$


Claudio Jeker and Marcus Glocker, would you be able to take a look at
this?  Or someone who handles the IEEE 802.11 network stack?


Many thanks!


Walter




>> OpenBSD/i386 BOOT 3.26

boot>

booting hd0a:/bsd: 9698780+1068300 [72+408176+402760]=0xb0ac84

entry point at 0x200120


[ using 811420 bytes of bsd ELF symbol table ]

Copyright (c) 1982, 1986, 1989, 1991, 1993

        The Regents of the University of California.  All rights reserved.

Copyright (c) 1995-2015 OpenBSD. All rights reserved.
http://www.OpenBSD.org


OpenBSD 5.7-current (GENERIC) #753: Thu Mar 26 14:56:52 MDT 2015

    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC

cpu0: Intel Pentium (P54C) ("GenuineIntel" 586-class) 91 MHz

cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8

real mem  = 150487040 (143MB)

avail mem = 135761920 (129MB)

mpath0 at root

scsibus0 at mpath0: 256 targets

mainbus0 at root

bios0 at mainbus0: date 04/07/97

apm0 at bios0: Power Management spec V1.1 (BIOS management disabled)

apm0: APM power management enable: unrecognized device ID (9)

pcibios at bios0 function 0x1a not configured

bios0: ROM list: 0xc0000/0x8000 0xc8000/0x2800!

cpu0 at mainbus0: (uniprocessor)

cpu0: F00F bug workaround installed

pci0 at mainbus0 bus 0: configuration mode 1 (bios)

0:0:0: mem address conflict 0xffffff0/0x10

0:0:0: io address conflict 0x10000e10/0x10

0:0:0: io address conflict 0x62000146/0x2

"Compaq Triflex PCI" rev 0x01 at pci0 dev 0 function 0 not configured

pcn0 at pci0 dev 11 function 0 "AMD 79c970 PCnet-PCI" rev 0x02, Am79c970,
rev 1: irq 11, address 00:80:5f:d8:8b:a0

pcscp0 at pci0 dev 12 function 0 "AMD 53c974 PCscsi-PCI" rev 0x02: irq 15

pcscp0: AM53C974, 40MHz

scsibus1 at pcscp0: 8 targets, initiator 7

vga1 at pci0 dev 13 function 0 "Matrox MGA Millenium 2064W" rev 0x01

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)

wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

malo0 at pci0 dev 14 function 0 "Marvell Libertas 88W8335" rev 0x03: irq 7,
address 00:1e:2a:46:ac:e3

"Compaq EISA" rev 0x03 at pci0 dev 15 function 0 not configured

eisa0 at mainbus0

ep1 at eisa0 slot 2: 3Com 3C509-TP Ethernet, irq 5, address
00:a0:24:4b:e1:14, utp/aui (default utp)

eisa0: can't map i/o space for slot 7

isa0 at mainbus0

isadma0 at isa0

fdc0 at isa0 port 0x3f0/6 irq 6 drq 2

fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec

com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo

com0: console

com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo

com1: probed fifo depth: 0 bytes

pckbc0 at isa0 port 0x60/5

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/8 irq 14

wd0 at wdc0 channel 0 drive 0: <Maxtor 91152D8>

wd0: 16-sector PIO, LBA, 10991MB, 22510656 sectors

atapiscsi0 at wdc0 channel 0 drive 1

scsibus2 at atapiscsi0: 2 targets

cd0 at scsibus2 targ 0 lun 0: <MITSUMI, CD-ROM FX140S !B, e12> ATAPI
5/cdrom removable

wd0(wdc0:0:0): using BIOS timings

cd0(wdc0:0:1): using BIOS timings

pcppi0 at isa0 port 0x61

spkr0 at pcppi0

npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16

vscsi0 at root

scsibus3 at vscsi0: 256 targets

softraid0 at root

scsibus4 at softraid0: 256 targets

root on wd0a (061ee26df5e9f130.a) swap on wd0b dump on wd0b

Automatic boot in progress: starting file system checks.

/dev/wd0a (061ee26df5e9f130.a): file system is clean; not checking

/dev/wd0k (061ee26df5e9f130.k): file system is clean; not checking

/dev/wd0d (061ee26df5e9f130.d): file system is clean; not checking

/dev/wd0f (061ee26df5e9f130.f): file system is clean; not checking

/dev/wd0g (061ee26df5e9f130.g): file system is clean; not checking

/dev/wd0h (061ee26df5e9f130.h): file system is clean; not checking

/dev/wd0j (061ee26df5e9f130.j): file system is clean; not checking

/dev/wd0i (061ee26df5e9f130.i): file system is clean; not checking

/dev/wd0e (061ee26df5e9f130.e): file system is clean; not checking

setting tty flags

pf enabled

machdep.allowaperture: 0 -> 2

net.inet.ip.forwarding: 0 -> 1

starting network

malo0: received beacon from 00:14:d1:54:f7:1a rssi 8 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 3 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 18 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 18 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 18 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 7 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 18 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 18 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 6 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 7 mode 11g

/etc/pf.conf:39: the 'static-port' option can't be used when specifying a
port range

/etc/pf.conf:39: port only applies to tcp/udp

/etc/pf.conf:39: skipping rule due to errors

/etc/pf.conf:39: rule expands to no valid combination

pfctl: Syntax error in config file: pf rules not loaded

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 8 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 9 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 10 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 11 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 12 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 13 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 14 mode 11g

starting early dmalo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 1
mode 11g

aemons:malo0: received beacon from 00:14:d1:54:f7:1a rssi 15 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 7 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 8 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 14 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 17 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 16 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 14 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 13 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 18 mode 11g

malo0: end active scan

malo0: sending auth to 00:14:d1:54:f7:1a on channel 1 mode 11g

NMI ... going to debugger

Stopped at      ieee80211_recv_auth+0x23:       movzbl  0x18(%ecx),%edx

ddb> trace

ieee80211_recv_auth(d108f030,d36c4000,d1122000,f2156d08,b0) at
ieee80211_recv_a

uth+0x23

ieee80211_input(d108f030,d36c4000,d1122000,f2156d08,0) at
ieee80211_input+0x5b9


malo_rx_intr(d108f000,c30,d36ab304,f2156d44,2) at malo_rx_intr+0x434

malo_intr(d108f000,d1076540) at malo_intr+0x78

Xrecurse_legacy7() at Xrecurse_legacy7+0xb5

--- interrupt ---

memcpy(d0f32e0c,d0f3368c,0,d36a35b8,0) at memcpy+0x13

uvm_fault(d36af120,36463000,0,3,0) at uvm_fault+0xdc5

trap() at trap+0x750

--- trap (number 910568504) ---

0x7:

ddb> ps

   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND

*11652  19353  27572      0  7         0x1                sh

 19353  27572  27572      0  3        0x83  piperd        sh

 27572      1  27572      0  3        0x8b  pause         sh

 17867      0      0      0  2     0x14200                zerothread

 13288      0      0      0  3     0x14200  aiodoned      aiodoned

  7376      0      0      0  3     0x14200  syncer        update

 27262      0      0      0  3     0x14200  cleaner       cleaner

 18017      0      0      0  3     0x14200  reaper        reaper

 28007      0      0      0  3     0x14200  pgdaemon      pagedaemon

 11226      0      0      0  3     0x14200  bored         crypto

  5845      0      0      0  3     0x14200  pftm          pfpurge

 20959      0      0      0  3     0x14200  apmev         apm0

 25903      0      0      0  3     0x14200  bored         systqmp

  8776      0      0      0  2     0x14200                systq

  5509      0      0      0  3  0x40014200                idle0

  6974      0      0      0  3     0x14200  kmalloc       kmthread

     1      0      1      0  3        0x82  wait          init

     0     -1      0      0  3     0x10200  scheduler     swapper

ddb> show registers

ds                  0x10

es                  0x10

fs                  0x20

gs                     0

edi           0xd1122000        end+0x4dd3f8

esi           0xf2156d08

ebp           0xf2156b04

ebx                  0x2

edx           0xd1122000        end+0x4dd3f8

ecx           0xd109d008        end+0x458400

eax                    0

eip           0xd0459443        ieee80211_recv_auth+0x23

cs                  0x50

eflags             0x202

esp           0xf2156acc

ss                  0x10

ieee80211_recv_auth+0x23:       movzbl  0x18(%ecx),%edx

ddb> boot reboot

rebooting...

>> OpenBSD/i386 BOOT 3.26

boot>

booting hd0a:/bsd: 9698780+1068300 [72+408176+402760]=0xb0ac84

entry point at 0x200120


[ using 811420 bytes of bsd ELF symbol table ]

Copyright (c) 1982, 1986, 1989, 1991, 1993

        The Regents of the University of California.  All rights reserved.

Copyright (c) 1995-2015 OpenBSD. All rights reserved.
http://www.OpenBSD.org


OpenBSD 5.7-current (GENERIC) #753: Thu Mar 26 14:56:52 MDT 2015

    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC

cpu0: Intel Pentium (P54C) ("GenuineIntel" 586-class) 91 MHz

cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8

real mem  = 150487040 (143MB)

avail mem = 135761920 (129MB)

mpath0 at root

scsibus0 at mpath0: 256 targets

mainbus0 at root

bios0 at mainbus0: date 04/07/97

apm0 at bios0: Power Management spec V1.1 (BIOS management disabled)

apm0: APM power management enable: unrecognized device ID (9)

pcibios at bios0 function 0x1a not configured

bios0: ROM list: 0xc0000/0x8000 0xc8000/0x2800!

cpu0 at mainbus0: (uniprocessor)

cpu0: F00F bug workaround installed

pci0 at mainbus0 bus 0: configuration mode 1 (bios)

0:0:0: mem address conflict 0xffffff0/0x10

0:0:0: io address conflict 0x10000e10/0x10

0:0:0: io address conflict 0x62000146/0x2

"Compaq Triflex PCI" rev 0x01 at pci0 dev 0 function 0 not configured

pcn0 at pci0 dev 11 function 0 "AMD 79c970 PCnet-PCI" rev 0x02, Am79c970,
rev 1: irq 11, address 00:80:5f:d8:8b:a0

pcscp0 at pci0 dev 12 function 0 "AMD 53c974 PCscsi-PCI" rev 0x02: irq 15

pcscp0: AM53C974, 40MHz

scsibus1 at pcscp0: 8 targets, initiator 7

vga1 at pci0 dev 13 function 0 "Matrox MGA Millenium 2064W" rev 0x01

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)

wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

malo0 at pci0 dev 14 function 0 "Marvell Libertas 88W8335" rev 0x03: irq 7,
address 00:1e:2a:46:ac:e3

"Compaq EISA" rev 0x03 at pci0 dev 15 function 0 not configured

eisa0 at mainbus0

ep1 at eisa0 slot 2: 3Com 3C509-TP Ethernet, irq 5, address
00:a0:24:4b:e1:14, utp/aui (default utp)

eisa0: can't map i/o space for slot 7

isa0 at mainbus0

isadma0 at isa0

fdc0 at isa0 port 0x3f0/6 irq 6 drq 2

fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec

com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo

com0: console

com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo

com1: probed fifo depth: 0 bytes

pckbc0 at isa0 port 0x60/5

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/8 irq 14

wd0 at wdc0 channel 0 drive 0: <Maxtor 91152D8>

wd0: 16-sector PIO, LBA, 10991MB, 22510656 sectors

atapiscsi0 at wdc0 channel 0 drive 1

scsibus2 at atapiscsi0: 2 targets

cd0 at scsibus2 targ 0 lun 0: <MITSUMI, CD-ROM FX140S !B, e12> ATAPI
5/cdrom removable

wd0(wdc0:0:0): using BIOS timings

cd0(wdc0:0:1): using BIOS timings

pcppi0 at isa0 port 0x61

spkr0 at pcppi0

npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16

vscsi0 at root

scsibus3 at vscsi0: 256 targets

softraid0 at root

scsibus4 at softraid0: 256 targets

root on wd0a (061ee26df5e9f130.a) swap on wd0b dump on wd0b

WARNING: / was not properly unmounted

Automatic boot in progress: starting file system checks.

/dev/wd0a (061ee26df5e9f130.a): FREE BLK COUNT(S) WRONG IN SUPERBLK
(SALVAGED)

/dev/wd0a (061ee26df5e9f130.a): 2429 files, 36216 used, 98695 free (151
frags, 12318 blocks, 0.1% fragmentation)

/dev/wd0a (061ee26df5e9f130.a): MARKING FILE SYSTEM CLEAN

/dev/wd0k (061ee26df5e9f130.k): 6066 files, 291052 used, 1071467 free (331
frags, 133892 blocks, 0.0% fragmentation)

/dev/wd0k (061ee26df5e9f130.k): MARKING FILE SYSTEM CLEAN

/dev/wd0d (061ee26df5e9f130.d): 8 files, 27 used, 212700 free (36 frags,
26583 blocks, 0.0% fragmentation)

/dev/wd0d (061ee26df5e9f130.d): MARKING FILE SYSTEM CLEAN

/dev/wd0f (061ee26df5e9f130.f): 13269 files, 187820 used, 359851 free (4963
frags, 44361 blocks, 0.9% fragmentation)

/dev/wd0f (061ee26df5e9f130.f): MARKING FILE SYSTEM CLEAN

/dev/wd0g (061ee26df5e9f130.g): 9200 files, 89526 used, 224321 free (7073
frags, 27156 blocks, 2.3% fragmentation)

/dev/wd0g (061ee26df5e9f130.g): MARKING FILE SYSTEM CLEAN

/dev/wd0h (061ee26df5e9f130.h): 9592 files, 110008 used, 1112319 free (111
frags, 139026 blocks, 0.0% fragmentation)

/dev/wd0h (061ee26df5e9f130.h): MARKING FILE SYSTEM CLEAN

/dev/wd0j (061ee26df5e9f130.j): 50 files, 683092 used, 46755 free (27
frags, 5841 blocks, 0.0% fragmentation)

/dev/wd0j (061ee26df5e9f130.j): MARKING FILE SYSTEM CLEAN

/dev/wd0i (061ee26df5e9f130.i): 1 files, 1 used, 553126 free (14 frags,
69139 blocks, 0.0% fragmentation)

/dev/wd0i (061ee26df5e9f130.i): MARKING FILE SYSTEM CLEAN

/dev/wd0e (061ee26df5e9f130.e): INCORRECT BLOCK COUNT I=24 (128 should be
0) (CORRECTED)

/dev/wd0e (061ee26df5e9f130.e): INCORRECT BLOCK COUNT I=18426 (4 should be
0) (CORRECTED)

/dev/wd0e (061ee26df5e9f130.e): INCORRECT BLOCK COUNT I=18458 (4 should be
0) (CORRECTED)

/dev/wd0e (061ee26df5e9f130.e): ZERO LENGTH DIR I=18426  OWNER=root
MODE=40755

/dev/wd0e: SIZE=0 MTIME=Apr  7 03:53 2015  (CLEARED)

/dev/wd0e (061ee26df5e9f130.e): UNREF FILE I=18458  OWNER=root MODE=100644

/dev/wd0e: SIZE=0 MTIME=Apr  7 03:53 2015  (CLEARED)

/dev/wd0e (061ee26df5e9f130.e): FREE BLK COUNT(S) WRONG IN SUPERBLK
(SALVAGED)

/dev/wd0e (061ee26df5e9f130.e): SUMMARY INFORMATION BAD (SALVAGED)

/dev/wd0e (061ee26df5e9f130.e): BLK(S) MISSING IN BIT MAPS (SALVAGED)

/dev/wd0e (061ee26df5e9f130.e): 677 files, 204084 used, 82539 free (187
frags, 10294 blocks, 0.1% fragmentation)

/dev/wd0e (061ee26df5e9f130.e): MARKING FILE SYSTEM CLEAN

setting tty flags

pf enabled

machdep.allowaperture: 0 -> 2

net.inet.ip.forwarding: 0 -> 1

starting network

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 6 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 7 mode 11g

/etc/pf.conf:39: the 'static-port' option can't be used when specifying a
port range

/etc/pf.conf:39: port only applies to tcp/udp

/etc/pf.conf:39: skipping rule due to errors

/etc/pf.conf:39: rule expands to no valid combination

pfctl: Syntax error in config file: pf rules not loaded

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 8 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 9 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 10 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 11 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 12 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 13 mode 11g

starting early daemons:malo0: sending probe_req to ff:ff:ff:ff:ff:ff on
channel 14 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 1 mode 11g

malo0: end active scan

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 2 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 3 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 4 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 5 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 6 mode 11g

 syslogdmalo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 7 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 8 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 9 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 10 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 11 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 12 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 13 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 14 mode 11g

malo0: sending probe_req to ff:ff:ff:ff:ff:ff on channel 1 mode 11g

malo0: end active scan

 pflogd nsdmalo0: end passive scan

malo0: end passive scan

malo0: timeout while waiting for cmd response!

 unbound.

starting RPC daemons:.

savecore: reboot after panic: mtx_enter: locking against myself

savecore: system went down at Sun Apr  5 00:11:48 2015

savecore: no dump, not enough free space on device

checking quotas: done.

malo0: end passive scan

clearing /tmp

kern.securelevel: 0 -> 1

creating runtime link editor directory cache.

preserving editor files.

malo0: end passive scan

starting network daemons: sshdmalo0: end passive scan

 dhcpd smtpdmalo0: end passive scan

 sndiod.

wsdisplay0: screen 5 deleted

wsdisplay0: screen 5 added (80x50, vt100 emulation)

starting local daemons:malo0: end passive scan

 cron wsmoused.

Mon Apr  6 23:00:21 CDT 2015

malo0: end passive scan


OpenBSD/i386 (strait.middle-earth.lan) (tty00)


login: malo0: end passive scan

malo0: end passive scan

malo0: end passive scan

malo0: end passive scan

malo0: end passive scan

malo0: end passive scan

malo0: end passive scan

malo0: end passive scan

malo0: end passive scan

malo0: received beacon from 00:14:d1:54:f7:1a rssi 16 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 14 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 16 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 16 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 14 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 16 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 12 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 16 mode 11g

malo0: received beacon from 00:14:d1:54:f7:1a rssi 14 mode 11g

malo0: end passive scan

malo0: sending auth to 00:14:d1:54:f7:1a on channel 1 mode 11g

NMI ... going to debugger

Stopped at      ieee80211_recv_auth+0x23:       movzbl  0x18(%ecx),%edx

ddb> trace

ieee80211_recv_auth(d108f030,d36cfa00,d1122000,f2169b08,b0) at
ieee80211_recv_a

uth+0x23

ieee80211_input(d108f030,d36cfa00,d1122000,f2169b08,0) at
ieee80211_input+0x5b9


malo_rx_intr(d108f000,c30,d362c75c,f2169b5c,d03c8309) at malo_rx_intr+0x434

malo_intr(d108f000,d1076540) at malo_intr+0x78

Xrecurse_legacy7() at Xrecurse_legacy7+0xb5

--- interrupt ---

i386_bus_space_io_write_multi_2(1f0,0,f142c000,1000,d107806c,17,f142c000,0,0,20

0206,0) at i386_bus_space_io_write_multi_2+0x14

wdc_default_write_raw_multi_2(d107806c,f142c000,2000,afc8,40) at
wdc_default_wr

ite_raw_multi_2+0x34

_wdc_ata_bio_start(d107806c,d36b5000,f2169cac,d020963c,d0b7e4e0,1,1760664d,dbac

82d4,4e7eac7b) at _wdc_ata_bio_start+0x3c8

wdcstart(d107806c,d36b5000,1,0,0) at wdcstart+0x67

wdc_ata_bio(d10780a0,d1123900,1,0,50) at wdc_ata_bio+0x9b

__wdstart(d1123800,d3616180,d3616180,d03c0ca8,d0b2da50) at __wdstart+0x186

wdstart(d1123800,d3616180,0,1,1) at wdstart+0x3d

wdstrategy(d3616180,8,0,35,3) at wdstrategy+0x102

spec_strategy(f2169e14,d362c75c,d362c75c,0,d36a6b44) at spec_strategy+0x46

ufs_strategy(f2169e14,d0b38060,4e7eac7b,1001b4,d3616180) at
ufs_strategy+0x76

VOP_STRATEGY(d3616180,d3616180,4,d03edfe9,50) at VOP_STRATEGY+0x37

bwrite(d3616180,1,0,d3616180,d3616180) at bwrite+0xc3

VOP_BWRITE(d3616180,0,f2169e9c,d03fb428,d362c75c) at VOP_BWRITE+0x34

ffs_fsync(f2169ec8,d36a6b44,f2169edc,d03f5948,d36cc850) at ffs_fsync+0x123

VOP_FSYNC(d362c75c,d36cd0c0,1,d36a6b44,1) at VOP_FSYNC+0x3f

sys_fsync(d36a6b44,f2169f60,f2169f80,13,f2169f64) at sys_fsync+0x98

syscall() at syscall+0x24d

--- syscall (number -809751076) ---

0x2:

ddb> ps

   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND

  8788      1   8788      0  3        0x83  ttyin         getty

 28231      1  28231      0  3        0x83  ttyin         getty

 32714      1  32714      0  3        0x83  ttyin         getty

  4756      1   4756      0  3        0x83  ttyin         getty

 13689      1  13689      0  3        0x83  ttyin         getty

  5838      1   5838      0  3        0x83  ttyin         getty

 11882      1  11882      0  3        0x80  poll          wsmoused

 26014      1  26014      0  3        0x80  poll          cron

 27707      1  27707     99  3        0x90  poll          sndiod

 12977  27456  27456     95  3        0x90  kqread        smtpd

 27820  27456  27456     95  3        0x90  kqread        smtpd

 12208  27456  27456     95  3        0x90  kqread        smtpd

 29669  27456  27456     95  3        0x90  kqread        smtpd

 14556  27456  27456     95  3        0x90  kqread        smtpd

  8414  27456  27456    103  3        0x90  kqread        smtpd

 27456      1  27456      0  3        0x80  kqread        smtpd

 24045      1  24045     77  3        0x90  poll          dhcpd

   290      1    290      0  3        0x80  select        sshd

 14987      1  14987     53  3        0x90  kqread        unbound

  6600  10467  17288     97  3        0x90  kqread        nsd

 10467  17288  17288     97  3        0x90  select        nsd

 17288      1  17288     97  3        0x90  kqread        nsd

 31826   8481   8481     74  3        0x90  bpf           pflogd

  8481      1   8481      0  3        0x80  netio         pflogd

*  192   4704   4704     73  7        0x10                syslogd

  4704      1   4704      0  3        0x80  netio         syslogd

 14960      0      0      0  3     0x14200  pgzero        zerothread

 30946      0      0      0  3     0x14200  aiodoned      aiodoned

 27168      0      0      0  3     0x14200  syncer        update

 19145      0      0      0  3     0x14200  cleaner       cleaner

  9853      0      0      0  3     0x14200  reaper        reaper

 20896      0      0      0  3     0x14200  pgdaemon      pagedaemon

 15564      0      0      0  3     0x14200  bored         crypto

 31196      0      0      0  2     0x14600                pfpurge

    60      0      0      0  3     0x14200  apmev         apm0

 24988      0      0      0  3     0x14200  bored         systqmp

 10980      0      0      0  2     0x14200                systq

 10427      0      0      0  3  0x40014200                idle0

 21057      0      0      0  3     0x14200  kmalloc       kmthread

     1      0      1      0  3        0x82  wait          init

     0     -1      0      0  3     0x10200  scheduler     swapper

ddb> show registers

ds                  0x10

es                  0x10

fs                  0x20

gs                     0

edi           0xd1122000        end+0x4dd3f8

esi           0xf2169b08

ebp           0xf2169904

ebx                  0x2

edx           0xd1122000        end+0x4dd3f8

ecx           0xd1092008        end+0x44d400

eax                    0

eip           0xd0459443        ieee80211_recv_auth+0x23

cs                  0x50

eflags          0x200202

esp           0xf21698cc

ss                  0x10

ieee80211_recv_auth+0x23:       movzbl  0x18(%ecx),%edx

ddb>
Reply | Threaded
Open this post in threaded view
|

Re: malo driver NMI after sending auth: Stopped at ieee80211_recv_auth+0x23

Stefan Sperling-5
On Tue, Apr 07, 2015 at 07:06:20PM -0500, Walter Daugherity wrote:
> Synopsis: malo driver NMI after sending auth: Stopped at ieee80211_recv_auth+0x23
>          This is a 90MHz Pentium (Compaq Deskpro XL 590) with a Netgear
> WG311v3 WiFi card which uses the malo driver.  On bootup the malo driver
> probes for a WiFi link but crashes with a NMI after sending auth.

I don't believe this is a problem with the malo(4) driver itself.
I have a malo(4) device which works just fine on -current amd64 and i386.

Can you please try this wifi card in a different machine?
If the card works there then this is not a problem with malo(4) but
something else, perhaps related to PCI.