From owner-freebsd-mobile Thu Jan 18 14:57: 7 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from m2.pp.htv.fi (m2ep.pp.htv.fi [212.90.64.98]) by hub.freebsd.org (Postfix) with ESMTP id 3D3C737B698 for ; Thu, 18 Jan 2001 14:56:42 -0800 (PST) Received: from m7.pp.htv.fi (m7.pp.htv.fi [212.90.64.22]) by m2.pp.htv.fi (8.9.3 (PHNE_22672)/8.8.6) with ESMTP id AAA29941 for ; Fri, 19 Jan 2001 00:56:35 +0200 (EET) Received: from [192.168.0.2] (cs80083.pp.htv.fi [212.90.80.83]) by m7.pp.htv.fi (8.8.6 (PHNE_14041)/8.8.6) with ESMTP id AAA18979 for ; Fri, 19 Jan 2001 00:56:28 +0200 (EET) Mime-Version: 1.0 X-Sender: metis@pop.clinet.fi Message-Id: Date: Fri, 19 Jan 2001 00:56:15 +0200 To: Freebsd-mobile@freebsd.org From: Petri Riihikallio Subject: No progress with Compaq Armada w/TI-1225: No PC-CARD Slots (4.2R) Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello I am following my own thread since I am not sure whether my earlier post made it to the list or not. I didn't get a single comment. Sorry about the length but many answers in the archive complain about the lack of evidence. I have built several kernels since that post but learned little new. However, when I try to use the pcic device in polling mode (irq 0), the kernel disables that device at boot and creates a new one (pcicN+1) with irq 10. I have even tried to fiddle with the boot environment with "set machdep.pccard.pcic_irq=0" with the same results. In short my questions are: 1: Is the "pcic-pci0 irq 11" versus "pcic0 irq 10" a problem? How do I change the pcic-pci0 since I can't change the pcic0? 2: Are there any docs for "device pccard" or PC-card support in general? The "device card" in GENERIC and LINT didn't work at all (no pcicN's or pccardN's). I couldn't link the NEWCARD stuff since some sources were missing. I don't know the differences between these and how the choice might affect something else. However, I would settle for anything that works. 3: Should I have devices pcicN or pccardN in /dev? I have only card0-3. MAKEDEV doesn't recognize any of the pcxxxxx devices reported during boot. 4. Am I asking something obvious, stupid or impossible? I don't even know what the problem is. The machine boots fine and detects everything I am aware of. When I remove or insert the card I get reasonable messages without any error indications. But pccardd won't run since I don't have any slots! Does pccardd depend on device card? Should I do something to make it work with device pccard? The sad thing is that this used to work in 3.4 with "controller card" without a hitch. Could someone please give me something to work on? I am running out of ideas. I have upgraded http://www.metis.fi/dmesg.txt with the dmesg of a verbose boot. Sorry about that. The kernel config at http://www.metis.fi/armada.txt matches that latest trial. TIA Petri >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: 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-pci0: Legacy address set to 0x3e0 >pcic-pci1: 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: on pcic0 >pccard1: 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? irq 10 port 0x3e0 iomem 0xd0000 ># 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