Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 08:08:07 -0800 (PST)
From:      "Denis R." <darom@filmkern.com>
To:        <mark@ukug.uk.freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Wierd time changes
Message-ID:  <42665.206.169.45.183.1078848487.squirrel@mail.filmkern.com>

next in thread | raw e-mail | index | archive | help
Hi Mark,

Ok, I have recompiled my kernel and excluded the support for SMP and ACPI.
All my weird problems with slow time have disappeared. The kernel time
stays dead on along with the ntpd. The uptime shows the correct amount of
days. It was funny to see after 3 days that the machine had been up for 1
day.

My dmesg shows a new line now (TSC):
Timecounter "i8254" frequency 1193182 Hz quality 0
Timecounter "TSC" frequency 448945381 Hz quality 800

-su-2.05b# uname -a
FreeBSD mta2 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #0: Mon Mar  8
16:28:46 PST 2004     root@mta2:/usr/obj/usr/src/sys/DRKERNEL  i386

If you install 4.9, my bet is that you will have the same problem with
your SMP motherboard.

Try this in your /boot/device.hints
hint.acpi.0.disabled="1"

Let us know. If this is not a production machine, just out of curiosity,
recompile the kernel without SMP and take a note if the time jumps at
reboot again. This experiment will take less time than the complete
reinstall with 4.9.

Regards!
Denis














>>>>>>>>>>>>>>

To follow up:

Based on your comments Denis, I tried the
kern.timecounter.hardware=i8254 workround - didn't work. I also spun a
UP kernel - that didn't work either. Confirms that it is something
specific to my machine (or the Asus A7M266-D m/b and BIOS).

Where does FreeBSD store the corrupted time across reboots though and,
more importantly, why?

I don't know where to go from here. I do have an old IDE drive lying
around so I guess I could put 4.9 on that and see if the problem exists
there as well.

Regards,

Mark




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42665.206.169.45.183.1078848487.squirrel>