From owner-freebsd-stable@FreeBSD.ORG Thu Feb 26 04:04:48 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 383EE1065676; Thu, 26 Feb 2009 04:04:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id EF25D8FC08; Thu, 26 Feb 2009 04:04:47 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so337011rvb.43 for ; Wed, 25 Feb 2009 20:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=6oGEm/YtIdFhohKaOPgnT2cBrBLMhIcRD10BL9UHsCI=; b=RP8Ap4UyaPKFa2SrwJaSB/nI5GF2QvE78dZgaOzukNQ4Ixu5+O3iQ200pMQ7IJa5bp 2ih/RGQuipFxH5C+0plamVagca7cJqUaPqVbEzKPzz6hNrvcSkzWH4Aq0/0pKbyokBWs TR2phBrZXHD3TMVyqDMwIxMe4AIwdd/xXewl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Ula4/cmS8pIK/xpo4medvx7wmK4729m58UNXGjhvg2EEsQVwuaeT/ZLGQ/c2M1YBX8 5pUitIsiJ70fW+z8M3C/HZahoHTbCsLhj+7ws1OOaE16Y5ITANmqSUvkF2umfH8SfUTE pSe52sLd8L6MxniArbZlvIs7NbYwabFi6NVtk= Received: by 10.141.96.19 with SMTP id y19mr381343rvl.201.1235621087538; Wed, 25 Feb 2009 20:04:47 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id b8sm3711889rvf.8.2009.02.25.20.04.45 (version=SSLv3 cipher=RC4-MD5); Wed, 25 Feb 2009 20:04:46 -0800 (PST) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Thu, 26 Feb 2009 13:10:23 +0900 From: Pyun YongHyeon Date: Thu, 26 Feb 2009 13:10:23 +0900 To: Steve Wills Message-ID: <20090226041023.GD63173@michelle.cdnetworks.co.kr> References: <20090226003842.GB63173@michelle.cdnetworks.co.kr> <95AD32AC-93AE-4945-A18E-CE7099BEC3CA@stevenwills.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <95AD32AC-93AE-4945-A18E-CE7099BEC3CA@stevenwills.com> User-Agent: Mutt/1.4.2.3i Cc: stable@freebsd.org, yongari@freebsd.org Subject: Re: 7.1-R to RELENG_7 upgrade breaks re nic 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: Thu, 26 Feb 2009 04:04:48 -0000 On Wed, Feb 25, 2009 at 10:47:07PM -0500, Steve Wills wrote: > On Feb 25, 2009, at 7:38 PM, Pyun YongHyeon wrote: > >I need more information for your hardware revision. > >Would you show me dmesg output and revision number of if_re.c? > > I assume you only need the re0 related output. If you need the full > dmesg, let me know. > > re0: Gigabit Ethernet> port 0x7e00-0x7eff mem 0xfd3ff000-0xfd3fffff, > 0xfd3f8000-0xfd3fbfff irq 16 at device 0.0 on pci8 > re0: Chip rev. 0x28000000 > re0: MAC rev. 0x00100000 > re0: Ethernet address: 00:1f:d0:af:1a:4c > re0: [FILTER] > re0: link state changed to UP > > $FreeBSD: src/sys/dev/re/if_re.c,v 1.95.2.41 2009/02/09 01:38:01 > yongari Exp $ > > I get 3 link state DOWN/UP notices when DHCP client starts. It works That's normal(Technically this is not correct behavior but it's the way how it was implemented in driver). > for exactly 60 seconds after boot, then stops. I guess re(4) thinks it lost established link. How about unplug and then replug UTP cable? Would you show me "devinfo -rv | grep phy"? > Patch from earlier "fun > with if_re" thread didn't help, Your issue is completely different one. > if_re.c from -CURRENT failed to build. You have to use if_re.c/if_rl.c and if_rlreg.h from CURRENT to build it on stable. > Reverting back to rev 1.95.2.36.2.2 fixes it. > Your controller looks like RTL8168D PCIe controller. ATM I have no idea why if_re.c 1.95.2.41 does not work. I'll let you know if I find a clue.