Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: another data point (was Re: acpi_vbios_reset hangs while vbetool works (Was: sporadic failure to wakeup from S3))



jruohonen%iki.fi@localhost said:
> On Thu, Sep 08, 2011 at 09:21:45PM +0100, David Brownlee wrote:
> > If you switch away from X before suspend/resume does it affect
> > matters

I'm seeing this too -- if the X server is active the suspend fails
(with that "detachtimeout" kernel message).
I tracked this down a bit, to a signal delivery problem. The wscons
driver sends a signal to the X server, and then it waits for
an ioctl call, synchronized by mutex/condvar. This fails - the
X server apparently doesn't get scheduled to during cv_wait.

Normal screen switches work because they are done asynchonously.

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index