OpenSolaris

Printable Version Enter a New Search
Bug ID 6556115
Synopsis Xorg -configure fails with amd64 Xorg
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:xorg-server
Keywords s10patch-approved
Responsible Engineer Alan Coopersmith
Reported Against snv_63 , snv_64a
Duplicate Of
Introduced In solaris_10u4
Commit to Fix snv_66
Fixed In snv_66
Release Fixed solaris_nevada(snv_66) , solaris_10u4(s10u4_10) (Bug ID:2149804)
Related Bugs
Submit Date 10-May-2007
Last Update Date 31-May-2007
Description
When I manually run /usr/X11/bin/Xorg -configure, the command fails by saying:

Missing output drivers. Configuration failed.

Using truss on the command shows:

stat("/usr/X11/lib/modules/amd64/drivers/solaris/", 0xFFFFFD7FFFDFF210) Err#2 ENOENT
stat("/usr/X11/lib/modules/amd64/drivers", 0xFFFFFD7FFFDFF210) Err#2 ENOENT
Missing output drivers. Configuration failed.
------
Evaluation:

I have reproduced this - when I added the support for the /amd64/ subdirectories 
under each module dir, I only got the module loading code, not the code that
Xorg -configure runs to iterate over all the modules to see which support the
hardware in question.

(For reasons I can't explain, Xorg -configure determines which driver to use
 by loading each driver in turn and calling it's probe function, but Xorg
 autoconfiguration (i.e. no xorg.conf) uses a table to map PCI id's to driver
 names so it just loads the one you need.) 

------

*** Test Case ***
On an amd64 machine running in 64-bit mode, go to command line login (i.e. no X),
and run Xorg -configure and verify it produces //xorg.conf.new without issuing
any errors like those shown above.   Verify that Xorg -configure continues to work
as well on a x86 machine in 32-bit mode.
Work Around
Run /usr/X11/bin/i386/Xorg -configure instead
Comments
N/A