Re: kernel panic when plugging in USB device and closing lid

From: Matthew Garrett
Date: Mon Jun 16 2008 - 08:36:39 EST


On Mon, Jun 16, 2008 at 02:32:38PM +0200, Martin Michlmayr wrote:

> I briefly talked to Matthew Garrett on IRC who said this "looks like
> state corruption". He asked me to set /proc/acpi/video/blah/DOS to 7
> and see whether I could still reproduce the problem. After setting
> this value, I no longer see the kernel panic. Matthew: "Right. The
> lid-close SMM seems to blow things up some of the time."

If DOS is set to 1, the BIOS seems to do something that makes the kernel
massively unhappy. Disabling the automatic display switch control avoids
this, which makes me think it's a BIOS bug of some description.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/