<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [GM45, bisected, SNA] X won't start"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79909#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [GM45, bisected, SNA] X won't start"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79909">bug 79909</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>If I know which bug you are talking about, it is not actually a bug in the DDX
or even X. But the kernel hangs when X tries to VT switch. If you do have ssh,
you could grab the log (so I presume you don't!) and could even attach gdb to
verify where the hang occurs.

This prevents the kernel bug from causing X to hang:

index 2bd78e2..a7bdc4b 100644
--- a/drivers/tty/vt/vt_ioctl.c
+++ b/drivers/tty/vt/vt_ioctl.c
@@ -684,7 +684,8 @@ int vt_ioctl(struct tty_struct *tty,
                        console_unlock();
                        if (ret)
                                break;
-                       set_console(arg);
+                       if (set_console(arg))
+                               ret = -EIO;
                }
                break;</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>