OpenSolaris

Printable Version Enter a New Search
Bug ID 6275666
Synopsis Xorg loops in poll when VUIDSFORMAT fails on one mouse in a multi-mouse system
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:xorg-server
Keywords testcase
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_17
Fixed In snv_17
Release Fixed solaris_nevada(snv_17) , solaris_10u1(s10u1_09) (Bug ID:2126664)
Related Bugs 6282355
Submit Date 25-May-2005
Last Update Date 16-January-2007
Description
If the mouse driver returns a failure from the VUIDSFORMAT ioctl for one of the
mice in a system configured with multiple mouse InputDevice entries in xorg.conf
Xorg will go into a tight loop calling poll() over and over again as often as it
can, eating so much CPU the system appears to hang.

 xxxxx@xxxxx.com 2005-05-25 02:25:34 GMT
Work Around
1) Make sure there's always a USB mouse plugged in when starting the X server so
   virtualkm doesn't return an error on VUIDSFORMAT.

or 

2) Change the order of InputDevice lines in xorg.conf to ensure the /dev/mouse device
   is initialized first, so it has at least one mouse under virtualkm, even if that
   mouse is then pulled out of virtualkm control nanoseconds later when the other
   mouse device is open()ed.
 xxxxx@xxxxx.com 2005-05-25 01:57:42 GMT
Comments
N/A