Date: Sun, 12 Dec 1999 19:58:22 +0800 (WST) From: Michael Kennett <mike@laurasia.com.au> To: freebsd-questions@freebsd.org Subject: pccard with ThinkPad 365X Message-ID: <199912121158.TAA09335@laurasia.com.au>
next in thread | raw e-mail | index | archive | help
Hello All, I've been trying to get pccardd to work on a ThinkPad 365X with a Xircom CreditCard Ethernet. I've tried the stock FreeBSD 3.2, and today, the 4.0-19991208-CURRENT snapshot image, both without any luck. I've not found any good documentation on pccards and FreeBSD, but I've referenced the following sites: http://www.jp.freebsd.org/PAO http://www.freebsd-uk.eu.org/~scott/xe_drv/ [ I want to use a Xircom CreditCard 10/100 card ] The Xircom card apparently works with pccardd. I've checked the CIS dump of the card against the document http://www.freebsd-uk.eu.org/~scott/xe_drv/ CIS/CIS_004, and it matches exactly. However, whenever I insert the card or remove it, nothing happens (with the command "pccardc beep 1", I get no beeps when the card is inserted/ removed). The output from "ifconfig -a" fails to show the xe driver, and the ethernet link never becomes active (the light on the hub does not turn on). I'm really at a loss on how to continue with getting the pccard support to work. Any assistance or pointers to documentation would be greatly appreciated. The kernel configuration is: (for the current image of 8/Dec) ---------------------------- machine i386 cpu I586_CPU ident LAPPIE maxusers 32 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) syscall trace support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores controller isa0 controller eisa0 controller pci0 # Floppy drives controller fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 # ATA and ATAPI devices controller ata0 at isa? port IO_WD1 irq 14 device atadisk0 # ATA disk drives # atkbdc0 controls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 device vga0 at isa? port ? conflicts # syscons is the default console driver, resembling an SCO console device sc0 at isa? # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) device apm0 at nexus? disable flags 0x20 # Advanced Power Management # PCCARD (PCMCIA) support controller card0 device pcic0 at isa? device pcic1 at isa? # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 # Parallel port device ppc0 at isa? port? flags 0x40 irq 7 controller ppbus0 # Parallel port bus (required) device lpt0 # Printer # PCI Ethernet NICs. # requires PCCARD (PCMCIA) support to be activated device xe0 at isa? port? irq ? # Pseudo devices - the number indicates how many units to allocated. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support pseudo-device tun 4 # Packet tunnel. pseudo-device pty 64 # Pseudo-ttys (telnet etc) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf 2 #Berkeley packet filter The kernel dmesg output is: --------------------------- FreeBSD 4.0-CURRENT #0: Sun Dec 12 12:41:55 WST 1999 root@rabbit.laurasia.com.au:/usr/src/sys/compile/LAPPIE Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (132.64-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8> real memory = 25165824 (24576K bytes) avail memory = 21917696 (21404K bytes) Preloaded elf kernel "kernel" at 0xc029d000. Intel Pentium detected, installing workaround for F00F bug npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 isab0: <Intel 82371FB PCI to ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 vga-pci0: <Trident model 9320 VGA-compatible display device> irq 0 at device 3.0 on pci0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ata0 at port 0x1f0 irq 14 on isa0 atkbdc0: <keyboard controller (i8042)> at port 0x60-0x6f on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> pcic: polling, can't alloc 0 pcic: polling, can't alloc 0 pcic0: <Intel i82365> on isa0 pccard0: <PC Card bus -- kludge version> on pcic0 pccard1: <PC Card bus -- kludge version> on pcic0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0 at port 0x3bc-0x3c3 irq 7 flags 0x40 on isa0 isa_compat: didn't get ports for ppc ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: <generic printer> on ppbus 0 lpt0: Interrupt-driven port ad0: <IBM-DMCA-21080/A73A95> ATA-3 disk at ata0 as master ad0: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, PIO Mounting root from ufs:/dev/wd0s1a pccard: card inserted, slot 1 devclass_alloc_unit: xe0 already exists, using next available unit number The /etc/pccard.conf file: -------------------------- # Taken from the sample PCCARD configuration file # # Removing all IRQ conflicts from this file can't be done because of some # IRQ-selfish PC-cards. So if you want to use some of these cards in # your machine, you will be forced to modify their IRQ parameters from # the following list. # # IRQ == 0 means "allocate free IRQ from IRQ pool" # IRQ == 16 means "do not use IRQ (e.g. PIO mode)" # # $Id: pccard.conf.sample,v 1.24.2.7 1999/05/04 08:39:49 brian Exp $ # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 3 4 10 11 13 15 # Available memory slots memory 0xd4000 96k # debuglevel 5 # Adaptec SlimSCSI (also included with Sony CD-ROM players) card "Adaptec, Inc." "APA-1460 SCSI Host Adapter" config 0x9 "aic0" 10 insert echo Adaptec Slim SCSI inserted remove echo Adaptec Slim SCSI removed # Xircom CreditCard Ethernet 10/100 card "Xircom" "CreditCard 10/100" config 0x1 "xe0" ? insert echo Xircom CreditCard Ethernet inserted insert /etc/pccard_ether xe0 remove echo Xircom CreditCard Ethernet removed remove /etc/pccard_ether xe0 delete Kind Regards, Mike Kennett (mike@laurasia.com.au) 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?199912121158.TAA09335>