Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: Time issues with netbsd 4.0



Thanks Simon

I have already using the sysctl parameter however I would prefer to add it
to the kernel so that I do not have to worry about managing the sysctl file.

How do I add this option to the kernel while building one is the question..


Derrick

-----Original Message-----
From: simonb%thistledown.com.au@localhost 
[mailto:simonb%thistledown.com.au@localhost] On Behalf
Of Simon Burge
Sent: Monday, August 18, 2008 9:21 PM
To: Derrick Lobo
Cc: netbsd-users%netbsd.org@localhost; 'Port-I386@Netbsd. Org'
Subject: Re: Time issues with netbsd 4.0 

"Derrick Lobo" wrote:

> I am having a weird issue with time on 4 of my netbsd 4.0 i386 servers the
> clock seems to be racing ahead about 2 minutes per hour, I googled a
> solution to use sysctl parameter,(as it was being used in freebsd)..
> 
> kern.timecounter.hardware = TSC
> 
> Is there a way I can build it into the kernel so that it reduces
management
> overheads...

If that works for you (not sure what the underlying problem is), you
can stick any sysctl command in your /etc/sysctl.conf so it will happen
automatically when your system starts.  In your case, just add:

        kern.timecounter.hardware=TSC

Simon.




Home | Main Index | Thread Index | Old Index