{"id":24,"date":"2010-01-14T13:52:52","date_gmt":"2010-01-14T13:52:52","guid":{"rendered":"http:\/\/poojanwagh.opalstacked.com\/techblog\/?p=24"},"modified":"2010-01-14T16:52:54","modified_gmt":"2010-01-14T16:52:54","slug":"follow-up-1-opensolaris-xorg-failure-after-upgrading-2009-06-to-dev-b130","status":"publish","type":"post","link":"https:\/\/tech.poojanblog.com\/blog\/unix-linux\/follow-up-1-opensolaris-xorg-failure-after-upgrading-2009-06-to-dev-b130\/","title":{"rendered":"Follow up 1: OpenSolaris xorg failure after upgrading 2009.06 to dev b130"},"content":{"rendered":"<h3>Update 8 AM<\/h3>\n<p><a title=\"http:\/\/opensolaris.org\/jive\/thread.jspa?messageID=416758\" href=\"http:\/\/opensolaris.org\/jive\/thread.jspa?messageID=416758\">This post on xwin-discuss<\/a> explains the changes that caused this failure in xorg startup.<\/p>\n<h3>Original Post<\/h3>\n<p>OK. So, it seemed like a lot of stuff <a title=\"OpenSolaris Xorg failure after upgrading 2009.06 to dev b130\" href=\"http:\/\/poojanwagh.opalstacked.com\/techblog\/?p=16\">was missing<\/a>. So, I tried to un-install and re-install the corresponding Xorg packages. I did a:<\/p>\n<code>pfexec pkg uninstall SUNWxorg-mesa SUNWxorg-server SUNWcompiz-fusion-main SUNWgnome-desktop-prfs SUNWcompiz SUNWcompiz-fusion-extra SUNWdesktop-cache<\/code>\n<p>When I tried to reinstall these packages, I got:<\/p>\n<code>Unable to retrieve package data for publisher &#8216;opensolaris.org-dev&#8217; from one<br \/>\nof the following origin(s):<\/p>\n<p>http:\/\/pkg.opensolaris.org:80\/dev\/<\/p>\n<p>The catalog retrieved from one of the origin(s) listed above only<br \/>\ncontains package data for: opensolaris.org.<\/p>\n<p>To resolve this issue, correct the origin information provided for<br \/>\npublisher &#8216;opensolaris.org-dev&#8217; using the pkg set-publisher subcommand, or re-add<br \/>\nthe publisher using the correct name and remove the &#8216;opensolaris.org-dev&#8217;<br \/>\npublisher.<\/p>\n<p>To re-add this publisher with the correct name, execute the following<br \/>\ncommands as a privileged user:<\/p>\n<p>pkg set-publisher -P -g http:\/\/pkg.opensolaris.org:80\/dev\/ opensolaris.org<br \/>\npkg unset-publisher opensolaris.org-dev<\/code>\n<p>The way I read this, the dev repository <code>http:\/\/pkg.opensolaris.org:80\/dev\/<\/code> identifies itself as opensolaris.org. So, I need to call it out locally as opensolaris.org. So, I did as they suggest:<\/p>\n<code><br \/>\npkg set-publisher -P -g http:\/\/pkg.opensolaris.org:80\/dev\/ opensolaris.org<br \/>\npkg unset-publisher opensolaris.org-dev<br \/>\n<\/code>\n<p>Unfortunately, this left two repositories called opensolaris.org (both were preferred). So, I then did a <code>pkg set-publisher &#8211;remove-origin=http:\/\/pkg.opensolaris.org\/release opensolaris.org<\/code>&#8211;which seemed to fix the problem. Then, I reinstalled everything:<\/p>\n<code>pfexec pkg install SUNWxorg-mesa SUNWxorg-server SUNWcompiz-fusion-main SUNWgnome-desktop-prfs SUNWcompiz SUNWcompiz-fusion-extra SUNWdesktop-cache<\/code>\n<p>This worked, but didn&#8217;t fix the problem. Eventually, I did some snooping around. I did a <code>find -name &#8216;*drv*&#8217; -print<\/code> in <code>\/usr<\/code>. This resulted in:<\/p>\n<code>.\/sbin\/i86\/add_drv<br \/>\n.\/sbin\/i86\/update_drv<br \/>\n.\/sbin\/i86\/rem_drv<br \/>\n.\/sbin\/amd64\/rem_drv<br \/>\n.\/sbin\/amd64\/update_drv<br \/>\n.\/sbin\/amd64\/add_drv<br \/>\n.\/sbin\/add_drv<br \/>\n.\/sbin\/rem_drv<br \/>\n.\/sbin\/update_drv<br \/>\n.\/lib\/xorg\/modules\/multimedia\/tda9885_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/uda1380_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/theatre_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/theatre200_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/tda8425_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/theatre_detect_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/msp3430_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/fi1236_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/bt829_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/tda9850_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/msp3430_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/uda1380_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/tda9885_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/theatre_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/tda8425_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/theatre200_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/tda9850_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/bt829_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/theatre_detect_drv.so<br \/>\n.\/lib\/xorg\/modules\/multimedia\/amd64\/fi1236_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/vesa_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/i128_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/intel_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/i740_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/s3virge_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/tseng_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/ati_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/vesa_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/ati_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/ast_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/i810_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/radeonhd_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/vmware_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/mga_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/cirrus_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/mach64_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/radeon_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/openchrome_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/via_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/r128_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/intel_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/nv_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/trident_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/amd64\/dummy_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/ast_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/dummy_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/rendition_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/glint_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/cirrus_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/i810_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/radeon_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/mach64_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/siliconmotion_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/radeonhd_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/neomagic_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/nv_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/vmware_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/apm_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/openchrome_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/savage_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/s3_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/sis_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/via_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/tdfx_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/r128_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/tga_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/ark_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/trident_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/mga_drv.so<br \/>\n.\/lib\/xorg\/modules\/drivers\/chips_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/amd64\/hotkey_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/amd64\/vmmouse_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/amd64\/acecad_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/amd64\/synaptics_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/amd64\/void_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/amd64\/mouse_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/amd64\/kbd_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/acecad_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/kbd_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/synaptics_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/vmmouse_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/hotkey_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/mouse_drv.so<br \/>\n.\/lib\/xorg\/modules\/input\/void_drv.so<br \/>\n.\/X11\/lib\/modules\/drivers\/nvidia_drv.so<br \/>\n.\/X11\/lib\/modules\/drivers\/amd64\/nvidia_drv.so<br \/>\n.\/share\/man\/man1m\/add_drv.1m<br \/>\n.\/share\/man\/man1m\/rem_drv.1m<br \/>\n.\/share\/man\/man1m\/update_drv.1m<br \/>\n.\/share\/man\/man3devinfo\/di_drv_first_node.3devinfo<br \/>\n.\/share\/man\/man3devinfo\/di_drv_next_node.3devinfo<br \/>\n.\/ddu\/scripts\/3rd_drv_ins.sh<br \/>\n.\/ddu\/utils\/install_drv.py<br \/>\n.\/ddu\/utils\/install_all_drv.py<br \/>\n<\/code>\n<p>So, basically, all the modules and drivers now exist in <code>\/usr\/lib\/xorg<\/code> (rather than <code>\/usr\/X11\/lib<\/code>). This makes sense. There&#8217;s that line in the <code>Xorg.log.0<\/code> that says:<\/p>\n<code>(**) ModulePath set to &#8220;\/usr\/X11\/lib\/modules&#8221;[\/cci]<\/p>\n<p>That [cci](**)[\/cci] means that this was set in the xorg.conf file which curiously sits in [cci]\/etc\/X11\/xorg.conf[\/cci]:<\/p>\n<p>[cc](==) Using config file: &#8220;\/etc\/X11\/xorg.conf&#8221;<\/code>\n<p>So, it seems like the modules directory has been updated but is not set correctly in <code>xorg.conf<\/code>. This could be because my previous (2009.06) <code>xorg.conf<\/code> is still sitting around.<\/p>\n<p>Tonight, I&#8217;ll try to update the xorg.conf (or better yet, replace it with a default) and see if that fixes things.<\/p>\n<div class='wp_likes' id='wp_likes_post-24'><a class='like' href=\"javascript:wp_likes.like(24);\" title='' ><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/tech.poojanblog.com\/blog\/wp-content\/plugins\/wp-likes\/images\/like.png\" alt='' border='0'\/><\/a><span class='text'>Be the first to like.<\/span><\/p>\n<div class='like' ><a href=\"javascript:wp_likes.like(24);\">Like<\/a><\/div>\n<div class='unlike' ><a href=\"javascript:wp_likes.unlike(24);\">Unlike<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>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: When I tried to reinstall these packages, I got: The way [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[8,4,9],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-unix-linux","tag-install","tag-opensolaris","tag-xorg"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":7,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":31,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/24\/revisions\/31"}],"wp:attachment":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}