On-die temperatures not reported on a Powermac dual G5
Justin Hibbits
jrh29 at alumni.cwru.edu
Fri Jan 29 16:23:37 UTC 2016
On Thu, Jan 28, 2016 at 4:49 PM, Xavier HILAIRE
<xavier.hilaire at gmail.com> wrote:
> Hi,
>
> I recently got an old Powermac dual G5 on which I installed both FreeBSD
> 10.2 and Linux (Debian, jessie).
>
> After booting FreeBSD I noticed the fans were running at an unusual low
> speed given the CPU-intensive work I was doing (recompile some ports + X11
> drivers). A sysctl -a | grep temp showed the following:
>
>> net.inet6.ip6.use_tempaddr: 0
>> net.inet6.ip6.temppltime: 86400
>> net.inet6.ip6.tempvltime: 604800
>> net.inet6.ip6.prefer_tempaddr: 0
>> hw.usb.template: 0
>> dev.ad7417.1.sensor.cpu_b_ad7417_amb.temp: 31.0C
>> dev.ad7417.0.sensor.cpu_a_ad7417_amb.temp: 33.2C
>> dev.ds1631.0.sensor.mlb_inlet_amb.temp: 22.2C
>> dev.ds1631.0.%pnpinfo: name=temp-monitor compat=ds1631
>> dev.max6690.0.sensor.u3_heatsink.temp: 63.0C
>> dev.max6690.0.sensor.backside.temp: 35.3C
>> dev.max6690.0.%pnpinfo: name=temp-monitor compat=max6690
>> dev.ds1775.0.sensor.drive_bay.temp: 21.0C
>> dev.ds1775.0.%pnpinfo: name=temp-monitor compat=ds1775
>> x
>
>
>
> The only two available temperatures related to the CPUs seem to be those
> reported by the AD7417 supply monitor's sensors, and there is *no*
> temperature reported from the on-die sensors at all.
<snip linux output for brevity>
>
> This is weird, because a "sysctl -a | grep smu" does not report anything,
> while the kernel *does* include the smu driver, and temperature sensors are
> normally attached to this device AFAIK.
Not in your case. The SMU isn't used until the last generation or two
of G5. The PowerMac7,2 generation, which you have, puts all the
sensors on the ad7417.
>
> I would *love* using FreeBSD again (rather than Linux, for compatibility
> reasons). But my code is CPU intensive and relies a lot on Altivec, I
> wouldn't want to fire my everything...
>
> The machine is an M9032LL/A according to Apple's specs:
> https://support.apple.com/kb/sp96?locale=en_US
>
>
> Any help will be greatly appreciated.
>
> Thanks,
>
> Xavier
Can you post (attach) the output of 'ofwdump -ap'? There's a comment
in the Linux driver for ad7417 stating that sometimes some of the
sensors aren't listed in the device tree. If that's the case for you,
we'll need to special case for it.
- Justin
More information about the freebsd-ppc
mailing list