Monday 23 February 2009

OpenSolaris, libc problem upgrading to b107

Just a quick note, upgrading from b106 to 107 left me with a foobared installation. It turns out that libc.so.1 ends up being an incompatible version for the Kernel.

Luckily the fix / work around is fairly trivial :)

On my machine it was roughly as follows:

beadm mount opensolaris-19 /a
rm /a/lib/libc.so.1
rm /a/lib/amd64/libc.so.1
pkg -R /a fix SUNWcsl
beadm unmount opensolaris-19

Reboot into opensolaris-19

Problem fixed!

The bug if filed here: http://defect.opensolaris.org/bz/show_bug.cgi?id=3562

But that's not all, I was then faced with a second problem - which turned out to be unsupported "stuff" left over in the /etc/X11/xorg.conf, in particular an "RgbPath" related config line - so this needed to be removed.

gdm then restarted

svcadm disable gdm
svcadm enable gdm

X11 logs can also be checked for further errors:

/var/log/Xorg.0.log

and viola, a graphical login appears at last...

For further details on b107 issues, see http://blogs.sun.com/alanc/entry/xorg_1_5_3_in


Update: Since these problems with 107, 108 has come out and it seems to address these issues, upgrading from 107 to 108 was completely painless and problem free!


Additional note:

Recently trying to install OpenSolaris 109 under VirtualBox 2.1.4 resulted in a frozen white screen before the graphical login. After some digging around and debugging the problem appeared to be an incompatibility with VirtualBox guest additions (GA).

I believe the problem is captured here (as a major fault).

http://www.virtualbox.org/ticket/3408

The work around / temp solution is to:

Boot into single user command line login (edit boot grub)
Remove VirtualBox GA installation

>pkginfo | grep -i box

>pkgrm SUNWvboxguest

Delete xorg.conf (/etc/X11/)

>rm /etc/X11/xorg.conf

Restart GDM (svcadm restart gdm)

Check logs:

>tail -f /var/log/Xorg.0.log

--

To install VirtualBox Guest Additions, select "Devices -> Install Guest Additions..."

Navigate to the installer resources (usually visible on the guest OS desktop)

>pkgadd -d ./VBoxSolarisAdditions.pkg


.

No comments: