Re: PROBLEM: 2.6.10 oops on startup

From: Coywolf Qi Hunt
Date: Wed Jan 05 2005 - 01:26:16 EST


On Wed, 05 Jan 2005 04:36:18 +0000, Paul Bain <prbain@xxxxxxxxxxx> wrote:
> On Tue, 2005-01-04 at 18:46, Randy.Dunlap wrote:
> > Have you tested any 2.6.10-bk# versions to see if this has been
> > fixed by recent patches?
> > If not, please try that and let us know, then I'll look at it
> > more if needed.
> >
> > Thanks,
> > ~Randy
>
> Hi, thanks for the response. I tried it with 2.6.10-bk7 and it crashed
> with
>

This is a quick fix. Please try the attached patch.


coywolf




--
Coywolf Qi Hunt
Homepage http://sosdg.org/~coywolf/
diff -Nrup linux-2.6.10/drivers/acpi/executer/exconfig.c linux-2.6.10-cy/drivers/acpi/executer/exconfig.c
--- linux-2.6.10/drivers/acpi/executer/exconfig.c 2004-10-19 05:54:32.000000000 +0800
+++ linux-2.6.10-cy/drivers/acpi/executer/exconfig.c 2005-01-05 14:19:18.000000000 +0800
@@ -368,7 +368,7 @@ acpi_ex_load_op (
*/
status = acpi_ex_read_data_from_field (walk_state, obj_desc, &buffer_desc);
if (ACPI_FAILURE (status)) {
- goto cleanup;
+ return_ACPI_STATUS (status);
}

table_ptr = ACPI_CAST_PTR (struct acpi_table_header, buffer_desc->buffer.pointer);