Topic: calcru

I started noticing this in my messages file running Freebsd 6.3

Dec 12 09:00:00 tiesto kernel: calcru: negative runtime of -574550 usec for pid 25 (usb0)
Dec 12 09:00:00 tiesto kernel: calcru: negative runtime of -1850604203 usec for pid 13 (swi4: clock sio)
Dec 12 09:00:00 tiesto kernel: calcru: runtime went backwards from 136313608967 usec to 136313373169 usec for pid 1 (init)
Dec 12 09:00:00 tiesto kernel: calcru: negative runtime of -22688084 usec for pid 952 (varnishlog)
Dec 12 09:00:00 tiesto kernel: calcru: runtime went backwards from 693478 usec to 99557 usec for pid 856 (accounting)
Dec 12 09:00:00 tiesto kernel: calcru: runtime went backwards from 6938677 usec to 5237949 usec for pid 44 (vnlru)
Dec 12 09:00:00 tiesto kernel: calcru: runtime went backwards from 2822043 usec to 2817775 usec for pid 39 (pagedaemon)
Dec 12 09:00:00 tiesto kernel: calcru: negative runtime of -574550 usec for pid 25 (usb0)
Dec 12 09:00:00 tiesto kernel: calcru: negative runtime of -1850604203 usec for pid 13 (swi4: clock sio)
Dec 12 09:00:00 tiesto kernel: calcru: runtime went backwards from 136313608967 usec to 136313373169 usec for pid 1 (init)

Any thoughts ?  can I provide any other info for the board ?

Re: calcru

I got similar one: sometimes if deadlock happen (is some part of kernel, eating almost all CPU time), if I enter manul to debugger in wrong time or when livelock happen. Also it can happen on some laptops after longer uptime (look in your powerd flags).
You can try experimenting and changing kern.timecounter.hardware to something other than what it is already configured. (store value in sysctl.conf not in loader.conf)
To see list of possible entries look output in kern.timecounter.choice

Last edited by richardpl (2008-12-13 11:24:52)

Re: calcru

I have the same problem, it seems appears when the CPU is stressed, sometimes crashing the system.
Haven't look at solutions yet.

Trust me, I know what I'm doing.

Re: calcru

hmmm, I just updated my server to 7.1-STABLE and I started getting these messages as well