|
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.
|