From owner-freebsd-mobile Mon Dec 7 11:17:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA02402 for freebsd-mobile-outgoing; Mon, 7 Dec 1998 11:17:23 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from neale.econ.vt.edu (neale.econ.vt.edu [128.173.173.159]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA02394 for ; Mon, 7 Dec 1998 11:17:18 -0800 (PST) (envelope-from rdmurphy@neale.econ.vt.edu) Received: (from rdmurphy@localhost) by neale.econ.vt.edu (8.8.8/8.8.8) id OAA29827; Mon, 7 Dec 1998 14:17:58 -0500 (EST) (envelope-from rdmurphy) Date: Mon, 7 Dec 1998 14:17:58 -0500 (EST) Message-Id: <199812071917.OAA29827@neale.econ.vt.edu> From: "Russell D. Murphy" To: FreeBSD-mobile@FreeBSD.ORG Subject: 3Com 3C589D - "driver allocation failed" Reply-to: rdmurphy@vt.edu Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm having trouble getting a 3Com ethernet card to work with pccardd in my Gateway 5100. It works fine with the zp0 driver compiled into the kernel. However, I recently got a modem, so I'm trying to get pccardd to work. After enabling DEBUG in pccardd, I get (in /var/log/pccardd.debug, removing the date/time stamps): ---------- kenmare pccardd[946]: mem=0xd4000 kenmare pccardd[946]: Using I/O addr 0x240, size 16 kenmare pccardd[946]: Setting config reg at offs 0x10000 to 0x41, Reset time = 50 ms kenmare pccardd[946]: Assigning I/O window 0, start 0x240, size 0x10 flags 0x7 kenmare pccardd[946]: Assign zp0, io 0x240, mem 0x0, 0 bytes, irq 10, flags 80 kenmare pccardd[946]: driver allocation failed for 3Com Corporation kenmare pccardd[946]: State same as before, continuing anyway kenmare pccardd[946]: pccardd started kenmare pccardd[946]: Found existing driver (zp0) for 3Com Corporation kenmare pccardd[946]: Using I/O addr 0x240, size 16 kenmare pccardd[946]: Setting config reg at offs 0x10000 to 0x41, Reset time = 50 ms kenmare pccardd[946]: Assigning I/O window 0, start 0x240, size 0x10 flags 0x7 kenmare pccardd[946]: Assign zp0, io 0x240, mem 0x0, 0 bytes, irq 10, flags 80 kenmare pccardd[946]: driver allocation failed for 3Com Corporation ---------- My pccard.conf is: ---------- # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) irq 3 10 11 13 15 # Available memory slots memory 0xd4000 96k # 3Com Etherlink III 3C589D card "3Com Corporation" "3C589D" config 0x1 "zp0" 10 insert echo 3Com Corporation inserted insert /etc/pccard_ether zp0 remove echo 3Com Etherlink III removed remove /sbin/ifconfig zp0 delete # 3com/USR/Megahertz 3CCM556 card "3Com" "3CXM/3CCM556" config 0x23 "sio2" ? insert echo 3Com PCMCIA 56K Modem inserted remove echo 3Com PCMCIA 56K Modem removed ---------- And the output of "pccardc dumpcis" is: ---------- Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 2 000: 00 ff Common memory device information: Device number 1, type No device, WPS = OFF Speed = No speed, Memory block size = reserved, 32 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 43 02 ff Attribute memory device information: Device number 1, type EEPROM, WPS = OFF Speed = 150nS, Memory block size = 8Kb, 1 units Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 01 01 89 05 PCMCIA ID = 0x101, OEM ID = 0x589 Tuple #4, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #5, code = 0x15 (Version 1 info), length = 58 000: 04 01 33 43 6f 6d 20 43 6f 72 70 6f 72 61 74 69 010: 6f 6e 00 33 43 35 38 39 44 00 54 50 2f 42 4e 43 020: 20 4c 41 4e 20 43 61 72 64 20 56 65 72 2e 20 32 030: 61 00 30 30 30 30 30 32 00 ff Version = 4.1, Manuf = [3Com Corporation],card vers = [3C589D] Addit. info = [TP/BNC LAN Card Ver. 2a],[000002] Tuple #6, code = 0x1a (Configuration map), length = 6 000: 02 03 00 00 01 03 Reg len = 3, config register addr = 0x10000, last config = 0x3 Registers: XX------ Tuple #7, code = 0x1b (Configuration entry), length = 15 000: c1 01 1d 71 55 35 55 54 e0 72 5d 64 30 ff ff Config index = 0x1(default) Interface byte = 0x1 (I/O) Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 3 x 10mA Max current average over 10 ms: 5 x 10mA Power down supply current: 5 x 1mA Wait scale Speed = 7.0 x 100 ns RDY/BSY scale Speed = 7.0 x 100 ns Card decodes 18 address lines, full 8/16 Bit I/O IRQ modes: Level, Pulse IRQs: IOCK 1 4 5 6 8 10 11 12 14 Tuple #8, code = 0x1b (Configuration entry), length = 7 000: 03 01 71 55 26 26 54 Config index = 0x3 Vcc pwr: Nominal operating supply voltage: 5 x 1V Max current average over 1 second: 2 x 100mA Max current average over 10 ms: 2 x 100mA Power down supply current: 5 x 1mA Tuple #9, code = 0x19 (JEDEC descr for attribute memory), length = 3 000: 00 00 ff Tuple #10, code = 0x14 (No link), length = 0 Tuple #11, code = 0x10 (Checksum), length = 5 000: 88 ff 81 00 00 Checksum from offset -120, length 129, value is 0x0 Tuple #12, code = 0xff (Terminator), length = 149 000: 00 03 83 00 fd 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 ff 040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 050: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 090: ff ff ff ff ff 2 slots found ---------- Any suggestions as to how to get this working? Thanks- Russ Murphy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message