Thanks for the details Jan, I'll give that a try.

--Jens

jan damborsky wrote:
> Hi Jens,
> 
> 
> Jens Deppe wrote:
>> Hello,
>>
>> I came across this bug report:
>>
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=4233
>>
>> and was wondering how to enable the level of debugging seen here?
> 
> Currently, the way to enable debug output is not quite
> straightforward and user friendly  :-)
> 
> I have filed following bug for this and we will be working
> on improvement as soon as dust settles a little bit:
> 
> 4443 Automated Installer needs support for better observability
> 
> In the meantime, it is necessary to directly modify microroot -
> after you create the service and install AI image is copied to
> the destination directory, you need:
> 
> [1] better save your original microroot
> # cp <path_to_AI_image_destination>/boot/x86.microroot 
> <path_to_AI_image_destination>/boot/x86.microroot.orig
> 
> [2] uncompress and mount the microroot
> # cp <path_to_AI_image_destination>/boot/x86.microroot /tmp/x86.microroot.gz
> # cd /tmp
> # gunzip x86.microroot.gz
> # mkdir mr
> # mount /tmp/x86.microroot /tmp/mr
> 
> [3] Enable debug mode in /lib/svc/method/auto-installer
> * edit /tmp/mr/lib/svc/method/auto-installer using your favorite
> editor and add following lines just before AI engine is invoked
> on line "$AI_ENGINE -p $AISC_MANIFEST"
> 
> ...
> LS_DBG_LVL=4
> export LS_DBG_LVL
> LS_DEST=3
> export LS_DEST
> 
> $AI_ENGINE -p $AISC_MANIFEST
> ret=$?
> ...
> 
> [4] compress the microroot
> # umount /tmp/mr
> # gzip -c /tmp/x86.microroot > 
> <path_to_AI_image_destination>/boot/x86.microroot
> 
> [5] boot you AI client :-)
> 
> Thanks,
> Jan
> 
> 
>> Thanks
>> --Jens
>> _______________________________________________
>> caiman-discuss mailing list
>> caiman-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
> 
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to