From owner-freebsd-stable@FreeBSD.ORG Mon Feb 25 15:17:08 2008 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 2B01F16A402; Mon, 25 Feb 2008 15:17:08 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id A2F4E13C44B; Mon, 25 Feb 2008 15:17:07 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 6173D43F120; Mon, 25 Feb 2008 17:17:05 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ug86SCkzMdIn; Mon, 25 Feb 2008 17:17:05 +0200 (EET) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id E5B4A43CCAB; Mon, 25 Feb 2008 17:17:04 +0200 (EET) Message-ID: <47C2DBEF.301@icyb.net.ua> Date: Mon, 25 Feb 2008 17:17:03 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20080123) MIME-Version: 1.0 To: pyunyh@gmail.com References: <47A3041D.5050402@icyb.net.ua> <20080201123603.GA14050@cdnetworks.co.kr> <47A321BB.1060708@icyb.net.ua> <47A32501.7080703@icyb.net.ua> <20080204035242.GA28554@cdnetworks.co.kr> <47C2BC50.5040702@icyb.net.ua> In-Reply-To: <47C2BC50.5040702@icyb.net.ua> Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, yongari@freebsd.org Subject: Re: 6.3 nfe: strange behavior after hand 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: Mon, 25 Feb 2008 15:17:08 -0000 on 25/02/2008 15:02 Andriy Gapon said the following: > on 04/02/2008 05:52 Pyun YongHyeon said the following: >> On Fri, Feb 01, 2008 at 03:56:17PM +0200, Andriy Gapon wrote: >> > on 01/02/2008 15:42 Andriy Gapon said the following: >> > > on 01/02/2008 14:36 Pyun YongHyeon said the following: >> > >> After applying attached patch and let me know the output of >> > >> "devid : xxx, revid : xxx, pwr = xxx". It would be even better >> > >> if you can show me the above message for working/non-working case. >> > >> >> > >> >> > > >> > > Applied the patch with correction to actually print rev instead of dev >> > > for the second time :-) >> > > This is in working case: >> > > devid : 269, revid : a3, pwr = 00000003 >> > >> > A clarification: I just applied the patch, recompiled and re-loaded the >> > module. There was no reboot/poweroff/reset in between. >> > >> > > Will wait for the non-working situation. >> > > >> > >> >> Revert previous patch and try attached patch again and let me know >> how it goes. >> >> > > Tried it - still no joy, the behavior is as before. > If I gracefully reboot the machine or power down and then up, then > everything is OK. But if I press "reset" button and boot up, the nfe > interface is "dead". > BTW, I kept the line for printing devid/revid/pwr and output is the same > in all cases. > Not sure if that is related but Linux forcedeth driver seems to do some stuff that we don't do: http://lxr.linux.no/linux+v2.6.24/drivers/net/forcedeth.c#L5271 -- Andriy Gapon