Skip to content

Follow up 1: OpenSolaris xorg failure after upgrading 2009.06 to dev b130

Update 8 AM

This post on xwin-discuss explains the changes that caused this failure in xorg startup.

Original Post

OK. So, it seemed like a lot of stuff was missing. So, I tried to un-install and re-install the corresponding Xorg packages. I did a:

pfexec pkg uninstall SUNWxorg-mesa SUNWxorg-server SUNWcompiz-fusion-main SUNWgnome-desktop-prfs SUNWcompiz SUNWcompiz-fusion-extra SUNWdesktop-cache

When I tried to reinstall these packages, I got:

Unable to retrieve package data for publisher ‘opensolaris.org-dev’ from one
of the following origin(s):

http://pkg.opensolaris.org:80/dev/

The catalog retrieved from one of the origin(s) listed above only
contains package data for: opensolaris.org.

To resolve this issue, correct the origin information provided for
publisher ‘opensolaris.org-dev’ using the pkg set-publisher subcommand, or re-add
the publisher using the correct name and remove the ‘opensolaris.org-dev’
publisher.

To re-add this publisher with the correct name, execute the following
commands as a privileged user:

pkg set-publisher -P -g http://pkg.opensolaris.org:80/dev/ opensolaris.org
pkg unset-publisher opensolaris.org-dev

The way I read this, the dev repository http://pkg.opensolaris.org:80/dev/ identifies itself as opensolaris.org. So, I need to call it out locally as opensolaris.org. So, I did as they suggest:


pkg set-publisher -P -g http://pkg.opensolaris.org:80/dev/ opensolaris.org
pkg unset-publisher opensolaris.org-dev

Unfortunately, this left two repositories called opensolaris.org (both were preferred). So, I then did a pkg set-publisher –remove-origin=http://pkg.opensolaris.org/release opensolaris.org–which seemed to fix the problem. Then, I reinstalled everything:

pfexec pkg install SUNWxorg-mesa SUNWxorg-server SUNWcompiz-fusion-main SUNWgnome-desktop-prfs SUNWcompiz SUNWcompiz-fusion-extra SUNWdesktop-cache

This worked, but didn’t fix the problem. Eventually, I did some snooping around. I did a find -name ‘*drv*’ -print in /usr. This resulted in:

./sbin/i86/add_drv
./sbin/i86/update_drv
./sbin/i86/rem_drv
./sbin/amd64/rem_drv
./sbin/amd64/update_drv
./sbin/amd64/add_drv
./sbin/add_drv
./sbin/rem_drv
./sbin/update_drv
./lib/xorg/modules/multimedia/tda9885_drv.so
./lib/xorg/modules/multimedia/uda1380_drv.so
./lib/xorg/modules/multimedia/theatre_drv.so
./lib/xorg/modules/multimedia/theatre200_drv.so
./lib/xorg/modules/multimedia/tda8425_drv.so
./lib/xorg/modules/multimedia/theatre_detect_drv.so
./lib/xorg/modules/multimedia/msp3430_drv.so
./lib/xorg/modules/multimedia/fi1236_drv.so
./lib/xorg/modules/multimedia/bt829_drv.so
./lib/xorg/modules/multimedia/tda9850_drv.so
./lib/xorg/modules/multimedia/amd64/msp3430_drv.so
./lib/xorg/modules/multimedia/amd64/uda1380_drv.so
./lib/xorg/modules/multimedia/amd64/tda9885_drv.so
./lib/xorg/modules/multimedia/amd64/theatre_drv.so
./lib/xorg/modules/multimedia/amd64/tda8425_drv.so
./lib/xorg/modules/multimedia/amd64/theatre200_drv.so
./lib/xorg/modules/multimedia/amd64/tda9850_drv.so
./lib/xorg/modules/multimedia/amd64/bt829_drv.so
./lib/xorg/modules/multimedia/amd64/theatre_detect_drv.so
./lib/xorg/modules/multimedia/amd64/fi1236_drv.so
./lib/xorg/modules/drivers/vesa_drv.so
./lib/xorg/modules/drivers/i128_drv.so
./lib/xorg/modules/drivers/intel_drv.so
./lib/xorg/modules/drivers/i740_drv.so
./lib/xorg/modules/drivers/s3virge_drv.so
./lib/xorg/modules/drivers/tseng_drv.so
./lib/xorg/modules/drivers/ati_drv.so
./lib/xorg/modules/drivers/amd64/vesa_drv.so
./lib/xorg/modules/drivers/amd64/ati_drv.so
./lib/xorg/modules/drivers/amd64/ast_drv.so
./lib/xorg/modules/drivers/amd64/i810_drv.so
./lib/xorg/modules/drivers/amd64/radeonhd_drv.so
./lib/xorg/modules/drivers/amd64/vmware_drv.so
./lib/xorg/modules/drivers/amd64/mga_drv.so
./lib/xorg/modules/drivers/amd64/cirrus_drv.so
./lib/xorg/modules/drivers/amd64/mach64_drv.so
./lib/xorg/modules/drivers/amd64/radeon_drv.so
./lib/xorg/modules/drivers/amd64/openchrome_drv.so
./lib/xorg/modules/drivers/amd64/via_drv.so
./lib/xorg/modules/drivers/amd64/r128_drv.so
./lib/xorg/modules/drivers/amd64/intel_drv.so
./lib/xorg/modules/drivers/amd64/nv_drv.so
./lib/xorg/modules/drivers/amd64/trident_drv.so
./lib/xorg/modules/drivers/amd64/dummy_drv.so
./lib/xorg/modules/drivers/ast_drv.so
./lib/xorg/modules/drivers/dummy_drv.so
./lib/xorg/modules/drivers/rendition_drv.so
./lib/xorg/modules/drivers/glint_drv.so
./lib/xorg/modules/drivers/cirrus_drv.so
./lib/xorg/modules/drivers/i810_drv.so
./lib/xorg/modules/drivers/radeon_drv.so
./lib/xorg/modules/drivers/mach64_drv.so
./lib/xorg/modules/drivers/siliconmotion_drv.so
./lib/xorg/modules/drivers/radeonhd_drv.so
./lib/xorg/modules/drivers/neomagic_drv.so
./lib/xorg/modules/drivers/nv_drv.so
./lib/xorg/modules/drivers/vmware_drv.so
./lib/xorg/modules/drivers/apm_drv.so
./lib/xorg/modules/drivers/openchrome_drv.so
./lib/xorg/modules/drivers/savage_drv.so
./lib/xorg/modules/drivers/s3_drv.so
./lib/xorg/modules/drivers/sis_drv.so
./lib/xorg/modules/drivers/via_drv.so
./lib/xorg/modules/drivers/tdfx_drv.so
./lib/xorg/modules/drivers/r128_drv.so
./lib/xorg/modules/drivers/tga_drv.so
./lib/xorg/modules/drivers/ark_drv.so
./lib/xorg/modules/drivers/trident_drv.so
./lib/xorg/modules/drivers/mga_drv.so
./lib/xorg/modules/drivers/chips_drv.so
./lib/xorg/modules/input/amd64/hotkey_drv.so
./lib/xorg/modules/input/amd64/vmmouse_drv.so
./lib/xorg/modules/input/amd64/acecad_drv.so
./lib/xorg/modules/input/amd64/synaptics_drv.so
./lib/xorg/modules/input/amd64/void_drv.so
./lib/xorg/modules/input/amd64/mouse_drv.so
./lib/xorg/modules/input/amd64/kbd_drv.so
./lib/xorg/modules/input/acecad_drv.so
./lib/xorg/modules/input/kbd_drv.so
./lib/xorg/modules/input/synaptics_drv.so
./lib/xorg/modules/input/vmmouse_drv.so
./lib/xorg/modules/input/hotkey_drv.so
./lib/xorg/modules/input/mouse_drv.so
./lib/xorg/modules/input/void_drv.so
./X11/lib/modules/drivers/nvidia_drv.so
./X11/lib/modules/drivers/amd64/nvidia_drv.so
./share/man/man1m/add_drv.1m
./share/man/man1m/rem_drv.1m
./share/man/man1m/update_drv.1m
./share/man/man3devinfo/di_drv_first_node.3devinfo
./share/man/man3devinfo/di_drv_next_node.3devinfo
./ddu/scripts/3rd_drv_ins.sh
./ddu/utils/install_drv.py
./ddu/utils/install_all_drv.py

So, basically, all the modules and drivers now exist in /usr/lib/xorg (rather than /usr/X11/lib). This makes sense. There’s that line in the Xorg.log.0 that says:

(**) ModulePath set to “/usr/X11/lib/modules”[/cci]

That [cci](**)[/cci] means that this was set in the xorg.conf file which curiously sits in [cci]/etc/X11/xorg.conf[/cci]:

[cc](==) Using config file: “/etc/X11/xorg.conf”

So, it seems like the modules directory has been updated but is not set correctly in xorg.conf. This could be because my previous (2009.06) xorg.conf is still sitting around.

Tonight, I’ll try to update the xorg.conf (or better yet, replace it with a default) and see if that fixes things.

Be the first to like.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*