Hello IPS dev,

I have an X86 box with OpenSolaris 147 as the initially installed OS, and I have been trying to onu it to a 147 DEBUG kernel, with no luck so far.

First, I ran into CR 6982819 (onu(1) exits with error - Framework error: code: 7 reason: couldn't connect to host - on nv147), and used the first workaround in the bug. Even after that, I still can't seem to onu a 147 DEBUG kernel, and have attached some verbose output from running onu to install the 147 DEBUG packages. It looks like it succeeds, but then it does not boot up with the DEBUG kernel afterwards.

Here is the output from beadm list, after onu but before rebooting:
-----------------------------
nhmex5# beadm list
BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- opensolaris - - 3.93M static 2010-09-15 02:30
snv_147       -      -               73.87M static 2010-09-16 02:56
snv_147-DBG   R      /tmp/onu.YGaaJd 6.23G  static 2010-09-16 04:39
snv_147-DEBUG N      /               78.5K  static 2010-09-16 04:12
nhmex5#
-----------------------------
but the 147 DEBUG kernel does not boot up, only the 147 kernel, and here is the output from beadm list after rebooting:
-----------------------------
r...@nhmex5:~# beadm list
BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- opensolaris - - 3.93M static 2010-09-15 02:30
snv_147       -      -          73.87M static 2010-09-16 02:56
snv_147-DBG   NR     /          6.25G  static 2010-09-16 04:39
snv_147-DEBUG -      -          3.99M  static 2010-09-16 04:12
r...@nhmex5:~# echo "debug/X"|pfexec mdb -k
mdb: failed to dereference symbol: unknown symbol name
r...@nhmex5:~#
-----------------------------
Is there a problem with these tools or what's up? My apologies if I am doing something wrong, as I am a former bfu user and not very familiar with the new IPS tools.

Thanks!
-Susan
nhmex5# /usr/tmp/onu -d /ws/onnv-gate/packages/i386/snv_147 -t snv_147-DBG
+ PATH=/usr/bin:/usr/sbin
+ export PATH
+ DEFAULTONURI=http://ipkg.sfbay/on-nightly
+ DEFAULTONPUB=on-nightly
+ DEFAULTONEXTRAURI=http://ipkg.sfbay/on-extra
+ DEFAULTONEXTRAPUB=on-extra
+ sourcebe=''
+ targetbe=''
+ uri=''
+ extrauri=''
+ repodir=''
+ verbose=0
+ open=0
+ redistpid=0
+ extrapid=0
+ redistport=13000
+ extraport=13001
+ no_zones=0
+ zone_warned=0
+ reposonly=0
+ trap cleanup 1 2 3 15
+ getopts :d:E:e:Ors:t:U:u:vZ i
+ repodir=/ws/onnv-gate/packages/i386/snv_147
+ getopts :d:E:e:Ors:t:U:u:vZ i
+ targetbe=snv_147-DBG
+ getopts :d:E:e:Ors:t:U:u:vZ i
+ expr 5 - 1
+ shift 4
+ [ -n '' ]
+ [ 0 -eq 1 ]
+ [ -z snv_147-DBG ]
+ [ -z '' ]
+ uri=''
+ [ -z '' ]
+ uri=http://ipkg.sfbay/on-nightly
+ [ -z '' ]
+ redistpub=''
+ [ -z '' ]
+ redistpub=on-nightly
+ [ -z '' ]
+ extrauri=''
+ [ -z '' ]
+ extrauri=http://ipkg.sfbay/on-extra
+ [ -z '' ]
+ extrapub=''
+ [ -z '' ]
+ extrapub=on-extra
+ [ -n /ws/onnv-gate/packages/i386/snv_147 ]
+ redistdir=/ws/onnv-gate/packages/i386/snv_147/repo.redist
+ [ -d /ws/onnv-gate/packages/i386/snv_147/repo.redist ]
+ python2.6
+ 0<< \EOF
import ConfigParser
p = ConfigParser.SafeConfigParser()
p.read("/ws/onnv-gate/packages/i386/snv_147/repo.redist/cfg_cache")
pp = p.get("publisher", "prefix")
print "%s" % pp
EOF
+ redistpub=on-nightly
+ [ 0 -gt 0 ]
+ ARGS='--readonly --writable-root'
+ mkdir /tmp/redist.1800
+ redistpid=1803
+ sleep 60
+ /usr/lib/pkg.depotd -d /ws/onnv-gate/packages/i386/snv_147/repo.redist -p 
13000 --readonly --writable-root /tmp/redist.1800
+ 1> /dev/null
[16/Sep/2010:04:38:00] INDEX Checking for updated package data.
[16/Sep/2010:04:38:00] INDEX Updating search indexes
[16/Sep/2010:04:38:18] INDEX Search Available
[16/Sep/2010:04:38:18] ENGINE Listening for SIGHUP.
[16/Sep/2010:04:38:18] ENGINE Listening for SIGTERM.
[16/Sep/2010:04:38:18] ENGINE Listening for SIGUSR1.
[16/Sep/2010:04:38:18] ENGINE Bus STARTING
[16/Sep/2010:04:38:18] ENGINE Started monitor thread '_TimeoutMonitor'.
[16/Sep/2010:04:38:18] ENGINE Serving on 0.0.0.0:13000
[16/Sep/2010:04:38:18] ENGINE Bus STARTED
+ uri=http://localhost:13000/
+ [ 0 -eq 0 ]
+ extradir=/ws/onnv-gate/packages/i386/snv_147/repo.extra
+ [ -d /ws/onnv-gate/packages/i386/snv_147/repo.extra ]
+ python2.6
+ 0<< \EOF
import ConfigParser
p = ConfigParser.SafeConfigParser()
p.read("/ws/onnv-gate/packages/i386/snv_147/repo.extra/cfg_cache")
pp = p.get("publisher", "prefix")
print "%s" % pp
EOF
+ extrapub=on-extra
+ [ 0 -gt 0 ]
+ mkdir /tmp/extra.1800
+ extrapid=1810
+ sleep 60
+ /usr/lib/pkg.depotd -d /ws/onnv-gate/packages/i386/snv_147/repo.extra -p 
13001 --readonly --writable-root /tmp/extra.1800
+ 1> /dev/null
[16/Sep/2010:04:38:58] INDEX Checking for updated package data.
[16/Sep/2010:04:38:58] INDEX Updating search indexes
[16/Sep/2010:04:38:59] INDEX Search Available
[16/Sep/2010:04:38:59] ENGINE Listening for SIGHUP.
[16/Sep/2010:04:38:59] ENGINE Listening for SIGTERM.
[16/Sep/2010:04:38:59] ENGINE Listening for SIGUSR1.
[16/Sep/2010:04:38:59] ENGINE Bus STARTING
[16/Sep/2010:04:38:59] ENGINE Started monitor thread '_TimeoutMonitor'.
[16/Sep/2010:04:38:59] ENGINE Serving on 0.0.0.0:13001
[16/Sep/2010:04:38:59] ENGINE Bus STARTED
+ extrauri=http://localhost:13001/
+ [ 0 -eq 1 ]
+ createargs=''
+ [ -n '' ]
+ /usr/bin/mktemp -d /tmp/onu.XXXXXX
+ tmpdir=/tmp/onu.YGaaJd
+ [ -z /tmp/onu.YGaaJd ]
+ do_cmd beadm create snv_147-DBG
+ [ 0 -gt 0 ]
+ beadm create snv_147-DBG
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ do_cmd beadm mount snv_147-DBG /tmp/onu.YGaaJd
+ [ 0 -gt 0 ]
+ beadm mount snv_147-DBG /tmp/onu.YGaaJd
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ update /tmp/onu.YGaaJd
+ root=/tmp/onu.YGaaJd
+ pkg -R /tmp/onu.YGaaJd list entire
+ 1> /dev/null 2>& 1
+ [ 1 -eq 0 ]
+ configure_publishers /tmp/onu.YGaaJd
+ root=/tmp/onu.YGaaJd
+ do_cmd pkg -R /tmp/onu.YGaaJd set-publisher --no-refresh --non-sticky 
opensolaris.org
+ [ 0 -gt 0 ]
+ pkg -R /tmp/onu.YGaaJd set-publisher --no-refresh --non-sticky opensolaris.org
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ do_cmd pkg -R /tmp/onu.YGaaJd set-publisher -e --no-refresh -P -O 
http://localhost:13000/ on-nightly
+ [ 0 -gt 0 ]
+ pkg -R /tmp/onu.YGaaJd set-publisher -e --no-refresh -P -O 
http://localhost:13000/ on-nightly
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ [ 0 -eq 0 ]
+ do_cmd pkg -R /tmp/onu.YGaaJd set-publisher -e --no-refresh -O 
http://localhost:13001/ on-extra
+ [ 0 -gt 0 ]
+ pkg -R /tmp/onu.YGaaJd set-publisher -e --no-refresh -O 
http://localhost:13001/ on-extra
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ do_cmd pkg -R /tmp/onu.YGaaJd refresh --full
+ [ 0 -gt 0 ]
+ pkg -R /tmp/onu.YGaaJd refresh --full
+ exit_code=0                          + [ 0 -eq 0 ]
+ return
+ do_cmd pkg -R /tmp/onu.YGaaJd image-update
+ [ 0 -gt 0 ]
+ pkg -R /tmp/onu.YGaaJd image-update
No updates available for this image.   + exit_code=4
+ [ 4 -eq 0 ]
+ [ pkg = pkg -a 4 -eq 4 ]
+ return
+ unconfigure_publishers /tmp/onu.YGaaJd
+ root=/tmp/onu.YGaaJd
+ [ -n /ws/onnv-gate/packages/i386/snv_147 ]
+ do_cmd pkg -R /tmp/onu.YGaaJd set-publisher -P opensolaris.org
+ [ 0 -gt 0 ]
+ pkg -R /tmp/onu.YGaaJd set-publisher -P opensolaris.org
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ do_cmd pkg -R /tmp/onu.YGaaJd set-publisher -d on-nightly
+ [ 0 -gt 0 ]
+ pkg -R /tmp/onu.YGaaJd set-publisher -d on-nightly
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ [ 0 -eq 0 ]
+ do_cmd pkg -R /tmp/onu.YGaaJd set-publisher -d on-extra
+ [ 0 -gt 0 ]
+ pkg -R /tmp/onu.YGaaJd set-publisher -d on-extra
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ do_cmd beadm activate snv_147-DBG
+ [ 0 -gt 0 ]
+ beadm activate snv_147-DBG
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ [ 0 != 1 ]
+ do_cmd zoneadm -R /tmp/onu.YGaaJd list -cip
+ [ 0 -gt 0 ]
+ zoneadm -R /tmp/onu.YGaaJd list -cip
+ exit_code=0
+ [ 0 -eq 0 ]
+ return
+ update_zone 0:global:installed:/tmp/onu.YGaaJd::ipkg:shared
+ zone=0:global:installed:/tmp/onu.YGaaJd::ipkg:shared
+ cut -d: -f 2
+ echo 0:global:installed:/tmp/onu.YGaaJd::ipkg:shared
+ name=global
+ [ global = global ]
+ return
+ cleanup
+ [ 1803 -gt 0 ]
+ kill 1803
[16/Sep/2010:04:41:21] ENGINE Caught signal SIGTERM.
[16/Sep/2010:04:41:21] ENGINE Bus STOPPING
+ [ 1810 -gt 0 ]
+ kill 1810
[16/Sep/2010:04:41:21] ENGINE Caught signal SIGTERM.
[16/Sep/2010:04:41:21] ENGINE Bus STOPPING
+ [ -d /tmp/redist.1800 ]
+ /bin/rm -rf /tmp/redist.1800
+ [ -d /tmp/extra.1800 ]
+ /bin/rm -rf /tmp/extra.1800
+ exit 0
nhmex5# [16/Sep/2010:04:41:21] ENGINE HTTP Server 
cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 13000)) shut down
[16/Sep/2010:04:41:21] ENGINE HTTP Server 
cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 13001)) shut down
[16/Sep/2010:04:41:21] ENGINE Stopped thread '_TimeoutMonitor'.
[16/Sep/2010:04:41:21] ENGINE Stopped thread '_TimeoutMonitor'.
[16/Sep/2010:04:41:21] ENGINE Bus STOPPED
[16/Sep/2010:04:41:21] ENGINE Bus EXITING
[16/Sep/2010:04:41:21] ENGINE Bus EXITED
[16/Sep/2010:04:41:21] ENGINE Waiting for child threads to terminate...
[16/Sep/2010:04:41:21] ENGINE Bus STOPPED
[16/Sep/2010:04:41:21] ENGINE Bus EXITING
[16/Sep/2010:04:41:21] ENGINE Bus EXITED
[16/Sep/2010:04:41:21] ENGINE Waiting for child threads to terminate...

nhmex5# 
_______________________________________________
on-ips-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/on-ips-dev

Reply via email to