Kernel oops (2.6.24) while booting with battery inserted
Hi List,
I encountered kernel oops (Ubuntu 2.6.24-12) while booting with battery inserted.
Some workaround are acpi=off, avoiding loading battery.ko or putting battery away.
Any idea ?
dmesg and dsdt as attachments.
Thanks,
Sam
Quoted 8 lines · Sam Lin
Hi List,
I encountered kernel oops (Ubuntu 2.6.24-12) while booting with battery inserted.
Some workaround are acpi=off, avoiding loading battery.ko or putting battery away.Any idea ?
Why do you need:acpi_fake_ecdt
parameter? This does not even exist (anymore? I searched 2.6.25).
Quoted 1 line
dmesg and dsdt as attachments.
I expect removing the line:
acpi_bus_generate_netlink_event(device->pnp.device_class,
device->dev.bus_id, event,
acpi_battery_present(battery));in battery.c makes the machine work or at least go a bit further?
Could it be that you compiled in ACPI modules and that:fs_initcall(acpi_event_init);
in drivers/acpi/event.c
has not been called and initialized the netlink acpi stuff, but battery has already tried to send an event?
Can you try:initcall_debug
parameter and let the machine run into the bug again, pls.
Also send your .config.
Thomas
Quoted 19 lines · Thomas Renninger
Quoted 8 lines · Sam Lin
Hi List,
I encountered kernel oops (Ubuntu 2.6.24-12) while booting with battery inserted.
Some workaround are acpi=off, avoiding loading battery.ko or putting battery away.Any idea ?
Why do you need:
acpi_fake_ecdt
parameter? This does not even exist (anymore? I searched 2.6.25).Quoted 1 line
dmesg and dsdt as attachments.
I expect removing the line:
acpi_bus_generate_netlink_event(device->pnp.device_class, device->dev.bus_id, event, acpi_battery_present(battery));
Quoted 7 lines
in
battery.cmakes the machine work or at least go a bit further?Could it be that you compiled in ACPI modules and that:
fs_initcall(acpi_event_init);
indrivers/acpi/event.c
has not been called and initialized the netlink acpi stuff, but battery has already tried to send an event?
acpi_event_init should have been called already... I still think it has to do with the netlink event. As it is rather early, maybe because of that. Does it work for you if you load the battery module later?
Can you open a bugreport on bugzilla.kernel.org, add .config and dmesg/acpidump you already sent and add me to CC.
Thanks,
Thomas
It's reported as:
http://bugzilla.kernel.org/show_bug.cgi?id=10339
If I load battery.ko lattery it still cause kernel oops and freeze.
Thanks,
Sam
Thomas Renninger 提到:
Quoted 37 lines · Thomas Renninger
Quoted 23 lines · Sam Lin
Quoted 10 lines
Hi List,
I encountered kernel oops (Ubuntu 2.6.24-12) while booting with battery inserted.
Some workaround are acpi=off, avoiding loading battery.ko or putting battery away.Any idea ?
Why do you need:
acpi_fake_ecdt
parameter? This does not even exist (anymore? I searched 2.6.25).Quoted 2 lines
dmesg and dsdt as attachments.
I expect removing the line:
acpi_bus_generate_netlink_event(device->pnp.device_class, device->dev.bus_id, event, acpi_battery_present(battery));Quoted 8 lines
in
battery.cmakes the machine work or at least go a bit further?Could it be that you compiled in ACPI modules and that:
fs_initcall(acpi_event_init);
indrivers/acpi/event.c
has not been called and initialized the netlink acpi stuff, but battery has already tried to send an event?
acpi_event_initshould have been called already... I still think it has to do with the netlink event. As it is rather early, maybe because of that. Does it work for you if you load the battery module later?
Quoted 9 lines
Can you open a bugreport on bugzilla.kernel.org, add .config and dmesg/acpidump you already sent and add me to CC.
Thanks,
Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html