[OpenIndiana-discuss] Hipster upgrade 18-feb-2015

Jim Klimov jim at cos.ru
Wed Feb 18 17:44:26 UTC 2015


 And FYI and FWIW, upgrading the guest additions (as well as the host) to 4.3.22 did help, I have a GUI in updated Hipster again ;)




 And just to tease Nikola ;) here is a screenshot of the update script for the split-roots in action (verifying that indeed there are no newer updates, in this case):

root at jimoi:~# ./beadm-upgrade.sh

 === Will clone hipster_2015.0-20150218Z162032 into hipster_2015.0-20150218Z173851, ok? Using these settings:
 BENEW=hipster_2015.0-20150218Z173851
 BENEW_DS=rpool/ROOT/hipster_2015.0-20150218Z173851
 BENEW_MNT=/a
 BENEW_MPT=/a
 BEOLD=hipster_2015.0-20150218Z162032
 BEOLD_DS=rpool/ROOT/hipster_2015.0-20150218Z162032
 BEOLD_MNT=/
 BEOLD_MPT=/
 EXCLUDE_ATTRS='org.opensolaris.libbe:uuid|canmount|mountpoint'
 RPOOL=rpool
 RPOOLALT=
 RPOOL_ROOT=rpool/ROOT
 RPOOL_SHARED=rpool/SHARED
     (Press ENTER or CTRL+C)
 Created successfully
 === Created hipster_2015.0-20150218Z173851 based on hipster_2015.0-20150218Z162032
 === Trying to replicate ZFS attributes from original to new BE...
 ===== ''
 org.opensolaris.libbe:policy=static
 ===== '/opt'
 compression=gzip-9
 ===== '/usr'
 compression=gzip-9
 ===== '/usr/local'
 ===== '/var'
 compression=gzip-9
 ===== '/var/pkg'
 ===== '/var/pkg/publisher'
 === Replicated custom ZFS attributes
 Mounted successfully on: '/a'
 === Mounted hipster_2015.0-20150218Z173851 at /a
 rpool/ROOT/hipster_2015.0-20150218Z173851   129007616      337291    36726527     1%    /a
 rpool/ROOT/hipster_2015.0-20150218Z173851/usr   129007616     2238164    36726527     6%    /a/usr
 rpool/ROOT/hipster_2015.0-20150218Z173851/usr/local   129007616         303    36726527     1%    /a/usr/local
 rpool/ROOT/hipster_2015.0-20150218Z173851/var   129007616        3479    36726527     1%    /a/var
 rpool/ROOT/hipster_2015.0-20150218Z173851/var/pkg   129007616       54957    36726527     1%    /a/var/pkg
 rpool/ROOT/hipster_2015.0-20150218Z173851/var/pkg/publisher   129007616     3757507    36726527    10%    /a/var/pkg/publisher
 rpool/ROOT/hipster_2015.0-20150218Z173851/opt   129007616      439777    36726527     2%    /a/opt
 === BE clone completed!

 === To upgrade from upstream do:
 pkg -R "/a" image-update --deny-new-be --no-backup-be && touch "/a/reconfigure" && bootadm update-archive -R "/a" && beadm umount "hipster_2015.0-20150218Z173851"

 TS="`date -u "+%Y%m%dZ%H%M%S"`"
 zfs snapshot -r "rpool/SHARED at postupgrade-$TS"
 zfs snapshot -r "rpool/ROOT/hipster_2015.0-20150218Z173851 at postupgrade-$TS"

 beadm activate "hipster_2015.0-20150218Z173851"
 ===

 BE                             Active Mountpoint Space Policy Created
 hipster_2015.0-20150218Z173851 -      /a         7.00K static 2015-02-18 18:38
 ===== lofs-mount '/tmp' at '/a/tmp'
 ===== lofs-mount '/var/adm' at '/a/var/adm'
 ===== lofs-mount '/opt/glassfish-4.0' at '/a/opt/glassfish-4.0'
 ===== lofs-mount '/opt/netbeans-7.4' at '/a/opt/netbeans-7.4'
 ===== lofs-mount '/opt/netbeans-8.0' at '/a/opt/netbeans-8.0'
 ===== lofs-mount '/opt/netbeans-8.0.2' at '/a/opt/netbeans-8.0.2'
 ===== lofs-mount '/var/cores' at '/a/var/cores'
 ===== lofs-mount '/var/crash' at '/a/var/crash'
 ===== lofs-mount '/var/dhcp' at '/a/var/dhcp'
 ===== lofs-mount '/var/lib/jenkins' at '/a/var/lib/jenkins'
 ===== lofs-mount '/var/log' at '/a/var/log'
 ===== lofs-mount '/var/mail' at '/a/var/mail'
 ===== lofs-mount '/var/opengrok' at '/a/var/opengrok'
 ===== lofs-mount '/var/spool/clientmqueue' at '/a/var/spool/clientmqueue'
 ===== lofs-mount '/var/spool/mqueue' at '/a/var/spool/mqueue'
 ===== lofs-mount '/var/tmp' at '/a/var/tmp'


 ======================== Wed Feb 18 18:38:56 CET 2015 ===================
 === Beginning package upgrades in the 'hipster_2015.0-20150218Z173851' image mounted at '/a'...

 === Run IPS pkg upgrade...
 No updates available for this image.


 === Reconfiguring boot-archive in new BE...

 === Unmounting BE hipster_2015.0-20150218Z173851 under '/a'...
 ===== unmounting '/zones/ipp' bound over '/a/zones/ipp'...
 umount: /a/zones/ipp busy
 ===== unmounting '/zones' bound over '/a/zones'...
 umount: /a/zones busy
 ===== unmounting '/var/tmp' bound over '/a/var/tmp'...
 ===== unmounting '/var/spool/mqueue' bound over '/a/var/spool/mqueue'...
 ===== unmounting '/var/spool/clientmqueue' bound over '/a/var/spool/clientmqueue'...
 ===== unmounting '/var/opengrok' bound over '/a/var/opengrok'...
 ===== unmounting '/var/mail' bound over '/a/var/mail'...
 ===== unmounting '/var/log' bound over '/a/var/log'...
 ===== unmounting '/var/lib/jenkins' bound over '/a/var/lib/jenkins'...
 ===== unmounting '/var/dhcp' bound over '/a/var/dhcp'...
 ===== unmounting '/var/crash' bound over '/a/var/crash'...
 ===== unmounting '/var/cores' bound over '/a/var/cores'...
 ===== unmounting '/var/adm' bound over '/a/var/adm'...
 ===== unmounting '/tmp' bound over '/a/tmp'...
 ===== unmounting '/opt/netbeans-8.0.2' bound over '/a/opt/netbeans-8.0.2'...
 ===== unmounting '/opt/netbeans-8.0' bound over '/a/opt/netbeans-8.0'...
 ===== unmounting '/opt/netbeans-7.4' bound over '/a/opt/netbeans-7.4'...
 ===== unmounting '/opt/glassfish-4.0' bound over '/a/opt/glassfish-4.0'...
 ===== beadm-unmounting hipster_2015.0-20150218Z173851 (/a)...
 Unmounted successfully

 === Done: IPS=4 PKGSRC=-1 BOOTADM=0
 === If upgrade was acceptable and successful:
 :; beadm activate 'hipster_2015.0-20150218Z173851'
 === If you change your mind or if it failed:
 :; beadm destroy -Ffsv 'hipster_2015.0-20150218Z173851'

 BE                             Active Mountpoint Space Policy Created
 hipster_2015.0-20150218Z173851 -      -          204K  static 2015-02-18 18:38

 === FAILED, the upgrade was not completed successfully or found no new updates; you can remove the new BE with:  beadm destroy -Ffsv hipster_2015.0-20150218Z173851





 And here's what the running system primary FS tree looks like:




root at jimoi:~# df -k | egrep 'ROOT|SHARED'
 rpool/ROOT/hipster_2015.0-20150218Z162032                             37063614    337292  36726322   1% /
 rpool/ROOT/hipster_2015.0-20150218Z162032/usr                         38964486   2238164  36726322   6% /usr
 rpool/ROOT/hipster_2015.0-20150218Z162032/var                         36729801      3479  36726322   1% /var
 rpool/SHARED/var/adm                                                  36726501       179  36726322   1% /var/adm
 rpool/ROOT/hipster_2015.0-20150218Z162032/opt                         37166100    439778  36726322   2% /opt
 rpool/ROOT/hipster_2015.0-20150218Z162032/usr/local                   36726625       303  36726322   1% /usr/local
 rpool/ROOT/hipster_2015.0-20150218Z162032/var/pkg                     36781279     54957  36726322   1% /var/pkg
 rpool/ROOT/hipster_2015.0-20150218Z162032/var/pkg/publisher           40483830   3757508  36726322  10% /var/pkg/publisher
 rpool/SHARED/opt/glassfish-4.0                                        37322159    595837  36726322   2% /opt/glassfish-4.0
 rpool/SHARED/opt/netbeans-7.4                                         36726347        25  36726322   1% /opt/netbeans-7.4
 rpool/SHARED/opt/netbeans-8.0                                         37047520    321198  36726322   1% /opt/netbeans-8.0
 rpool/SHARED/opt/netbeans-8.0.2                                       37048713    322391  36726322   1% /opt/netbeans-8.0.2
 rpool/SHARED/var/cores                                                 5219501    703145   4516356  14% /var/cores
 rpool/SHARED/var/crash                                                 5242844        24   5242820   1% /var/crash
 rpool/SHARED/var/dhcp                                                 36726348        26  36726322   1% /var/dhcp
 rpool/SHARED/var/lib/jenkins                                          37374828    648506  36726322   2% /var/lib/jenkins
 rpool/SHARED/var/log                                                  36726401        79  36726322   1% /var/log
 rpool/SHARED/var/mail                                                 36726358        36  36726322   1% /var/mail
 rpool/SHARED/var/opengrok                                             38178574   1452252  36726322   4% /var/opengrok
 rpool/SHARED/var/spool/clientmqueue                                    2096478        25   2096454   1% /var/spool/clientmqueue
 rpool/SHARED/var/spool/mqueue                                          2096779        24   2096755   1% /var/spool/mqueue
 rpool/SHARED/var/tmp                                                  36743354     17032  36726322   1% /var/tmp
 rpool/zones/ipp/ROOT/zbe-10                                           37007137    280815  36726322   1% /zones/ipp/root




 Jim




----- Исходное сообщение -----
От: Jim Klimov <jim at cos.ru>
Дата: Wednesday, February 18, 2015 18:12
Тема: Re: [OpenIndiana-discuss] Hipster upgrade 18-feb-2015
Кому (To): Discussion list for OpenIndiana <openindiana-discuss at openindiana.org>

 > 
 >  Like others, I've updated Hipster on my notebook where it 
 > runs as a VM under VirtualBox, and lost GUI ;)
 > 
 >  Currently, I believe the issue boils down to this end of 
 > the XOrg log:
 > 
 > 
 > 
 > 
 >  [ 69670.527] (II) LoadModule: "vboxvideo"
 >  [ 69670.528] (II) Loading 
 > /usr/lib/xorg/modules/drivers/amd64/vboxvideo_drv.so [ 
 > 69670.537] (II) Module vboxvideo: vendor="Oracle Corporation"
 >  [ 69670.537]    compiled for 10.6.99, 
 > module version = 1.0.1
 >  [ 69670.537]    Module class: X.Org Video Driver
 >  [ 69670.537]    ABI class: X.Org Video 
 > Driver, version 6.0
 >  [ 69670.537] (EE) module ABI major version (6) doesn't 
 > match the server's version (12)
 >  [ 69670.537] (II) UnloadModule: "vboxvideo"
 >  [ 69670.537] (II) Unloading vboxvideo
 >  [ 69670.538] (EE) Failed to load module "vboxvideo" 
 > (module requirement mismatch, 0)
 >  [ 69670.538] (EE) No drivers available.
 >  [ 69670.538]
 >  Fatal server error:
 >  [ 69670.538] no screens found
 >  [ 69670.538]
 > 
 > 
 > 
 > 
 >  The VirtualBox host / GuestAdditions version is 4.3.20 
 > (latest is 4.3.22 issued a week ago, downloading now to see if 
 > its upgrade automagically fixes things). FWIW, the VB changelogs 
 > variably claim "X11 additions" or "X11 guest" compatibility 
 > bumps - 4.3.16 with X.Org 1.16, and 4.3.22 adds X.Org 1.17.
 > 
 > 
 > 
 > 
 >  Curiously, no SMF services are failed:
 > 
 >  $ svcs gdm
 >  STATE          STIME    FMRI
 >  online         
 > 17:35:34 svc:/application/graphical-login/gdm:default
 > 
 > 
 > 
 > 
 >  Jim
 > _______________________________________________
 > openindiana-discuss mailing list
 > openindiana-discuss at openindiana.org
 > http://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the openindiana-discuss mailing list