Subject: Ricoh cardbus problems after upgrade 1.5 to 1.6
To: None <port-i386@netbsd.org>
From: Neil Ludban <nludban@karlnet.com>
List: port-i386
Date: 06/28/2002 18:48:55
Hello,
After upgrading from 1.5.2 to 1.6_BETA1, the Ricoh dual cardbus to PCI
adaptor no longer works correctly. A search of the mailing lists got
the most hits on -i386 (but no solutions), wanted to ask here first to
see if anybody has figured it out yet. (What's the best list for this
sort of thing?)
Some samples of the errors I'm seeing:
> wi0 at pcmcia0 function 0: INTERSIL, HFA384x/IEEE, Version 01.02
> wi0:wi0: init failed
> could not get mac address, attach failed
> wi0: failed to attach controller
> wi0 detached
>
> an0 at pcmcia1 function 0: Cisco Systems, 350 Series Wireless LAN Adapter
> an0: failed to load config data
> an0: failed to attach controller
> an0 detached
>
> wi0 at pcmcia0 function 0: D, Link DWL-650 11Mbps WLAN Card, Version 01.02
> wi0:wi0: init failed
> could not get mac address, attach failed
> wi0: failed to attach controller
> wi0 detached
>
> ne2 at pcmcia0 function 0
> ne2: Linksys Combo EthernetCard Ethernet
> ne2: where did the card go?
> ne2 detached
>
> wdc2 at pcmcia0 function 0 # (CompactFlash/PCMCIA adaptor)
> wdc2 detached
The only cardbus card I have access to (SMC 8036TX 10/100 ethernet)
locks the box solid every time it's inserted, and after the "IPSec:
Initialized" line if left in during startup.
Appended is dmesg output from booting 1.5.2 and 1.6_BETA1 kernels.
More info available upon request, and I can test any code changes.
Thanks-
-Neil
***
NetBSD 1.5.2 (TESTBSD) #0: Fri Feb 22 15:35:35 EST 2002
neil@testbsd.karlnet.com:/usr/src/sys/arch/i386/compile/TESTBSD
cpu0: Intel Pentium III (Coppermine) (686-class), 799.79 MHz
total memory = 255 MB
avail memory = 231 MB
using 3297 buffers containing 13188 KB of memory
BIOS32 rev. 0 found at 0xfb290
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT82C691 (Apollo Pro) Host-PCI (rev. 0xc4)
ppb0 at pci0 dev 1 function 0: VIA Technologies VT82C598 (Apollo MVP3)
PCI-AGP (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x82)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C596A (Apollo Pro) PCI-ISA Bridge (rev. 0x23)
pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C596A (Apollo Pro)
ATA66 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DTLA-307030>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 29314 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 60036480
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (using DMA data
transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 1: <FX4830T, , R02C> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller
(rev. 0x11)
uhci0: interrupting at irq 12
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pchb1 at pci0 dev 7 function 3
pchb1: VIA Technologies product 0x3050 (rev. 0x30)
tlp0 at pci0 dev 15 function 0: ADMtek AN985 Ethernet, pass 1.1
tlp0: interrupting at irq 12
tlp0: Ethernet address 00:20:78:1e:a4:c9
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000895, model 0x0001, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk0 at pci0 dev 16 function 0: D-Link Systems DFE 530TX+
rtk0: interrupting at irq 10
rtk0: Ethernet address 00:50:ba:47:37:a4
ukphy1 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000000, model 0x0000, rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk1 at pci0 dev 17 function 0: RealTek 8139 10/100BaseTX
rtk1: interrupting at irq 11
rtk1: Ethernet address 00:50:ba:48:65:ef
ukphy2 at rtk1 phy 7: Generic IEEE 802.3u media interface
ukphy2: OUI 0x000000, model 0x0000, rev. 0
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk2 at pci0 dev 18 function 0: RealTek 8139 10/100BaseTX
rtk2: interrupting at irq 5
rtk2: Ethernet address 00:50:ba:48:68:f9
ukphy3 at rtk2 phy 7: Generic IEEE 802.3u media interface
ukphy3: OUI 0x000000, model 0x0000, rev. 0
ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eap0 at pci0 dev 19 function 0: Ensoniq CT5880 CT5880C (rev. 0x02)
eap0: interrupting at irq 12
eap0: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, Rockwell 3D
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
cbb0 at pci0 dev 20 function 0: Ricoh 5C476 PCI-CardBus bridge (rev. 0x80)
cbb1 at pci0 dev 20 function 1: Ricoh 5C476 PCI-CardBus bridge (rev. 0x80)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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
lpt0 at isa0 port 0x378-0x37b irq 7
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
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 10
cbb0: cacheline 0x0 lattimer 0x20
cbb0: bhlc 0x822000 lscp 0x20000000
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 0 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cbb1: cacheline 0x0 lattimer 0x20
cbb1: bhlc 0x822000 lscp 0x20000000
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 0 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
biomask ff45 netmask ff65 ttymask ffe7
wi0 at pcmcia0 function 0
wi0: address 00:02:2d:30:25:1f
wi1 at pcmcia1 function 0
wi1: address 00:02:2d:04:68:d6
ums0 at uhub0 port 1 configuration 1 interface 0
ums0: Logitech USB Mouse, rev 1.10/6.20, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
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)
wsmux1: connecting to wsdisplay0
***
NetBSD 1.6_BETA1 (TESTBSD) #0: Fri Jun 28 14:04:57 EST 2002
neil@testbsd.karlnet.com:/usr/src/sys/arch/i386/compile/TESTBSD
cpu0: Intel Pentium III (Coppermine) (686-class), 799.79 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: features 387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 387fbff<PGE,MCA,CMOV,FGPAT,PSE36,PN,MMX>
cpu0: features 387fbff<FXSR,SSE>
cpu0: serial number 0000-0683-0002-2182-199B-3E2C
total memory = 255 MB
avail memory = 231 MB
using 3297 buffers containing 13188 KB of memory
BIOS32 rev. 0 found at 0xfb290
mainbus0 (root)
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: VIA Technologies VT82C691 (Apollo Pro) Host-PCI (rev. 0xc4)
agp0 at pchb0: aperture at 0xd0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT82C598 (Apollo MVP3)
CPU-AGP Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x82)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C596A (Apollo Pro) PCI-ISA Bridge (rev. 0x23)
pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C596A (Apollo Pro)
ATA66 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DTLA-307030>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 29314 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 60036480
sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA
data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 1: <FX4830T, , R02C> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller
(rev. 0x11)
uhci0: interrupting at irq 12
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pchb1 at pci0 dev 7 function 3
pchb1: VIA Technologies product 0x3050 (rev. 0x30)
tlp0 at pci0 dev 15 function 0: ADMtek AN985 Ethernet, pass 1.1
tlp0: interrupting at irq 12
tlp0: Ethernet address 00:20:78:1e:a4:c9
acphy0 at tlp0 phy 1: ACXXX 10/100 media interface, rev. 0
acphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk0 at pci0 dev 16 function 0: D-Link Systems DFE 530TX+
rtk0: interrupting at irq 10
rtk0: Ethernet address 00:50:ba:47:37:a4
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk1 at pci0 dev 17 function 0: RealTek 8139 10/100BaseTX
rtk1: interrupting at irq 11
rtk1: Ethernet address 00:50:ba:48:65:ef
ukphy1 at rtk1 phy 7: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000000, model 0x0000, rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rtk2 at pci0 dev 18 function 0: RealTek 8139 10/100BaseTX
rtk2: interrupting at irq 5
rtk2: Ethernet address 00:50:ba:48:68:f9
ukphy2 at rtk2 phy 7: Generic IEEE 802.3u media interface
ukphy2: OUI 0x000000, model 0x0000, rev. 0
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eap0 at pci0 dev 19 function 0: Ensoniq CT5880 CT5880C (rev. 0x02)
eap0: interrupting at irq 12
eap0: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
cbb0 at pci0 dev 20 function 0: Ricoh 5C476 PCI-CardBus bridge (rev. 0x80)
cbb1 at pci0 dev 20 function 1: Ricoh 5C476 PCI-CardBus bridge (rev. 0x80)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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
lpt0 at isa0 port 0x378-0x37b irq 7
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
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 0 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 0 device 0
pcmcia1 at cardslot1
biomask ff45 netmask ff65 ttymask ffe7
IPsec: Initialized Security Association Processing.
wi0 at pcmcia1 function 0: Lucent Technologies, WaveLAN/IEEE, Version 01.01
wi0:wi0: init failed
could not get mac address, attach failed
wi0: failed to attach controller
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.00, addr 2, iclass
3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse0 at ums0 mux 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
IP Filter: v3.4.27 initialized. Default = pass all, Logging = enabled
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)