Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2009 16:57:47 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Pyun YongHyeon <pyunyh@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: ifconfig_ed0="DHCP" does not work on 8.0-BETA3
Message-ID:  <20090904215747.GB82231@lor.one-eyed-alien.net>
In-Reply-To: <20090904214148.GB9950@michelle.cdnetworks.com>
References:  <20090904173811.GA45176@graf.pompo.net> <20090904214148.GB9950@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--RASg3xLB4tUQ4RcS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 04, 2009 at 02:41:48PM -0700, Pyun YongHyeon wrote:
> On Fri, Sep 04, 2009 at 07:38:11PM +0200, Thierry Thomas wrote:
> > Hello,
> >=20
> > I have a machine with the following ethernet PCI card:
> >=20
> > 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]
> >=20
> > It's rather an ancient card, and it worked on FreeBSD 7.2-STABLE (and
> > several previous versions) with the line:
> >=20
> > ifconfig_ed0=3D"DHCP"
> >=20
> > in /etc/rc.conf.
> >=20
> > 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.
> >=20
>=20
> 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.

This is a know issue with some devices supported by ed(4).  You can work
around it by changing DHCP to SYNCDHCP which will cause dhclient to
alwasy start immediatly on that interface instead of waiting for a link
state change that never happens.

-- brooks

--RASg3xLB4tUQ4RcS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iD8DBQFKoY1aXY6L6fI4GtQRAtgkAKCqQUcE6F6oNTRfhf+yXgwHNh5idACfQUqh
wpbgzuBA2mdfF4KV5gIazjM=
=PCbE
-----END PGP SIGNATURE-----

--RASg3xLB4tUQ4RcS--



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