From owner-freebsd-questions Thu Jul 24 06:20:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA27303 for questions-outgoing; Thu, 24 Jul 1997 06:20:13 -0700 (PDT) Received: from gate.aix.can.ibm.com (gate.aix.can.ibm.com [204.138.188.66]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id GAA27298 for ; Thu, 24 Jul 1997 06:20:08 -0700 (PDT) Received: from mailhub2.aix.can.ibm.com by gate.aix.can.ibm.com (AIX 4.1/UCB 5.64/4.03) id AA04112; Thu, 24 Jul 1997 09:14:04 -0400 Received: from lute.mtlisc.can.ibm.com (lute.mtlisc.can.ibm.com [9.29.109.8]) by mailhub2.toraix.can.ibm.com (8.8.5/8.8.5) with SMTP id IAA08824 for ; Thu, 24 Jul 1997 08:54:09 -0400 Received: by lute.mtlisc.can.ibm.com (AIX 4.1/UCB 5.64/4.03) id AA24070; Thu, 24 Jul 1997 09:21:48 -0400 Date: Thu, 24 Jul 1997 09:21:48 -0400 From: domenic@aix.can.ibm.com (Domenico P. Miele ing.) Message-Id: <9707241321.AA24070@lute.mtlisc.can.ibm.com> To: freebsd-questions@FreeBSD.ORG Subject: pccard configuring EtherJet Adapter Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Md5: 0/cPWNC0Hk1Qcrr5kb69tA== Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id GAA27299 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi folks, I am trying to get an EtherJet PC Card recognized by FreeBSD V2.2.2. I've been reading the archives and source in order to get it configured correctly, but there is not much data with the pccard setup. Please ignore the Token Ring adapter entries below...My buddy Peter is working on the Token Ring driver....no promises yet. Anyone notice what I am doing wrong here ? # 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.4 1996/06/19 01:28:07 nate Exp $ # Generally available IO ports io 0x200-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 10 15 # Available memory slots memory 0xd0000 96k #IBM PCMCIA Ethernet I/II card "IBM" "EtherJet PC Card" config 0x1 "ed0" 15 ether 0xff0 insert echo IBM PCMCIA Ethernet inserted insert /etc/pccard_ether ed0 remove echo IBM PCMCIA Ethernet removed remove /sbin/ifconfig ed0 delete # pccardc dumpcis code No link ignored Code 5 not found Code 5 not found code Unknown ignored Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: 00 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = 512b, 1 units Tuple #2, code = 0x15 (Version 1 info), length = 67 000: 05 00 49 42 4d 00 45 74 68 65 72 4a 65 74 20 50 010: 43 20 43 61 72 64 00 56 65 72 73 69 6f 6e 20 55 020: 31 30 00 43 61 72 64 20 41 73 73 79 20 50 61 72 030: 74 20 4e 75 6d 62 65 72 20 2d 20 38 35 48 34 38 040: 30 31 00 Version = 5.0, Manuf = [IBM],card vers = [EtherJet PC Card] Addit. info = [Version U10],[Card Assy Part Number - 85H4801] Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: a4 00 3f 00 PCMCIA ID = 0xa4, OEM ID = 0x3f Tuple #4, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #5, code = 0x22 (Functional EXT), length = 2 000: 01 02 Modem interface capabilities: Tuple #6, code = 0x22 (Functional EXT), length = 5 000: 02 80 96 98 00 Data modem services available: Tuple #7, code = 0x22 (Functional EXT), length = 2 000: 03 01 Tuple #8, code = 0x22 (Functional EXT), length = 2 000: 03 04 Tuple #9, code = 0x22 (Functional EXT), length = 8 000: 04 06 fd b3 1f 35 20 00 Voice services available: Tuple #10, code = 0x22 (Functional EXT), length = 2 000: 05 01 Modem interface capabilities: Tuple #11, code = 0x1a (Configuration map), length = 5 000: 01 01 00 04 17 Reg len = 2, config register addr = 0x400, last config = 0x1 Registers: XXX-X--- Tuple #12, code = 0x1b (Configuration entry), length = 14 000: c1 41 1d 19 55 0e 2e e8 0a 67 44 30 ff ff Config index = 0x1(default) Interface byte = 0x41 (I/O) +RDY/-BSY active Vcc pwr: Nominal operating supply voltage: 5 x 1V Continuous supply current: 1.2 x 100mA Max current average over 1 second: 2.5 x 100mA Wait scale Speed = 1.0 x 100 ns RDY/BSY scale Speed = 1.0 x 100 ns, scaled by 100 Card decodes 10 address lines IRQ modes: IRQ level = 10 Tuple #13, code = 0x0 (Null tuple), length = 1 000: 10 Tuple #14, code = 0x0 (Null tuple), length = 114 000: ff 8e 00 d6 ff ff ff ff ff ff ff ff ff ff ff ff 010: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 040: 01 00 20 00 00 01 00 00 00 00 00 00 10 04 00 10 050: 01 00 00 00 00 00 02 00 00 00 00 00 00 00 20 00 060: 00 00 20 50 00 00 00 04 00 40 10 00 01 08 00 01 070: 03 00 Tuple #15, code = 0xff (Terminator), length = 21 000: 43 05 00 49 42 4d 00 45 74 68 65 72 4a 65 74 20 010: 50 43 20 43 61 code Manufacturer ID ignored code Checksum ignored Configuration data for card in slot 1 Tuple #1, code = 0x1 (Common memory descriptor), length = 5 000: 19 02 d9 3a ff Common memory device information: Device number 1, type Mask ROM, WPS = ON Speed = 250nS, Memory block size = 8Kb, 1 units Device number 2, type Function specific, WPS = ON Speed = 250nS, Memory block size = 8Kb, 8 units Tuple #2, code = 0x15 (Version 1 info), length = 39 000: 04 01 49 42 4d 00 54 4f 4b 45 4e 20 52 49 4e 47 010: 00 30 39 32 46 37 31 39 33 00 42 33 45 4e 49 50 020: 53 4b 4a 52 54 00 ff Version = 4.1, Manuf = [IBM],card vers = [TOKEN RING] Addit. info = [092F7193],[B3ENIPSKJRT] Tuple #3, code = 0x1a (Configuration map), length = 6 000: 01 21 00 08 0b ff Reg len = 2, config register addr = 0x800, last config = 0x21 Registers: XX-X---- Tuple #4, code = 0x1b (Configuration entry), length = 22 000: e1 81 7d 11 55 36 fc 0b b0 60 20 0a 07 30 ff ff 010: 11 20 00 00 01 ff Config index = 0x21(default) Interface byte = 0x81 (I/O) wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 3 x 100mA Wait scale Speed = 1.0 x 1 us Card decodes 11 address lines IRQ modes: IRQ level = 11 Memory descriptor 1 blk length = 0x206000 card addr = 0xa00 host addr = 0x700 Tuple #5, code = 0x0 (Null tuple), length = 5 000: a4 00 1e 00 ff Tuple #6, code = 0x21 (Functional ID), length = 3 000: 06 03 ff Network/LAN adapter - POST initialize - Card has ROM Tuple #7, code = 0x14 (No link), length = 0 Tuple #8, code = 0x0 (Null tuple), length = 6 000: a2 ff 5e 00 cd ff Tuple #9, code = 0xff (Terminator), length = 0 2 slots found Jul 24 00:03:28 mickeybsd /kernel: Copyright (c) 1992-1997 FreeBSD Inc. Jul 24 00:03:28 mickeybsd /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993 Jul 24 00:03:28 mickeybsd /kernel: The Regents of the University of California. All rights reserved. Jul 24 00:03:28 mickeybsd /kernel: Jul 24 00:03:29 mickeybsd /kernel: FreeBSD 2.2.2-RELEASE #0: Thu Jul 24 00:02:37 EDT 1997 Jul 24 00:03:29 mickeybsd /kernel: root@mickeybsd.mtlisc.can.ibm.com:/usr/src/sys/compile/LAPTOP Jul 24 00:03:29 mickeybsd /kernel: CPU: Pentium (132.63-MHz 586-class CPU) Jul 24 00:03:29 mickeybsd /kernel: Origin = "GenuineIntel" Id = 0x52c Stepping=12 Jul 24 00:03:29 mickeybsd /kernel: Features=0x1bf Jul 24 00:03:29 mickeybsd /kernel: real memory = 50331648 (49152K bytes) Jul 24 00:03:29 mickeybsd /kernel: avail memory = 46600192 (45508K bytes) Jul 24 00:03:29 mickeybsd /kernel: Probing for devices on PCI bus 0: Jul 24 00:03:29 mickeybsd /kernel: chip0 rev 2 on pci0:0 Jul 24 00:03:29 mickeybsd /kernel: chip1 rev 2 on pci0:1:0 Jul 24 00:03:29 mickeybsd /kernel: chip2 rev 2 on pci0:1:1 Jul 24 00:03:29 mickeybsd /kernel: chip3 rev 4 int a irq ?? on pci0:2:0 Jul 24 00:03:29 mickeybsd /kernel: chip4 rev 4 int b irq ?? on pci0:2:1 Jul 24 00:03:29 mickeybsd /kernel: vga0 rev 211 int a irq 11 on pci0:3 Jul 24 00:03:29 mickeybsd /kernel: pci0:5: vendor=0x1014, device=0x0057, class=multimedia (video) int a irq 11 [no driver assigned] Jul 24 00:03:29 mickeybsd /kernel: Probing for devices on the ISA bus: Jul 24 00:03:29 mickeybsd /kernel: sc0 at 0x60-0x6f irq 1 on motherboard Jul 24 00:03:29 mickeybsd /kernel: sc0: VGA color <4 virtual consoles, flags=0x0> Jul 24 00:03:29 mickeybsd /kernel: pccard driver ed added Jul 24 00:03:29 mickeybsd /kernel: ed0 not found at 0x200 Jul 24 00:03:30 mickeybsd /kernel: pccard driver sio added Jul 24 00:03:30 mickeybsd /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa Jul 24 00:03:30 mickeybsd /kernel: sio0: type 16550A Jul 24 00:03:30 mickeybsd /kernel: sio1 not found at 0x2f8 Jul 24 00:03:30 mickeybsd /kernel: lpt0 at 0x3bc-0x3c3 irq 7 on isa Jul 24 00:03:30 mickeybsd /kernel: lpt0: Interrupt-driven port Jul 24 00:03:30 mickeybsd /kernel: lp0: TCP/IP capable interface Jul 24 00:03:30 mickeybsd /kernel: psm0 at 0x60-0x64 irq 12 on motherboard Jul 24 00:03:30 mickeybsd /kernel: psm0: device ID 0 Jul 24 00:03:30 mickeybsd /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Jul 24 00:03:30 mickeybsd /kernel: fdc0: NEC 72065B Jul 24 00:03:30 mickeybsd /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa Jul 24 00:03:30 mickeybsd /kernel: wdc0: unit 0 (wd0): Jul 24 00:03:30 mickeybsd /kernel: wd0: 2016MB (4128768 sectors), 4096 cyls, 16 heads, 63 S/T, 512 B/S Jul 24 00:03:30 mickeybsd /kernel: wdc0: unit 1 (atapi): , removable, accel, ovlap, dma, iordis Jul 24 00:03:30 mickeybsd /kernel: wcd0: 1033Kb/sec, 128Kb cache, audio play, 256 volume levels, ejectable tray Jul 24 00:03:30 mickeybsd /kernel: wcd0: 120mm data disc loaded, unlocked Jul 24 00:03:30 mickeybsd /kernel: npx0 flags 0x1 on motherboard Jul 24 00:03:30 mickeybsd /kernel: npx0: INT 16 interface Jul 24 00:03:30 mickeybsd /kernel: apm0 on isa Jul 24 00:03:30 mickeybsd /kernel: apm: found APM BIOS version 1.1 Jul 24 00:03:31 mickeybsd /kernel: PC-Card Intel 82365 (5 mem & 2 I/O windows) Jul 24 00:03:31 mickeybsd /kernel: pcic: controller irq 3 Jul 24 00:03:31 mickeybsd /kernel: Card inserted, slot 1 Jul 24 00:03:31 mickeybsd /kernel: Card inserted, slot 0 Jul 24 00:03:37 mickeybsd /kernel: Return IRQ=15 Jul 24 00:03:37 mickeybsd cardd[42]: driver allocation failed for IBM Jul 24 00:03:42 mickeybsd cardd[42]: No card in database for "IBM" Jul 24 00:03:42 mickeybsd cardd[42]: vers: "TOKEN RING" Jul 24 00:03:52 mickeybsd login: ROOT LOGIN (root) ON ttyv0 # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.77.2.8 1997/04/18 14:06:20 nate Exp $ machine "i386" cpu "I586_CPU" ident LAPTOP maxusers 10 #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem 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=15 #Be pessimistic about Joe SCSI device options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options SYSVSHM options SYSVMEM options SYSVMSG config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device wcd0 #IDE CD-ROM # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr options SLOW_VGA options MAXCONS=4 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint options PCVT_FREEBSD=210 # pcvt running on FreeBSD >= 2.0.5 options XSERVER # include code for XFree86 #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines options PCVT_SCANSET=2 # IBM keyboards are non-std # Mandatory, don't remove device npx0 at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr # # Laptop support (see LINT for more options) # device apm0 at isa? # Advanced Power Management options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS options APM_IDLE_CPU # PCCARD (PCMCIA) support controller crd0 controller pcic0 at crd? #controller pcic1 at crd? device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr #device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr options PSM_CHECKSYNC #controller snd0 #device sb0 at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr #device sbxi0 at isa? drq 5 #device sbmidi0 at isa? port 0x330 # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. options LINT_PCCARD_HACK device ed0 at isa? port 0x200 net irq 15 iomem 0xd8000 vector edintr #device ze0 at isa? port 0x200 net irq 15 iomem 0xd8000 vector zeintr pseudo-device loop pseudo-device ether pseudo-device log pseudo-device sl 1 pseudo-device ppp 1 pseudo-device bpfilter 4 pseudo-device vn 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing -- `""""""' Domenico P. "drzook" Miele, P. Eng., M. Eng. "Use the Internet to | | IBM Canada Ltd. it's fullest potential" OO--)| Internet: domenic@aix.can.ibm.com \__ (_ | IBMnet : domenic@drzook.mtlisc.can.ibm.com /\ |____| tel: (514) 938-6798 (=(_>< \