Subject: kern/28979: uvm_fault when inserting PCMCIA/CardBus WiFi card
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <rumi@rtfm.hu>
List: netbsd-bugs
Date: 01/16/2005 08:06:00
>Number:         28979
>Category:       kern
>Synopsis:       uvm_fault when inserting PCMCIA/CardBus WiFi card
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 16 08:06:00 +0000 2005
>Originator:     Rumi Szabolcs
>Release:        netbsd-current
>Organization:
>Environment:
NetBSD kaposzta.ipn.dynaweb.hu 2.99.14 NetBSD 2.99.14 (CUSTOM-050115) #0: Sat Jan 15 18:55:20 CET 2005  root@kaposzta.ipn.dynaweb.hu:/usr/src/sys/arch/i386/compile/CUSTOM-050115 i386
>Description:
FSC Amilo-A 76xx series notebook
D-Link DWL-650+ 802.11b card (acx100, unsupported)

When inserting (both cold insert and hot-plug) the above card, it drops
instantly to kdb:

uvm_fault (0xc0498160, 0xcab43000, 0, 1) -> 0xe
kernel: page fault trap, code=0
Stopped in pid 8.1 (cardslot0) at netbsd: cardbus_read_tuples+0x191:
repne movsb (%esi),%es:(%edi)
db>

The NetBSD 2.0 release does not exhibit this problem, it just detects
the card as unsupported (not configured).

More output follows, my workstation randomly crashes about twice each
hour and I'm 10-finger copying the kdb output ;)

>How-To-Repeat:
Just put the card in and you're there.
I suspect it's neither card nor host specific, but I might be wrong.

>Fix: