From owner-freebsd-mobile Mon Apr 19 17:32:10 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from pinky.us.net (pinky.us.net [198.240.73.64]) by hub.freebsd.org (Postfix) with ESMTP id 5EC6B15790 for ; Mon, 19 Apr 1999 17:32:02 -0700 (PDT) (envelope-from sillybug@pinky.us.net) Received: (from sillybug@localhost) by pinky.us.net (8.8.8/8.8.8) id UAA01570 for freebsd-mobile@freebsd.org; Mon, 19 Apr 1999 20:23:36 -0400 (EDT) (envelope-from sillybug) From: Brian Skrab Message-Id: <199904200023.UAA01570@pinky.us.net> Subject: Incorrect PCMCIA NIC Assignment... To: freebsd-mobile@freebsd.org Date: Mon, 19 Apr 1999 20:23:34 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I'm running into a snag with my PCMCIA ether card in my notebook. I've got FreeBSD 2.2.8 running, and pccardd setup with the configuration for my card, which it detects, but for some reason, the MAC address assigned to it is not what I believe the card is supposed to have. Please have a look at the output that I have included below. If you can provide any pointers toward fixing this, I would very much appreciate your help. This is what shows up on the console when I insert the card... Card inserted, slot 1 Apr 19 01:52:31 myname pccardd[43]: Ether=00:00:1a:05:01:20 Slot 1, unfielded interrupt (0) ed0: address aa:aa:aa:aa:aa:aa, type NE1000 (8 bit) The problem that I have with this is that the card is an NE2000 (16 bit) card, and that address doesn't look quite like it would work at all. Here's what ifconfig shows me... _$ ifconfig -a lp0: flags=8810 mtu 1500 tun0: flags=8010 mtu 1500 tun1: flags=8010 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 ed0: flags=8843 mtu 1500 inet 10.0.0.101 netmask 0xffffff00 broadcast 10.0.0.255 ether aa:aa:aa:aa:aa:aa Again, that funky ether address. There is also an error that shows up on the console after the card has been in the slot for a while. Here it is, in case it might provide some insight into the cause of this problem... Apr 19 01:53:23 myname /kernel: ed0: NIC memory corrupt - invalid packet length 55295 As far as configuration goes, I have followed the instructions (provided by you good people) very closely, but I believe that I still may be missing something. Every set of instructions that I have received has made mention of dumping the pccard's information to a file. Well, here it 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 = 0x1c (Other conditions for common memory), length = 4 000: 01 d1 3a ff (MWAIT) Tuple #3, 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 #4, code = 0x20 (Manufacturer ID), length = 4 000: 49 01 30 02 PCMCIA ID = 0x149, OEM ID = 0x230 Tuple #5, code = 0x21 (Functional ID), length = 2 000: 06 01 Network/LAN adapter - POST initialize Tuple #6, code = 0x15 (Version 1 info), length = 38 000: 04 01 44 2d 4c 69 6e 6b 00 44 46 45 2d 36 35 30 010: 00 46 61 73 74 20 45 74 68 65 72 6e 65 74 00 ff 020: 00 00 00 00 00 00 Version = 4.1, Manuf = [D-Link],card vers = [DFE-650] Addit. info = [Fast Ethernet],[_] Tuple #7, 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 #8, 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: Pulse IRQ level = 5 Tuple #9, code = 0x14 (No link), length = 0 Tuple #10, code = 0xff (Terminator), length = 0 2 slots found I've been making mention of Tuple #4 in my pccard.conf file. In fact, here is the entry for this card... #D-Link DFE-650 Ethernet Card card "D-Link" "DFE-650" config 0x20 "ed0" 11 ether 0x81 insert echo D-Link DFE-650 inserted insert /etc/pccard_ether ed0 remove echo D-Link DFE-650 removed remove /sbin/ifconfig ed0 delete I have irq 11 compiled into the kernel as belonging to the ed0 card. I'm beginning to think that I've missed some small aspect of the configuration, but going back over the instructions, I believe that I have completed all of the steps. It's just getting the card working when it's detected that is giving me problems. If anyone can provide any suggestions on this situation, I'd be very appreciative. I'm really looking forward to getting FreeBSD completely working on this PC. Thank you all for your help, and patience. ~brian skrab To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message