From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 30 08:39:00 2005 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8604016A4CE for ; Sun, 30 Jan 2005 08:39:00 +0000 (GMT) Received: from Fetast.fetband.net (fetast.fetband.net [193.14.161.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 888E343D2D for ; Sun, 30 Jan 2005 08:38:59 +0000 (GMT) (envelope-from dennis@pesonen.se) Received: from webmail.fetband.net (localhost.fetband.net [127.0.0.1]) by Fetast.fetband.net (8.12.10/8.12.9) with ESMTP id j0U8cjk0054126 for ; Sun, 30 Jan 2005 09:38:45 +0100 (CET) Received: from 130.244.254.1 (SquirrelMail authenticated user dennis) by webmail.fetband.net with HTTP; Sun, 30 Jan 2005 09:38:45 +0100 (CET) Message-ID: <54756.130.244.254.1.1107074325.squirrel@webmail.fetband.net> Date: Sun, 30 Jan 2005 09:38:45 +0100 (CET) From: "Dennis Pesonen" To: freebsd-sparc64@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-fetband.net-MailScanner-Information: Please contact the ISP for more information X-fetband.net-MailScanner: Found to be clean X-MailScanner-From: dennis@pesonen.se Subject: clock problem on Ultra80 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dennis@pesonen.se List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 08:39:00 -0000 Hi, Ever since I installed FreeBSD I have had some strange clock problems. After installing FreeBSD 5.2.1 from iso files I noticed that doing traceroutes and pings returned strange results. Sometimes the result was a negative time and sometimes it was to large to be reasonable. After changing the kern.timecounter.choice: parameter via sysctl from tick to counter-timer these problems stopped. My current problem is that the system clock stops from time to time. This happes at intervals between 1 day and 2 weeks, but always at the top of the hour, like 14:00:01. After it stops it just switches between 2 seconds, lika 14:00:01 and 14:00:02. This makes alot of processes hang and I cant reboot the system without a powercycle When this happens I have had a look at the time values in sysctl, what I noticed is that kern.timecounter.ngetmicrotime and kern.timecounter.ngetnanouptime stops counting up but kern.timecounter.nbinuptime and kern.timecounter.nmicrouptime: is still counting. Im wondering if this might be a hardware falure or if it's some strange bug. After the reboot the time is accurate again so the actual hardware clock does not seem to have stopped. My system is a Ultra80 with 2x450cpu and 1gig ram. I have not CVSupped since the install. bash-2.05b# uname -a FreeBSD Fetast.fetband.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Tue Feb 24 07:47:33 GMT 2004 root@bobbi.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64 Im kinda new to freebsd so if I have left any information out please say so. I would be very grateful for any help you can give me. Kind Regards Dennis Pesonen