From owner-freebsd-current@FreeBSD.ORG Tue Jun 7 05:07:05 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CEC716A41C for ; Tue, 7 Jun 2005 05:07:05 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (berlin-qwest.village.org [168.103.84.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6833443D53 for ; Tue, 7 Jun 2005 05:07:04 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.1) with ESMTP id j5754HSj090467; Mon, 6 Jun 2005 23:04:18 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 06 Jun 2005 23:05:03 -0600 (MDT) Message-Id: <20050606.230503.122299411.imp@bsdimp.com> To: jeremie@le-hen.org From: "M. Warner Losh" In-Reply-To: <20050606131957.GL41050@obiwan.tataz.chchile.org> References: <20050606131957.GL41050@obiwan.tataz.chchile.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, bana@sitadelle.com Subject: Re: Can't get MAC addr of an ed(4) adapter X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2005 05:07:05 -0000 In message: <20050606131957.GL41050@obiwan.tataz.chchile.org> Jeremie Le Hen writes: : Hi list, : : a friend of mine just upgraded his box from 5.4 to CURRENT. His : ed(4) network adapter used to work when running 5.4 as well as : Windows. Now, the card is recognized (as ed1, not ed0, I still : wonder why since I can't see any resource conflict related message) : but it doesn't have a MAC address. Note that the interface flags : are somewhat weird. My friend tried to use an in-kernel driver as : well as the if_ed module, this is the same. Defining ED_DEBUG : doesn't give more diagnostic about the problem. We can still : assign a MAC address manually, although ATM I still haven't got any : chance to try if the card is really working, but I'll be able to : in a few hours. : : I attached the dmesg of boot verbose. Thanks in advance for your help. : : Regards, : : %%% : bana# ifconfig ed0 : ed0: flags=108802 mtu 1500 : ether 00:00:00:00:00:00 : bana# ifconfig ed0 link 00:11:22:33:44:55 : bana# ifconfig ed0 : ed0: flags=108802 mtu 1500 : ether 00:11:22:33:44:55 : : bana# pciconf -lv | sed -n '/^ed/,/subclass/p' : ed0@pci0:7:0: class=0x020000 card=0x802910ec chip=0x802910ec rev=0x00 hdr=0x00 : vendor = 'Realtek Semiconductor' : device = 'RTL8029 NE2000 compatible Ethernet' : class = network : subclass = ethernet Chances are good that I broke this in my hacking. I didn't have a RTL8029 at the time to test on :-( Warner