sleep indefinitely in wait_event_interruptible(vt_event_waitqueue, vw->done);

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sleep indefinitely in wait_event_interruptible(vt_event_waitqueue, vw->done);

sleep indefinitely in wait_event_interruptible(vt_event_waitqueue, vw->done);

An i.MX50 customer encountered such kernel bug recently. Android UI has no response, because the suspend work queue is blocked:

    suspend

      pm_suspend

        enter_state

          suspend_prepare / suspend_finish

            pm_prepare_console / pm_restore_console

              vt_move_to_console

                vt_waitactive

                  vt_event_wait

                    wait_event_interruptible

Confimed the same bug can also happen on imx6SL which is running linux 3.0.35.

e.g. by echo standby/mem > /sys/power/state

It takes over thousand suspend/resume cycles to reproduce the problem.

The bug fix has been merged since linux 3.6:

commit a7b12929be6cc55eab2dac3330fa9f5984e12dda

%3CLINGO-SUB%20id%3D%22lingo-sub-1112902%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Esleep%20indefinitely%20in%20wait_event_interruptible(vt_event_waitqueue%2C%20vw-%26gt%3Bdone)%3B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1112902%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAn%20%3CSPAN%20class%3D%22GINGER_SOFATWARE_correct%22%3Ei.%3C%2FSPAN%3EMX50%20customer%20encountered%20such%20kernel%20bug%20recently.%20Android%20UI%20has%20no%20response%2C%20because%20the%20suspend%20work%20queue%20is%20blocked%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSPAN%20class%3D%22GINGER_SOFATWARE_correct%22%3Esuspend%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20pm_suspend%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20enter_state%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20suspend_prepare%20%2F%20suspend_finish%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20pm_prepare_console%20%2F%20pm_restore_console%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20vt_move_to_console%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20vt_waitactive%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20vt_event_wait%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20wait_event_interruptible%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22GINGER_SOFATWARE_correct%22%3EConfimed%3C%2FSPAN%3E%20the%20same%20bug%20can%20also%20happen%20on%20imx6SL%20which%20is%20running%20%3CSPAN%20class%3D%22GINGER_SOFATWARE_correct%22%3Elinux%3C%2FSPAN%3E%203.0.35.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22GINGER_SOFATWARE_correct%22%3Ee.g.%3C%2FSPAN%3E%20by%20echo%20standby%2F%3CSPAN%20class%3D%22GINGER_SOFATWARE_correct%22%3Emem%3C%2FSPAN%3E%20%26gt%3B%20%2Fsys%2Fpower%2Fstate%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIt%20takes%20over%20thousand%20suspend%2Fresume%20cycles%20to%20reproduce%20the%20problem.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThe%20bug%20fix%20has%20been%20merged%20since%20%3CSPAN%20class%3D%22GINGER_SOFATWARE_correct%22%3Elinux%3C%2FSPAN%3E%203.6%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgit.kernel.org%2Fcgit%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%2Fcommit%2F%3Fid%3Da7b12929be6cc55eab2dac3330fa9f5984e12dda%22%20title%3D%22https%3A%2F%2Fgit.kernel.org%2Fcgit%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%2Fcommit%2F%3Fid%3Da7b12929be6cc55eab2dac3330fa9f5984e12dda%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3E%3CSPAN%20class%3D%22GINGER_SOFATWARE_correct%22%3Ecommit%3C%2FSPAN%3E%20a7b12929be6cc55eab2dac3330fa9f5984e12dda%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1112902%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAndroid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX2x%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX50%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX51%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX53%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX6_All%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELinux%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎06-16-2013 08:22 PM
Updated by: