Date: Fri, 16 Aug 2002 13:42:57 +1000 (EST) From: taylorm@bytecraft.au.com (Murray Taylor) To: freebsd-questions@freebsd.org Subject: Cant get PCCARD stuff working Message-ID: <20020816034257.3DCB7BA80@spyder.bytecraft.au.com>
next in thread | raw e-mail | index | archive | help
I am trying to get a Card Master PCI-IF{T/I) card working so that I can create miniBSD Cf images for some new firewall boxes. At least that is the idea.. However I dont seem to be able to ge the Flash recognised.. I am not sure even if the PCMCIA PCI interface is working properly.. ie I have not been here before. I have seen stuff in the archives with the same TI1420 chip being recognised on the PCI buss, so Im hopeful there. But I am currently stuck and need help. The Box is an IBM xSeries 300 server and runs all the rest of FreeBSD Aok. Build world done this morning (in 40 minutes), from CVSup sources bout 24 hours old If the PCCARD gurus need any more data just let me know.. and H E L P please Murray Taylor Special Projects Engineer Bytecraft Systems --------------------------------------------------------------------- insert Panasonic CF carrier with Sandisk 32M CF module spyder# pccardc dumpcis 2 slots found spyder# pccardc rdreg Registers for slot 0 00: 84 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Registers for slot 1 00: 84 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 spyder# pccardc rdmap Mem 0: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 1: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 2: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 3: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 4: flags 0x000 host 0x0 card 0000 size 0 bytes I/O 0: flags 0x000 port 0x 0 size 0 bytes I/O 1: flags 0x000 port 0x 0 size 0 bytes Mem 0: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 1: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 2: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 3: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 4: flags 0x000 host 0x0 card 0000 size 0 bytes I/O 0: flags 0x000 port 0x 0 size 0 bytes I/O 1: flags 0x000 port 0x 0 size 0 bytes spyder# pccardc power 0 1 spyder# pccardc power 1 1 (extract from /var/log/messages) Aug 16 08:34:00 spyder /kernel: pccard: card inserted, slot 0 Aug 16 08:34:05 spyder pccardd[48]: No card in database for "(null)"("(null)") Aug 16 08:51:10 spyder /kernel: pccard: card inserted, slot 1 Aug 16 08:51:16 spyder pccardd[48]: No card in database for "(null)"("(null)") spyder# pccardc dumpcis Read return -1 bytes (expected 2) pccardc: CIS code read: Cannot allocate memory Read return -1 bytes (expected 10) Configuration data for card in slot 0 Read return -1 bytes (expected 2) pccardc: CIS code read: Cannot allocate memory Read return -1 bytes (expected 10) Configuration data for card in slot 1 2 slots found spyder# pccardc rdreg Registers for slot 0 00: 84 00 00 70 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Registers for slot 1 00: 84 00 00 70 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 spyder# pccardc rdmap Mem 0: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 1: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 2: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 3: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 4: flags 0x000 host 0x0 card 0000 size 0 bytes I/O 0: flags 0x000 port 0x 0 size 0 bytes I/O 1: flags 0x000 port 0x 0 size 0 bytes Mem 0: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 1: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 2: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 3: flags 0x000 host 0x0 card 0000 size 0 bytes Mem 4: flags 0x000 host 0x0 card 0000 size 0 bytes I/O 0: flags 0x000 port 0x 0 size 0 bytes I/O 1: flags 0x000 port 0x 0 size 0 bytes spyder# more /etc/rc.conf # -- sysinstall generated deltas -- # Thu May 16 08:01:23 2002 # Created: Thu May 16 08:01:23 2002 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname="spyder.bytecraft.au.com" ifconfig_fxp0="inet 10.0.0.2/20" ##ifconfig_fxp1="inet 192.168.4.1 netmask 255.255.255.252" defaultrouter="10.0.0.1" kern_securelevel_enable="NO" linux_enable="YES" moused_enable="NO" moused_type="NO" nfs_reserved_port_only="YES" saver="logo" sendmail_enable="YES" sshd_enable="YES" usbd_enable="YES" pccard_enable="YES" spyder# more /etc/pccard.conf debuglevel 4 spyder# uname -a FreeBSD spyder.bytecraft.au.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Fri Aug 16 08:26:33 EST 2002 root@spyder.bytecraft.au.com:/usr/obj/usr/src/sys/GENERIC i386 spyder# cat /var/run/dmesg.boot Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-STABLE #0: Fri Aug 16 08:26:33 EST 2002 root@spyder.bytecraft.au.com:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (1000.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 536805376 (524224K bytes) config> di sn0 config> di lnc0 config> di ie0 config> di fe0 config> di ed0 config> di cs0 config> q avail memory = 517353472 (505228K bytes) Preloaded elf kernel "kernel" at 0xc04d6000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc04d609c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00fdcc0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA100 controller> port 0xd000-0xd00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 7.2 on pci0 usb0: <VIA 83C572 USB controller> on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 7.3 on pci0 usb1: <VIA 83C572 USB controller> on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: <unknown card> (vendor=0x1106, dev=0x3057) at 7.4 pcic0: <TI PCI-1420 PCI-CardBus Bridge> mem 0xdd0c4000-0xdd0c4fff irq 5 at device 9.0 on pci0 pcic0: TI12XX PCI Config Reg: [pwr save][FUNC pci int + CSC serial isa irq] pccard0: <PC Card bus (classic)> on pcic0 pcic1: <TI PCI-1420 PCI-CardBus Bridge> mem 0xdd0c9000-0xdd0c9fff irq 7 at device 9.1 on pci0 pcic1: TI12XX PCI Config Reg: [pwr save][FUNC pci int + CSC serial isa irq] pccard1: <PC Card bus (classic)> on pcic1 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xdc00-0xdc3f mem 0xdd080000-0xdd09ffff,0xdd0c3000-0xdd0c3fff irq 11 at device 13.0 on pci0 fxp0: Ethernet address 00:02:55:fa:76:5f inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xe000-0xe03f mem 0xdd0a0000-0xdd0bffff,0xdd0c6000-0xdd0c6fff irq 10 at device 14.0 on pci0 fxp1: Ethernet address 00:02:55:fa:76:60 inphy1: <i82555 10/100 media interface> on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: <S3 Savage 4 graphics accelerator> at 15.0 irq 5 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xd57ff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: parallel port not found. ad0: 19470MB <ST320011A> [39560/16/63] at ata0-master UDMA100 acd0: CDROM <LG CD-ROM CRN-8245B> at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a spyder# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020816034257.3DCB7BA80>