Hi Mary,

Thanks. The work around which u have mentioned in this mail didn't work, but your w/a in comment#12,

http://defect.opensolaris.org/bz/show_bug.cgi?id=11221#c12

worked. because we both had initial install of osol-122.

$ uname -a
SunOS santro 5.11 snv_127 sun4u sparc SUNW,Sun-Blade-1500 Solaris
$ cat /etc/release
                     OpenSolaris Development snv_127 SPARC
          Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                       Use is subject to license terms.
                          Assembled 06 November 2009
$

thanks
prem.


mary ding wrote:

Prem:

In the future, you can check the release notes for osol and this is a known issue for osol-b127:

http://wikihome.sfbay.sun.com/spe-re/attach/OpenSolaris%2Fosol_relnotes_snv_127.txt

You ran into bug 11221:


11221 beadm create core dumps on OpenSolaris 122 SPARC
http://defect.opensolaris.org/bz/show_bug.cgi?id=11221

    When using builds 122 or 123, an attempt to create a new boot
    environment (BE) via beadm(1M) or indirectly through "pkg
    image-update" may result in a "segmentation fault".

    Work-around: Boot into an earlier boot environment and then
    manually create the desired BE from there.  For example, to
    image-update from build 122 or 123 the following set of
    commands can be used

        <reboot into the earlier BE>
        u...@host$ pfexec beadm create -e <name of build 122 BE> \
            <name of new BE>
        u...@host$ pfexec beadm mount <name of new BE> /mnt
        u...@host$ pfexec pkg -R /mnt image-update
        u...@host$ pfexec beadm unmount <name of new BE>
        u...@host$ pfexec beadm activate <name of new BE>

    At this point, the new BE can be booted into.

prem wrote:
hi,

osol-b122 to osol-b127 upgrade on sparc 'Seg.Fault' at the end. but couldn't see core. beadm shows, but init 6 takes to same 122. any idea?

am i missing something?
r...@santro:~# uname -a
SunOS santro 5.11 snv_122 sun4u sparc SUNW,Sun-Blade-1500 Solaris
r...@santro:~#
r...@santro:~# pkg authority
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org (preferred) origin online http://ipkg.sfbay.sun.com/dev/
r...@santro:~#
r...@santro:~# pkg image-update
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              681/681 30093/30093  740.7/740.7

Segmentation Fault (core dumped)
r...@santro:~# ls -l core
ls: cannot access core: No such file or directory
r...@santro:~# beadm list
BE            Active Mountpoint      Space  Policy Created
--            ------ ----------      -----  ------ -------
opensolaris   NR     /               8.94G  static 2009-09-15 22:55
opensolaris-1 -      /tmp/.be.mVaW44 102.0K static 2009-11-16 04:30
r...@santro:~#
r...@santro:~# df -k | grep -v net
Filesystem           1K-blocks      Used Available Use% Mounted on
rpool/ROOT/opensolaris
                    27837001   9203059  18633942  34% /
swap 593712 472 593240 1% /etc/svc/volatile
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
27837001 9203059 18633942 34% /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
27837001 9203059 18633942 34% /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
swap                    595112      1872    593240   1% /tmp
swap                    593480       240    593240   1% /var/run
rpool/export          18633965        23  18633942   1% /export
rpool/export/home     18633965        23  18633942   1% /export/home
rpool/export/home/jack
                    19088449    454507  18633942   3% /export/home/jack
rpool                 18634009        67  18633942   1% /rpool
idmstore:/swi-pqe/data/backup/common/soft
idmstore:/swi-pqe/store
rpool/ROOT/opensolaris-1
                    27607561   8973619  18633942  33% /tmp/.be.mVaW44
rpool/ROOT/opensolaris-2
                    27836981   9203039  18633942  34% /tmp/.be.QHaWb5
r...@santro:~#

// gave "init 6" here.

r...@santro:~# beadm list
BE            Active Mountpoint Space  Policy Created
--            ------ ---------- -----  ------ -------
opensolaris   NR     /          9.50G  static 2009-09-16 11:25
opensolaris-1 -      -          85.01M static 2009-11-16 18:00
opensolaris-2 -      -          85.01M static 2009-11-16 19:09
r...@santro:~#

r...@santro:~# zfs list
NAME                       USED  AVAIL  REFER  MOUNTPOINT
rpool                     11.8G  17.5G    67K  /rpool
rpool/ROOT                9.37G  17.5G    21K  legacy
rpool/ROOT/opensolaris    9.20G  17.5G  8.78G  /
rpool/ROOT/opensolaris-1  85.0M  17.5G  8.56G  /tmp/.be.mVaW44
rpool/ROOT/opensolaris-2  85.0M  17.5G  8.78G  /tmp/.be.QHaWb5
rpool/dump                1.00G  17.5G  1.00G  -
rpool/export               444M  17.5G    23K  /export
rpool/export/home          444M  17.5G    23K  /export/home
rpool/export/home/jack     444M  17.5G   444M  /export/home/jack
rpool/swap                   1G  17.9G   578M  -
r...@santro:~# ls -l /tmp/.be.mVaW44
ls: cannot access /tmp/.be.mVaW44: No such file or directory
r...@santro:~# ls -l /tmp/.be.QHaWb5
ls: cannot access /tmp/.be.QHaWb5: No such file or directory
r...@santro:~#


thanks
prem.


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to