From owner-freebsd-stable@FreeBSD.ORG Wed Apr 15 10:38:09 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 4743D106566C for ; Wed, 15 Apr 2009 10:38:09 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id BDF658FC18 for ; Wed, 15 Apr 2009 10:38:08 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: by fg-out-1718.google.com with SMTP id 19so532680fgg.12 for ; Wed, 15 Apr 2009 03:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=KUwrKhPq4tAcwUfhtfXJX8Gj0/OkiAoiVZrqmi7bseI=; b=N3UKOZVEg2C+t9EixIBIIQ2kxnYYypPLZ2DAIabrAvGdeieQ5EYGBW9gXcxwap/fw0 sT+P4bUWXxVpRe5fKHfDjYAoNGv8ssBFOwY+5Dckt30GYo8Z1YNGveIcykJfHz9zrOFe JvfeC2mXG2hIgki1T5OUOB5N5+Qz5pofSaxyM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=IxOQxjq/PG5yEluRRyml07wfPAtt4hygAhxOlv8T+j6K/Y99RGYsa1+8fhzosM/1tG NJJvK906Lgk9FyJayYGv7RMEzS4lQLTSot27rIZZoLJI8FFlMBl+XasudcVbly/dixAq 50V7dzk69KuL7Kq4X/E4b5YxZpEUGv12gecAI= Received: by 10.86.49.13 with SMTP id w13mr36494fgw.67.1239791887964; Wed, 15 Apr 2009 03:38:07 -0700 (PDT) Received: from notebook (minsk.agava.net [212.98.174.157]) by mx.google.com with ESMTPS id d6sm10264043fga.12.2009.04.15.03.38.06 (version=SSLv3 cipher=RC4-MD5); Wed, 15 Apr 2009 03:38:07 -0700 (PDT) Date: Wed, 15 Apr 2009 13:38:20 +0300 From: "Sergey V. Dyatko" To: pyunyh@gmail.com Message-ID: <20090415133820.42211c98@notebook> In-Reply-To: <20090415103026.GJ65724@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> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit 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 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:38:09 -0000 В 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: 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: 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. -- wbr, tiger