Subject: PCMCIA NetBSD Problem
To: None <>
From: Manuel Teira <>
List: port-i386
Date: 08/03/2005 17:29:41

I've just installed (it's my first time) NetBSD 2.0.2 on an old 486
pre-pci laptop. A NE2000 compatible PCMCIA card is working properly on
NetBSD but a wireless PCMCIA card is hanging the system. This is what
happens on insertion (using the Generic kernel):

wi0 at pcmcia1 function 0: Belkin, 11Mbps Wireless Notebook Network
Adapter, Version 01.02
pcic0: port 0x400-0x43f
pcmcia1: card irq 5
wi0:kernel: protection fault trap, code=0
Stopped in pid 5.1 (pcic0,0,1) at  netbsd:Xtrap0d: pushl $0x4

Showing a stack trace from the debugger, I get something like:

Xtrap0d(0,0,0,0,0) at netbsd:Xtrap0d
?(c0861000,c086101c,c01cc6fc,c0861000,6b6c6542) at 0
wi_pcmcia_attach(c07acc00,c086100,c2f8ef04,c0863198,1) at
config_attach(c07acc00,c059e904,c2f8ef04,c0444394,156) at
pcmcia_card_attach(c07acc00,0,c2f8ef8c,c043db76,380050db) at
pcic_attach_card(0c7aa154,2,0,0,0) at netbsd:pcic_attach_card+0x3a
pcic_event_thread(c07aa154,6b0000,6b9000,0,c0100321) at

The card is located at: mainbus0->isa0->pcic0->pcmcia1->wi0

Any help or idea will be appreciated.