Re: coretemp for AMD?

2009-01-28 Thread Mike Clarke
On Sunday 25 January 2009, Tore Lund wrote:

> Mike Clarke wrote:
> > But I get sensible looking results for my Athlon 64 X2 4850e with
> > the following command:
> >
> > sysctl hw.acpi.thermal.tz0.temperature
>
> For some reason it works on your 4850e.  But for some of us this
> command does not work.  It never reports anything but 40 C on my
> Athlon 64 X2 6000+.  sysutils/k8temp, however, reports 20 C /28 C.

And on Sunday 25 January 2009, Chris Whitehouse wrote:

> It works for me, I ran it and sysctl hw.acpi.thermal.tz0.temperature
> every 2 seconds in a while loop and cpu temperatures follow cpu
> activity closely and change in 1deg steps between about 25deg and
> 42deg. When I rebooted and checked temperature in the BIOS it was
> pretty much the same as what k8temp was saying just previously.
> hw.acpi.thermal.tz0.temperature is fixed on 40deg even with high cpu
> activity.
>
> Maybe your processor is not supported?

Very odd. The processor is an Athlon 64 X2 4850e. Being one of the newer 
energy efficient 45 watt models I suppose there might be a difference 
in the temperature sensor. It might also be an issue with the 
motherboard (Foxconn FC-6150M2MA-KRS2H). After I got the motherboard I 
needed to upgrade the BIOS in an attempt to fix an unrelated problem. 
Prior to the update even the BIOS reported silly high temperatures and 
I remember FreeBSD reporting a constant 40C but I don't remember 
whether this was from sysctl, k8temp or mbmon.

I don't overclock the system so after satisfying myself that it doesn't 
have any tendency to overheat I no longer have much need to monitor the 
CPU temperature so I think the way my system reports temperatures will 
just remain as one of life's little mysteries.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: coretemp for AMD?

2009-01-25 Thread Tore Lund
Mike Clarke wrote:
> But I get sensible looking results for my Athlon 64 X2 4850e with the 
> following command:
> 
>   sysctl hw.acpi.thermal.tz0.temperature

For some reason it works on your 4850e.  But for some of us this command
does not work.  It never reports anything but 40 C on my Athlon 64 X2
6000+.  sysutils/k8temp, however, reports 20 C /28 C.
-- 
Tore

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: coretemp for AMD?

2009-01-25 Thread Chris Whitehouse

Mike Clarke wrote:

On Sunday 25 January 2009, Josh Carroll wrote:


For (supported) AMD processors, check out k8temp(4).


That gives very odd results for me:

curlew:/home/mike% sudo k8temp
CPU 0 Core 0 Sensor 0: 13c
CPU 0 Core 0 Sensor 1: 11c
CPU 0 Core 1 Sensor 0: 19c
CPU 0 Core 1 Sensor 1: 2c

Those are all well below room temperature!

But ...

curlew:/home/mike% sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 28.0C

Which is just a bit below the temperature reported by the BIOS (31C) 
when I rebooted about 30 minutes ago. I have powerd running and it's 
pulled the CPU frequency down from 2500 to 1000. Turning off powerd 
pushes the temperature up to 30C.


It works for me, I ran it and sysctl hw.acpi.thermal.tz0.temperature 
every 2 seconds in a while loop and cpu temperatures follow cpu activity 
closely and change in 1deg steps between about 25deg and 42deg. When I 
rebooted and checked temperature in the BIOS it was pretty much the same 
as what k8temp was saying just previously. 
hw.acpi.thermal.tz0.temperature is fixed on 40deg even with high cpu 
activity.


Maybe your processor is not supported?

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: coretemp for AMD?

2009-01-25 Thread Mike Clarke
On Sunday 25 January 2009, Josh Carroll wrote:

> For (supported) AMD processors, check out k8temp(4).

That gives very odd results for me:

curlew:/home/mike% sudo k8temp
CPU 0 Core 0 Sensor 0: 13c
CPU 0 Core 0 Sensor 1: 11c
CPU 0 Core 1 Sensor 0: 19c
CPU 0 Core 1 Sensor 1: 2c

Those are all well below room temperature!

But ...

curlew:/home/mike% sysctl hw.acpi.thermal.tz0.temperature
hw.acpi.thermal.tz0.temperature: 28.0C

Which is just a bit below the temperature reported by the BIOS (31C) 
when I rebooted about 30 minutes ago. I have powerd running and it's 
pulled the CPU frequency down from 2500 to 1000. Turning off powerd 
pushes the temperature up to 30C.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: coretemp for AMD?

2009-01-25 Thread Chris Whitehouse

Josh Carroll wrote:

On Sun, Jan 25, 2009 at 11:21 AM, Chris Whitehouse  wrote:

Hello,

Can I read cpu die temperature for my AMD Athlon 64 X2 cpu with coretemp?
According to

http://www.alcpu.com/CoreTemp/supportlist.html

it includes AMD processors but when I load coretemp.ko sysctl still can't
see dev.cpu.?.temperature.

Is this even the same coretemp as the website talks about windows a lot?

This is on FreeBSD 7.1-PRERELEASE #1: Tue Dec 16 18:28:48 GMT 2008 with
GENERIC kernel.


For (supported) AMD processors, check out k8temp(4).


That's it thank you!

Chris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: coretemp for AMD?

2009-01-25 Thread Mike Clarke
On Sunday 25 January 2009, Chris Whitehouse wrote:

> Can I read cpu die temperature for my AMD Athlon 64 X2 cpu with
> coretemp? 

According to the man page the coretemp driver only provides support for 
the on-die digital thermal sensor present in Intel Core and newer CPUs, 
suggesting that it wouldn't work for AMD CPUs.

But I get sensible looking results for my Athlon 64 X2 4850e with the 
following command:

sysctl hw.acpi.thermal.tz0.temperature

> According to 
>
> http://www.alcpu.com/CoreTemp/supportlist.html
>
> it includes AMD processors but when I load coretemp.ko sysctl still
> can't see dev.cpu.?.temperature.
>
> Is this even the same coretemp as the website talks about windows a
> lot?

That looks like a totally different Windows only application.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: coretemp for AMD?

2009-01-25 Thread Josh Carroll
On Sun, Jan 25, 2009 at 11:21 AM, Chris Whitehouse  wrote:
> Hello,
>
> Can I read cpu die temperature for my AMD Athlon 64 X2 cpu with coretemp?
> According to
>
> http://www.alcpu.com/CoreTemp/supportlist.html
>
> it includes AMD processors but when I load coretemp.ko sysctl still can't
> see dev.cpu.?.temperature.
>
> Is this even the same coretemp as the website talks about windows a lot?
>
> This is on FreeBSD 7.1-PRERELEASE #1: Tue Dec 16 18:28:48 GMT 2008 with
> GENERIC kernel.

For (supported) AMD processors, check out k8temp(4).

Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"