Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 13:50:51 -0700 (PDT)
From:      Matt Sykes <matt-sykes@excite.com>
To:        John Hay <jhay@icomtek.csir.co.za>
Cc:        freebsd-questions@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: 0.00% CPU for all processes
Message-ID:  <174272.1003179053903.JavaMail.imail@patti.excite.com>

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


On Mon, 15 Oct 2001 18:06:17 +0200 (SAT), John Hay wrote:

>  > >  I don't know. If this patch ever do go in, it will probably
>  > >  have to be protected with a "#ifdef BROKEN_P2L97-DS" or
>  > >  something similar.

>  > >  > And, since I still have a broken FreeBSD kernel, how do I to
>  > >  > fix it?  Am I just out of luck with this motherboard?

>  > >  Well if you are brave enough, you can try my patch. :-) If you
>  > >  see the message "Disabled Device 13 trap SMI for access to RTC
>  > >  chip" during the boot phase, you will know that it did execute
>  > >  the code in the patch.

> > Hey thanks alot, I'll give it a try.

>  > Before I do, a few questions: can you give me the exact line of
>  > your kernel config file for device apm0 (which flags enabled or
>  > disabled)?  Or do you not use device apm0 in kernel config?  Is
>  > apm enabled or disabled in the bios?  What is your
>  > kern.timecounter.method?  Which bios revision (I only have access
>  > to 1.005 and 1.008)?

>  I don't have physical access to the machine at the moment, it is at
>  work, but IIRC the bios is ver 1.008 and apm was disabled. I don't
>  have apm in the kernel and it is using the PIIX timecounter and I
>  set it to 3580676.

Looks like it works!

In top, cvsup gradually comes up to about 40%, stays there a while,
then disappears (I couldn't think of another longish process to test
with).  I guess that's correct.  Before it would start at 2% then
quickly go back to 0%.

dmesg says "Timecounter 'PIIX' frequency 3579545"; I guess that's
alright.

One thing which surprises me, though --- all other processes are zero.
Is this normal?  This is my first time seeing FreeBSD run.  I have an
identical box here running linux (and each box runs a minimum of
services), where at least top will show nonzero CPU percentage in top,
usually around 0.5%.  Does linux have more fine-grained timing, or is
it cheating, or does the margin of error render this test essentially
meaningless anyway?

Thanks.

--Matt






_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?174272.1003179053903.JavaMail.imail>