From owner-freebsd-stable@FreeBSD.ORG Fri Sep 4 21:57:24 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E771F106568B for ; Fri, 4 Sep 2009 21:57:24 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 547E08FC12 for ; Fri, 4 Sep 2009 21:57:24 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id n84LvlUL098557; Fri, 4 Sep 2009 16:57:47 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id n84LvllO098556; Fri, 4 Sep 2009 16:57:47 -0500 (CDT) (envelope-from brooks) Date: Fri, 4 Sep 2009 16:57:47 -0500 From: Brooks Davis To: Pyun YongHyeon Message-ID: <20090904215747.GB82231@lor.one-eyed-alien.net> References: <20090904173811.GA45176@graf.pompo.net> <20090904214148.GB9950@michelle.cdnetworks.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <20090904214148.GB9950@michelle.cdnetworks.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Fri, 04 Sep 2009 16:57:47 -0500 (CDT) Cc: freebsd-stable Subject: Re: ifconfig_ed0="DHCP" does not work on 8.0-BETA3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 21:57:25 -0000 --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: 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--