From owner-freebsd-current@FreeBSD.ORG Tue May 13 08:59:48 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C02861065678 for ; Tue, 13 May 2008 08:59:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBA08FC23 for ; Tue, 13 May 2008 08:59:48 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4125547rvf.43 for ; Tue, 13 May 2008 01:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=HhR6EU7jpF89V2R5Z6+JBQ6MG0q1ZX/37zrR95PH/kc=; b=R0JGtVeid6Njo3HQltfD0G7iEBtS/Ev+D/J1ONZbq7Dr/h81u/D+nf2SNRNGeIlZ2kICHETcm84tp6kH3atJTQ0DM2Fp2ha7XI06N4hMaE27nquT/qv3iO98sgvljGXxbYJt5W3rOxzJd/aob/uczPuZhIvtnImtBt3ba4MjtS8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=KQsoNUwvWT2OtfvIwCAvaW43UNKfZXQEAAOY+CTaNeDzoz5rjOqhQkb5eCRi4ICCBh4ovLbynv/UI1wRC8eQNSDa7um/rVO4t/SiPVCbF/f8XRVqlBRkXVa1w2h0TkpV0QXovaq1VWS+o2YIiERHzxcy4n7S63d950OuZ9MSWBI= Received: by 10.141.63.20 with SMTP id q20mr4141308rvk.291.1210669187916; Tue, 13 May 2008 01:59:47 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id l31sm12173616rvb.6.2008.05.13.01.59.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 May 2008 01:59:45 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m4D8xdsr001060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 May 2008 17:59:39 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m4D8xc8L001059; Tue, 13 May 2008 17:59:38 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 13 May 2008 17:59:38 +0900 From: Pyun YongHyeon To: Pascal Hofstee Message-ID: <20080513085938.GB888@cdnetworks.co.kr> References: <20080512181259.04a2f542@nebuchadnezzar> <20080513020927.GD32942@cdnetworks.co.kr> <20080513073809.3b163baa@nebuchadnezzar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080513073809.3b163baa@nebuchadnezzar> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org, yongari@freebsd.org Subject: Re: nfe0 watchdog timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 08:59:48 -0000 On Tue, May 13, 2008 at 07:38:09AM +0200, Pascal Hofstee wrote: > On Tue, 13 May 2008 11:09:27 +0900 > Pyun YongHyeon wrote: > > > Can you see link state change reports of nfe(4) in your dmesg file? > > If you find any entries related with nfe(4) please show them to me. > > It may have a couple of link UP/DOWN messages and watchdog timeouts. > > You are right i initially overlooked the link state messages. They're > no longer in dmesg ... but i copy/pasted a small set > from /var/log/messages instead: > > May 10 15:59:31 trinity kernel: ums0: at uhub0 port 1 (addr 2) > disconnected May 10 15:59:31 trinity kernel: ums0: detached > May 10 15:59:33 trinity kernel: nfe0: link state changed to DOWN ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Something happend here. But I have no idea why link state was changed here. > May 10 15:59:33 trinity avahi-daemon[811]: Received packet from invalid > interface. > May 10 15:59:33 trinity acpi: resumed at 20080510 15:59:33 > May 10 15:59:34 trinity root: Unknown USB device: vendor 0x046d product > 0xc404 bus uhub0 > May 10 15:59:34 trinity kernel: ums0: rev 1.10/2.20, addr 2> on uhub0 > May 10 15:59:34 trinity kernel: ums0: 3 buttons and Z dir. > May 10 15:59:45 trinity kernel: nfe0: link state changed to UP ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Shomething brought up the link again. If link partner is switch then I hardly guess this unless you unplug/plug UTP cable. > May 10 15:59:53 trinity kernel: nfe0: watchdog timeout (missed Tx > interrupts) -- recovering > May 10 16:00:35 trinity last message repeated 5 times > May 10 16:01:53 trinity last message repeated 9 times > > I opted to include the usb-related messages as well since i find it > somewhat odd my Trackball decided to disconnect since i never take it > off ... Followed by the ACPI resumed message ... this to me feels like > the system may have been in some sort of power saving mode ? > If this is something related with suspend mode I guess you can easily verify this(Add some printfs in if_nfe.c:nfe_suspend). I vaguely guess link state handling of nfe(4) is not complete so it may have reprogrammed MAC with invalid speed/duplex during link state transition. > > When you know nfe(4) is not working anymore, would you check Rx MAC > > is still able to see incoming packets by invoking tcpdump on > > nfe(4) interface? > > Once it happens again i'll make sure to check on it. > > > It would be even better I can see verbosed boot messages related > > with nfe(4). > > Will provide once i can reboot the system again (it's currently in the > middle of a somewhat lengthy build process). > > With kind regards, > -- > Pascal Hofstee -- Regards, Pyun YongHyeon