mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: 2.4.10 problem with APM on Inspiron 8000
@ 2001-09-28 22:50 Mikael Pettersson
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Pettersson @ 2001-09-28 22:50 UTC (permalink / raw)
  To: rutt; +Cc: linux-kernel

On Fri, 28 Sep 2001 11:40:19 -0400, John Ruttenberg wrote:

>My Inspiron 8k loves kernels 2.4.* up to 2.4.9, but has problems with 2.4.10.
>In particular, it seems that any APM event (suspend, etc.) causes a hard
>freeze.  In fact, on 2.4.9 and lower, I can even use the function-setup key
>which lets me examine/change bios while the kernel is running.  On 2.4.10,
>this causes a kernel freeze.
>
>My .config files are essentially identical for 2.4.9 and for 2.4.10.
>
>On thing I noticed that seems a little suspicious is this start up message:
>
>    Local APIC disabled by BIOS -- reenabling.
>    Found and enabled local APIC!
>
>For 2.4.9, I get:
>
>    mapped APIC to ffffe000 (01442000)

The I8000 again (sigh). You apparently have SMP or UP IOAPIC enabled.
In this case, 2.4.10 will enable the local APIC if the BIOS didn't.

To help debug the freeze, please try the patch below: it will cause
the kernel to log any APM event sent to it from the BIOS. Run this
in an SMP&UP_IOAPIC-less kernel. Do one of the actions above that
would freeze the APIC-enabled kernel (like the key sequence to enter
the BIOS setup screens). Check the kernel log. Did APM log any event,
and if so, which one?

My suspicion (from this and other reports) is that the Inspiron 8000's
BIOS SMM can't handle an enabled local APIC, or it passes an APM event
that apm.c ignores. Either case can be lethal.

/Mikael

--- linux-2.4.10/arch/i386/kernel/apm.c.~1~	Sun Sep 23 21:06:30 2001
+++ linux-2.4.10/arch/i386/kernel/apm.c	Sat Sep 29 00:11:23 2001
@@ -927,6 +927,7 @@
 
 static int send_event(apm_event_t event)
 {
+	printk(__FUNCTION__ ": event %u\n", event);
 	switch (event) {
 	case APM_SYS_SUSPEND:
 	case APM_CRITICAL_SUSPEND:

^ permalink raw reply	[flat|nested] 2+ messages in thread
* 2.4.10 problem with APM on Inspiron 8000
@ 2001-09-28 15:40 John Ruttenberg
  0 siblings, 0 replies; 2+ messages in thread
From: John Ruttenberg @ 2001-09-28 15:40 UTC (permalink / raw)
  To: linux-kernel

My Inspiron 8k loves kernels 2.4.* up to 2.4.9, but has problems with 2.4.10.
In particular, it seems that any APM event (suspend, etc.) causes a hard
freeze.  In fact, on 2.4.9 and lower, I can even use the function-setup key
which lets me examine/change bios while the kernel is running.  On 2.4.10,
this causes a kernel freeze.

My .config files are essentially identical for 2.4.9 and for 2.4.10.

On thing I noticed that seems a little suspicious is this start up message:

    Local APIC disabled by BIOS -- reenabling.
    Found and enabled local APIC!

For 2.4.9, I get:

    mapped APIC to ffffe000 (01442000)

Both kernels print:

    apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)
    ...
    ACPI: APM is already active, exiting

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

end of thread, other threads:[~2001-09-28 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-28 22:50 2.4.10 problem with APM on Inspiron 8000 Mikael Pettersson
  -- strict thread matches above, loose matches on Subject: below --
2001-09-28 15:40 John Ruttenberg

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®