Subject: TI PCI1450 CardBus Help.....
To: None <current-users@netbsd.org>
From: Charlie Root <ryan.hurst@home.com>
List: current-users
Date: 03/22/2000 17:49:59
This is a multi-part message in MIME format.
--------------8BB58C3041FADD8CB50B11B1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi, I am running NetBSD-current on my Compaq Armada M700 notebook. It
uses the Texas Instruments PCI1450 PCI-CardBus Bridge and I have been
having a hell of a time figuring out why its not behaving correctly.

Here is what I tested:
I have a 3COM 3c575 CardBus card, and when this card is in the first
slot it is detected and works fine. But in the second slot it is not
detected. This was fine for a while but I recently purchased WaveLAN
cards from Lucent and want them both to be in at the same time.

I also tried putting the WaveLAN card (which is PCMCIA not CardBus) in
the first slot (which works fine for the 3c575) and could not get it to
work. I got an error about not being able to find the MAC address, in
the second slot it also was not detected. Thinking that this may have
something to do with the WaveLAN driver I dug out my old reliable 3c589D
and tried it in the fist slot, again with a strange error (which I
didn't write down), and in the second slot it also was not detected.

Here is what I know :
1) CardBus cards work in slot 1
2) No cards work in slot 2
3) PCMCIA cards do not work in slot 1
4) I also noticed that USB is also not working, I do not necessarily
care about this right now but it would be nice to get this fixed.
5) the WI and EP devices work fine on the generic kernel with no
CardBus.

Although I am running with a custom kernel, I get the exact same
behavior out of the regular CARDBUS kernel. I am also running the most
recent source. (I ftp'd the src tree from ftp.netbsd.org today and
rebuilt my kernel and did a make build while I was at it).

Some one recomended to me that I turn off the PNP OS setting in my bios,
unfortunatly Compaq did not provide such a setting, and even if they did
I don't know if I could use it since this is a multi-boot machine.

I have attatched the dmesg output from my kernel with the related
debuging stuff turned on.

Any help would be appriciated. I am at my wits end on this problem and I
realy want to play with my WaveLAN cards!

Ryan M. Hurst

P.S. Please be sure to keep this email on any replies since I only
subscibe to current at work and I won't be able to check that account
for nearly a week!

--------------8BB58C3041FADD8CB50B11B1
Content-Type: text/plain; charset=us-ascii;
 name="dmesg.debug"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg.debug"

970, size 0 bytes (-2 entries)
pcibios_pir_init: bad IRQ table size
PCI IRQ Routing Table rev. 1.0 found at 0xf4eb0, size 304 bytes (17 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371AB PCI-to-ISA Bridge (PIIX4))
PCI Exclusive IRQs: 5 10 11
PIR Entry 0:
	Bus: 0  Device: 1
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 1:
	Bus: 1  Device: 0
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 2:
	Bus: 0  Device: 4
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 3:
	Bus: 0  Device: 7
		INTA: link 0x00 bitmap 0x0000
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x63 bitmap 0x0c20
PIR Entry 4:
	Bus: 0  Device: 8
		INTA: link 0x62 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 5:
	Bus: 0  Device: 9
		INTA: link 0x62 bitmap 0x0c20
		INTB: link 0x63 bitmap 0x0c20
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 6:
	Bus: 0  Device: 5
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x61 bitmap 0x0800
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 7:
	Bus: 0  Device: 15
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 8:
	Bus: 0  Device: 20
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 9:
	Bus: 0  Device: 14
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x61 bitmap 0x0800
		INTC: link 0x61 bitmap 0x0800
		INTD: link 0x61 bitmap 0x0800
PIR Entry 10:
	Bus: 0  Device: 13
		INTA: link 0x61 bitmap 0x0800
		INTB: link 0x61 bitmap 0x0800
		INTC: link 0x61 bitmap 0x0800
		INTD: link 0x61 bitmap 0x0800
PIR Entry 11:
	Bus: 0  Device: 16
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x61 bitmap 0x0c20
		INTC: link 0x62 bitmap 0x0c20
		INTD: link 0x63 bitmap 0x0c20
PIR Entry 12:
	Bus: 0  Device: 12
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x61 bitmap 0x0c20
		INTC: link 0x62 bitmap 0x0c20
		INTD: link 0x63 bitmap 0x0c20
PIR Entry 13:
	Bus: 4  Device: 7
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x00 bitmap 0x0000
		INTC: link 0x00 bitmap 0x0000
		INTD: link 0x00 bitmap 0x0000
PIR Entry 14:
	Bus: 4  Device: 8
		INTA: link 0x60 bitmap 0x0c20
		INTB: link 0x61 bitmap 0x0c20
		INTC: link 0x62 bitmap 0x0c20
		INTD: link 0x63 bitmap 0x0c20
PIR Entry 15:
	Bus: 4  Device: 9
		INTA: link 0x61 bitmap 0x0c20
		INTB: link 0x62 bitmap 0x0c20
		INTC: link 0x63 bitmap 0x0c20
		INTD: link 0x60 bitmap 0x0c20
PIR Entry 16:
	Bus: 4  Device: 10
		INTA: link 0x62 bitmap 0x0c20
		INTB: link 0x63 bitmap 0x0c20
		INTC: link 0x60 bitmap 0x0c20
		INTD: link 0x61 bitmap 0x0c20
pciintr_link_fixup: PIRQ 0 already connected to IRQ 11
pciintr_link_fixup: PIRQ 3 already connected to IRQ 11
pciintr_link_fixup: PIRQ 2 already connected to IRQ 11
pciintr_link_fixup: PIRQ 1 not connected, assigning IRQ 11
--------------------------------------------
  device vendor product pin PIRQ   IRQ stage
--------------------------------------------
000:04:0 0x104c 0xac1b  A   0x00   11  0
000:04:1 0x104c 0xac1b  A   0x00   11  0
000:07:2 0x8086 0x7112  D   0x03   11  0
000:08:0 0x125d 0x1978  A   0x02   11  0
000:09:0 0x11c1 0x0449  A   0x02   11  0
001:00:0 0x1002 0x4c4d  A   0x00   11  0
--------------------------------------------
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI bridge 2: primary 0, secondary 3, subordinate 3
PCI bus #3 is the last bus
mainbus0 (root)
pnpbios0 at mainbus0: nodes 16, max len 250
node idx: called 0, got 1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: ATI Technologies product 0x4c4d (rev. 0x64)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
wsdisplay0: screen 1-2 added (80x25, vt100 emulation)
cbb0 at pci0 dev 4 function 0: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03)
cbb0: can't map socket base address 0x41180000
pci_io_find: expected type i/o, found mem
cbb0: can't map socket base address 0x4: io mode
cbb1 at pci0 dev 4 function 1: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03)
cbb1: can't map socket base address 0x41200000
pci_io_find: expected type i/o, found mem
cbb1: can't map socket base address 0x4: io mode
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4)
pciide0: bus-master DMA support present, but unused (couldn't map registers)
pciide0: primary channel wired to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 1: <CD-224E, , 9.0B> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 2
wd0 at pciide0 channel 0 drive 0: <IBM-DBCA-206480>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6194 MB, 13424 cyl, 15 head, 63 sec, 512 bytes/sect x 12685680 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4
cd0(pciide0:0:1): using PIO mode 4
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: can't map i/o space
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x02) at pci0 dev 7 function 3 not configured
ESS Technology Inc Maestro 2E (audio multimedia, revision 0x10) at pci0 dev 8 function 0 not configured
AT&T Microelectronics product 0x0449 (miscellaneous communications, revision 0x01) at pci0 dev 9 function 0 not configured
cbb0: interrupting at irq 11
cbb0: cacheline 0x8 lattimer 0x20
cbb0: bhlc 0x824208 lscp 0x20020200
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cbb1: cacheline 0x8 lattimer 0x20
cbb1: bhlc 0x824208 lscp 0x20030300
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20
pcmcia1 at cardslot1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: 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
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
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
apm0 at mainbus0: Power Management spec V1.2 (BIOS managing devices)
biomask ef4d netmask ef4d ttymask ffcf
IPsec: Initialized Security Association Processing.
ex0 at cardbus1 dev 0 function 0: 3Com 3c575B-TX Ethernet
ex0: interrupting at 11
ex0: MAC address 00:50:04:93:70:9a
tqphy0 at ex0 phy 0: 78Q2120 10/100 media interface, rev. 3
tqphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ex0: supplying EUI64: 00:50:04:ff:fe:93:70:9a
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0

--------------8BB58C3041FADD8CB50B11B1--