Hi Isaac

My platform is SunFire 4470, it's the new x86 system, should be supported by solaris11.

And I found the problem is caused by command "bootadm -ea update-all fastboot", looks system try to update the boot archive and failed.The boot archive is damaged. if run "bootadm update-archive -v" manually before reboot ,it will be fine,similary with
this bug:

http://wesunsolve.net/bugid/id/6923901

Thanks!

Regards,
Lifeng


于 2012/5/21 14:52, 杨利锋 写道:
Hi Isaac
It is SunFire Server 4470.


于 2012/5/18 18:58, Isaac Rozenfeld 写道:
What is the SunFire server model that you are booting ?

On May 18, 2012, at 1:38 AM, 杨利锋 <lfy...@ceresdata.com <mailto:lfy...@ceresdata.com>> wrote:

hi Guys,
I try to make a custom text installation image
with this guide:
http://docs.oracle.com/cd/E23824_01

I append my dc_text_x86.xml, and made the image
successfully with it.It looks O.K. But after I
installed a SunFire server with this ISO, and reboot
the system at first time ,the system run the command
bootadm -ea update_all fastboot
and then system cannot be boot again, looks the
boot archive is damanged.There is error messages:

"failed to mount ramdisk for boot,
Unexpect trap
error code 0x0
...
...
Press any key to reboot
"
This problem not appears every time, I am confused for this.
Do I miss something or make some mistakes?
Any suggestion for this problem?

thanks!

Regards,
Lifeng





dc_text_x86.xml:
====================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dc SYSTEM "/usr/share/install/dc.dtd.1">

<dc>
<distro name="My ISO" add_timestamp="false">
<distro_spec>
<img_params>
<media_im>

<boot_mods title="My ISO" timeout="5">
<boot_entry default_entry="false" insert_at="end">
<title_suffix>Prodigy Backup</title_suffix>
<kernel_args></kernel_args>
</boot_entry>
</boot_mods>
</media_im>
</img_params>
</distro_spec>

<target name="desired">
<logical>
<zpool name="data" action="use_existing">
<filesystem name="dc/text2" action="preserve"/>
</zpool>
</logical>
</target>

<software name="transfer-ips-install" type="IPS">
<destination>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
href="/usr/share/distro_const/lang_facets.xml"/>
</destination>
<source>
<publisher name="solaris">
<origin name="http://192.168.0.246:8080"/>
</publisher>

</source>

<software_data action="install">
<name>pkg:/diagnostic/scanpci</name>
<name>pkg:/developer/debug/mdb</name>
<name>pkg:/compress/zip</name>
<name>pkg:/compress/gzip</name>
<name>pkg:/diagnostic/snoop</name>
<name>pkg:/diagnostic/powertop</name>
<name>pkg:/driver/fc/emlxs</name>
<name>pkg:/diagnostic/latencytop</name>
<name>pkg:/driver/crypto/tpm</name>
<name>pkg:/compress/unzip</name>
<name>pkg:/compress/bzip2</name>
<name>pkg:/driver/infiniband/connectx</name>
<name>pkg:/driver/fc/qlc</name>
<name>pkg:/driver/network/ethernet/e1000g</name>
<name>pkg:/driver/network/ethernet/bge</name>
<name>pkg:/driver/infiniband/tavor</name>
<name>pkg:/driver/network/ethernet/igb</name>
<name>pkg:/driver/network/ethernet/ixgb</name>
<name>pkg:/driver/network/ethernet/ixgbe</name>
<name>pkg:/driver/network/ethernet/iprb</name>
<name>pkg:/driver/network/ethernet/nge</name>
<name>pkg:/driver/parallel/ecpp</name>
<name>pkg:/driver/pcmcia</name>
<name>pkg:/driver/storage/blkdev</name>
<name>pkg:/driver/storage/mpt</name>
<name>pkg:/driver/storage/mpt_sas</name>
<name>pkg:/driver/storage/mr_sas</name>
<name>pkg:/driver/storage/pmcs</name>
<name>pkg:/driver/storage/ses</name>
<name>pkg:/driver/storage/smp</name>
<name>pkg:/editor/vim/vim-core</name>
<name>pkg:/naming/ldap</name>
<name>pkg:/network/dns/bind</name>
<name>pkg:/network/ipfilter</name>
<name>pkg:/network/open-fabrics</name>
<name>pkg:/network/ping</name>
<name>pkg:/network/rsync</name>
<name>pkg:/network/ssh</name>
<name>pkg:/network/ssh/ssh-key</name>
<name>pkg:/package/pkg</name>
<name>pkg:/security/nss-utilities</name>
<name>pkg:/security/sudo</name>
<name>pkg:/service/file-system/nfs</name>
<name>pkg:/service/network/smtp/sendmail</name>
<name>pkg:/service/network/ssh</name>
<name>pkg:/service/security/gss</name>
<name>pkg:/service/security/kerberos-5</name>
<name>pkg:/shell/bash</name>
<name>pkg:/shell/ksh</name>
<name>pkg:/system/boot-environment-utilities</name>
<name>pkg:/system/boot/grub</name>
<name>pkg:/system/core-os</name>
<name>pkg:/system/data/timezone</name>
<name>pkg:/system/device-administration</name>
<name>pkg:/system/dtrace</name>
<name>pkg:/system/dtrace/dtrace-toolkit</name>
<name>pkg:/system/fault-management</name>
<name>pkg:/system/fault-management/asr-notify</name>
<name>pkg:/system/fault-management/smtp-notify</name>
<name>pkg:/system/file-system/autofs</name>
<name>pkg:/system/file-system/hsfs</name>
<name>pkg:/system/file-system/nfs</name>
<name>pkg:/system/file-system/pcfs</name>
<name>pkg:/system/file-system/ufs</name>
<name>pkg:/system/file-system/zfs</name>
<name>pkg:/system/firmware-utilities</name>
<name>pkg:/system/install/configuration</name>
<name>pkg:/system/io/fc/fc-fabric</name>
<name>pkg:/system/io/fc/fc-port</name>
<name>pkg:/system/io/fc/fc-san-management</name>
<name>pkg:/system/io/fc/fc-scsi</name>
<name>pkg:/system/io/fc/ip-over-fc</name>
<name>pkg:/system/io/infiniband</name>
<name>pkg:/system/io/infiniband/ethernet-over-ib</name>
<name>pkg:/system/io/infiniband/ib-device-mgt-agent</name>
<name>pkg:/system/io/infiniband/ib-sockets-direct</name>
<name>pkg:/system/io/infiniband/ip-over-ib</name>
<name>pkg:/system/io/infiniband/open-fabrics</name>
<name>pkg:/system/io/infiniband/reliable-datagram-sockets</name>
<name>pkg:/system/io/infiniband/reliable-datagram-sockets-v3</name>
<name>pkg:/system/io/infiniband/rpc-over-rdma</name>
<name>pkg:/system/io/infiniband/udapl</name>
<name>pkg:/system/io/ultra-wideband</name>
<name>pkg:/system/io/usb</name>
<name>pkg:/system/kernel</name>
<name>pkg:/system/kernel/cpu-counters</name>
<name>pkg:/system/kernel/platform</name>
<name>pkg:/system/kernel/power</name>
<name>pkg:/system/kernel/suspend-resume</name>
<name>pkg:/system/keyboard/keyboard-utilities</name>
<name>pkg:/system/library/iconv/utf-8</name>
<name>pkg:/system/library/platform</name>
<name>pkg:/system/library/processor</name>
<name>pkg:/system/linker</name>
<name>pkg:/system/locale</name>
<name>pkg:/system/management/ilomconfig</name>
<name>pkg:/system/management/ipmitool</name>
<name>pkg:/system/network</name>
<name>pkg:/system/network/nis</name>
<name>pkg:/system/network/routing</name>
<name>pkg:/system/picl</name>
<name>pkg:/system/prerequisite/gnu</name>
<name>pkg:/system/resource-mgmt/dynamic-resource-pools</name>
<name>pkg:/system/resource-mgmt/resource-caps</name>
<name>pkg:/system/resource-mgmt/resource-pools</name>
<name>pkg:/system/scheduler/fss</name>
<name>pkg:/system/storage/fc-utilities</name>
<name>pkg:/system/storage/fcoe</name>
<name>pkg:/system/storage/fcoe/fcoe-initiator</name>
<name>pkg:/system/storage/iscsi/iscsi-initiator</name>
<name>pkg:/system/storage/iscsi/iscsi-iser</name>
<name>pkg:/system/storage/multipath-utilities</name>
<name>pkg:/system/storage/raid-utilities</name>
<name>pkg:/system/storage/sas-utilities</name>
<name>pkg:/system/storage/fcoe/fcoe-target</name>
<name>pkg:/system/storage/iscsi/iscsi-target</name>
<name>pkg:/system/storage/scsi-rdma/scsi-rdma-target</name>
<name>pkg:/system/storage/scsi-target-mode-framework</name>
<name>pkg:/system/system-events</name>
<name>pkg:/system/virtual-console</name>
<name>pkg:/system/zones</name>
<name>pkg:/system/zones/brand/brand-solaris</name>
<name>pkg:/text/less</name>
<name>pkg:/consolidation/ips/ips-incorporation</name>
<name>pkg:/driver/management/bmc</name>
<name>pkg:/driver/serial/asy</name>
<name>pkg:/driver/storage/ata</name>
<name>pkg:/driver/storage/cmdk</name>
<name>pkg:/driver/storage/cpqary3</name>
<name>pkg:/driver/storage/imraid_sas</name>
<name>pkg:/driver/storage/marvell88sx</name>
<name>pkg:/driver/storage/mega_sas</name>
<name>pkg:/driver/storage/scu</name>
<name>pkg:/driver/xvm/pv</name>
<name>pkg:/system/install/text-install</name>
<name>pkg:/system/install/media/internal</name>
<name>pkg:/service/network/telnet</name>
<name>pkg:/database/mysql-51</name>
<name>pkg:/network/iscsi/target/legacy</name>
<name>pkg:/service/file-system/smb</name>
<name>pkg:/service/storage/isns</name>
<name>pkg:/service/storage/ndmp</name>
<name>pkg:/service/storage/virus-scan</name>
<name>pkg:/service/storage/zfs-auto-snapshot</name>
<name>pkg:/system/fault-management/eversholt-utilities</name>
</software_data>
</software>

<software name="set-ips-attributes" type="IPS">
<destination>
<image img_root="{PKG_IMAGE_PATH}" action="use_existing"/>
</destination>
<source>
<publisher name="solaris">
<origin name="http://192.168.0.246:8080"/>
</publisher>
</source>
</software>
<!--
Items below this line are rarely configured
-->
<!--
This section defines the contents of the boot_archive
-->
<software name="ba-init" type="CPIO">
<destination>
<dir path="{BOOT_ARCHIVE}"/>
</destination>
<source>
<dir path="{PKG_IMAGE_PATH}"/>
</source>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
href="/usr/share/distro_const/boot_archive_contents_x86.xml"/>
<software_data action="install">
<name>kernel</name>
<name>boot</name>
<name>platform</name>
<name>system</name>
<name>lib</name>
<name>dev</name>
<name>devices</name>
<name>usr/lib/devfsadm/linkmod</name>
<name>root</name>
<name>jack</name>
<name>usr/sbin/ibd_delete_link</name>
<name>usr/sbin/ibd_upgrade</name>
<name>var/svc/manifest</name>
<name>var/svc/profile</name>
<name>var/sadm</name>
<name>etc</name>
</software_data>
<software_data action="uninstall">
<name>etc/gconf</name>
<name>etc/brltty</name>
<name>etc/gtk-2.0</name>
<name>etc/notices</name>
<name>var/sadm/pkg</name>
<name>usr/lib/locale</name>
<name>usr/gnu/share</name>
<name>usr/include</name>
</software_data>
</software>
<!--
Execution section: This section lists the checkpoints that are run to
create an image. The checkpoints listed below are run in order.
-->
<execution stop_on_error="true">
<checkpoint name="transfer-ips-install"
desc="Transfer pkg contents from IPS"
mod_path="solaris_install/transfer/ips"
checkpoint_class="TransferIPS">
<kwargs>
<arg name="show_stdout">true</arg>
</kwargs>
</checkpoint>
<checkpoint name="set-ips-attributes"
desc="Set post-install IPS attributes"
mod_path="solaris_install/transfer/ips"
checkpoint_class="TransferIPS"/>
<checkpoint name="pre-pkg-img-mod"
desc="Pre package image modification"
mod_path="solaris_install/distro_const/checkpoints/pre_pkg_img_mod"
checkpoint_class="TextPrePkgImgMod">
<!--
root user/role password in the image.
-->
<!--
The default hostname for images is 'solaris'. Setting
the hostname here will override the default.
-->
<kwargs>
<arg name="root_password">solaris</arg>
<arg name="is_plaintext">true</arg>
<!-- uncomment before using
<arg name="hostname">hostname</arg>
-->
</kwargs>
</checkpoint>
<checkpoint name="ba-init"
desc="Boot Archive Initialization"
mod_path="solaris_install/transfer/cpio"
checkpoint_class="TransferCPIO"/>
<checkpoint name="ba-config"
desc="Boot Archive Configuration"
mod_path="solaris_install/distro_const/checkpoints/boot_archive_configure"
checkpoint_class="TextBootArchiveConfigure">
</checkpoint>
<checkpoint name="ba-arch"
desc="Boot Archive Archival"
mod_path="solaris_install/distro_const/checkpoints/boot_archive_archive"
checkpoint_class="BootArchiveArchive">
<!--
compression_type/compression_level to be used in compressing the
boot_archive. Valid types are gzip and none.

size_pad increases the amount of free space in the boot_archive
at the expense of available memory on the booted system.

bytes_per_inode is used to control the 'nbpi' used in sizing up the
boot_archive
-->
<kwargs>
<arg name="compression_type">gzip</arg>
<arg name="compression_level">9</arg>
<arg name="size_pad">0</arg>
<arg name="bytes_per_inode">0</arg>
</kwargs>
</checkpoint>
<checkpoint name="boot-setup"
desc="Setup boot menu"
mod_path="solaris_install/boot/boot"
checkpoint_class="TextISOImageBootMenu"/>
<checkpoint name="pkg-img-mod"
desc="Pkg image area modification"
mod_path="solaris_install/distro_const/checkpoints/pkg_img_mod"
checkpoint_class="TextPkgImgMod">
<!--
compression_type controls the compression algorithm to be used in
compressing solaris.zlib and solarismisc.zlib. Valid values are gzip
and lzma
-->
<kwargs>
<arg name="dist_iso_sort">
/usr/share/distro_const/sort/text_x86.sort</arg>
<arg name="compression_type">lzma</arg>
</kwargs>
</checkpoint>
<checkpoint name="create-iso"
desc="ISO media creation"
mod_path="solaris_install/distro_const/checkpoints/create_iso"
checkpoint_class="CreateISO">
</checkpoint>
<checkpoint name="create-usb"
desc="USB media creation"
mod_path="solaris_install/distro_const/checkpoints/create_usb"
checkpoint_class="CreateUSB">
</checkpoint>
</execution>

<!--
SMF service profiles to be applied to the boot_archive.

These profiles are applied in the order they are specified.
-->
<configuration name="pre-pkg-img-mod" type="sysconf"
source="/etc/svc/profile/generic_limited_net.xml">
<validation path="/usr/sbin/svccfg" args="apply -n"/>
</configuration>
<configuration name="pre-pkg-img-mod" type="sysconf"
source="/usr/share/distro_const/profile/generic.xml">
<validation path="/usr/sbin/svccfg" args="apply -n"/>
</configuration>
<configuration name="pre-pkg-img-mod" type="sysconf"
source="/usr/share/distro_const/profile/text.xml">
<validation path="/usr/sbin/svccfg" args="apply -n"/>
</configuration>
<configuration name="pre-pkg-img-mod" type="sysconf"
source="/etc/svc/profile/ns_files.xml">
<validation path="/usr/sbin/svccfg" args="apply -n"/>
</configuration>
</distro>
</dc>

_______________________________________________
install-discuss mailing list
install-discuss@opensolaris.org <mailto:install-discuss@opensolaris.org>
http://mail.opensolaris.org/mailman/listinfo/install-discuss


_______________________________________________
install-discuss mailing list
install-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/install-discuss

Reply via email to