Kernel panic on PowerMac G5 while scanning for SMU sensors

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Mar 19 17:40:40 EST 2013


On Sun, 2013-03-17 at 13:42 +0100, Phileas Fogg wrote:

> 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.




More information about the Linuxppc-dev mailing list