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

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Mon, 06 Jun 2005 23:05:03 -0600 (MDT)
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
Received on Tue Jun 07 2005 - 03:07:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC