Re: 2.6.38-rc1/-2: applesmc lockdep warning

Henrik Rydberg
2011-01-22T15:32:50Z

Hi Stefan,

> since 2.6.38-rc1, the following shows up in dmesg. Full dmesg is included
> below the signature. This is a Macmini1,1 i.e. a first-generation
> Intel-based mini. I haven't experienced any actual problem during usage
> but haven't used it a lot under 2.6.38-rc yet.
>
> applesmc: key=137 fan=1 temp=7 acc=0 lux=0 kbd=0
> applesmc: init_smcreg() took 50 ms
> BUG: key f4891a1c not in .data!

Ouch. I will have to get back to this tonight, but my first reaction
is that the error message tells the truth, because the sysfs nodes are
now dynamically allocated during init. Perhaps sysfs_attr_init() is
missing or something.

Thanks!
Henrik