Re: 2.6.29, today's git changes, oops at boot, BUG: unable tohandle kernel paging request at ffffffffa00f0016

From: Vegard Nossum
Date: Tue Apr 07 2009 - 04:28:48 EST


2009/4/7 Arkadiusz Miskiewicz <a.miskiewicz@xxxxxxxxx>:
> On Tuesday 07 of April 2009, Vegard Nossum wrote:
>> 2009/4/6 Arkadiusz Miskiewicz <a.miskiewicz@xxxxxxxxx>:
>> > Pulled Linus git few minutes ago and new oops at boot (happens on every
>> > boot). Yesterday git version was fine. Oopsed just while/after udev
>> > started.
>>
>> Hi, thanks for the report. Some musings below.

Can you try this patch?

The theory is that the init section of the module is unloaded before the
async function gets a chance to run.

Thanks,

Vegard


diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index b0de631..3c7d894 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -903,7 +903,7 @@ static struct acpi_driver acpi_battery_driver = {
},
};

-static void __init acpi_battery_init_async(void *unused, async_cookie_t cookie)
+static void acpi_battery_init_async(void *unused, async_cookie_t cookie)
{
if (acpi_disabled)
return;
--
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/