Re: 2.6.10-rc1-mm1

From: James Morris
Date: Wed Oct 27 2004 - 03:17:45 EST


On Tue, 26 Oct 2004, Andrew Morton wrote:

> My guess would be that you died here:
>
> list_add_tail(&driver->node, &acpi_bus_drivers);
>
> in acpi_bus_register_driver(). Which means that some _other_ acpi driver
> structure on that list is scrogged. Perhaps it was marked __init or
> something.
>
> Can you debug it a bit? Maybe print the addresses and names of the drivers
> as they get registered in acpi_bus_register_driver() and also print out
> acpi_bus_drivers.prev. If we can get the name of the offending driver
> we'll be able to find the bug.

Interestingly, the debug printks are not showing up in
acpi_bus_register_driver() before the oops, and they should be if that's
where it's happening. Compiling with debug info makes the oops go away.

Here's some debugging of the last few drivers to be registered before the
oops is seen:

name=hpet node=c03ee9a0 acpi_bus_drivers.prev=c03ea6a0
name=i8042 node=c03eeda0 acpi_bus_drivers.prev=c03ee9a0
name=floppy node=c03f24c0 acpi_bus_drivers.prev=c03ee9a0


Note acpi_bus_drivers.prev for floppy was not set to c03eeda0, which you
would normally expect?


- James
--
James Morris
<jmorris@xxxxxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/