[lm-sensors] [PATCH] hwmon: (coretemp) Fix oops on driver load
undersys at basstech.net
Sat Dec 3 02:32:24 CET 2011
----- Original Message -----
From: "Jean Delvare" <khali at linux-fr.org>
To: "guenter roeck" <guenter.roeck at ericsson.com>
Cc: undersys at basstech.net, lm-sensors at lm-sensors.org, "Durgadoss R" <Durgadoss.r at intel.com>
Sent: Friday, 2 December, 2011 12:19:25 AM
Subject: Re: [PATCH] hwmon: (coretemp) Fix oops on driver load
On Thu, 1 Dec 2011 08:05:42 -0800, Guenter Roeck wrote:
> On Thu, 2011-12-01 at 05:00 -0500, Jean Delvare wrote:
> > On Thu, 1 Dec 2011 01:26:39 +0100, Jean Delvare wrote:
> > > On Thu, 01 Dec 2011 07:25:15 +0800 (HKT), undersys wrote:
> > > > Hi All,
> > > >
> > > > I can no longer load the core temp module, it gives me the following kernel Opps.
> > > > (...)
> > > > This used to work fine before I updated the kernel to 3.0.x. (...)
> > >
> > > Ah, yes, I can reproduce that, and the bug is pretty obvious. I'll send
> > > a patch tomorrow.
> > >
> > > Meanwhile you may be able to work around the problem by installing the
> > > microcode_ctl package and ensuring that the microcode is updated before
> > > loading the coretemp driver.
> > If the CPU microcode is too old, the coretemp driver won't work. But
> > instead of failing gracefully, it currently oops. Check for NULL
> > platform device data to avoid this.
> > Signed-off-by: Jean Delvare <khali at linux-fr.org>
> > Cc: Fenghua Yu <fenghua.yu at intel.com>
> > Cc: Durgadoss R <Durgadoss.r at intel.com>
> > Cc: Guenter Roeck <guenter.roeck at ericsson.com>
> Acked-by: Guenter Roeck <guenter.roeck at ericsson.com>
> Jean, how do we send this to Greg ? stable at vger.kernel.org ?
Yes. I'll do so right now.
I've now got the latest microcode from Intel loading fine.
The coretemp module still will case an "OPPS" but the new code will solve that
from what i understand but it also still means that coretemp no longer pics up my CPU temp..
More information about the lm-sensors