Date: Thu, 12 Aug 1999 13:36:19 +0100 From: graeme.n.brown@bt.com To: freebsd-mobile@freebsd.org Subject: ed0: device timeout problem Message-ID: <71DA16F18D32D2119A1D0000F8FE9A9402B5A27A@mbtlipnt01.btlabs.bt.co.uk>
next in thread | raw e-mail | index | archive | help
Can anyone help with the following :- I am trying to get an unbranded PCMCIA Fast Ethernet PCCard to work under PAO3 and FreeBSD-3.2 on a Sony Vaio laptop. I have discovered by trial and error that the card appears to be an NE2000 clone, well at least the ed0 driver binds to it. The card works under Windoze 98 but alas not as yet under FreeBSD-3.2/PAO3. So dumpcis output for the card is :- # pccardc dumpcis 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 = 0x15 (Version 1 info), length = 29 000: 01 00 50 43 4d 43 49 41 00 46 41 53 54 20 45 54 010: 48 45 52 4e 45 54 20 43 41 52 44 00 ff Version = 1.0, Manuf = [PCMCIA], card vers = [FAST ETHERNET CARD] Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: ff ff 90 10 PCMCIA ID = 0xffff, OEM ID = 0x1090 Tuple #4, code = 0x1a (Configuration map), length = 5 000: 01 01 c0 03 63 Reg len = 2, config register addr = 0x3c0, last config = 0x1 Registers: XX---XX- Tuple #5, code = 0x1b (Configuration entry), length = 11 000: c7 81 19 07 55 4d 5d 65 30 ff ff Config index = 0x7(default) Interface byte = 0x81 (I/O) wait signal supported Vcc pwr: Nominal operating supply voltage: 5 x 1V Minimum operating supply voltage: 4.5 x 1V Maximum operating supply voltage: 5.5 x 1V Card decodes 5 address lines, full 8/16 Bit I/O IRQ modes: Level IRQs: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Tuple #6, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 20 03 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x320 block length = 0x20 Tuple #7, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 40 03 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x340 block length = 0x20 Tuple #8, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 60 03 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x360 block length = 0x20 Tuple #9, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 00 02 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x200 block length = 0x20 Tuple #10, code = 0x1b (Configuration entry), length = 7 000: 07 08 ca 60 20 02 1f Config index = 0x7 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x220 block length = 0x20 Tuple #11, code = 0x21 (Functional ID), length = 2 000: 06 00 Network/LAN adapter Tuple #12, code = 0x22 (Functional EXT), length = 2 000: 01 02 Network technology: Ethernet Tuple #13, code = 0x22 (Functional EXT), length = 2 000: 02 64 Wrong length for network extension tuple Tuple #14, code = 0x22 (Functional EXT), length = 2 000: 03 01 Network media: UTP Tuple #15, code = 0xff (Terminator), length = 0 2 slots found ------------------ end of pccardc dumpcis output ----------------------- I am using the following entry in /etc/pccard.conf :- # Generally available IO ports io 0x300-0x360 # Generally available IRQs (DEPRECATED, USE OF THE OPTION IS DISCOURAGED) #irq 10 11 irq 10 # Unavailable IRQs #ignirq 9 # refrain from using SoundBlaster's IRQ, by default. ignirq 5 3 # it may be helful for most of notebook PCs #ignirq 15 # Available memory slots memory 0xd4000 96k #----------------------------------------------------------------------- # Were not for special reasons, please add new entries at the top of # this file when you wrote new entries for unsupported cards. # And, if you succeed using new unsupported cards, please e-mail me # the new entries. # Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org> #----------------------------------------------------------------------- card "PCMCIA" "FAST ETHERNET CARD" config 0x7 "ed0" 10 0x10 insert logger -s Fast Ethernet 16-bit PC Card inserted insert /etc/pccard_ether $device remove logger -s Fast Ethernet 16-bit PC Card removed remove /etc/pccard_ether_remove $device --------------------- end of entry in /etc/pccard.conf ---------------- Edited output from demesg regarding boot sequence :- # dmesg Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-RELEASE #2: Tue Aug 10 14:57:16 BST 1999 root@myname.my.domain:/usr/src/sys/compile/PAO Timecounter "i8254" frequency 1193182 Hz CPU: Celeron (331.58-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping=10 Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV, PAT,PSE36,MMX,<b24>> real memory = 67108864 (65536K bytes) SNIP... ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1 chip2: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3 vga0: <NeoMagic model 0005 VGA-compatible display device> rev 0x20 int a irq 9 on pci0.8.0 pcic0: <Ricoh RL5C478 PCI-CardBus Brige> rev 0x80 int a irq 255 on pci0.10.0 RL5C4XX PCI Config Reg: pcic1: <Ricoh RL5C478 PCI-CardBus Brige> rev 0x80 int b irq 255 on pci0.10.1 RL5C4XX PCI Config Reg: SNIP... pcic0 at 0x3e0-0x3e1 irq 11 on isa PC-Card ctlr(0) Ricoh RL5C478 [CardBus bridge mode] (5 mem & 2 I/O windows) pcic0: slot 0 controller I/O address 0x3e0 pcic0: slot 1 controller I/O address 0x3e0 pcic1: sharing irq 11 with other pcic pcic1 not found at 0x3e2 pcic1: sharing irq 11 with other pcic pcic1 not found at 0x3e4 SNIP... apm0 on isa apm: found APM BIOS version 1.2 SNIP... pccardd appears to assign ed0 OK :- Card inserted, slot 0 card0: assign ed0 iobase 0x300 irq 10 flags 0x10 ed0: address 01:02:00:ff:15:1d, type NE2000 (16 bit) ed0: device timeout ed0: unload Return IRQ=10 Card removed, slot 0 Slot 0, unfielded interrupt (0) Card inserted, slot 0 card0: assign ed0 iobase 0x300 irq 10 flags 0x10 ed0: address 01:02:00:ff:15:1d, type NE2000 (16 bit) ed0: device timeout myname# ifconfig -a gives lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 132.146.239.215 netmask 0xffffff80 broadcast 132.146.239.255 ether 01:02:00:ff:15:1d But when I ping out of ed0 the kernel gives a console message ed0: device timeout and no packets are transmitted or received. Any suggestions for further things to try in pccard.conf ? TIA Graeme Brown email: graeme.n.brown@bt.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71DA16F18D32D2119A1D0000F8FE9A9402B5A27A>