Lev Serebryakov
2005-Nov-08 23:54 UTC
6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'
Hello freebsd-stable, FreeBSD 6.0 on VMWare 5.0 prints such messages every 3-4 minute. Also, messages like calcru: runtime went backwards from 40644816 to 40005944 usec for pid 3 (g_up) is shown routinely. timecounter is ACPI-safe, kernel is GENERIC one. 5.4-STABLE on some virtual machine runs without such messages. And, hey, numbers are TOOOOOO big to be true, aren't they? -- Best regards, Lev mailto:lev@FreeBSD.org
John-Mark Gurney
2005-Nov-09 00:09 UTC
6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'
Lev Serebryakov wrote this message on Wed, Nov 09, 2005 at 10:53 +0300:> Hello freebsd-stable, > > FreeBSD 6.0 on VMWare 5.0 prints such messages every 3-4 minute. > Also, messages like > > calcru: runtime went backwards from 40644816 to 40005944 usec for pid 3 (g_up) > > is shown routinely. > > timecounter is ACPI-safe, kernel is GENERIC one. > > 5.4-STABLE on some virtual machine runs without such messages. > > And, hey, numbers are TOOOOOO big to be true, aren't they?A coworker saw this recently (on 4.x iirc)... and a quick fix was: sysctl kern.timecounter.hardware=i8259 Though I don't know if there is a better fix for it though... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Nate Lawson
2005-Nov-09 00:13 UTC
6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'
Lev Serebryakov wrote:> Hello freebsd-stable, > > FreeBSD 6.0 on VMWare 5.0 prints such messages every 3-4 minute. > Also, messages like > > calcru: runtime went backwards from 40644816 to 40005944 usec for pid 3 (g_up) > > is shown routinely. > > timecounter is ACPI-safe, kernel is GENERIC one. > > 5.4-STABLE on some virtual machine runs without such messages. > > And, hey, numbers are TOOOOOO big to be true, aren't they?Try using TSC or i8254: sysctl kern.MUMBLE.timecounter=TSC (developers@ removed from cc:) -- Nate
Doug White
2005-Nov-13 14:52 UTC
6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'
Adjusted cc: to remove private list. On Wed, 9 Nov 2005, Lev Serebryakov wrote:> Hello freebsd-stable, > > FreeBSD 6.0 on VMWare 5.0 prints such messages every 3-4 minute. > Also, messages like > > calcru: runtime went backwards from 40644816 to 40005944 usec for pid 3 (g_up) > > is shown routinely.Get used to it. VMWare does evil, evil things with the virtual machine clocks. We have problems with massive clock drift with Linux as the host and guest OSen. Comment out the printf and rebuild your kernel :-) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org