Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2005 23:05:03 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        jeremie@le-hen.org
Cc:        freebsd-current@freebsd.org, bana@sitadelle.com
Subject:   Re: Can't get MAC addr of an ed(4) adapter
Message-ID:  <20050606.230503.122299411.imp@bsdimp.com>
In-Reply-To: <20050606131957.GL41050@obiwan.tataz.chchile.org>
References:  <20050606131957.GL41050@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20050606131957.GL41050@obiwan.tataz.chchile.org>
            Jeremie Le Hen <jeremie@le-hen.org> 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<BROADCAST,SIMPLEX,MULTICAST> 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<BROADCAST,SIMPLEX,MULTICAST> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050606.230503.122299411.imp>