From owner-freebsd-stable@FreeBSD.ORG Wed Mar 5 17:54:00 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 B0AF61065671 for ; Wed, 5 Mar 2008 17:54:00 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail3.secureworks.net (mail3.secureworks.net [65.114.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 8077E8FC17 for ; Wed, 5 Mar 2008 17:54:00 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from localhost (localhost [127.0.0.1]) by mail3.secureworks.net (Postfix) with ESMTP id E444519E2FA; Wed, 5 Mar 2008 17:53:59 +0000 (GMT) X-Virus-Scanned: amavisd-new at secureworks.net Received: from mail3.secureworks.net ([127.0.0.1]) by localhost (mail3.secureworks.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tiCjxwXzf2QL; Wed, 5 Mar 2008 17:53:59 +0000 (GMT) Received: from [192.168.23.35] (mole1.secureworks.net [63.239.86.3]) by mail3.secureworks.net (Postfix) with ESMTP id B703D19E2EF; Wed, 5 Mar 2008 17:53:59 +0000 (GMT) Message-ID: <47CEDE37.2080200@jellydonut.org> Date: Wed, 05 Mar 2008 12:53:59 -0500 From: Michael Proto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080227 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Torfinn Ingolfsen References: <20080304203226.0039ffd1.torfinn.ingolfsen@broadpark.no> <47CDA877.5060609@FreeBSD.org> <20080305180201.436fa2f6.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20080305180201.436fa2f6.torfinn.ingolfsen@broadpark.no> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.9-stable: weird messages in /var/log/messages? 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, 05 Mar 2008 17:54:00 -0000 Torfinn Ingolfsen wrote: > On Tue, 04 Mar 2008 20:52:23 +0100 > Kris Kennaway wrote: > >> It is reporting large variations in the rate of your time clock (see >> kern_tc.c). > > Aha, I see. Thanks for explaining that. > >> Also, you appear to be emailing from the distant future. Please >> reply with stock tips :) > > distant future, even? :-) > The two things share a common symptom; the nic on that particular > machine is a ral(4) one, and I am having connectivity problems > (connections from other machines to this particular machine drops). > That's why I booted the machine with verbose messages, and got those > messages in the first place. > It looks like network connectivity going away without the network > interface going down / up has confused ntpd, I had to restart it just > now. I've noticed this with ntpd myself in various scenarios, mainly when using MPD (via a ng_pppoe tunnel) and the tunnel drops-out from underneath ntpd. Normally when this happens I see two instances of ntpd running instead of one, and it doesn't respond to a normal kill signal. I've written the following quick-hack script to restart it (running every 5 minutes from cron): #!/bin/sh -e for conf in /etc/defaults/rc.conf /etc/rc.conf /etc/rc.conf.local; do [ -f "$conf" ] && . "$conf" done if [ $ntpd_enable = "YES" ]; then PROGNUM=`ps xww | grep "$ntpd_program .* $ntpd_flags" | grep -v grep | wc -l` if [ "$PROGNUM" -gt 1 ]; then /etc/rc.d/ntpd stop sleep 10; killall -9 ntpd /etc/rc.d/ntpd start fi fi -Proto