[illumos-Developer] Why does not install?

TH Zhao dc_cn at yahoo.com
Fri Aug 27 12:21:02 PDT 2010


#uname -srv
SunOS 5.11 onnv_145

Note that I used this cmd to check out illums_gate:
hg clone http://hg.illumos.org/illumos-gate -r onnv_146 illumos-gate-146
Are there any illumos tags ? 


On the same build machine, I just tried another test with the "tip" of 
illumos_gate 

(last change set is 13158:439e57146ba2, I assume this is pre147), I got 
different result:

I now can install, but not able to boot.

#./usr/src/tools/scripts/onu -d 
/code/illumos-gate/illumos-gate-147/packages/i386/nightly -Ot 
illumos--gate-147.i386 -U on-nightly
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              260/260   4910/4910  140.5/140.5

PHASE                                        ACTIONS
Removal Phase                              1088/1088
Install Phase                              1835/1835
Update Phase                               5084/5084
illumos--gate-147.i386 has been updated successfully

#beadm list
BE                     Active Mountpoint      Space  Policy Created
--                     ------ ----------      -----  ------ -------
illumos--gate-147.i386 R      /tmp/onu.JraalF 10.23G static 2010-08-27 14:57
on-nightly-142.i386    -      -               3.08G  static 2010-08-24 14:30
opensolaris            -      -               13.70M static 2010-08-19 15:01
opensolaris-1          -      -               10.39M static 2010-08-19 15:38
os-devel_145           N      /               1.71M  static 2010-08-25 11:55

#pkg -R /tmp/onu.JraalF list kernel beadm pkg
NAME (PUBLISHER)                              VERSION         STATE      UFOXI
install/beadm (on-nightly)                    0.5.11-0.147    installed  u----
package/pkg (os-devel)                        0.5.11-0.146    installed  -----
system/kernel (on-nightly)                    0.5.11-0.147    installed  u----


#reboot

Booting 'illumos-gate-147.i386'
findroot (pool_rpool,0,a)
 Filesystem type is zfs, partition type 0xbf
bootfs rpool/ROOT/illumos-gate-147.i386
splashimage /boot/solaris.xpm

Error 14: File not found

Press any key to continue ...




----- Original Message ----
From: Piotr Jasiukajtis <estseg at gmail.com>
To: TH Zhao <dc_cn at yahoo.com>
Cc: developer at lists.illumos.org
Sent: Fri, August 27, 2010 2:27:45 PM
Subject: Re: [illumos-Developer] Why does not install?

Hello,

1. The gate was merged with build 147 instead of 146.

2. What says 'uname -srv'?

On Fri, Aug 27, 2010 at 5:54 PM, TH Zhao <dc_cn at yahoo.com> wrote:
> Hi Hernan, has the problem been resolved?
>
> I have the similar issue, I can not ONU to a self-compiled illumos-gate-146, 
>but
> I can ONU
> to a self-compiled illumos-gate-145, from a osol-devel_145 BE.
>
> These are what I did:
>  .upgrade b134 to osos-devel_145 according to the illumos wiki
>  .check out illumos-gate ( I used tag: onnv_146)
>  .compile illumos-gate
>  .load the bit:
>     ./usr/src/tools/scripts/onu -d /code/illumos-gate/packages/i386/nightly 
-Ot
> illumos-gate-146.i386 -U on-nightly
>  .I noticed there are only a few files (66) updated.
>
>  .then I check the BE:
>
> # beadm list
> BE                    Active Mountpoint      Space  Policy Created
> --                    ------ ----------      -----  ------ -------
> illumos-gate-146.i386 R      /tmp/onu.Eya42J 9.03G  static 2010-08-27 11:44
> opensolaris           -      -               13.70M static 2010-08-19 15:01
> opensolaris-1         -      -               10.39M static 2010-08-19 15:38
> os-devel_145          N      /               733.5K static 2010-08-25 11:55
>
>  .the "kernel" is still with osos_devel(0.5.11-0.145), it should be with the
> local publisher: on-nightly (0.5.11-0.146)
>
> # pkg -R /tmp/onu.Eya42J list kernel beadm pkg
> NAME (PUBLISHER)                              VERSION         STATE      UFOXI
> install/beadm (os-devel)                      0.5.11-0.147    installed  -----
> package/pkg (os-devel)                        0.5.11-0.146    installed  -----
> system/kernel (os-devel)                      0.5.11-0.145    installed  -----
>
>
>  .# pkg publisher
> PUBLISHER                             TYPE     STATUS   URI
> os-devel                 (non-sticky, preferred) origin   online
> http://91.194.74.69:10000/
> contrib.opensolaris.org               origin   online
> http://pkg.opensolaris.org/contrib/
> extra                                 origin   online
> https://pkg.sun.com/opensolaris/extra/
> opensolaris.org                       origin   online
> http://pkg.opensolaris.org/dev/
>
>
> What's wrong? Any idea would be very appreciated.
>
>
> Tianhong
>
> On 08/21/10 06:52 PM, Richard Lowe wrote:
>> Hernan Saltiel wrote:
>>
>>> On Fri, Aug 20, 2010 at 8:02 AM, Piotr Jasiukajtis<estseg at gmail.com>
>>wrote:
>>>
>>>
>>>> Hi,
>>>>
>>>> Take a look at refreshed wiki site.
>>>>
>>>>
>>> Estibi,
>>> the results are:
>>> </illumos-01# ./usr/src/tools/scripts/onu -d packages/i386 -t
>>> illumos-02
>>> packages/i386/repo.redist not found
>>>
>>> Found repo.redist inside the nightly-nd directory, then executed:
>>>
>>>
>>> <rc/tools/scripts/onu -d packages/i386/nightly-nd -t illumos-02
>>> packages/i386/nightly-nd/repo.extra not found
>>>
>>> I've tried to find repo.extra inside the created directory tree, with no
>>> luck...
>>>
>>>
>> This is failing because you're not following the full set of directions,
>> you need to use the -O flag to onu to make it not try and use
>> repo.extra.
>>
>
> Just to understand the full set of directions: you understand I don't
> need to upgrade from onnv_142 to onnv_145, and then to illumos bits, and
> then I can upgrade from onnv_142 to illumos bits in one single step just
> using the "-O" flag?
> Thanks, Rich!
> Best regards,
>
> HeCSa.
>> -- Rich
>>
>
>
>
>
>
> _______________________________________________
> Developer mailing list
> Developer at lists.illumos.org
> http://lists.illumos.org/m/listinfo/developer
>



-- 
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com



      



More information about the Developer mailing list