Subject: Problems with rtk and cardbus
To: None <netbsd-help@NetBSD.org>
From: Alastair Pharo <asppsa@gmail.com>
List: netbsd-help
Date: 08/13/2005 12:10:58
Hi there,

I thought I'd just say first of all, that I've been using NetBSD on an
ff for quite some years now, and I've always found if to be an
excellent system.  I all the time I've been using it, this is the very
first time I have needed to ask for help explicitly, rather than just
silently trawling the internet for hints and the like.

Here is my problem:  I am running a compaq nx9005 laptop with NetBSD
2.0.2.  I have a DSE Wireless LAN PCMCIA Card, model XH6821, which I
believe uses a Realtek 8139 chipset.  The specifications are here:

http://www.dse.co.nz/isroot/dse/support/XH6821_datasheet.pdf

My understanding was that the rtk driver should support this card.=20
However, when I plug the card in, I only get the following on the
console:

Realtek, Rtl8139,  Realtek Semiconductor product 0x8180 (ethernet
network, revision 0x20) at cardbus1 dev 0 function 0 not configured

The following is the dmesg I get when I use the GENERIC kernel:

--- BEGIN DMESG ---
NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005
=09jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220=
140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENE=
RIC
total memory =3D 190 MB
avail memory =3D 178 MB
BIOS32 rev. 0 found at 0xfd730
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon XP2400+ (686-class), 1789.07 MHz, id 0x6a0
cpu0: features c3cbf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features c3cbf9ff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu0: features c3cbf9ff<FXSR,SSE,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 512 KB 64B/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associat=
ive
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ATI Technologies product 0xcab0 (rev. 0x13)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: ATI Technologies product 0x700f (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 5 function 0: ATI Technologies Radeon IGP 320M (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ohci0 at pci0 dev 2 function 0: Acer Labs M5237 USB Host Controller (rev. 0=
x03)
ohci0: interrupting at irq 9
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
autri0 at pci0 dev 6 function 0: Acer Labs M5451 AC-Link Controller
Audio Device (rev. 0x02)
autri0: interrupting at irq 5
autri0: ac97: CXT41 codec; reserved, headphone, 18 bit DAC, 18 bit
ADC, no 3D stereo
audio0 at autri0: full duplex, mmap, independent
midi0 at autri0: 4DWAVE MIDI UART
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0x00)
Acer Labs product 0x5457 (modem communications) at pci0 dev 8 function
0 not configured
cbb0 at pci0 dev 10 function 0: O2 Micro, Inc. OZ6933 PCI-Cardbus
Bridge (rev. 0x01)
cbb1 at pci0 dev 10 function 1: O2 Micro, Inc. OZ6933 PCI-Cardbus
Bridge (rev. 0x01)
Texas Instruments TSB43AA21 OHCI IEEE 1394 Host Controller (Firewire
serial bus, interface 0x10) at pci0 dev 12 function 0 not configured
aceride0 at pci0 dev 16 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc4)
aceride0: bus-master DMA support present
aceride0: primary channel wired to compatibility mode
aceride0: primary channel interrupting at irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel wired to compatibility mode
aceride0: secondary channel interrupting at irq 15
atabus1 at aceride0 channel 1
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at
pci0 dev 17 function 0 not configured
sip0 at pci0 dev 18 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip0: interrupting at irq 11
sip0: Ethernet address 00:0d:9d:83:e6:57
nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
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
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 10
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0
pcmcia1 at cardslot1
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <IC25N040ATCS04-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sector=
s
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100)
(using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-STCD-RW/DVD DRIVE GCC-4241N, , 0C29>
cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(aceride0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
Realtek, Rtl8139, M^?M^? (manufacturer 0x0, product 0x0) Realtek
Semiconductor product 0x8180 (ethernet network, revision 0x20) at
cardbus1 dev 0 function 0 not configured
--- END DMESG ---

The same basic thing show up if I already have the card plugged in
when the computer boots.  I thought it might be to do with NetBSD not
properly allocating interrupts, or something like that, so I made a
custom kernel with the following settings (I piped it through 'grep
"^[^#]"' to get rid of most the comments):

--- BEGIN CONFIG  ---
include =09"arch/i386/conf/std.i386"
options =09INCLUDE_CONFIG_FILE=09# embed config file in kernel binary
maxusers=0932=09=09# estimated number of users
options =09I386_CPU
options =09I486_CPU
options =09I586_CPU
options =09I686_CPU
options =09MATH_EMULATE=09# floating point emulation
options =09VM86=09=09# virtual 8086 emulation
options =09USER_LDT=09# user-settable LDT; used by WINE
options =09MTRR=09=09# memory-type range register syscall support
options =09INSECURE=09# disable kernel security levels - X needs this
options =09RTC_OFFSET=3D-720=09# hardware clock is this many mins. west of =
GMT
options =09NTP=09=09# NTP phase/frequency locked loop
=09=09=09=09# Improves time behavior under VMware.
options =09KTRACE=09=09# system call tracing via ktrace(1)
options =09SYSTRACE=09# system call vetting via systrace(1)
options =09SYSVMSG=09=09# System V-like message queues
options =09SYSVSEM=09=09# System V-like semaphores
options =09SYSVSHM=09=09# System V-like memory sharing
options =09P1003_1B_SEMAPHORE=09# p1003.1b semaphore support
options =09LKM=09=09# loadable kernel modules
options =09USERCONF=09# userconf(4) support
options =09SYSCTL_INCLUDE_DESCR=09# Include sysctl descriptions in kernel
options =09DDB=09=09# in-kernel debugger
options =09DDB_HISTORY_SIZE=3D512=09# enable history editing in DDB
options =09COMPAT_NOMID=09# NetBSD 0.8, 386BSD, and BSDI
options =09COMPAT_09=09# NetBSD 0.9
options =09COMPAT_10=09# NetBSD 1.0
options =09COMPAT_11=09# NetBSD 1.1
options =09COMPAT_12=09# NetBSD 1.2, 386BSD, and BSDI
options =09COMPAT_13=09# NetBSD 1.3, 386BSD, and BSDI
options =09COMPAT_14=09# NetBSD 1.4
options =09COMPAT_15=09# NetBSD 1.5
options =09COMPAT_16=09# NetBSD 1.6
options =09COMPAT_43=09# 4.3BSD, 386BSD, and BSDI
options =09COMPAT_386BSD_MBRPART # recognize old partition ID
options =09COMPAT_OSSAUDIO=09# OSS (Voxware) audio driver compatibility
options =09COMPAT_SVR4=09# binary compatibility with SVR4
options =09COMPAT_IBCS2=09# binary compatibility with SCO and ISC
options =09COMPAT_LINUX=09# binary compatibility with Linux
options =09COMPAT_FREEBSD=09# binary compatibility with FreeBSD
file-system =09FFS=09=09# UFS
file-system =09EXT2FS=09=09# second extended file system (linux)
file-system =09LFS=09=09# log-structured file system
file-system =09MFS=09=09# memory file system
file-system =09NFS=09=09# Network File System client
file-system =09NTFS=09=09# Windows/NT file system (experimental)
file-system =09CD9660=09=09# ISO 9660 + Rock Ridge file system
file-system =09MSDOSFS=09=09# MS-DOS file system
file-system =09FDESC=09=09# /dev/fd
file-system =09KERNFS=09=09# /kern
file-system =09NULLFS=09=09# loopback file system
file-system =09OVERLAY=09=09# overlay file system
file-system =09PORTAL=09=09# portal filesystem (still experimental)
file-system =09PROCFS=09=09# /proc
file-system =09UMAPFS=09=09# NULLFS + uid and gid remapping
file-system =09UNION=09=09# union file system
file-system=09CODA=09=09# Coda File System; also needs vcoda (below)
file-system=09SMBFS=09=09# experimental - CIFS; also needs nsmb (below)
options =09QUOTA=09=09# UFS quotas
options =09SOFTDEP=09=09# FFS soft updates support.
options =09NFSSERVER=09# Network File System server
=09=09=09=09# immutable) behave as system flags.
options =09INET=09=09# IP + ICMP + TCP + UDP
options =09INET6=09=09# IPV6
options =09IPSEC=09=09# IP security
options =09NS=09=09# XNS
options =09ISO,TPIP=09# OSI
options =09CCITT,LLC,HDLC=09# X.25
options =09NETATALK=09# AppleTalk networking protocols
options =09PPP_BSDCOMP=09# BSD-Compress compression support for PPP
options =09PPP_DEFLATE=09# Deflate compression support for PPP
options =09PPP_FILTER=09# Active filter support for PPP (requires bpf)
options =09PFIL_HOOKS=09# pfil(9) packet filter hooks
options =09IPFILTER_LOG=09# ipmon(8) log support
options =09IPFILTER_DEFAULT_BLOCK=09# block all packets by default
options =09ACPIVERBOSE=09# verbose ACPI device autoconfig messages
options =09EISAVERBOSE=09# verbose EISA device autoconfig messages
options =09MIIVERBOSE=09# verbose PHY autoconfig messages
options =09PCIVERBOSE=09# verbose PCI device autoconfig messages
options =09PCMCIAVERBOSE=09# verbose PCMCIA configuration messages
options =09SCSIVERBOSE=09# human readable SCSI error messages
options =09USBVERBOSE=09# verbose USB device autoconfig messages
options =09PNPBIOSVERBOSE=09# verbose PnP BIOS messages
options =09I2OVERBOSE=09# verbose I2O driver messages
options =09MCAVERBOSE=09# verbose MCA device autoconfig messages
options =09NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
options =09WSEMUL_VT100=09=09# VT100 / VT220 emulation
options =09WS_KERNEL_FG=3DWSCOL_CYAN
options =09WSDISPLAY_COMPAT_PCVT=09=09# emulate some ioctls
options =09WSDISPLAY_COMPAT_SYSCONS=09# emulate some ioctls
options =09WSDISPLAY_COMPAT_USL=09=09# VT handling
options =09WSDISPLAY_COMPAT_RAWKBD=09=09# can get raw scancodes
options =09PCDISPLAY_SOFTCURSOR
config=09=09netbsd=09root on ? type ?
mainbus0 at root
cpu* at mainbus?
ioapic* at mainbus?
apm0=09at mainbus0=09=09=09# Advanced power management
options =09MPBIOS=09=09# configure CPUs and APICs using MPBIOS
options =09MPBIOS_SCANPCI=09# find PCI roots using MPBIOS
options =09MPACPI=09=09# configure CPUs and APICs using ACPI
=09=09=09=09# (acpi at mainbus must also be enabled)
options =09MPACPI_SCANPCI=09# find PCI roots using MPACPI
acpi0 =09=09at mainbus0
options =09ACPI_PCI_FIXUP=09=09# PCI interrupt routing via ACPI
options =09ACPI_ACTIVATE_DEV=09# If set, activate inactive devices
acpiacad* =09at acpi?=09=09# ACPI AC Adapter
acpibat* =09at acpi?=09=09# ACPI Battery
acpibut* =09at acpi?=09=09# ACPI Button
acpiec* =09at acpi?=09=09# ACPI Embedded Controller
acpilid* =09at acpi?=09=09# ACPI Lid Switch
acpitz* =09at acpi?=09=09# ACPI Thermal Zone
com* =09=09at acpi?=09=09# Serial communications interface
fdc* =09=09at acpi?=09=09# Floppy disk controller
lpt* =09=09at acpi?=09=09# Parallel port
npx*=09=09at acpi?=09=09# Math coprocessor
pckbc*  =09at acpi?=09=09# PC keyboard controller
pci*=09at mainbus? bus ?
pci*=09at pchb? bus ?
pci*=09at ppb? bus ?
options =09PCIBIOS=09=09=09# PCI BIOS support
options =09PCIBIOS_ADDR_FIXUP=09# fixup PCI I/O addresses
options =09PCIBIOS_BUS_FIXUP=09# fixup PCI bus numbering
options =09PCIBIOS_INTR_FIXUP=09# fixup PCI interrupt routing
pchb*=09at pci? dev ? function ?=09# PCI-Host bridges
pcib*=09at pci? dev ? function ?=09# PCI-ISA bridges
pcmb*=09at pci? dev ? function ?=09# PCI-MCA bridges
ppb*=09at pci? dev ? function ?=09# PCI-PCI bridges
puc*=09at pci? dev ? function ?=09# PCI "universal" comm. cards
agp* =09at pchb?
isa0=09at pcib?
pcmcia* at pcic? controller ? socket ?
pcic0=09at pci? dev? function ?
isapnp0 at isa?
cbb*=09=09at pci? dev ? function ?
cardslot*=09at cbb?
cardbus*=09at cardslot?
pcmcia* =09at cardslot?
npx0=09at isa? port 0xf0 irq 13=09# x86 math coprocessor
pckbc0=09=09at isa?=09=09=09# pc keyboard controller
pckbd*=09=09at pckbc?=09=09# PC keyboard
pms*=09=09at pckbc?=09=09# PS/2 mouse for wsmouse
options=09=09PMS_SYNAPTICS_TOUCHPAD
vga*=09=09at pci? dev ? function ?
wsdisplay*=09at vga? console ?
wskbd*=09=09at pckbd? console ?
wsmouse*=09at pms? mux 0
pcppi0=09=09at isa?
sysbeep0=09at pcppi?
com0=09at isa? port 0x3f8 irq 4=09# Standard PC serial ports
lpt0=09at isa? port 0x378 irq 7=09# standard PC parallel ports
scsibus* at scsi?
aceride* =09at pci? dev ? function ?=09# Acer Lab IDE controllers
atabus* at ata?
wd*=09at atabus? drive ? flags 0x0000
atapibus* at atapi?
cd*=09at atapibus? drive ? flags 0x0000=09# ATAPI CD-ROM drives
fdc0=09at isa? port 0x3f0 irq 6 drq 2=09# standard PC floppy controllers
fd*=09at fdc? drive ?=09=09=09# the drives themselves
re*=09at pci? dev ? function ?=09# Realtek 8139C+/8169/8169S/8110S
rtk*=09at pci? dev ? function ?=09# Realtek 8129/8139
sip*=09at pci? dev ? function ?=09# SiS 900/DP83815 Ethernet
rtk*=09at cardbus? dev ? function ?=09# Realtek 8129/8139
nsphyter* at mii? phy ? =09=09# NS83843 PHYs
ukphy*=09at mii? phy ?=09=09=09# generic unknown PHYs
urlphy* at mii? phy ?=09=09=09# Realtek RTL8150L internal PHYs
ohci*=09at pci?=09dev ? function ?=09# Open Host Controller
usb*=09at ohci?
uhub*=09at usb?
uhub*=09at uhub? port ? configuration ? interface ?
uhidev*=09at uhub? port ? configuration ? interface ?
ums*=09at uhidev? reportid ?
wsmouse* at ums? mux 0
ukbd*=09at uhidev? reportid ?
wskbd*=09at ukbd? console ? mux 1
umass*=09at uhub? port ? configuration ? interface ?
wd* at umass?
ugen*=09at uhub? port ?
autri*=09at pci? dev ? function ?=09# Trident 4DWAVE based AC'97 Audio
audio*=09at audiobus?
midi*=09at midibus?
midi*=09at pcppi?=09=09# MIDI interface to the PC speaker
spkr0=09at pcppi?=09=09# PC speaker
include=09"arch/i386/conf/GENERIC.local"
pseudo-device =09crypto=09=09# opencrypto framework
pseudo-device=09ccd=09=094=09# concatenated/striped disk devices
pseudo-device=09md=09=091=09# memory disk device (ramdisk)
pseudo-device=09vnd=09=094=09# disk-like interface to files
pseudo-device=09bpfilter=098=09# Berkeley packet filter
pseudo-device=09ipfilter=09=09# IP filter (firewall) and NAT
pseudo-device=09loop=09=09=09# network loopback
pseudo-device=09ppp=09=092=09# Point-to-Point Protocol
pseudo-device=09pppoe=09=09=09# PPP over Ethernet (RFC 2516)
pseudo-device=09sl=09=092=09# Serial Line IP
pseudo-device=09strip=09=092=09# Starmode Radio IP (Metricom)
pseudo-device=09irframetty=09=09# IrDA frame line discipline
pseudo-device=09tun=09=092=09# network tunneling over tty
pseudo-device=09gre=09=092=09# generic L3 over IP tunnel
pseudo-device=09gif=09=094=09# IPv[46] over IPv[46] tunnel (RFC1933)
pseudo-device=09vlan=09=09=09# IEEE 802.1q encapsulation
pseudo-device=09bridge=09=09=09# simple inter-network bridging
pseudo-device=09pty=09=09=09# pseudo-terminals
pseudo-device=09tb=09=091=09# tablet line discipline
pseudo-device=09sequencer=091=09# MIDI sequencer
pseudo-device=09rnd=09=09=09# /dev/random and in-kernel generator
pseudo-device=09clockctl=09=09# user control of clock subsystem
pseudo-device=09vcoda=09=094=09# coda minicache <-> venus comm.
pseudo-device=09nsmb=09=09=09# experimental - SMB requester
pseudo-device=09wsmux=09=09=09# mouse & keyboard multiplexor
pseudo-device=09wsfont
pseudo-device=09ksyms=09=09=09# /dev/ksyms
--- END CONFIG ---

So I added:

options =09PCIBIOS=09=09=09
options =09PCIBIOS_ADDR_FIXUP=09
options =09PCIBIOS_BUS_FIXUP=09
options =09PCIBIOS_INTR_FIXUP

amongst other things.  I also made sure that "rtk* at cardbus ..." was
in there and hopefully the appropriate mii line too.

The dmesg for this kernel (called NX9005) was:

--- BEGIN DMESG ---
NetBSD 2.0.2 (NX9005) #4: Thu Aug 11 08:03:09 NZST 2005
=09root@jlap:/usr/src/sys/arch/i386/compile/NX9005
total memory =3D 190 MB
avail memory =3D 181 MB
BIOS32 rev. 0 found at 0xfd730
PCI BIOS rev. 2.1 found at 0xfd87b
PCI IRQ Routing Table rev. 1.0 found at 0xfdf10, size 208 bytes (11 entries=
)
PCI Interrupt Router at 000:07:0 (Acer Labs M1543 PCI-ISA Bridge compatible=
)
pci_addr_fixup: 000:10:0 0x1217 0x6933 new address 0x0bf00000
pci_addr_fixup: 000:10:1 0x1217 0x6933 new address 0x0bf01000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon XP2400+ (686-class), 1789.02 MHz, id 0x6a0
cpu0: features c3cbf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features c3cbf9ff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu0: features c3cbf9ff<FXSR,SSE,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 512 KB 64B/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associat=
ive
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 page colors
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
npx1 at acpi0 (PNP0C04)
npx1: io 0xf0-0xfe irq 13
npx1: using exception 16
PNP0800 [AT-style speaker sound] at acpi0 not configured
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (SYN0104): aux port
pckbc2: irq 12
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configu=
red
PNP0C01 [System Board] at acpi0 not configured
PNP0A05 [Generic ACPI Bus] at acpi0 not configured
fdc1 at acpi0 (PNP0700)
fdc1: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
lpt1 at acpi0 (PNP0401)
lpt1: io 0x378-0x37f,0x778-0x77f irq 7 drq 0
com1 at acpi0 (PNP0501)
com1: io 0x3f8-0x3ff irq 4
com1: ns16550a, working fifo
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
HWPC209 at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: polling interval is 0.0s
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ATI Technologies product 0xcab0 (rev. 0x13)
agp at pchb0 not configured
ppb0 at pci0 dev 1 function 0: ATI Technologies product 0x700f (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: ATI Technologies Radeon IGP 320M (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
ohci0 at pci0 dev 2 function 0: Acer Labs M5237 USB Host Controller (rev. 0=
x03)
ohci0: interrupting at irq 9
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
autri0 at pci0 dev 6 function 0: Acer Labs M5451 AC-Link Controller
Audio Device (rev. 0x02)
autri0: interrupting at irq 5
autri0: ac97: CXT41 codec; reserved, headphone, 18 bit DAC, 18 bit
ADC, no 3D stereo
audio0 at autri0: full duplex, mmap, independent
midi0 at autri0: 4DWAVE MIDI UART
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0x00)
Acer Labs product 0x5457 (modem communications) at pci0 dev 8 function
0 not configured
cbb0 at pci0 dev 10 function 0: O2 Micro, Inc. OZ6933 PCI-Cardbus
Bridge (rev. 0x01)
cbb1 at pci0 dev 10 function 1: O2 Micro, Inc. OZ6933 PCI-Cardbus
Bridge (rev. 0x01)
Texas Instruments TSB43AA21 OHCI IEEE 1394 Host Controller (Firewire
serial bus, interface 0x10) at pci0 dev 12 function 0 not configured
aceride0 at pci0 dev 16 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc4)
aceride0: bus-master DMA support present
aceride0: primary channel wired to compatibility mode
aceride0: primary channel interrupting at irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel wired to compatibility mode
aceride0: secondary channel interrupting at irq 15
atabus1 at aceride0 channel 1
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at
pci0 dev 17 function 0 not configured
sip0 at pci0 dev 18 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip0: interrupting at irq 11
sip0: Ethernet address 00:0d:9d:83:e6:57
nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 10
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0
pcmcia1 at cardslot1
WARNING: Callback scheduled before sysmon task queue thread present.
fd0 at fdc1 drive 0: density unknown
IPsec: Initialized Security Association Processing.
acpibat0: battery info: DYNAPACK, LION, 02KT, 1142
wd0 at atabus0 drive 0: <IC25N040ATCS04-0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sector=
s
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100)
(using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-STCD-RW/DVD DRIVE GCC-4241N, , 0C29>
cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(aceride0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
acpiec0: evaluation of GPE query method _Q8A failed: AE_NOT_FOUND
acpiec0: evaluation of GPE query method _Q8A failed: AE_NOT_FOUND
acpiec0: evaluation of GPE query method _Q8A failed: AE_NOT_FOUND
acpiec0: evaluation of GPE query method _Q8A failed: AE_NOT_FOUND
Realtek, Rtl8139, M^?M^? (manufacturer 0x0, product 0x0) Realtek
Semiconductor product 0x8180 (ethernet network, revision 0x20) at
cardbus1 dev 0 function 0 not configured
--- END DMESG ---

So in the end, I get the same thing (plus a lot of acpi stuff, which
I'm not worried about right now).  What preplexes me is that NetBSD
seems to pick up the card fine, and is aware that its an RTL8139, but
doesn't configure it for whatever reason.  Does anyone know how I can
fix this problem?  Any suggestions at this stage would be welcomed.  I
know the card works on this computer, because I have a Windows XP
partition on the laptop and it has no problems there.  Am I perhaps
mistaken in thinking that this card is supported by NetBSD?

Thanks in advance!

-Alastair