lkml.org 
[lkml]   [2004]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: ACPI/Panic 2.6.8-rc3
On Wed, 4 Aug 2004, carbonated beverage wrote:

> Reported this a while ago, but tried it again, still getting oops
> when doing an rmmod of the ACPI processor module.
>
> Hardware: IBM T30, P4 2.4GHz, 256MiB, Debian/stable, did an rmmod processor.
>
> Note: Oops below was copied by hand, so may not be fully reliable. Also,
> EIP was screwy, so no idea what was executing.

It should be fixed before 2.6.8, a patch has already been sent to the big
wigs.

Index: linux-2.6.8-rc1-mm1/drivers/acpi/processor.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.8-rc1-mm1/drivers/acpi/processor.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 processor.c
--- linux-2.6.8-rc1-mm1/drivers/acpi/processor.c 14 Jul 2004 04:56:25 -0000 1.1.1.1
+++ linux-2.6.8-rc1-mm1/drivers/acpi/processor.c 20 Jul 2004 15:31:46 -0000
@@ -2372,8 +2372,10 @@ acpi_processor_remove (
pr = (struct acpi_processor *) acpi_driver_data(device);

/* Unregister the idle handler when processor #0 is removed. */
- if (pr->id == 0)
+ if (pr->id == 0) {
pm_idle = pm_idle_save;
+ synchronize_kernel();
+ }

status = acpi_remove_notify_handler(pr->handle, ACPI_DEVICE_NOTIFY,
acpi_processor_notify);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.062 / U:4.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site