Summary: | [BDW]the monitor cannot display X window after running command "xinit" | ||
---|---|---|---|
Product: | DRI | Reporter: | zhixinx.liu <zhixinx.liu> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED NOTOURBUG | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | focus.luo, intel-gfx-bugs, shuang.he, yi.sun |
Version: | XOrg git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
zhixinx.liu
2014-05-21 08:24:29 UTC
It's a nasty bug. diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c index 2bd78e2ac8ec..a7bdc4b21b49 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; Turns the indefinite hang into a detectable error (and prevents X from starting) when the bug occurs. This needs to be sent upstream. Greg Kroah-Hartman <gregkh@linuxfoundation.org> Jiri Slaby <jslaby@suse.cz> linux-kernel@vger.kernel.org and bugzilla.kernel.org seem this patch doesn't work, verify this issue with following kernel and X11R7 kernel: the latest drm-intel-nightly(f5b0c......12be4) + Chris Wilson's patch X11R7: X11R7.stable.2014-05-21.tar.gz it also can be reproduced. cannot reproduce it now, so close it. if it arise again, i will reopen it. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.