Bfu 91 to 92 looks good Proceed with xVM upgrade . After running:- # sunos.hg/bin/build-all nondebug bash-3.2# cd packages-nondebug bash-3.2# pwd /usr/tmp/packages-nondebug bash-3.2# ls -l total 20 drwxr-xr-x 4 root root 512 Jun 21 08:57 SUNWlibvirt drwxr-xr-x 4 root root 512 Jun 21 08:57 SUNWlibvirtr drwxr-xr-x 4 root root 512 Jun 21 08:57 SUNWurlgrabber drwxr-xr-x 4 root root 512 Jun 21 08:57 SUNWvirtinst drwxr-xr-x 3 root root 512 Jun 21 08:57 SUNWxvmdomr drwxr-xr-x 4 root root 512 Jun 21 08:57 SUNWxvmdomu drwxr-xr-x 4 root root 512 Jun 21 08:57 SUNWxvmh drwxr-xr-x 4 root root 512 Jun 21 08:57 SUNWxvmhvm drwxr-xr-x 4 root root 512 Jun 21 08:57 SUNWxvmr drwxr-xr-x 4 root root 512 Jun 21 08:57 SUNWxvmu Then # svcadm disable xvm/domains xvm/console xvm/xend xvm/store # pkgrm SUNWvirtinst SUNWurlgrabber SUNWlibvirt SUNWxvmh SUNWxvmhvm \ SUNWxvmu SUNWxvmr SUNWxvmdomu SUNWxvmdomr # pkgadd -d packages-nondebug SUNWxvmdomr SUNWxvmdomu \ SUNWxvmr SUNWxvmu \ SUNWxvmhvm SUNWxvmh SUNWlibvirt SUNWlibvirtr SUNWurlgrabber SUNWvirtinst One new package installed SUNWlibvirtr # svcadm enable xvm/store xvm/xend xvm/console xvm/domains # reboot After reboot:- bash-3.2# svcs -x svc:/system/idmap:default (Native Identity Mapping Service) State: maintenance since Sat Jun 21 09:10:36 2008 Reason: Start method failed repeatedly, last exited with status 1. See: http://sun.com/msg/SMF-8000-KS See: idmapd(1M) See: idmap(1M) See: /var/svc/log/system-idmap:default.log Impact: 1 dependent service is not running. (Use -v for list.) svc:/system/xvm/domains:default (Hypervisor domain autoboot and graceful shutdown) State: maintenance since Sat Jun 21 09:22:47 2008 Reason: Start method failed repeatedly, last exited with status 1. See: http://sun.com/msg/SMF-8000-KS See: xVM(5) See: /var/svc/log/system-xvm-domains:default.log Impact: This service is not running. Next check:- bash-3.2# xm info Error: Unable to connect to xend: Connection refused. Is xend running? bash-3.2# svcs -a|grep xvm online 9:22:46 svc:/system/xvm/store:default online 9:22:46 svc:/system/xvm/xend:default online 9:22:46 svc:/system/xvm/console:default online 9:22:47 svc:/system/xvm/virtd:default maintenance 9:22:47 svc:/system/xvm/domains:default This message posted from opensolaris.org
Log is attached This message posted from opensolaris.org
Boris Derzhavets wrote:> Log is attachedHi Boris, gotta ask - did you boot the xVM kernel? This has bitten me before now :-) Since you do so much on xVM I assume that you did boot the right kernel.... so the output from "xm dmesg" and "virsh capabilities" would be handy. James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog
I did boot xVM kernel, however instance bfu''ed to 92 doesn''t exist anymore. Emergency rolling back to build 91. Sorry, Boris. --- On Sat, 6/21/08, James C. McPherson <James.McPherson@Sun.COM> wrote: From: James C. McPherson <James.McPherson@Sun.COM> Subject: Re: [xen-discuss] Bfu xVM to build 92 problems To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-discuss@opensolaris.org Date: Saturday, June 21, 2008, 6:14 AM Boris Derzhavets wrote:> Log is attachedHi Boris, gotta ask - did you boot the xVM kernel? This has bitten me before now :-) Since you do so much on xVM I assume that you did boot the right kernel.... so the output from "xm dmesg" and "virsh capabilities" would be handy. James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog
--- On Sat, 6/21/08, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [xen-discuss] Bfu xVM to build 92 problems To: James.McPherson@Sun.COM Cc: xen-discuss@opensolaris.org Date: Saturday, June 21, 2008, 8:23 AM I did boot xVM kernel, however instance bfu''ed to 92 doesn''t exist anymore. Emergency rolling back to build 91. Sorry, Boris. --- On Sat, 6/21/08, James C. McPherson <James.McPherson@Sun.COM> wrote: From: James C. McPherson <James.McPherson@Sun.COM> Subject: Re: [xen-discuss] Bfu xVM to build 92 problems To: "Boris Derzhavets" <bderzhavets@yahoo.com> Cc: xen-discuss@opensolaris.org Date: Saturday, June 21, 2008, 6:14 AM Boris Derzhavets wrote:> Log is attachedHi Boris, gotta ask - did you boot the xVM kernel? This has bitten me before now :-) Since you do so much on xVM I assume that you did boot the right kernel.... so the output from "xm dmesg" ************************************************** James, "xm info" reported that xend doesn''t respond. I am not expecting "xm dmesg" would work. Please,view forum. I ran bash-3.2# xm info Error: Unable to connect to xend: Connection refused. Is xend running? bash-3.2# svcs -a|grep xvm online 9:22:46 svc:/system/xvm/store:default online 9:22:46 svc:/system/xvm/xend:default online 9:22:46 svc:/system/xvm/console:default online 9:22:47 svc:/system/xvm/virtd:default maintenance 9:22:47 svc:/system/xvm/domains:default ****************************************************** and "virsh capabilities" would be handy. James C. McPherson -- Senior Kernel Software Engineer, Solaris Sun Microsystems http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org
Boris Derzhavets wrote:> > > --- On *Sat, 6/21/08, Boris Derzhavets /<bderzhavets@yahoo.com>/* wrote: > > From: Boris Derzhavets <bderzhavets@yahoo.com> > Subject: Re: [xen-discuss] Bfu xVM to build 92 problems > To: James.McPherson@Sun.COM > Cc: xen-discuss@opensolaris.org > Date: Saturday, June 21, 2008, 8:23 AM > > I did boot xVM kernel, however instance bfu''ed to 92 doesn''t exist > anymore. > Emergency rolling back to build 91. > Sorry, > Boris. > > --- On *Sat, 6/21/08, James C. McPherson > /<James.McPherson@Sun.COM>/* wrote: > > From: James C. McPherson <James.McPherson@Sun.COM> > Subject: Re: [xen-discuss] Bfu xVM to build 92 problems > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-discuss@opensolaris.org > Date: Saturday, June 21, 2008, 6:14 AM > > Boris Derzhavets wrote: > > Log is attached > > Hi Boris, > gotta ask - did you boot the xVM kernel? This has bitten > me before now :-) > > Since you do so much on xVM I assume that you did boot > the right kernel.... so the output from "xm dmesg" > ************************************************** > James, > > "xm info" reported that xend doesn''t respond. > I am not expecting "xm dmesg" would work. > Please,view forum. I ran > bash-3.2# xm info > Error: Unable to connect to xend: > Connection refused. Is xend running? > bash-3.2# svcs -a|grep xvm > online 9:22:46 svc:/system/xvm/store:default > online 9:22:46 svc:/system/xvm/xend:default > online 9:22:46 svc:/system/xvm/console:default > online 9:22:47 svc:/system/xvm/virtd:default > maintenance 9:22:47 svc:/system/xvm/domains:default > ******************************************************This is most likely due to the "Least Privilege for xVM" putback. http://www.opensolaris.org/os/community/on/flag-days/pages/2008060301/ You need to use a b92 or greater based BFU. MRJ> > and > "virsh capabilities" would be handy. > > > > James C. McPherson > -- > Senior Kernel Software Engineer, Solaris > Sun Microsystems > http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog > > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org > > > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
Mark, I am not sure what means:- You need to use a b92 or greater based BFU. I reinstalled fresh SUNWonbld before bfu # cd /usr/tmp # pkgrm SUNWonbld ( from b91) # /usr/sfw/bin/wget http://dlc.sun.com/osol/on/downloads/b92/SUNWonbld.i386.tar.bz2 # bunzip2< SUNWonbld.i386.tar.bz2 | tar xf - # pkgadd -d onbld SUNWonbld # /usr/sfw/bin/wget http://dlc.sun.com/osol/on/downloads/b92/on-bfu-nightly-osol-nd.i386.tar.bz2 # bunzip2 < on-bfu-nightly-osol-nd.i386.tar.bz2 | tar xf - Tuned environment and ran:- # bfu /usr/tmp/archives-nightly-osol-nd/i386 --- On Sat, 6/21/08, Mark Johnson <Mark.Johnson@Sun.COM> wrote: From: Mark Johnson <Mark.Johnson@Sun.COM> Subject: Re: [xen-discuss] Bfu xVM to build 92 problems To: bderzhavets@yahoo.com Cc: James.McPherson@Sun.COM, xen-discuss@opensolaris.org Date: Saturday, June 21, 2008, 11:03 AM Boris Derzhavets wrote:> > > --- On *Sat, 6/21/08, Boris Derzhavets /<bderzhavets@yahoo.com>/*wrote:> > From: Boris Derzhavets <bderzhavets@yahoo.com> > Subject: Re: [xen-discuss] Bfu xVM to build 92 problems > To: James.McPherson@Sun.COM > Cc: xen-discuss@opensolaris.org > Date: Saturday, June 21, 2008, 8:23 AM > > I did boot xVM kernel, however instance bfu''ed to 92 doesn''texist> anymore. > Emergency rolling back to build 91. > Sorry, > Boris. > > --- On *Sat, 6/21/08, James C. McPherson > /<James.McPherson@Sun.COM>/* wrote: > > From: James C. McPherson <James.McPherson@Sun.COM> > Subject: Re: [xen-discuss] Bfu xVM to build 92 problems > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > Cc: xen-discuss@opensolaris.org > Date: Saturday, June 21, 2008, 6:14 AM > > Boris Derzhavets wrote: > > Log is attached > > Hi Boris, > gotta ask - did you boot the xVM kernel? This has bitten > me before now :-) > > Since you do so much on xVM I assume that you did boot > the right kernel.... so the output from "xm dmesg" > ************************************************** > James, > > "xm info" reported that xend doesn''t respond. > I am not expecting "xm dmesg" would work. > Please,view forum. I ran > bash-3.2# xm info > Error: Unable to connect to xend: > Connection refused. Is xend running? > bash-3.2# svcs -a|grep xvm > online 9:22:46 svc:/system/xvm/store:default > online 9:22:46 svc:/system/xvm/xend:default > online 9:22:46 svc:/system/xvm/console:default > online 9:22:47 svc:/system/xvm/virtd:default > maintenance 9:22:47 svc:/system/xvm/domains:default > ******************************************************This is most likely due to the "Least Privilege for xVM" putback. http://www.opensolaris.org/os/community/on/flag-days/pages/2008060301/ You need to use a b92 or greater based BFU. MRJ> > and > "virsh capabilities" would be handy. > > > > James C. McPherson > -- > Senior Kernel Software Engineer, Solaris > Sun Microsystems > http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog > > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org > > > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
Did you resolve conflicts properly? You should have a new user, xvm, in /etc/passwd. Boris Derzhavets wrote:> Mark, > I am not sure what means:- > > You need to use a b92 or greater based BFU. > > I reinstalled fresh SUNWonbld before bfu > > # cd /usr/tmp > # pkgrm SUNWonbld ( from b91) > # /usr/sfw/bin/wget http://dlc.sun.com/osol/on/downloads/b92/SUNWonbld.i386.tar.bz2 > # bunzip2< SUNWonbld.i386.tar.bz2 | tar xf - > # pkgadd -d onbld SUNWonbld > > # /usr/sfw/bin/wget > http://dlc.sun.com/osol/on/downloads/b92/on-bfu-nightly-osol-nd.i386.tar.bz2 > <http://dlc.sun.com/osol/on/downloads/b91/on-bfu-nightly-osol-nd.i386.tar.bz2> > # bunzip2 < on-bfu-nightly-osol-nd.i386.tar.bz2 | tar xf - > > Tuned environment and ran:- > # bfu /usr/tmp/archives-nightly-osol-nd/i386 > > > > --- On *Sat, 6/21/08, Mark Johnson /<Mark.Johnson@Sun.COM>/* wrote: > > From: Mark Johnson <Mark.Johnson@Sun.COM> > Subject: Re: [xen-discuss] Bfu xVM to build 92 problems > To: bderzhavets@yahoo.com > Cc: James.McPherson@Sun.COM, xen-discuss@opensolaris.org > Date: Saturday, June 21, 2008, 11:03 AM > > Boris Derzhavets wrote: > > > > > > --- On *Sat, 6/21/08, Boris Derzhavets /<bderzhavets@yahoo.com>/* > wrote: > > > > From: Boris Derzhavets <bderzhavets@yahoo.com> > > Subject: Re: [xen-discuss] Bfu xVM to build 92 problems > > To: James.McPherson@Sun.COM > > Cc: xen-discuss@opensolaris.org > > Date: Saturday, June 21, 2008, 8:23 AM > > > > I did boot xVM kernel, however instance bfu''ed to 92 doesn''t > exist > > anymore. > > Emergency rolling back to build 91. > > Sorry, > > Boris. > > > > --- On *Sat, 6/21/08, James C. McPherson > > /<James.McPherson@Sun.COM>/* wrote: > > > > From: James C. McPherson <James.McPherson@Sun.COM> > > > Subject: Re: [xen-discuss] Bfu xVM to build 92 problems > > To: "Boris Derzhavets" <bderzhavets@yahoo.com> > > Cc: xen-discuss@opensolaris.org > > Date: Saturday, June 21, 2008, 6:14 AM > > > > Boris Derzhavets wrote: > > > Log is attached > > > > Hi Boris, > > gotta ask - did you boot the xVM kernel? This has bitten > > me before now :-) > > > > Since you do so much on xVM I assume that you did boot > > the right kernel.... so the output from "xm dmesg" > > ************************************************** > > James, > > > > "xm info" reported that xend doesn''t respond. > > I am not expecting "xm dmesg" would work. > > Please,view forum. I ran > > bash-3.2# xm info > > Error: Unable to connect to xend: > > > Connection refused. Is xend running? > > bash-3.2# svcs -a|grep xvm > > online 9:22:46 svc:/system/xvm/store:default > > online 9:22:46 svc:/system/xvm/xend:default > > online 9:22:46 svc:/system/xvm/console:default > > online 9:22:47 svc:/system/xvm/virtd:default > > maintenance 9:22:47 svc:/system/xvm/domains:default > > ****************************************************** > > > This is most likely due to the "Least Privilege for xVM" putback. > http://www.opensolaris.org/os/community/on/flag-days/pages/2008060301/ > > You need to use a b92 or greater based BFU. > > > > > > MRJ > > > > > > and > > "virsh capabilities" would be handy. > > > > > > > > James C. McPherson > > -- > > Senior Kernel > Software Engineer, Solaris > > Sun Microsystems > > http://blogs.sun.com/jmcp http://www.jmcp.homeunix.com/blog > > > > > > _______________________________________________ > > xen-discuss mailing list > > xen-discuss@opensolaris.org > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > xen-discuss mailing list > > xen-discuss@opensolaris.org > > > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org-- ----------------------------------------------------- Russ Blaine | Solaris Kernel | russell.blaine@sun.com
My steps one by one:- 1. download and install the "ON Specific Build Tools" package (for the x86 platform) # cd /usr/tmp # /usr/sfw/bin/wget http://dlc.sun.com/osol/on/downloads/b92/SUNWonbld.i386.tar.bz2 # bunzip2< SUNWonbld.i386.tar.bz2 | tar xf - # pkgadd -d onbld SUNWonbld (answer ''y'' to the question asking for permission to run scripts that will be run with super-user priviledges) 2. download an unpack the "ON BFU Archives (non-debug)" (for the x86 platform) # /usr/sfw/bin/wget http://dlc.sun.com/osol/on/downloads/b92/on-bfu-nightly-osol-nd.i386.tar.bz2 # bunzip2 < on-bfu-nightly-osol-nd.i386.tar.bz2 | tar xf - 3. upgrade the system using "bfu": PATH=/opt/onbld/bin:$PATH FASTFS=/opt/onbld/bin/`uname -p`/fastfs BFULD=/opt/onbld/bin/`uname -p`/bfuld GZIPBIN=/usr/bin/gzip ACR=/opt/onbld/bin/acr export PATH FASTFS BFULD GZIPBIN ACR # bfu /usr/tmp/archives-nightly-osol-nd/i386 # acr # reboot # vi $HOME/.hgrc [extensions] hgext.mq[diff] git=True # /usr/sfw/bin/wget http://dlc.sun.com/osol/on/downloads/b92/xvm-src.tar.bz2 # bunzip2 < xvm-src.tar.bz2 | tar xf - # EMAIL=bderzhavets@yahoo.com # XVM_WS=`pwd` # SOLARIS_BUILD_TOOLS=/opt # LD_OPTIONS=-L/lib # export EMAIL XVM_WS SOLARIS_BUILD_TOOLS LD_OPTIONS # sunos.hg/bin/build-all nondebug 10 packages have been compiled successfully # svcadm disable xvm/domains xvm/console xvm/xend xvm/store # pkgrm SUNWvirtinst SUNWurlgrabber SUNWlibvirt SUNWxvmh \ SUNWxvmhvm SUNWxvmu SUNWxvmr SUNWxvmdomu \ SUNWxvmdomr 9 packages removed # pkgadd -d packages-nondebug SUNWxvmdomr SUNWxvmdomu \ SUNWxvmr SUNWxvmu SUNWxvmhvm SUNWxvmh SUNWlibvirt \ SUNWlibvirtr SUNWurlgrabber SUNWvirtinst 10 packages installed # svcadm enable xvm/store xvm/xend xvm/console xvm/domains # reboot I''ve noticed that 10 packages were created (not 9 as for b91) I believe SUNWlibvirtr was the new one. The first time i bfu''ed 87 to 91 following instructions above and everything went well. My experience is not much. I new nothing about new user "xvm" and conflict resolution Please, point me to my mistakes Thanks.
I''ve tried to localize error and bfu''ed SNV91 DomU to SNV92 DomU at F8 Dom0. At SNV91 DomU:- Reinstalled fresh SUNWonbld before bfu # cd /usr/tmp # pkgrm SUNWonbld ( from b91) # /usr/sfw/bin/wget http://dlc.sun.com/osol/on/downloads/b92/SUNWonbld.i386.tar.bz2 # bunzip2< SUNWonbld.i386.tar.bz2 | tar xf - # pkgadd -d onbld SUNWonbld # /usr/sfw/bin/wget http://dlc.sun.com/osol/on/downloads/b92/on-bfu-nightly-osol-nd.i386.tar.bz2 # bunzip2 < on-bfu-nightly-osol-nd.i386.tar.bz2 | tar xf - Tuned environment and ran:- # bfu /usr/tmp/archives-nightly-osol-nd/i386 bfu# acr bfu# reboot ********** Result:- ********** syncing file systems... done rebooting... [root@dhcppc4 vm]# xm console SolarisPVM Configuring devices. Hostname: dhcppc22 Loading smf(5) service descriptions: 1/1 /dev/rdsk/c0d0s7 is clean Reading ZFS config: done. dhcppc22 console login: root Password: Last login: Sun Jun 22 11:52:46 on console Jun 22 13:13:48 dhcppc22 login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.11 snv_92 October 2007 bfu''ed from /usr/tmp/archives-nightly-osol-nd/i386 on 2008-06-22 Sun Microsystems Inc. SunOS 5.11 snv_90 January 2008 # svcs -x Empty output,hence i believe bfu is in a good shape. I still have a question . When xVM source gets uncompressed:- # /usr/sfw/bin/wget http://dlc.sun.com/osol/on/downloads/b92/xvm-src.tar.bz2 # bunzip2 < xvm-src.tar.bz2 | tar xf - and i get four hg-folders under working directory, how i am supposed to manage after this point to succeed with b92 at Dom0 ? This message posted from opensolaris.org
Mark Johnson wrote> > Boris Derzhavets wrote: > > > > > > --- On *Sat, 6/21/08, Boris Derzhavets /<bderzhavets@yahoo.com>/* wrote: > > > > From: Boris Derzhavets <bderzhavets@yahoo.com> > > Subject: Re: [xen-discuss] Bfu xVM to build 92 problems > > To: James.McPherson@Sun.COM > > Cc: xen-discuss@opensolaris.org > > Date: Saturday, June 21, 2008, 8:23 AM > > > > I did boot xVM kernel, however instance bfu''ed to 92 doesn''t exist > > anymore. > > Emergency rolling back to build 91. > > > > ***************************************************** > > This is most likely due to the "Least Privilege for xVM" putback. > http://www.opensolaris.org/os/community/on/flag-days/pages/2008060301/ > > You need to use a b92 or greater based BFU.Yes, I can reproduce the same problem, after installing the snv_92 xvm packages. xend doesn''t start any more. In /var/log/xen/xend-debug.log I found this: Exception in thread XMLRPCServer: Traceback (most recent call last): File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap self.run() File "/usr/lib/python2.4/threading.py", line 422, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.4/site-packages/xen/xend/server/XMLRPCServer.py", line 217, in run File "/usr/lib/python2.4/SocketServer.py", line 217, in handle_request request, client_address = self.get_request() File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 224, in get_request File "/usr/lib/python2.4/site-packages/xen/xend/osdep.py", line 62, in _solaris_connection_allowed ImportError: No module named ucred Do we need updated python 2.4 packages (for ucred support)? This message posted from opensolaris.org
On Mon, Jun 23, 2008 at 08:54:46AM -0700, J??rgen Keil wrote:> Do we need updated python 2.4 packages (for ucred support)?Yes regards john
John Levon wrote:> On Mon, Jun 23, 2008 at 08:54:46AM -0700, Jürgen Keil wrote: > > > Do we need updated python 2.4 packages (for ucred support)? > > YesOk. This box was was installed with SXCE build 85, and updated with bfu. I removed packages SUNWPython-devel SUNWPython, and re-installed them from SXCE build 89 media. Now python is able to import ucred, and the xend from xVM build 92 packages is working ok. This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list xen-discuss@opensolaris.org