Kernel patch to expand ACPI blacklist for Thinkpad R40e laptop

Bug #18095 reported by Mark Hale
10
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Wishlist
Fabio Massimo Di Nitto

Bug Description

The Thinkpad R40e laptop hangs on boot when using ACPI in recent kernels, caused
by something in the processor module and C2/C3 states. Workarounds are booting
with apci=off or adding your BIOS version to the processor module's blacklist in
the kernel and recompiling. Could the following patch please be added to the
Ubuntu kernel in time for the Breezy release, it adds most of the R40e BIOS
versions to the blacklist:

<a
href="http://bugme.osdl.org/show_bug.cgi?id=3549">http://bugme.osdl.org/show_bug.cgi?id=3549</a>

This would enable Thinkpad R40e owners to use ACPI on a stock Ubuntu kernel.

More information on the problem: <a
href="http://pc.freeshell.org/tp/">http://pc.freeshell.org/tp/</a>
Complete list of R40e BIOS versions: <a
href="http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-50302">http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-50302</a>

Thank you.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Matthew, is this a reasonable patch to incorporate?

Revision history for this message
Matthew Garrett (mjg59) wrote :

(Asking me for comments works better if I'm Cc:ed :) )

Yes, it is. Fabio, could you add this patch?

Revision history for this message
Chuck Short (zulcss) wrote :

Fixed

Revision history for this message
Szilveszter Farkas (phanatic) wrote :

There is a new (not really, from April 2005) BIOS for R40e, which needs to be
added to the list to have ACPI enabled. Version: 1SET68WW

Revision history for this message
Martin West (martin-objectgizmos) wrote :

This still occurs on 8.04. Im just trying to turn a R40E into a mythtv client

There is a better solution which I pioneered. Its described in the referenced bug
http://bugzilla.kernel.org/show_bug.cgi?id=3549#49

copied here for reference

1SET worked on my machine, table now looks like

static struct dmi_system_id __cpuinitdata processor_power_dmi_table[] = {
        { set_max_cstate, "IBM ThinkPad R40e", {
          DMI_MATCH(DMI_BIOS_VENDOR,"IBM"),
          DMI_MATCH(DMI_BIOS_VERSION,"1SET") }, (void*)1},
        { set_max_cstate, "Medion 41700", {
          DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"),
          DMI_MATCH(DMI_BIOS_VERSION,"R01-A1J")}, (void *)1},
        { set_max_cstate, "Clevo 5600D", {
          DMI_MATCH(DMI_BIOS_VENDOR,"Phoenix Technologies LTD"),
          DMI_MATCH(DMI_BIOS_VERSION,"SHE845M0.86C.0013.D.0302131307")},
         (void *)2},
        {},
};

Revision history for this message
Martin West (martin-objectgizmos) wrote : Re: [Bug 18095] Re: Kernel patch to expand ACPI blacklist for Thinkpad R40e laptop

On Sat, 2008-10-04 at 11:32 +0000, Martin West wrote:
> This still occurs on 8.04. Im just trying to turn a R40E into a mythtv
> client
>
I just looked at the kernel source and processor_idle.c is partially
patched with the old patch. Its has bios 1SET70WW but not 1SET69WW which
is the one I have installed.

--
regards
   Martin West

Revision history for this message
Martin West (martin-objectgizmos) wrote :

Im just in the process building the kernel with the above fix. Willl post again when tested.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.