Can't get MAC addr of an ed(4) adapter

M. Warner Losh imp at bsdimp.com
Tue Jun 7 05:07:05 GMT 2005


In message: <20050606131957.GL41050 at obiwan.tataz.chchile.org>
            Jeremie Le Hen <jeremie at 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 at 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


More information about the freebsd-current mailing list