From owner-freebsd-mobile Thu Jun 29 7:43:19 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from knock.econ.vt.edu (knock.econ.vt.edu [128.173.172.240]) by hub.freebsd.org (Postfix) with ESMTP id 7240037B78D for ; Thu, 29 Jun 2000 07:43:14 -0700 (PDT) (envelope-from rdmurphy@knock.econ.vt.edu) Received: (from rdmurphy@localhost) by knock.econ.vt.edu (8.9.3/8.9.3) id KAA39756; Thu, 29 Jun 2000 10:43:12 -0400 (EDT) (envelope-from rdmurphy) From: "Russell D. Murphy Jr." MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14683.24704.785023.470503@knock.econ.vt.edu> Date: Thu, 29 Jun 2000 10:43:12 -0400 (EDT) To: FreeBSD-Mobile@FreeBSD.org Subject: Netgear FA410TX - ed0: device timeout? X-Mailer: VM 6.72 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid Reply-To: rdmurphy@vt.edu Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I had ordered a FA410TX card after reading some past recommendations for it (and before reading the recent "you're out of luck" message). It seems *close* to working, but. . . I keep getting "device timeout" errors. It works fine under W95. I've set up pccard and ed in the kernel as: device card device pcic0 at isa? irq 10 port 0x3e0 iomem 0xd0000 device ed The relevant (I think) parts of /var/log/messages are: /kernel: pcic0: at port 0x3e0 iomem 0xd0000 irq 10 on isa0 /kernel: pcic0: management irq 10 /kernel: pccard0: on pcic0 /kernel: pccard1: on pcic0 /kernel: pccard:card inserted, slot 0 pccardd[52]: Card "NETGEAR"("FA410TX") [Fast Ethernet] [(null)] matched "NETGEAR" ("FA410TX") [(null)] [(null)] pccardd[52]: Using I/O addr 0x120, size 32 pccardd[52]: Setting config reg at offs 0x400 to 0x60, Reset time = 50 ms pccardd[52]: Assigning I/O window 0, start 0x128, size 0x20 flags 0x5 /kernel: pcic: I/O win 0 flags 15 120-13f /kernel: pcic: I/O win 0 flags 5 120-13f /kernel: ed0 at port 0x120-0x13f irq 11 slot 0 on pccard0 /kernel: pcic: I/O win 0 flags 15 120-13f /kernel: ed0: address 00:e0:98:78:fc:d9, type Linksys (16 bit) /kernel: bpf: ed0 attached pccardd[52]: Assign ed0, io 0x120-0x13f, mem 0x0, 0 byes, irq 11, flags 0 pccard:ed0: NETGEAR FA410TX Ethernet inserted pccardd[52]: pccardd started /kernel: ed0: device timeout /kernel: ed0: device timeout The Link light on the dongle is on; I've set the iomem and irq settings in pccard.conf to match the ones used by W95. The pccard.conf settings and the output of pccardc dumpcis are below. It seems close; any suggestions? Thanks - Russ The pccard.conf settings (/etc/pccard.conf) are: io 0x120-0x13f card "NETGEAR" "FA410TX" config 0x20 "ed0" 11 insert logger -t pccard:$device -s NETGEAR FA410TX Ethernet inserted insert /etc/pccard_ether $device remove logger -t pccard:$device -s NETGEAR FA410TX Ethernet removed remove /sbin/ifconfig $device delete The output of pccardc dumpcis is: Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: d1 3a ff Common memory device information: Device number 1, type Function specific, WPS = OFF Speed = 250nS, Memory block size = 8Kb, 8 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 41 00 ff Attribute memory device information: Device number 1, type EEPROM, WPS = OFF Speed = 250nS, Memory block size = 512b, 1 units Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 49 01 30 02 PCMCIA ID = 0x149, OEM ID = 0x230 Tuple #4, code = 0x21 (Functional ID), length = 2 000: 06 01 Network/LAN adapter - POST initialize Tuple #5, code = 0x15 (Version 1 info), length = 33 000: 04 01 4e 45 54 47 45 41 52 00 46 41 34 31 30 54 010: 58 00 46 61 73 74 20 45 74 68 65 72 6e 65 74 00 020: ff Version = 4.1, Manuf = [NETGEAR], card vers = [FA410TX] Addit. info = [Fast Ethernet] Tuple #6, code = 0x1a (Configuration map), length = 5 000: 01 20 00 04 0b Reg len = 2, config register addr = 0x400, last config = 0x20 Registers: XX-X---- Tuple #7, code = 0x1b (Configuration entry), length = 7 000: e0 81 18 45 30 fc be Config index = 0x20(default) Interface byte = 0x81 (I/O) wait signal supported Card decodes 5 address lines, limited 8/16 Bit I/O IRQ modes: Level IRQs: 2 3 4 5 6 7 9 10 11 12 13 15 Tuple #8, code = 0x1b (Configuration entry), length = 7 000: 01 08 ca 60 00 03 1f Config index = 0x1 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x300 block length = 0x20 Tuple #9, code = 0x1b (Configuration entry), length = 7 000: 02 08 ca 60 20 03 1f Config index = 0x2 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x320 block length = 0x20 Tuple #10, code = 0x1b (Configuration entry), length = 7 000: 03 08 ca 60 40 03 1f Config index = 0x3 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x340 block length = 0x20 Tuple #11, code = 0x1b (Configuration entry), length = 7 000: 04 08 ca 60 80 03 1f Config index = 0x4 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x380 block length = 0x20 Tuple #12, code = 0x14 (No link), length = 0 Tuple #13, code = 0xff (Terminator), length = 0 2 slots found -- Russell D. Murphy Department of Economics Virginia Polytechnic Institute and State University 3034 Pamplin Hall Blacksburg, Virginia 24061-0316 (540) 231-4537 rdmurphy@vt.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message