Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 879632

Summary: [mi] EQ overflowing. Backtraces from mieqEnqueue
Product: Red Hat Enterprise Linux 6 Reporter: Jiri Koten <jkoten>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: tpelka, vincent
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: xorg-x11-server-1.13.0-9.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 08:04:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 886216    
Attachments:
Description Flags
Xorg.0.log none

Description Jiri Koten 2012-11-23 14:12:50 UTC
Description of problem:
After running x11perf tests on SandyBridge Desktop GT2+ [8086:0122], I have found 
backtraces from mieqEnqueue in Xorg log.

The tests itself seem to run fine, I haven't notice any visible problems.


Version-Release number of selected component (if applicable):
kernel-2.6.32-342.el6
xorg-x11-drv-intel-2.20.2-2.el6
xorg-x11-server-Xorg-1.13.0-7.el6


Steps to Reproduce:
1. x11perf -repeat 1 -all
2. check the /var/log/Xorg.0.log

Comment 1 Jiri Koten 2012-11-23 14:13:58 UTC
Created attachment 650459 [details]
Xorg.0.log

[snip]
...
(EE) [mi] EQ overflowing.  Additional events will be discarded until existing events are processed.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg (xorg_backtrace+0x36) [0x46cd76]
(EE) 1: /usr/bin/Xorg (mieqEnqueue+0x273) [0x593be3]
(EE) 2: /usr/bin/Xorg (QueuePointerEvents+0x4e) [0x44f77e]
(EE) 3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f1759493000+0x4731) [0x7f1759497731]
(EE) 4: /usr/bin/Xorg (0x400000+0x8b5a7) [0x48b5a7]
(EE) 5: /usr/bin/Xorg (0x400000+0xb403b) [0x4b403b]
(EE) 6: /lib64/libpthread.so.0 (0x37d8200000+0xf500) [0x37d820f500]
(EE) 7: /lib64/libc.so.6 (ioctl+0x7) [0x37d7ae0a47]
(EE) 8: /usr/lib64/libdrm.so.2 (drmIoctl+0x28) [0x37dde03418]
(EE) 9: /usr/lib64/libdrm.so.2 (drmCommandNone+0x16) [0x37dde037b6]
(EE) 10: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f1759c3f000+0x1219a) [0x7f1759c5119a]
(EE) 11: /usr/bin/Xorg (BlockHandler+0x4a) [0x43b70a]
(EE) 12: /usr/bin/Xorg (WaitForSomething+0x15c) [0x46a45c]
(EE) 13: /usr/bin/Xorg (0x400000+0x379d2) [0x4379d2]
(EE) 14: /usr/bin/Xorg (0x400000+0x7cbca) [0x47cbca]
(EE) 15: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x37d7a1ecdd]
(EE) 16: /usr/bin/Xorg (0x400000+0x260b9) [0x4260b9]
(EE) 
(EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack.
(EE) [mi] mieq is *NOT* the cause.  It is a victim.
(EE) [mi] EQ overflow continuing.  100 events have been dropped.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg (xorg_backtrace+0x36) [0x46cd76]
(EE) 1: /usr/bin/Xorg (QueuePointerEvents+0x4e) [0x44f77e]
(EE) 2: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f1759493000+0x4731) [0x7f1759497731]
(EE) 3: /usr/bin/Xorg (0x400000+0x8b5a7) [0x48b5a7]
(EE) 4: /usr/bin/Xorg (0x400000+0xb403b) [0x4b403b]
(EE) 5: /lib64/libpthread.so.0 (0x37d8200000+0xf500) [0x37d820f500]
(EE) 6: /lib64/libc.so.6 (ioctl+0x7) [0x37d7ae0a47]
(EE) 7: /usr/lib64/libdrm.so.2 (drmIoctl+0x28) [0x37dde03418]
(EE) 8: /usr/lib64/libdrm.so.2 (drmCommandNone+0x16) [0x37dde037b6]
(EE) 9: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7f1759c3f000+0x1219a) [0x7f1759c5119a]
(EE) 10: /usr/bin/Xorg (BlockHandler+0x4a) [0x43b70a]
(EE) 11: /usr/bin/Xorg (WaitForSomething+0x15c) [0x46a45c]
(EE) 12: /usr/bin/Xorg (0x400000+0x379d2) [0x4379d2]
(EE) 13: /usr/bin/Xorg (0x400000+0x7cbca) [0x47cbca]
(EE) 14: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x37d7a1ecdd]
(EE) 15: /usr/bin/Xorg (0x400000+0x260b9) [0x4260b9]
(EE) 
[  2596.886] [mi] Increasing EQ size to 512 to prevent dropped events.
[  2596.887] [mi] EQ processing has resumed after 121 dropped events.
[  2596.887] [mi] This may be caused my a misbehaving driver monopolizing the server's resources.

Comment 2 Adam Jackson 2012-12-05 16:21:36 UTC
This is mostly a "oh dear, this was slower than I thought" backtrace.  There's a patch to mitigate this in Fedora 18 by bumping the default queue size; we should apply it for 6.4 too.

Devel ack.

Comment 3 RHEL Program Management 2012-12-05 16:31:58 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 5 Adam Jackson 2012-12-11 15:39:07 UTC
5179916 build (rhel-6.4-xorg-rebase, /rpms/xorg-x11-server:11da0db148ac5cdc0a437276432e7ab09fbd303f) completed successfully

MODIFIED

Comment 7 RHEL Program Management 2012-12-11 16:12:02 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 12 errata-xmlrpc 2013-02-21 08:04:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0299.html