Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 09:23:21 -0500
From:      Puna Tannehill <puna@imagescape.com>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: microuptime() ...
Message-ID:  <4124B7D9.2080406@imagescape.com>
In-Reply-To: <20040818184452.E55263@carver.gumbysoft.com>
References:  <Pine.BSF.4.21.0402291659180.50107-100000@InterJet.elischer.org> <20040817104030.A40914@carver.gumbysoft.com> <200408180845.45217.bastill@adam.com.au> <20040818184452.E55263@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Well, I can't really voice opinion on VIA/Linux relationships and fun 
acronyms, but maybe give some points as to some things to check.

Make sure 'apm_enable="YES"' is added to /etc/rc.conf.  I got the same 
microuptime() error when i accidentally tapped the power switch before 
I enabled apm.

Also, make sure that 'device apm' is not disabled in your kernel.  It 
appears that GENERIC has it disabled by default.

Puna


Doug White wrote:
> On Wed, 18 Aug 2004, Brian Astill wrote:
> 
> 
>>>Because VIA doesn't publish documentaion, and source is not
>>>documentation.
>>
>>I don't quite understand this response.  Are you saying that the Linux
>>kernel team are somehow privileged cpw FBSD, so that they can avoid
>>that microuptime issue and FBSD can't?  I would have thought that the
>>source cpw documentation for VIA chipsets would have been the same for
>>all.
> 
> 
> What's 'cpw'? Criminal Posession of a Weapon? :)
> 
> I can't speak to Linux's timecounter implementation since I haven't read
> their code. I suspect they don't have any sort of thing like
> microuptime(), using jiffies insteaed which are somewhat lower precision.
> They may just ignore the any timecounter disruptions due to CPU clock
> adjustments, for all I know.
> 
> And it is *very* possible someone inside of VIA or one of their customers
> got access to the docs that we can't get to and added the requisite code.
> If you can derive the appropriate bits and offer them as a patch then all
> the better.  Linux has lots of friends in high places since its Speshul.
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4124B7D9.2080406>