From owner-freebsd-stable@FreeBSD.ORG Fri Sep 4 21:42:47 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 F1B27106566B for ; Fri, 4 Sep 2009 21:42:47 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-qy0-f197.google.com (mail-qy0-f197.google.com [209.85.221.197]) by mx1.freebsd.org (Postfix) with ESMTP id A642C8FC0C for ; Fri, 4 Sep 2009 21:42:47 +0000 (UTC) Received: by qyk35 with SMTP id 35so1001169qyk.14 for ; Fri, 04 Sep 2009 14:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:subject :message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=HJAa3y12O6Z1BTwme5LTcRuiCJ3bPVx9CJ78spH7DBo=; b=e2KJak35mi+zdb+NUsuGkbqKW3SyNwrSoYFvXb03PTur7q7+/SFcfuGr90LpeGkfvq h4M8Uyuvp365IM1+QvFC5PIsaDBZ9ROW01czBtzuYKVC6VXyAifEwKbz7n9fglauBUBQ /zrTHXpcqz/3ZKw0pBszUBwogTlVAkH+QstOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=QHenkPIcWsKLBu/q7OQwetifXiRjvSAa5ywfGfvCfBDc9DhfPp5LOy3kWSJ0LWhkHx fp3JeNqfAqKiOOppd5d48scnFUkkrqIQyogvj+FpLSmltw2Y6gOqvfuQBldIfxt9r/af 5gojuRJLM1tt/P2Gb4VspUhRCjvzRc3/rx6LQ= Received: by 10.224.72.12 with SMTP id k12mr7891227qaj.62.1252100566687; Fri, 04 Sep 2009 14:42:46 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 21sm831111qyk.0.2009.09.04.14.42.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Sep 2009 14:42:46 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Fri, 4 Sep 2009 14:41:48 -0700 From: Pyun YongHyeon Date: Fri, 4 Sep 2009 14:41:48 -0700 To: freebsd-stable Message-ID: <20090904214148.GB9950@michelle.cdnetworks.com> References: <20090904173811.GA45176@graf.pompo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090904173811.GA45176@graf.pompo.net> User-Agent: Mutt/1.4.2.3i 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 Reply-To: pyunyh@gmail.com 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:42:48 -0000 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: 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: port 0xd800-0xd8ff mem 0xfbeffc00-0xfbeffcff irq 16 at device 0.0 on pci2 > miibus1: on rl0 > rlphy0: 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.