Summary: | WaitFor does not handle EIO (causes 100% cpu load) | ||
---|---|---|---|
Product: | xorg | Reporter: | Chris Wilson <chris> |
Component: | Server/General | Assignee: | Adam Jackson <ajax> |
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | major | ||
Priority: | high | CC: | jeremyhu, tiago.vignatti |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | 2012BRB_Reviewed | ||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 40982, 44202 |
Description
Chris Wilson
2011-07-09 07:26:40 UTC
This is a tad out of my area of expertise, but it smells like this might be kernel related. When did you start seeing this issue? What kernel version doi you have? Doing a google search for TCFLSH EIO returns some possibly similar results: https://bugzilla.redhat.com/show_bug.cgi?id=475890 https://bugzilla.redhat.com/show_bug.cgi?id=529224 https://bugzilla.redhat.com/show_bug.cgi?id=619889 https://qa.mandriva.com/show_bug.cgi?id=63522 but those all look like an EIO of a TCFLSH of /dev/tty* 1) we should "deal" with the EIO elegantly in src/os/WaitFor.c 2) What can cause us to EIO /dev/vga_arbiter? Will that occur if some other process open(2)s it? Also, I'm a bit confused why we're select(2)ing the /dev/vga_arbiter descriptor in X's WaitForSomething. I don't see how that descriptor is exposed by libpciacces. I don't see "vgaarb_fd" in the server source, and I don't see a way in libpciaccess to add that descriptor to an fd_set. AFAICT, that descriptor is *owned* by libpciaccess, so the server should not have it in its read fd_set. Am I missing something here? Let's take care of #1 (handle EIO properly) in xserver-1.12, but I'm still perplexed about why that descriptor is in our fd_set ... -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/248. |
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.