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

2015-04-08 Thread Stefan Sperling
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.



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

2015-04-07 Thread 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

t...@i386.openbsd.org:/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=8847UP,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 0xff00 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

t...@i386.openbsd.org:/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: 0xc/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 0xff0/0x10

0:0:0: io address conflict 0x1e10/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