acpi_button: random oops on boot

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tobias Karnat
Date: Saturday, December 4, 2010 - 8:49 am

Hi,

I have a problem with random oopses on boot,
every 1 out of 5 times I boot linux freezes.

I was not able to obtain a call trace, however it happens around 10-15
seconds after boot. I can hear that the tg3 driver is initialised.

In this thread, they have the same problem:
https://bugzilla.novell.com/show_bug.cgi?id=647029

Applying the patch from the thread, makes the problem occurring less
often and dmesg shows acpi-button loads for me on hid PNP0C0C and
LNXPWRBN.

Maybe commit e2fb9754d27513918a4936e8cbaad50ff56cfd3d
ACPI: button: remove unnecessary null pointer checks
has unmasked an underlying problem?

-Tobias

--- a/drivers/acpi/button.c	2010-11-22 20:03:49.000000000 +0100
+++ b/drivers/acpi/button.c	2010-12-04 14:11:51.000000000 +0100
@@ -353,9 +353,13 @@
 		goto err_free_button;
 	}
 
+	printk(KERN_INFO PREFIX "button loading\n");
 	hid = acpi_device_hid(device);
+	printk(KERN_INFO PREFIX "hid: <%s>\n", hid);
 	name = acpi_device_name(device);
+	printk(KERN_INFO PREFIX "name: <%s>\n", name);
 	class = acpi_device_class(device);
+	printk(KERN_INFO PREFIX "class: <%s>\n", class);
 
 	if (!strcmp(hid, ACPI_BUTTON_HID_POWER) ||
 	    !strcmp(hid, ACPI_BUTTON_HID_POWERF)) {

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
acpi_button: random oops on boot, Tobias Karnat, (Sat Dec 4, 8:49 am)
Re: acpi_button: random oops on boot, Bjorn Helgaas, (Mon Dec 6, 9:28 am)
Re: acpi_button: random oops on boot, Tobias Karnat, (Mon Dec 6, 4:01 pm)
Re: acpi_button: random oops on boot, Bjorn Helgaas, (Mon Dec 6, 4:26 pm)
Re: acpi_button: random oops on boot, Tobias Karnat, (Mon Dec 6, 4:54 pm)
Re: acpi_button: random oops on boot, Tobias Karnat, (Mon Dec 6, 5:22 pm)
Re: acpi_button: random oops on boot, Bjorn Helgaas, (Mon Dec 6, 10:15 pm)
Re: acpi_button: random oops on boot, Rich Coe, (Tue Dec 7, 7:44 am)
Re: acpi_button: random oops on boot, Tobias Karnat, (Tue Dec 7, 8:02 am)
Re: acpi_button: random oops on boot, Tobias Karnat, (Tue Dec 7, 8:35 am)
Re: acpi_button: random oops on boot, Tobias Karnat, (Tue Dec 7, 8:52 am)