mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Pavel Machek <pavel@suse.cz>
Cc: Andi Kleen <andi@firstfloor.org>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Andy Lutomirski <luto@myrealbox.com>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	Ingo Molnar <mingo@elte.hu>, "Rafael J. Wysocki" <rjw@sisk.pl>,
	public-kernel-testers-u79uwXL29TY76Z2rM5mHXA@lo.gmane.org,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	pm list <linux-pm@lists.linux-foundation.org>
Subject: Re: [RFT] x86 acpi: normalize segment descriptor register on resume
Date: Mon, 14 Jul 2008 08:22:29 -0300	[thread overview]
Message-ID: <20080714112229.GA20593@khazad-dum.debian.net> (raw)
In-Reply-To: <20080714061429.GF20258@elf.ucw.cz>

On Mon, 14 Jul 2008, Pavel Machek wrote:
> On Sun 2008-07-13 22:22:06, Henrique de Moraes Holschuh wrote:
> > On Sun, 13 Jul 2008, Andi Kleen wrote:
> > > It probably switches to protected mode. I noticed this on my old
> > > Fujitsu laptop when I tried to make the S3 wakeup run in the s2ram x86 emulator
> > > and found it entered protected mode at some point, which x86emu
> > > didn't support.
> > > 
> > > I guess Lenovo is doing the same.
> > > 
> > > And that protected mode code relies on some GDT values that have been
> > > loaded earlier when the BIOS also went into protected mode.
> > > 
> > > It seems the BIOS programmers really don't like real mode anymore.
> > > Somehow understandable.
> > 
> > If it were just Lenovo, it shouldn't be too difficult to get them to fix the
> > BIOS.  But since other vendors have the same problem, that won't fly as a
> > solution.
> 
> With all the BIOSes in field, practically impossible to update? (My
> x60 has no CDrom..) No, I don't think we can expect fix from BIOS vendors.

I explicitly said it wouldn't fly as a solution, because I doubt we could
expect a fix from EVERY BIOS vendor that has such problems.  That sort of
account for machines that have not been updated, too.

But I do think "your BIOS is broken and there is an update available from
the vendor, apply it" *IS* a valid response if a workaround is not
desireable for some reason (e.g. it is too complex, or it would make the
kernel worse for a lot of others that did things right and don't have the
bug).  I don't think we need to fear that happening on this particular
issue, but still...

As for your X60, you can use a USB mass storage device like a pendrive.
Someone already did all the hard work:
http://thinkwiki.org/wiki/BIOS_Upgrade/X_Series

In fact, as I rule, I cannot recommend using anything but the latest BIOS
and EC releases on a ThinkPad.  That thing is too complex to live without
updates, just like the kernel (even if, just like the kernel, upgrading the
BIOS and EC can cause new bugs).  Look at the changelog for your X60 BIOS
and EC firmware at
http://www-307.ibm.com/pc/support/site.wss/MIGR-65345.html.  It has some
scary stuff fixed, and that's just what Lenovo decided to disclose, those
changelogs are NOT complete and often fail to list changes that are of
interest to Linux (such as fixes to the ACPI tables).

In fact, look at this interesting entry on the X60 BIOS changelog:
Version 7BETD3WW (2.14):
	(Fix) Memory address more than 4GB can't be accessed under Vista
	WindowsPE. (BIOS)

It is also listed for the X61 and the tablets on their BIOS updates.  Maybe
that 4GB change could be related to the issue at hand?

It would be nice to get a report on the Big Realmote patch, and also know
the BIOS version of ThinkPads that have (and don't have) the bug.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

  reply	other threads:[~2008-07-14 11:22 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-30 23:48 Rafael J. Wysocki
2008-07-01  0:05 ` H. Peter Anvin
2008-07-01  6:31 ` Ingo Molnar
2008-07-01  6:54   ` H. Peter Anvin
2008-07-01  9:19     ` Pavel Machek
2008-07-01 20:39     ` Rafael J. Wysocki
2008-07-01 20:42       ` Andi Kleen
2008-07-01 20:50         ` Rafael J. Wysocki
2008-07-01 20:52           ` Andi Kleen
2008-07-12  6:29         ` Andy Lutomirski
2008-07-12 12:08           ` Andi Kleen
2008-07-12 15:08             ` Andy Lutomirski
2008-07-12 18:51           ` Rafael J. Wysocki
2008-07-12 20:31             ` Andy Lutomirski
2008-07-12 20:47               ` Rafael J. Wysocki
2008-07-12 20:39             ` Andy Lutomirski
2008-07-12 20:53               ` Rafael J. Wysocki
2008-07-12 23:11                 ` Andy Lutomirski
2008-07-12 23:33                   ` Rafael J. Wysocki
2008-07-13  8:56                     ` Pavel Machek
2008-07-13 18:16                       ` H. Peter Anvin
2008-07-14  6:36                         ` Pavel Machek
2008-07-13  9:15                     ` Ingo Molnar
2008-07-13 12:02                       ` Matthew Garrett
2008-07-13 15:50                         ` Andy Lutomirski
2008-07-13 18:43                           ` Andi Kleen
2008-07-13 19:15                             ` Rafael J. Wysocki
2008-07-13 20:11                               ` Andi Kleen
2008-07-13 20:29                                 ` Rafael J. Wysocki
2008-07-14  2:35                                   ` H. Peter Anvin
2008-07-14 20:10                                     ` Rafael J. Wysocki
2008-07-13 20:38                                 ` H. Peter Anvin
2008-07-14  1:31                                   ` Matthew Garrett
2008-07-14  4:18                                   ` H. Peter Anvin
2008-07-14  7:39                                     ` Pavel Machek
2008-07-14 20:09                                     ` Rafael J. Wysocki
2008-07-16 14:13                                     ` Andrew Lutomirski
2008-07-16 14:23                                       ` Ingo Molnar
2008-07-13 20:16                             ` H. Peter Anvin
2008-07-13 20:21                               ` Andi Kleen
2008-07-13 20:32                                 ` Rafael J. Wysocki
2008-07-14  1:22                                 ` Henrique de Moraes Holschuh
2008-07-14  6:14                                   ` Pavel Machek
2008-07-14 11:22                                     ` Henrique de Moraes Holschuh [this message]
2008-07-13 18:02                         ` Rafael J. Wysocki
2008-07-01  7:02   ` H. Peter Anvin
2008-07-01 13:01     ` Andi Kleen
2008-07-01 15:55       ` H. Peter Anvin
2008-07-01 16:21         ` Andi Kleen
2008-07-01 17:28           ` H. Peter Anvin
2008-07-01  7:20 ` Ingo Molnar
2008-07-01  7:28   ` Andrew Morton
2008-07-01  7:45     ` Ingo Molnar
2008-07-12 23:07 H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080714112229.GA20593@khazad-dum.debian.net \
    --to=hmh@hmh.eng.br \
    --cc=andi@firstfloor.org \
    --cc=hpa@zytor.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=luto@myrealbox.com \
    --cc=mingo@elte.hu \
    --cc=mjg59@srcf.ucam.org \
    --cc=pavel@suse.cz \
    --cc=public-kernel-testers-u79uwXL29TY76Z2rM5mHXA@lo.gmane.org \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®