From owner-freebsd-questions Sun Dec 12 5:56: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from laurasia.com.au (lauras.lnk.telstra.net [139.130.93.142]) by hub.freebsd.org (Postfix) with ESMTP id 0E1F1150B7 for ; Sun, 12 Dec 1999 05:55:51 -0800 (PST) (envelope-from mike@laurasia.com.au) Received: (from mike@localhost) by laurasia.com.au (8.9.1a/8.9.1) id TAA09335 for freebsd-questions@freebsd.org; Sun, 12 Dec 1999 19:58:22 +0800 (WST) From: Michael Kennett Message-Id: <199912121158.TAA09335@laurasia.com.au> Subject: pccard with ThinkPad 365X To: freebsd-questions@freebsd.org Date: Sun, 12 Dec 1999 19:58:22 +0800 (WST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 1.0 on pci0 isa0: on isab0 vga-pci0: irq 0 at device 3.0 on pci0 fdc0: 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: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> pcic: polling, can't alloc 0 pcic: polling, can't alloc 0 pcic0: on isa0 pccard0: on pcic0 pccard1: 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: on ppbus 0 lpt0: Interrupt-driven port ad0: 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