From owner-freebsd-stable@FreeBSD.ORG Wed Apr 15 10:46:05 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 367691065744 for ; Wed, 15 Apr 2009 10:46:05 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id F16778FC1C for ; Wed, 15 Apr 2009 10:46:04 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so2848669rvb.43 for ; Wed, 15 Apr 2009 03:46:04 -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:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=NC8lozvf60OyfbOvwZjps7pZpJxuT07XAOBC/HCymL8=; b=orNsj+BZRYRpAY4CsXZ9n/U6QP0IXikuoApnxVVQ/2mhxcdtKEwjVJ4kOElo0/iHK5 /W1eu+dkyTtBRgEgklaLFZXkxnzJButCqnF2F+bsMTazKZr3Z+FiRemkTTEZ9rsiN3wt c7LY4sgxBhttIU3Sd5OUZDWKEKw58i4Fxkp44= 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:content-transfer-encoding :in-reply-to:user-agent; b=qaEqRh1J+U36fmOytBao3iDMY3Nco/fWI18lEkbJtjPDX5nyVbS016O5gwe7jq4C03 maW2gPawAJmoOaed+3ZEcSpT+pWc3EGqL7cSQZ2d37mhOtbsvMOVCAA7nzfhypjyqkfI 4CQvx7I3ibD0DpCFxVYQu3q4yCg2Npe9WhLm8= Received: by 10.141.210.21 with SMTP id m21mr289447rvq.204.1239792363874; Wed, 15 Apr 2009 03:46:03 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id k41sm8345541rvb.56.2009.04.15.03.46.02 (version=SSLv3 cipher=RC4-MD5); Wed, 15 Apr 2009 03:46:03 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Wed, 15 Apr 2009 19:48:31 +0900 From: Pyun YongHyeon Date: Wed, 15 Apr 2009 19:48:31 +0900 To: "Sergey V. Dyatko" Message-ID: <20090415104831.GK65724@michelle.cdnetworks.co.kr> References: <20090414174527.145c6448@notebook> <20090415041516.GF65724@michelle.cdnetworks.co.kr> <20090415100456.55bbe358@tiger.minsk.domain> <20090415074144.GH65724@michelle.cdnetworks.co.kr> <20090415114343.6a72784d@tiger.minsk.domain> <20090415103026.GJ65724@michelle.cdnetworks.co.kr> <20090415133820.42211c98@notebook> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090415133820.42211c98@notebook> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: problem with if_re on RELENG_7 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: Wed, 15 Apr 2009 10:46:06 -0000 On Wed, Apr 15, 2009 at 01:38:20PM +0300, Sergey V. Dyatko wrote: > В Wed, 15 Apr 2009 19:30:26 +0900 > Pyun YongHyeon пишет: > > PY> On Wed, Apr 15, 2009 at 11:43:43AM +0300, Sergey V. Dyatko wrote: > PY> > В Wed, 15 Apr 2009 16:41:44 +0900 > PY> > Pyun YongHyeon пишет: > PY> > > PY> > PY> On Wed, Apr 15, 2009 at 10:04:56AM +0300, Sergey V. Dyatko > PY> > PY> wrote: > PY> > PY> > On Wed, 15 Apr 2009 13:15:16 +0900 > PY> > PY> > Pyun YongHyeon wrote: > PY> > PY> > > PY> > PY> > PY> On Tue, Apr 14, 2009 at 05:45:27PM +0300, Sergey V. > PY> > PY> > PY> Dyatko wrote: > PY> > PY> > PY> > Hi list, > PY> > PY> > PY> > > PY> > PY> > PY> > Are there any problems with the if_re ? > PY> > PY> > PY> > After upgrade RELENG_7 on my laptop NIC stopped to > PY> > PY> > PY> > work:( > PY> > PY> > PY> > > PY> > PY> > PY> > PY> > PY> > PY> Would you let me know what was the last good working > PY> > PY> > PY> revision of if_re.c on your box? > PY> > PY> > PY> > PY> > PY> > > PY> > PY> > revision 189945 work fine for me. > PY> > PY> > > PY> > PY> > PY> > PY> There are just three commits(r189946, r189947, r190663 after > PY> > PY> this one. However I have no idea how these can break your > PY> > PY> controller. Would you check which one broke re(4)? > PY> > I have tried to reduce the revision number starting with r190663. > PY> > result below: http://tiger.byfly.by/files/step-by-step.txt > PY> > > PY> > PY> Ok, would you set a tunable hw.re.msi_disable="1" with kenv(1) > PY> before loading re(4) and send me re(4) related dmesg output? > PY> (Make sure to back out all changes made in if_re.c before > PY> testing) > > notebook# kenv hw.re.msi_disable > 1 > notebook# kldload ./if_re.ko > notebook# cat /var/log/messages > Apr 15 13:33:56 notebook kernel: re0: 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigabit Ethernet> > port 0xd800-0xd8ff mem 0xdf6ff000-0xdf6fffff irq 17 at device 0.0 on > pci2 > Apr 15 13:33:56 notebook kernel: re0: turning off MSI enable bit. > Apr 15 13:33:56 notebook kernel: re0: Chip rev. 0x38000000 > Apr 15 13:33:56 notebook kernel: re0: MAC rev. 0x00000000 > Apr 15 13:33:56 notebook kernel: re0: Ethernet address: > 00:1a:92:ca:b3:bc > Apr 15 13:33:56 notebook kernel: re0: [FILTER] > Apr 15 13:33:56 notebook kernel: miibus0: on re0 > Apr 15 13:33:56 notebook kernel: rgephy0: interface> PHY 1 on miibus0 Apr 15 13:33:56 notebook kernel: rgephy0: > interface> 10baseT,10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > Apr 15 13:33:56 notebook kernel: re0: link state changed to DOWN > Apr 15 13:33:58 notebook kernel: re0: link state changed to UP > notebook# dhclient re0 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7 > DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 7 > DHCPOFFER from 192.168.9.1 > DHCPREQUEST on re0 to 255.255.255.255 port 67 > DHCPACK from 192.168.9.1 > bound to 192.168.9.103 -- renewal in 7200 seconds. > Ok, I think you've have to live without MSI. I'll rearrange re(4) to disable MSI on RTL8168 SPIN2 device. Thanks for testing!