mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.9-rc1 Latitude APM suspend freeze
@ 2004-08-26 20:00 Hugh Dickins
  2004-08-27  9:02 ` Mikael Pettersson
  0 siblings, 1 reply; 2+ messages in thread
From: Hugh Dickins @ 2004-08-26 20:00 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-kernel

Been suffering APM suspend freezes with 2.6.9-rc1 on Dell Latitude C610.
Now found that you have removed local_apic_kills_bios(),
which existed precisely to protect against that.

Perhaps my UP .config, inherited down four years of oldconfig,
was silly to be saying (APIC and ACPI mentions only):

CONFIG_X86_GOOD_APIC=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
# CONFIG_ACPI is not set

for this machine.  I've updated it to:

CONFIG_X86_GOOD_APIC=y
# CONFIG_X86_UP_APIC is not set
# CONFIG_ACPI is not set

and it looks like the laptop can now do APM suspend safely again [*].

I'm open-minded as to whether you've done a good cleanup and I had
a stupid .config; or you've changed things around (perhaps assuming
CONFIG_ACPI=y?), liable to cause lots of APM suspend grief in 2.6.9.

Hugh

[*] Well, only its first APM suspend has been safe with a vanilla
kernel, ever since the vsyscall page was introduced: later resumes often
wiping the vital sysenter MSRs.  Seemed to come down to prior resume not
seeing its resume event, and I've patched apm.c to deal with that ever
since (resume doesn't need an event to know it's resuming).

So far, since running without CONFIG_X86_UP_APIC, I've not seen my
warning message of that case: so it's possible the config change will
prove to fix that issue too, which would strengthen the case in your
favour.  Too soon to tell: somehow it rarely happened when trying to
test for it, only when doing real-life suspend and resume.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.9-rc1 Latitude APM suspend freeze
  2004-08-26 20:00 2.6.9-rc1 Latitude APM suspend freeze Hugh Dickins
@ 2004-08-27  9:02 ` Mikael Pettersson
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Pettersson @ 2004-08-27  9:02 UTC (permalink / raw)
  To: Hugh Dickins; +Cc: Len Brown, linux-kernel

Hugh Dickins writes:
 > Been suffering APM suspend freezes with 2.6.9-rc1 on Dell Latitude C610.
 > Now found that you have removed local_apic_kills_bios(),
 > which existed precisely to protect against that.

As the original author of the local_apic_kills_bios() code,
I have no idea why it was removed. Lots of Dell Latitude and
Inspiron BIOSen hang hard with local APIC.

As a workaround, you can boot with "nolapic".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-27  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-26 20:00 2.6.9-rc1 Latitude APM suspend freeze Hugh Dickins
2004-08-27  9:02 ` Mikael Pettersson

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®