Recipie for CPU souffle'

Ronald F. Guilmette rfg at tristatelogic.com
Tue Apr 2 19:55:24 UTC 2013


In message <515AAE16.9030707 at qeng-ho.org>, you wrote:

>On 04/02/13 04:02, Ronald F. Guilmette wrote:
>[Overheating CPU war story snipped.]
>...
>I've had a fan jam that way. Cable ties are your friends.

Yes.

>> P.P.S.  I have a (relatively) monster sized heatsink in this system, and
>> it sits atop a quite modest 2.7GHz single-core Athlon, so it is not at
>> all surprising that the ``stable'' CPU temp is around 30c (86f).
>
>I tend to use Intel processors so I'm not familiar with your exact 
>processor, but does the amdtemp kernel module work for it?

I dunno.  This is the first I have ever heard of that.

Is there any specific advantage to using that, relative to using mbmon?

>If so, you could write a shell script that loops doing
>
>	"sysctl -n dev.cpu.<N>.temperature"

Right, but I can do something similar also with mbmon.

>..."man speaker"...

Humm... I'm looking at that now and it raises more questions that it answers.

First order question:  Why is it that in FreeBSD there are so many man
pages like this one, _purporting_ to describe some low level interface
to some sort of hardware, and the man page _doesn't_ include a clear
and explicit description of the relevant ioctls ?

At least in this case the man page does sort of describe, in just prose,
what the relevant ioctls are, but it doesn't actually show the calls
explicitly.  But look at the man pages for usb(4) or uart(4)  or tty(4)
or essentially anything you find in /usr/share/man/man4.  Maybe I'm just
spoiled or something, but I do seem to remember, back in the old old OLD
days, that device file man pages always explicitly listed the relevant
ioctls.  (But then I suppose that that was SystemV I'm thinking of.)

Second order question:  Why can't I just pipe a .wav file to the
/dev/speaker device file and have it play?  Wouldn't that make quite
a lot of sense?

>/usr/sbin/spkrtest might be useful

Humm... well... it is at least mildly entertaining.

I wonder if whoever write and distributed this realized that he/she could
be sued for copyright infringement for about 5 of the simple tunes that are
embedded in that thing.  Sad but true.
:-(


Regards,
rfg


More information about the freebsd-questions mailing list