Skip to contentSkip to conversation

Kernel panic on PowerMac G5 while scanning for SMU sensors

DISCUSSION Phileas Fogg 2 participants 3 messages Mar 17, 2013 – Mar 19, 2013

lore
Share & tools
lore
#0 lore raw

I wanted to read the temperature sensors of my PowerMac G5 11,2.
For that i installed the lm-sensors package, run 'sensors-detect' command and my Linux 3.8.2 kernel paniced in

_smu_i2c_low_completion_

with this message

'Unable to handle kernel paging request for data at address 0x00000008.'

Regards

#1 lore raw
Quoted 9 lines · Phileas Fogg

I wanted to read the temperature sensors of my PowerMac G5 11,2. For that i installed the lm-sensors package, run 'sensors-detect' command and my Linux 3.8.2 kernel paniced in

_smu_i2c_low_completion_

with this message

Quoted 7 lines

'Unable to handle kernel paging request for data at address 0x00000008.'

Regards
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev

A further analysis showed that it crashes in _smu_i2c_complete_command_ which is called from _smu_i2c_low_completion_.

This line caused the panic:

list_del(&cmd->link);

regards

#2 lore raw
Quoted 6 lines · Phileas Fogg

A further analysis showed that it crashes in _smu_i2c_complete_command_ which is called from _smu_i2c_low_completion_.

This line caused the panic:

list_del(&cmd->link);

Ok, we must have a bug :-) I'm on holiday for a while, I can look when I'm back.

However, I would generally advise against messing around with the sensors directly from userspace which is what I believe lm-sensors does. It has no real understanding of what those sensors are about, where they are located etc... and might also conflict with the use of those sensors by the kernel windfarm drivers.

If you want to look at the values, windfarm does expose them to userspace in sysfs, you might want to take a peek.

Cheers,
Ben.