Professional Web Applications Themes

calcru: negative runtime - FreeBSD

I am new to BSD and just downloaded BSD 5.3-RELEASE. I saw a few other posts on this issue but I didn't see any solutions. I am getting excessive calcru: negative runtime messages in the syslog (and the console). According to the FAQ the solution is to use sysctl and set kern.timecounter.method=1, however this param does not exist in 5.3. Is there a solution to this issue? Thanks! Brian Curnow __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile./maildemo...

  1. #1

    Default calcru: negative runtime

    I am new to BSD and just downloaded BSD 5.3-RELEASE.

    I saw a few other posts on this issue but I didn't see
    any solutions.

    I am getting excessive calcru: negative runtime
    messages in the syslog (and the console).

    According to the FAQ the solution is to use sysctl and
    set kern.timecounter.method=1, however this param does
    not exist in 5.3.

    Is there a solution to this issue?

    Thanks!

    Brian Curnow




    __________________________________
    Do you Yahoo!?
    Take Yahoo! Mail with you! Get it on your mobile phone.
    http://mobile./maildemo
    Brian Guest

  2. #2

    Default Re: calcru: negative runtime

    Brian Curnow wrote:
     

    $sysctl -a | grep timeco
    kern.timecounter.stepwarnings: 0
    kern.timecounter.nbinuptime: 4005177648
    kern.timecounter.nnanouptime: 0
    kern.timecounter.nmicrouptime: 1108115
    kern.timecounter.nbintime: 1813993971
    kern.timecounter.nnanotime: 207315298
    kern.timecounter.nmicrotime: 1606545859
    kern.timecounter.ngetbinuptime: 0
    kern.timecounter.ngetnanouptime: 115004537
    kern.timecounter.ngetmicrouptime: 3989727579
    kern.timecounter.ngetbintime: 0
    kern.timecounter.ngetnanotime: 526
    kern.timecounter.ngetmicrotime: 201307619
    kern.timecounter.nsetclock: 7
    kern.timecounter.hardware: ACPI-fast
    kern.timecounter.choice: TSC(800) ACPI-fast(1000) i8254(0) dummy(-1000000)
    kern.timecounter.tick: 1

    I'm not the expert here, but I think I've experience.

    Examine the options your system has for "kern.timecounter.choice"
    (you can see above how I did it) and experiment until you find (if you
    find) a setting that seems to fix the problem. Certain chipsets
    seem to have issues, but I couldn't say which ones. I have, however,
    fixed a couple of boxes by picking a different value for this sysctl.

    It's likely that the FAQ hasn't yet been completely transformed
    into a "post-5.3-is-now-stable" format, since people were warned
    that 5.0-5.2 weren't "production releases". If you find that this
    helps you, write back and I'll try sometime Real Soon Now(tm)
    to send a patch to the FDP folks to address that issue....

    HTH,

    Kevin Kinsey
    Kevin Guest

  3. #3

    Default Re: calcru: negative runtime

    Brian Curnow wrote:
     

    How did you try them?
     

    In this message:

    http://lists.freebsd.org/pipermail/freebsd-stable/2004-November/009417.html

    someone suggests rebuilding the kernel. That was
    on a box with an AMD K6 type CPU.

    IIRC, I fixed these issues by running timecounter as
    i8254. I'm sure that could be set in /etc/sysctl.conf;
    I don't know if it could be in /boot/loader.conf or not;
    however, the earlier it was done, sounds like it might
    be better.

    I'm sure you also noted that some folks did a
    "work around" by booting with ACPI disabled. That
    could definitely be set in loader.conf, but it doesn't
    sound ideal. However, depending on your motherboard,
    it might be about the only way to do this, unless you
    can find and patch the underlying code issue, (if indeed
    there is one ... IIRC, it just that the chips are a little "buggy",
    the developers claim), and besides, we newbs generally
    aren't that proficient in C ;-)

    As you might guess, we're way over my head now. I
    hope you can get it going to suit you ....

    Good luck,

    Kevin Kinsey

     
    >> 
    >> 
    >> 
    >> 
    >>$sysctl -a | grep timeco
    >>kern.timecounter.stepwarnings: 0
    >>kern.timecounter.nbinuptime: 4005177648
    >>kern.timecounter.nnanouptime: 0
    >>kern.timecounter.nmicrouptime: 1108115
    >>kern.timecounter.nbintime: 1813993971
    >>kern.timecounter.nnanotime: 207315298
    >>kern.timecounter.nmicrotime: 1606545859
    >>kern.timecounter.ngetbinuptime: 0
    >>kern.timecounter.ngetnanouptime: 115004537
    >>kern.timecounter.ngetmicrouptime: 3989727579
    >>kern.timecounter.ngetbintime: 0
    >>kern.timecounter.ngetnanotime: 526
    >>kern.timecounter.ngetmicrotime: 201307619
    >>kern.timecounter.nsetclock: 7
    >>kern.timecounter.hardware: ACPI-fast
    >>kern.timecounter.choice: TSC(800) ACPI-fast(1000)
    >>i8254(0) dummy(-1000000)
    >>kern.timecounter.tick: 1
    >>
    >>I'm not the expert here, but I think I've
    >>experience.
    >>
    >>Examine the options your system has for "kern.timecounter.choice"
    >>(you can see above how I did it) and experiment until you find (if you
    >>find) a setting that seems to fix the problem.
    >>
    >>Certain chipsets seem to have issues, but I couldn't say which ones.
    >>I have, however, fixed a couple of boxes by picking a different value
    >>for this sysctl.
    >>
    >>It's likely that the FAQ hasn't yet been completely transformed
    >>into a "post-5.3-is-now-stable" format, since people were warned
    >>that 5.0-5.2 weren't "production releases". If you find that this
    >>helps you, write back and I'll try sometime Real Soon Now(tm)
    >>to send a patch to the FDP folks to address that issue....
    >>
    >>HTH,
    >>
    >>Kevin Kinsey
    >>
    >>
    >>[/ref][/ref]

    Kevin Guest

Similar Threads

  1. Negative margin
    By richsky in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: May 14th, 03:23 PM
  2. negative nelly?
    By Verbunsk in forum Macromedia ColdFusion
    Replies: 3
    Last Post: June 23rd, 12:03 PM
  3. negative calculations
    By sjhf in forum Coldfusion - Advanced Techniques
    Replies: 4
    Last Post: May 5th, 09:34 PM
  4. negative colors
    By DANGH_b in forum Macromedia Director 3D
    Replies: 0
    Last Post: March 29th, 08:21 PM
  5. Negative numbers in red
    By MGrey in forum Macromedia ColdFusion
    Replies: 3
    Last Post: February 28th, 01:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139