Hi Jack and Zhong-Yuan,

as part of evaluating potential fix for bug 16714, I have built AI Sparc image based on 147 skipping compress() step in boot_archive_archive.py finalizer [1].

I basically commented out following section:

...
if IS_SPARC:
#    print "Doing compression..."
#    try:
#        compress(BA_BUILD, BA_LOFI_MNT_PT)
#    except Exception:
#        release_archive()
#        raise
...

However, in this case DDU fails with following messages in /tmp/install_log:

$ more /tmp/install_log
<AI Sep 10 15:29:24> /tmp/ai_combined_manifest.xml manifest setup and validated <AI Sep 10 15:29:26> ai_du_get_searched_pkg_list: Doing a device scan for devices which are missing drivers... <AI Sep 10 15:29:34> ai_du_get_searched_pkg_list: Querying manifest for explicit repo for getting missing driver packages... <AI Sep 10 15:29:34> ai_du_get_searched_pkg_list: Found repo in manifest: publisher:opensolaris.org, origin:http://ipkg.sfbay/dev <AI Sep 10 15:29:50> ai_du_get_searched_pkg_list: Manifest allows adding of third-party drivers <AI Sep 10 15:30:03> ai_du_get_searched_pkg_list: DDU returned package info for "video" type device "3DLabs Wildcat Realizm 500".
<AI Sep 10 15:30:03> ai_du_install_packages: Installing packages to /
<AI Sep 10 15:30:03>   UNK package at origin:
<AI Sep 10 15:30:03> ai_du_install_packages: Package not found for device: "3DLabs Wildcat Realizm 500" <AI_E Sep 10 15:30:03> ai_du_get_and_install: Error installing at least one searched package for <search_all>. <AI Sep 10 15:30:03> Warning: some additional driver packages could not be installed
  to booted installation environment.
These drivers may or may not be required for the installation to proceed.
  Will continue anyway...
...

With stock 147 AI Sparc image, it succeeds:

$ more /tmp/install_log
<AI Sep 14 08:40:46> /tmp/ai_combined_manifest.xml manifest created
<AI Sep 14 08:40:46> /tmp/ai_combined_manifest.xml manifest setup and validated <AI Sep 14 08:40:47> ai_du_get_searched_pkg_list: Doing a device scan for devices which are missing drivers... <AI Sep 14 08:40:55> ai_du_get_searched_pkg_list: Querying manifest for explicit repo for getting missing driver packages... <AI Sep 14 08:40:55> ai_du_get_searched_pkg_list: Found repo in manifest: publisher:opensolaris.org, origin:http://ipkg.sfbay/dev <AI Sep 14 08:41:15> ai_du_get_searched_pkg_list: Manifest allows adding of third-party drivers <AI Sep 14 08:41:57> ai_du_get_searched_pkg_list: DDU returned package info for "video" type device "3DLabs Wildcat Realizm 500".
<AI Sep 14 08:41:57> ai_du_install_packages: Installing packages to /
<AI Sep 14 08:41:57> PKG package at origin:opensolaris.org, name:driver/graphics/[email protected] <AI Sep 14 08:42:57> All additional driver packages successfully installed to booted installation environment.
...


DDU related section in my AI manifest looks like:

...
<add_drivers>
<search_all addall="true">
<source>
<publisher name="opensolaris.org">
<origin name="http://ipkg.sfbay/dev"/>
</publisher>
</source>
</search_all>
</add_drivers>
...

Do you happen to have any idea why it might be failing ?

One of the differences between those two boot archives
I am aware of is that the modified boot archive preserves
/var/sadm/pkg/*/pkginfo.* hardlinks. This is what fix for 16714
is aiming for. Might it be source of the problems here ?

Thank you very much,
Jan

[1] http://src.opensolaris.org/source/xref/caiman/slim_source/usr/src/cmd/distro_const/utils/boot_archive_archive.py

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

Reply via email to