From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 2 05:38:11 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BB00A84; Wed, 2 Jan 2013 05:38:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by mx1.freebsd.org (Postfix) with ESMTP id EF8B68FC0A; Wed, 2 Jan 2013 05:38:10 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id dt10so6385206wgb.27 for ; Tue, 01 Jan 2013 21:38:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=0n9gAizgai/jJQAzureSnh12X+zRaX6dwgECyzMhYtk=; b=wHZD4X1hqx2kqPnucOFF9Ja5Nn/63A4us80J9oHEbWNxBs33x0OqKDjKL3v5SVsHWM w9JvT9DUNoETpy3r4HzlcJf/xXv5Dl5fD+lcLYvEvSkmIdk6ewhclfTWDlpfhBAo1BFv i9pUuypD1NF/xXIVW9aHPl3Mc+nLh91e8eZzPzeyAr53Nt7guwTw5ArYuM9y5CQV3ziT 5sIKhknGo+fccONfetMXv7hnQV4xxlIgKte91rVWl4++LIpYykw5I+Ff/djldZF+57dh +YPZQzSrRftrlPatbFD+Fy3DIvuhV7Vz8B5mnGXyBwDZGDm3wj4Yax9erCZh9lE0q/A9 3VhA== MIME-Version: 1.0 Received: by 10.194.93.40 with SMTP id cr8mr71492926wjb.16.1357105084562; Tue, 01 Jan 2013 21:38:04 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Tue, 1 Jan 2013 21:38:04 -0800 (PST) In-Reply-To: References: Date: Tue, 1 Jan 2013 21:38:04 -0800 X-Google-Sender-Auth: 3Wo7gf41ixw7quE4ZtleCWlFIr4 Message-ID: Subject: Re: Every 20 minutes (less 4 seconds)? From: Adrian Chadd To: Tim Kientzle Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2013 05:38:11 -0000 .. run a tcpdump, see if it's sending an individual frame or two and getting the TX watchdog confused? Try a different switch? Adrian On 1 January 2013 21:30, Tim Kientzle wrote: > I'm trying to understand why the transmitter for the > CPSW ethernet driver just stops sometimes. > > I just found a very perplexing clue: It happens > every 1196 seconds. > > I added a debug message with an HH:MM:SS > timestamp whenever the watchdog sees the > transmitter stop and this is what it printed out: > > 20:30:20 cpsw_tx_watchdog Watchdog resetting driver > 20:50:16 cpsw_tx_watchdog Watchdog resetting driver > 21:10:12 cpsw_tx_watchdog Watchdog resetting driver > 21:30:09 cpsw_tx_watchdog Watchdog resetting driver > 21:50:04 cpsw_tx_watchdog Watchdog resetting driver > 22:10:01 cpsw_tx_watchdog Watchdog resetting driver > 22:29:56 cpsw_tx_watchdog Watchdog resetting driver > 22:49:52 cpsw_tx_watchdog Watchdog resetting driver > 23:09:49 cpsw_tx_watchdog Watchdog resetting driver > 23:29:45 cpsw_tx_watchdog Watchdog resetting driver > 23:49:41 cpsw_tx_watchdog Watchdog resetting driver > 00:29:33 cpsw_tx_watchdog Watchdog resetting driver > 00:49:29 cpsw_tx_watchdog Watchdog resetting driver > 01:29:21 cpsw_tx_watchdog Watchdog resetting driver > 02:29:09 cpsw_tx_watchdog Watchdog resetting driver > 03:28:57 cpsw_tx_watchdog Watchdog resetting driver > 04:28:45 cpsw_tx_watchdog Watchdog resetting driver > 05:28:31 cpsw_tx_watchdog Watchdog resetting driver > > (Note: Some 20-minute intervals did seem to get skipped. > There was no hang at 01:09, 01:49, 02:09, 02:49, etc. > Maybe because the system was less busy then? The > network and processor load varied quite a bit over > this 9 hour period.) > > Based on this, it would appear that "something" > happens every 1196 seconds and if "something else" > happens at that time the transmitter will hang. > > Does anyone recognize that particular period? > > Tim > > P.S. Cron isn't running, nor is there any other particularly > periodic process. > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"