Andrew Gallatin wrote: > > Please let us know if it works. I've also been frequently hit with > the boot archive paranoia. >
Ok. I have a recipe that seems to work... Before attempting any driver install (i.e. make sure driver files are not present in /kernel) make sure that your boot archive is up-to-date (i.e. bootadm update-archive). Now copy: /platform/i86pc/boot_archive -> /platform/i86pc/boot_archive.good /platform/i86pc/amd64/boot_archive -> /platform/i86pc/amd64/boot_archive.good add the following entry to grub and set it as your default: #---------- ADDED BY BOOTADM - DO NOT EDIT ---------- title Solaris Express Community Edition X86 (Known Good) kernel$ /platform/i86pc/kernel/$ISADIR/unix module$ /platform/i86pc/$ISADIR/boot_archive.good #---------------------END BOOTADM-------------------- and patch /lib/svc/method/boot-arhive as follows: @@ -61,13 +61,4 @@ /sbin/bootadm update-archive -vn | grep -v "cannot find" > /dev/msglog cecho "" -cecho "The recommended action is to reboot to the failsafe archive to correct" -cecho "the above inconsistency. To accomplish this, on a GRUB-based platform," -cecho "reboot and select the \"Solaris failsafe\" option from the boot menu." -cecho "On an OBP-based platform, reboot then type \"boot -F failsafe\". Then" -cecho "follow the prompts to update the boot archive. Alternately, to continue" -cecho "booting at your own risk, you may clear the service by running:" -cecho "\"svcadm clear system/boot-archive\"" -cecho "" - -exit $SMF_EXIT_ERR_FATAL +exit $SMF_EXIT_OK This makes sure that you always boot off your driver-less boot archive, so your driver cannot crash the system on reboot and it makes sure that smf merely whinges rather than stalling the boot. All you then have to do to test a new copy of your driver is move it into place, rem_drv it (to clean up /etc/name_to_major etc.) and add_drv it again. Paul _______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss