Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2001 01:41:52 +0200
From:      Petri Riihikallio <Petri.Riihikallio@Metis.fi>
To:        freebsd-mobile@freebsd.org
Subject:   Compaq Armada w/TI-1225: No PC-CARD Slots (4.2 release)
Message-ID:  <a05010403b687c02ae964@[192.168.0.2]>

next in thread | raw e-mail | index | archive | help
Hello

I upgraded my Armada from 3.4 to 4.2 by a clean install. Now I can't get my Xircom ethernet PC-card to work. I have searched the mail archives and found many similar questions, but less answers. Should this work?

The relevant lines of dmesg are:

pcic-pci0: <TI PCI-1225 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 11 at device 17.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC serial isa irq]
pcic-pci1: <TI PCI-1225 PCI-CardBus Bridge> mem 0x7ffff000-0x7fffffff irq 11 at device 17.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC serial isa irq]
...
pcic0 at port 0x3e0-0x3e1 iomem 0xd0000-0xd0fff irq 10 on isa0
pcic ident regs: 0x84 0x84 0x00 0x00
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pccard0: <PC Card bus -- newconfig version> on pcic0
pccard1: <PC Card bus -- newconfig version> on pcic0

(full version at http://www.metis.fi/dmesg.txt)

I know that the pcic-pci0/1 irq 11 vs. pcic0 irq 10 is wrong, but I don't know what to do about it.

The relevant lines of kernel config:

# PCCARD (PCMCIA) support
device		pccard
device		pcic0	#at isa?   <- tried with "at isa?" or commented out, no difference
#device		pcic1	at isa?    <- tried with this and ended with pcic2 in dmesg!
# Xircom Ethernet
device		xe

(full version at http://www.metis.fi/armada.txt)

With "device card" (as in GENERAL and LINT) I got only the pcic-pci0 and pcic-pci1 lines in dmesg. No pcic0 or pccard0/1. Then I saw in some post "device pccard". Now the kernel knows about insertion and removal of the card. I haven't found any references or docs on this device. Are there any? Shouldn't the pcic devices appear on the pci bus? That's why I have tried to comment out the bus part.

Now if I remove the card I get:

pcic0: intr
pccard1: 40 CD 0

and when I insert the card (but not at boot) I get:

pcic0: intr
pccard1: 40 CD c
pccard1: enqueing INSERTION event
pccard1: insertion event
pcic_attach_card h 0xc0979944 h->dev 0xc0978000 pccard pcic
pccard1: pccard_card_attach
pccard1: chip_socket_enable
pccard1: pcic_chip_socket_enable cardtype mem 40
pccard1: read_cis
Calling scan_cis
pcic_chip_mem_map window 0 bus 0+0+400 at card addr 0
pcic_chip_do_mem_map window 0: 0000 8000 0000
0xc0978f80 0xc0978000 3 0 0x1
pcic_chip_do_mem_map window 0: 00d2 80d2 4000
cis mem map c00d2000
pccard1: CIS tuple chain:
CISTPL_DEVICE type=null speed=null
 01 02 00 ff
CISTPL_DEVICE_A type=null speed=null
 17 02 00 ff
CISTPL_VERS_1
 15 2c 05 00 58 69 72 63 6f 6d 00 43 72 65 64 69
 74 43 61 72 64 20 31 30 2f 31 30 30 00 43 45 33
 2d 31 30 2f 31 30 30 00 31 2e 30 30 00 ff
unhandled CISTPL 88
 88 08 a2 e8 bc 00 00 00 00 00
CISTPL_MANFID
 20 05 05 01 0a 01 43
unhandled CISTPL 44
 44 04 62 3c 86 22
CISTPL_CONFIG
 1a 05 01 01 00 08 03
CISTPL_CFTABLE_ENTRY
 1b 19 c1 c1 bd 7f 55 4d 5d 3e 46 46 06 e0 17 17
 e4 60 00 00 0f 70 bc 8e 10 00 20
CISTPL_FUNCID
 21 02 06 00
unhandled CISTPL 22
 22 08 04 06 00 80 c7 a2 e8 bc
... more unhandled CISTPL 22's deleted ...
CISTPL_END
 ff
pccard1: chip_socket_disable
pcic_chip_socket_disable
pccard1: check_cis_quirks
pccard1: functions scanning

Still I can't launch pccardd since there are "no PC-card slots", says the error message. I have remade the /dev every once in a while. There are /dev's card0 - 3, but they are not configured, if I try to read them. Should I have pccard's or pcic's in /dev?

I would have tried the new devices cardbus and pccbb, but I am missing some sources. I installed full sources from the 4.2 release CD, though.

The funny thing is that this used to work in 3.4 with these lines in config:

# PCCARD (PCMCIA) support
controller	card0
device		pcic0	at card?
device		pcic1	at card?

Sorry about the lengthy post, but I tried to include everything that could be of interest. If somebody does have a TI-1225 working on a laptop, could you please help me out?

Thanks
Petri
-- 
--
Petri.Riihikallio@Metis.fi


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?a05010403b687c02ae964>