Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2001 11:04:10 -0700
From:      Ed Hall <edhall@weirdnoise.com>
To:        freebsd-mobile@FreeBSD.ORG
Cc:        edhall@screech.weirdnoise.com
Subject:   Ricoh RL5C475 PCI-CardBus Bridge in PCI Card; No interrupts?
Message-ID:  <200110211804.f9LI4Br01735@screech.weirdnoise.com>

next in thread | raw e-mail | index | archive | help
The D-Link DWL-500 IEEE 802.11b PCI card is a DWL-650 PCMCIA card plugged
into a PCI-CardBus bridge based on the Ricoh RL5C475 chip.  I'm having
problems receiving interrupts through this card; dmesg output attached.

The host system is a Dell Dimension XPS D333 (A P-II-based desktop)
running -STABLE that was cvsup'd and rebuilt about 8 hours ago.

There was a lot of discussion of PCI-CardBus bridge based on this chip
back a bit over a year ago, starting with this message:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=84371+0+archive/2000/freebsd-mobil
e/20000730.freebsd-mobile

but there never seemed to be a resolution for his specific problem in
the ensuing discussion.

Unlike Brian, I can configure the installed PCMCIA card just fine.  But
I never receive an interrupt from it, and thus get a stream of "wi0:
watchdog timeout" messages.

Based on discussion by Warner Losh here a month or two back, I tried
adding:

    hw.pcic.intr_path="1"
    hw.pcic.irq="0"

to my /boot/loader.conf.  No joy; pccardd finds the card, as before,
says it is connected on irq 10, as before, but no interrupts actually
make it through.

Any ideas of what I should try next?  (Other than tossing the CardBus
bridge card.)

		-Ed

==================================dmesg==================================
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.4-STABLE #1: Sun Oct 21 04:41:09 PDT 2001
    edhall@screech.weirdnoise.com:/home/src/sys/compile/SCREECH
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (333.35-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x650  Stepping = 0
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,P
AT,PSE36,MMX,FXSR>
real memory  = 134217728 (131072K bytes)
avail memory = 126763008 (123792K bytes)
Preloaded elf kernel "kernel" at 0xc03da000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc03da09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fdf50
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <VGA-compatible display device> at 0.0 irq 9
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfc90-0xfc9f at device 7.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11
chip1: <Intel 82371AB Power management controller> port 0x7000-0x700f at 
device 7.3 on pci0
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xfcc0-0xfcff irq 10 at device 
13.0 on pci0
xl0: Ethernet address: 00:60:08:ad:a9:a1
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci_cfgintr_search: linked (61) to configured irq 10 at 0:13:0
pci_cfgintr: 0:14 INTA routed to irq 10
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 10 at device 14.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pccard0: <PC Card bus (classic)> on pcic0
isa0: too many dependant configs (8)
isa0: unexpected small tag 14
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xe4000-0xeffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: failed to get data.
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: IEEE1284 device found /NIBBLE/PS2/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 890C> PCL,MLC,PML
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 
drq 1,5 on isa0
pcm0: <SB16 DSP 4.16> on sbc0
IP Filter: v3.4.20 initialized.  Default = pass all, Logging = enabled
ad0: 19574MB <IBM-DPTA-372050> [39770/16/63] at ata0-master UDMA33
acd0: CDROM <TOSHIBA CD-ROM XM-6202B> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0a
pccard: card inserted, slot 0
wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 10 slot 0 on pccard0
wi0: Ethernet address: 00:05:5d:d6:45:53
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfca0-0xfcbf irq 11 at 
device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
wi0: watchdog timeout
wi0: watchdog timeout
wi0: watchdog timeout



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110211804.f9LI4Br01735>