From ortmann@sparc.isl.net  Wed Dec  2 04:23:39 1998
Received: from pyrl.eye (ppp-115.isl.net [199.3.25.115])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA14474
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 2 Dec 1998 04:23:37 -0800 (PST)
          (envelope-from ortmann@sparc.isl.net)
Received: (from ortmann@localhost)
	by pyrl.eye (8.9.1/8.9.1) id GAA01215;
	Wed, 2 Dec 1998 06:23:21 -0600 (CST)
	(envelope-from ortmann)
Message-Id: <199812021223.GAA01215@pyrl.eye>
Date: Wed, 2 Dec 1998 06:23:21 -0600 (CST)
From: Daniel Ortmann <ortmann@sparc.isl.net>
Reply-To: ortmann@sparc.isl.net
To: FreeBSD-gnats-submit@freebsd.org
Cc: gurney_j@efn.org
Subject: slow-running system clock (and possibly sio overflows?)
X-Send-Pr-Version: 3.2

>Number:         8940
>Category:       kern
>Synopsis:       system clock runs extremely slowly (and sio overflows?)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec  2 04:30:00 PST 1998
>Closed-Date:    Sat Aug 4 20:30:04 PDT 2001
>Last-Modified:  Sat Aug 04 20:32:41 PDT 2001
>Originator:     Daniel Ortmann
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
N/A
>Environment:

generic ide system with "CPU: Cyrix 6x86 (486-class CPU)"

>Description:

the system clock runs extremely slowly.  (and sio silo overflows occur)

>How-To-Repeat:

A) enable power management in the bios
B) put "device apm0 at isa? disable flags 0x31" in the kernel config file

perhaps only one of the above is needed to reproduce the problem???

>Fix:

1) disable power management in the bios
2) remove apm from the kernel

perhaps only one of the above is needed to remove the problem???

items #1 and #2 were tested together and not separately
>Release-Note:
>Audit-Trail:

From: ortmann@sparc.isl.net
To: freebsd-gnats-submit@freebsd.org, ortmann@sparc.isl.net
Cc:  Subject: Re:kern/8940:systemclockrunsextremelyslowly(andsiooverflows?)
Date: Sun, 6 Dec 1998 19:15:20 -0600 (CST)

 The patch to fix an apm problem (reportedly #8280) does
 not affect this time problem.  That is, when the following
 patch is applied:
 
 --- apm.c
 Thu Dec  3 23:09:47 1998
 +++ apm.c.new
 Thu Dec  3 23:09:44 1998
 @@ -795,7 +795,7 @@
  
 sc->ds_base = (apm_ds_base << 4) + APM_KERNBASE;
  
 sc->cs32_limit = apm_cs32_limit - 1;
  
 if (apm_cs16_limit == 0)
 -
     apm_cs16_limit == apm_cs32_limit;
 +
     apm_cs16_limit = apm_cs32_limit;
  
 sc->cs16_limit = apm_cs16_limit - 1;
  
 sc->ds_limit = apm_ds_limit - 1;
  
 sc->cs_entry = apm_cs_entry;
 
 (sorry for the extra newlines there)
 ... the clock still runs slowly (or perhaps stops).
 
 This problem is still live.
 

From: ortmann@sparc.isl.net
To: freebsd-gnats-submit@freebsd.org, ortmann@sparc.isl.net
Cc:  Subject: Re:kern/8940:systemclockrunsextremelyslowly(andsiooverflows?)
Date: Sat, 12 Dec 1998 11:19:38 -0600 (CST)

 Before disabling apm I experienced numerous random kernel panics,
 but I assumed it was due to misc kernel stability issues in current.
 
 After disabling apm in the bios and in the kernel ...
 
 ... -current is ROCK SOLID for me!!!
 
 I have had NO PANICS for a couple of weeks!!!
 
 Previously I had at least 1 panic every other day, and sometimes more.
 
State-Changed-From-To: open->feedback 
State-Changed-By: mike 
State-Changed-When: Thu Jul 19 13:53:05 PDT 2001 
State-Changed-Why:  

Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=8940 
State-Changed-From-To: feedback->closed 
State-Changed-By: mike 
State-Changed-When: Sat Aug 4 20:30:04 PDT 2001 
State-Changed-Why:  

Originator was able to solve problem by disabling APM in his BIOS and 
kernel. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=8940 
>Unformatted:
