ifconfig_ed0="DHCP" does not work on 8.0-BETA3

Pyun YongHyeon pyunyh at gmail.com
Fri Sep 4 21:42:48 UTC 2009


On Fri, Sep 04, 2009 at 07:38:11PM +0200, Thierry Thomas wrote:
> Hello,
> 
> I have a machine with the following ethernet PCI card:
> 
> ed0: <RealTek 8029> port 0xdc00-0xdc1f irq 16 at device 0.0 on pci2
> ed0: WARNING: using obsoleted if_watchdog interface
> ed0: Ethernet address: 00:50:bf:27:ba:24
> ed0: [ITHREAD]
> 
> It's rather an ancient card, and it worked on FreeBSD 7.2-STABLE (and
> several previous versions) with the line:
> 
> ifconfig_ed0="DHCP"
> 
> in /etc/rc.conf.
> 
> I upgraded this machine to 8.0-BETA3, and ed0 does not get an IP anymore
> at boot time! Running `dhclient ed0' manually is working, and then
> everything is OK.
> 

I guess it's related with link state handling. Can you see
"ed0: link state changed to UP" in dmesg output? Quick reading code
reveals only some variants(pccard) support mii(4) but others looks
dumb on link state handling. I vaguely remember I had ed(4)
hardwares in FreeBSD 2.2.x days but didn't have chance to read the
source.

> Well, I know that this device could be deprecated, but I'm sure it is
> still running in many machines...
> 
> If I replace it by a newer card, e.g.
> 
> rl0: <RealTek 8139 10/100BaseTX> port 0xd800-0xd8ff mem 0xfbeffc00-0xfbeffcff irq 16 at device 0.0 on pci2
> miibus1: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> PHY 0 on miibus1
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:17:3f:d2:51:4c
> rl0: [ITHREAD]
> 
> and replacing s/ed0/rl0/ in /etc/rc.conf, everything is working.
> 

Yes it should because it has active maintainer. :-)

> Strange, is'nt it?
> -- 
> Th. Thomas.


More information about the freebsd-stable mailing list