[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with Texas Instruments PCI 1225 Cardbus interface
Hi,
I installed OpenBSD 3.4 onto a notebook and I'm having CardBus/PCMCIA
problems. Specifically, although the Texas Instruments 1225 interface
is being recognized, I can't seem to get the system to recognize that
any cards are present in the slots (i.e. they don't even register as
unknown). I've tried a handful different cards with the same result.
Note that the hardware is good as the slots and the cards are detected
under Windows 2000. Windows 2000 lists a series of memory addresses for
each card, none of which line up as the OpenBSD socket base address. I did
get one odd message during boot "cardbusmatch: bus name differs pcmcia <=>
cardbus" but I've traced through the code and I think this is normal (it
seems to pass the same interface to both cardbus and pcmcia routines).
Note that I am running a stock kernel with the exception of adding the
debug lines and a change to the AUE USB ethernet code (there is an error
in one of the flags which causes a kernel crash).
Is there some trick to get it working? Any suggestions on what code to
look at if it's broken?
Thanks in advance,
Rob Ginn
rob@olg.com
Here is the dmesg (note that I've added DEBUG messages and turned on
extra debugging for pccbb.c, cardbus.c and cardslot.c code):
OpenBSD 3.4 (VOYAGER) #13: Mon Mar 1 11:13:42 EST 2004
root@voyager:/usr/src/sys/arch/i386/compile/VOYAGER
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 802 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,
SIMD
real mem = 66695168 (65132K)
avail mem = 58277888 (56912K)
using 839 buffers containing 3436544 bytes (3356K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(98) BIOS, date 05/15/99, BIOS32 rev. 0 @ 0xeb1f0
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 92%
apm0: AC on, battery charge high, estimated 546:06 hours
pcibios0 at bios0: rev. 2.1 @ 0xe8000/0x700
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfe840/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB PCI-ISA" rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc0000/0x10000 0xe2000/0x800 0xe3000/0x1000 0xe7000/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Mach64 LB" rev 0xdc
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel
0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK2016GAP>
wd0: 16-sector PIO, LBA, 19077MB, 16383 cyl, 16 head, 63 sec, 39070080 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-C2402, 1J09> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Mgmt" rev 0x03 at pci0 dev 7 function 3 not configured
cbb0 at pci0 dev 10 function 0 "Texas Instruments PCI1225 PCI-CardBus" rev
0x01 (chipflags 3)DEBUG: socket base address $4000000
DEBUG: assume valid: socket base address $4000000
cbb0: socket base address 0x4000000
: intrpin A, intrtag 255
: irq 11
cbb1 at pci0 dev 10 function 1 "Texas Instruments PCI1225 PCI-CardBus" rev
0x01 (chipflags 3)DEBUG: socket base address $4001000
DEBUG: assume valid: socket base address $4001000
cbb1: socket base address 0x4001000
: intrpin B, intrtag 255
: irq 10
vendor "Conexant", unknown product 0x2015 (class communications subclass
miscellaneous, rev 0x01) at pci0 dev 14 function 0 not configured
maestro0 at pci0 dev 16 function 0 "ESS Maestro 2E" rev 0x10: irq 5
ac97: codec id 0x83847600 (SigmaTel STAC9700)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at maestro0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
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
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
CardBus latency timer 0x20 (20020200)
PCI latency timer 0x10 (821008)
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [44]
DEBUG: CardBus busname set to cardbus
cbb0: cacheline 0x8 lattimer 0x20
cbb0: bhlc 0x821008 lscp 0x20020200
DEBUG: caa.caa,cb_attach set to cba
DEBUG: in cardslotmatch
DEBUG: leaving cardslotmatch, it matched
cardslot0 at cbb0DEBUG: in cardslotattach, cba = $d0434db8, pa = $d0434da4
slot 0 flags 0
cardslot0 attaching CardBus bus...
DEBUG: before attach: cba_busname = "cardbus"
DEBUG: in cardbusmatch(), cba_busname = "cardbus"
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
cardslotattach: found cardbus on cardslot0
DEBUG: after config_found(), cba_busname = "cardbus"
DEBUG: before pcmcia attach: cba_busname = "cardbus"
DEBUG: in cardbusmatch(), cba_busname = "pcmcia"
cardbusmatch: busname differs pcmcia <=> cardbus
pcmcia0 at cardslot0
cardslotattach: found 16-bit pcmcia bus
DEBUG: after pcmcia attach: cba_busname = "cardbus"
pccbb_pcmcia_card_detect
pccbbattach: found cardslot
CardBus latency timer 0x20 (20030300)
PCI latency timer 0x10 (821008)
pccbb_power: CARDBUS_VCC_0V and CARDBUS_VPP_0V [44]
DEBUG: CardBus busname set to cardbus
cbb1: cacheline 0x8 lattimer 0x20
cbb1: bhlc 0x821008 lscp 0x20030300
DEBUG: caa.caa,cb_attach set to cba
DEBUG: in cardslotmatch
DEBUG: leaving cardslotmatch, it matched
cardslot1 at cbb1DEBUG: in cardslotattach, cba = $d0434db8, pa = $d0434da4
slot 1 flags 0
cardslot1 attaching CardBus bus...
DEBUG: before attach: cba_busname = "cardbus"
DEBUG: in cardbusmatch(), cba_busname = "cardbus"
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20
cardslotattach: found cardbus on cardslot1
DEBUG: after config_found(), cba_busname = "cardbus"
DEBUG: before pcmcia attach: cba_busname = "cardbus"
DEBUG: in cardbusmatch(), cba_busname = "pcmcia"
cardbusmatch: busname differs pcmcia <=> cardbus
pcmcia1 at cardslot1
cardslotattach: found 16-bit pcmcia bus
DEBUG: after pcmcia attach: cba_busname = "cardbus"
pccbb_pcmcia_card_detect
pccbbattach: found cardslot
biomask cc40 netmask cc40 ttymask dc42
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
aue0 at uhub0 port 2
aue0: D-Link Corp. DSB-650 USB Ethernet, rev 1.10/1.01, addr 2
aue0: address 00:50:ba:73:3b:5c
bmtphy0 at aue0 phy 0: BCM5201 10/100 media interface, rev. 2