May 28, 2011

Upgrade from OpenIndiana 148 to OpenIndiana 151

Now I've upgraded my OpenIndiana Build 148 Installation to
OpenIndiana Build 151 on http://pkg.openindiana.org/dev-il, which is
an Illumos based version.


root@solewer:~# pkg image-update --be-name OI151 --require-new-be              
                Packages to remove:    86
               Packages to install:    72
                Packages to update:  1053
           Create boot environment:   Yes
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1211/1211 298root@solewer:~# pkg image-update --be-name OI151 --require-new-be              
                Packages to remove:    86
               Packages to install:    72
                Packages to update:  1053
           Create boot environment:   Yes
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              1211/1211 29846/29846  815.0/815.0
 
PHASE                                        ACTIONS
Removal Phase                            19343/19343
Install Phase                            14309/14309
Update Phase                             43342/43342
 
PHASE                                          ITEMS
Package State Update Phase                 2264/2264
Package Cache Update Phase                 1139/1139
Image State Update Phase                         2/2
 
A clone of OI_148 exists and has been updated and activated.
On the next boot the Boot Environment OI151 will be mounted on '/'.
Reboot when ready to switch to this updated BE.
46/29846  815.0/815.0
 
PHASE                                        ACTIONS
Removal Phase                            19343/19343
Install Phase                            14309/14309
Update Phase                             43342/43342
 
PHASE                                          ITEMS
Package State Update Phase                 2264/2264
Package Cache Update Phase                 1139/1139
Image State Update Phase                         2/2
 
A clone of OI_148 exists and has been updated and activated.
On the next boot the Boot Environment OI151 will be mounted on '/'.
Reboot when ready to switch to this updated BE.
So far I do not see any problems.
Upgraded VirtualBox to V4.0.8 and my XP-Instance boots

Suspend to ram is ok, resume starts, but never finishes.
On Solaris 11 Express with Build 151 resume works.
The  nvidia driver is also the beta driver listed on the OpenIndiana Website for Build 151.

There are no messages in /var/adm/messages.

May 12, 2011

How to show the related files to a Mercurial MQ patch

The distributed version control system mercurial allows to use
MQ ( Mercurial queues ) to have patcsets  collected, which can be
applied over a repository.

When using tortoisehg or the mercurial delivered tool hgtk ( hg view )  you
can see the related files belonging to a patchset.

The command qrefresh of mercurial allows to update a patchset.
But when you have different modified files, you don't want to have all
modifications in the patchset.
qrefresh offers to list the files on th run, but the problem is, that only those
listed files are in the patchset. You also have to add the files already in the
patchset.

The GUI-Tools list the files belonging to a changeset, but how to do it on the
command line?

The command status is for help here. Without any option, the command
list the statue of the working directory, but when you call it with the
option --change , you get the files for the changeset:


hg status --change qtip 
This command lists the files belonging to the last patch applied, but instead
of qtip you can also take the Patchname.

May 10, 2011

Not able to start another process on AIX

If you've problems to start new processes running under a single user on AIX,
it could be the operating system AIX which, blocks to start a new process.

The default number of processes per user is 128 on AIX:

smitty chgsys


You can reach the menu in smitty via

System Environments -> Change/Show Characteristics of Operating System

How to get new locales in a debian system.

I have to port an application to a debian squeeze system.

The system was already installed by someone else, so I had to add
some additional packages:


It is a 64bit system, but I'd like to compile my sources also in 32 bit mode.

To be able to do this, I had to add the packages gcc-multilib and g++-multilib
to allow compilation with C/C++ in 32 Bit mode on the debian system.
The tool for installation I used was aptitude - a curses based installer.


Because the target platform is a german one, I'd also liked to have some
locales like de_DE.ISO8859-15, but the system just had

#locale -a
C
POSIX
de_AT.utf8



installed.

To add some more locales I found the following Debian-wiki entry for locale:
The command for me was:
 dpkg-reconfigure locales
This allowed in a curses based dialog to select the locales to generate on the system.