Re: ACPI crash on lid close - SMP race?

Matthew Garrett
2008-11-10T17:29:50Z

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@srcf.ucam.org