From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 2 05:30:38 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 19AB2917 for ; Wed, 2 Jan 2013 05:30:38 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id E41228FC08 for ; Wed, 2 Jan 2013 05:30:37 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r025Uart025830 for freebsd-hackers@freebsd.org; Wed, 2 Jan 2013 05:30:36 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 8f7bap6ny9kngcqasawm8ynwre; for freebsd-hackers@freebsd.org; Wed, 02 Jan 2013 05:30:36 +0000 (UTC) (envelope-from kientzle@freebsd.org) From: Tim Kientzle Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Every 20 minutes (less 4 seconds)? Date: Tue, 1 Jan 2013 21:30:35 -0800 Message-Id: To: freebsd-hackers Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) 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:30:38 -0000 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.