Comment 14 for bug 102270

Revision history for this message
Bob McElrath (bob+ubuntu) wrote :

I think this is caused entirely by trying to read hardware that isn't present. The applesmc driver does not have a comprehensive up-to-date list of apple hardware. In particular on my MacBook Pro (v3, Santa Rosa), the kernel message is generated by trying to read its outputs:
cat /sys/devices/platform/applesmc.768/temp1_input
cat /sys/devices/platform/applesmc.768/temp6_input
cat /sys/devices/platform/applesmc.768/temp7_input
cat /sys/devices/platform/applesmc.768/temp12_input
with the error:
applesmc: wait status failed: 5 != 10

The messages are also generated every time I run 'sensors' (because I configured it to use applesmc).

Sometimes, one of the sensors that is present also fails, in which case the kernel message is:
applesmc: wait status failed: c != 18

(The above observations made with 2.6.22, not checked to be same with 2.6.24)

Several other values of 'a != b' appear in the logs under 2.6.22 and 2.6.24, I'm not sure what causes them. In particular, '5 != 4' and 'c != 8' about 100 seconds after bootup (under both kernels).