From owner-freebsd-current@FreeBSD.ORG Sun Jan 18 13:45:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3295516A4CE for ; Sun, 18 Jan 2004 13:45:48 -0800 (PST) Received: from postal3.es.net (proxy.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7920243D46 for ; Sun, 18 Jan 2004 13:45:42 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id IBA74465; Sun, 18 Jan 2004 13:45:41 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id EFDD55D09; Sun, 18 Jan 2004 13:45:40 -0800 (PST) To: Gregory Poudrel In-Reply-To: Message from Gregory Poudrel <200401181330.38872.chojin@chojin.info> Date: Sun, 18 Jan 2004 13:45:40 -0800 From: "Kevin Oberman" Message-Id: <20040118214540.EFDD55D09@ptavv.es.net> cc: freebsd-current@freebsd.org Subject: Re: ACPI issue with ASUS P5A motherboard on 5.2-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 21:45:48 -0000 > From: Gregory Poudrel > Date: Sun, 18 Jan 2004 13:30:37 +0100 > Sender: owner-freebsd-current@freebsd.org > > Hello, > > I recently had some problems with my ASUS P5A motherboard (K6-II 350) on > FreeBSD 5.2-RELEASE. > In fact, I had GENERIC kernel installed and ACPI activated. > > First problem: > Time flow was incorrect. In fact, 1 second meaned 0.5 second for FreeBSD. > Each minute I tested a ntpdate and there was 76 seconds difference. > When I rebooted and check in BIOS, time was correct and flowed independently. This is a known bug in the P5A. It's ACPI-Safe clock is broken and runs at double speed. Use the TSC clock by putting the line: kern.timecounter.hardware=TSC into /etc/sysctl.conf. > Second problem: > on my LAN there is a gateway on FreeBSD 4.9-STABLE that manages the internet > connection. > > When I traceroute/ping anything on the net from my PC under 5.2, there was > 120 ms latency between my gateway and my first hop (provider LNS). > From any other PC of my LAN, there was normal 60 ms latency. > I changed network cards of PC under 5.2, changed RJ45 connector... nothing > changed. I have not seen this on my P5A (K63-450). I have no idea what might be causing it. > I decided on boot to disactivate ACPI by setting hint.acpi.0.disabled to 1. > No problem anymore, normal time flowing, normal ping. Without ACPI, you have no ACPI-safe clock, so TSC is chosen. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634