Re: ACPI crash on lid close - SMP race?

From: Matthew Garrett
Date: Mon Nov 10 2008 - 12:29:59 EST


On Mon, Nov 10, 2008 at 05:26:35PM +0000, Sergio Monteiro Basto wrote:
> Hi, About this _DOS , I reported this problem a long time ago, which now
> is on http://bugzilla.kernel.org/show_bug.cgi?id=6001
> Could you put yours comment on it ?
>
> On fedora stock kernel, appears one patch, (Now I see that you are the
> author :) )
>
> I tested your patch and it works for me !

Yeah, that's the "safe" patch which stops us executing the codepath that
breaks, but also means I don't get display switch events. Having it set
to 1 means executing BIOS code that's likely to interfere with the rest
of the system, so a crash isn't surprising. But a setting of 0 *should*
be safe, and I'm quite confused as to why it's exploding.

--
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/