6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'

Lev Serebryakov
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:[hidden email]

_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: 6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'

John-Mark Gurney
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."
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: 6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'

Nate Lawson
In reply to this post by Lev Serebryakov
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
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: 6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'

Sheldon Hearn
On Wednesday 09 November 2005 10:13, Nate Lawson wrote:
> Try using TSC or i8254:
> sysctl kern.MUMBLE.timecounter=TSC
>
> (developers@ removed from cc:)

Also, consider setting

        host.useFastclock = "FALSE"

in your server's .vmx file.

This makes all the difference for a Linux guest OS, along with ensuring
that the host OS kernel has HZ defined as high as possible (1000 on x86
Linux).

Ciao,
Sheldon.

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: 6.0 on VMWare 5.0: `calcru: negative runtime of -12728437 usec for pid 28 (irq17: lnc0)'

Doug White-2
In reply to this post by Lev Serebryakov
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
[hidden email]          |  www.FreeBSD.org
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[hidden email]"