null

Обновление OBP из Solaris 10 начиная с u6

С течением времени из-за множественных багов и "фич" настает необходимость в обновлении OpenBoot PROM  (OBP).
На старых SPARC'ах c момента появления в Solaris 10 "boot archive" у многих пользователей возникает проблема с обновлением микрокода, но к сожалению документация к патчу не обновлена.
Рассмотрим эту процедуру на примере Sun Blade 100/150.
README файл нам предлагает следующую процедуру:

4) Preparing the System
   ---------------------
 
  a) As root, copy the latest "flash-update" files from the directory
     containing the patch to the root directory as follows:
 
     # cp flash*latest  /
     # chmod 755 /flash-update*
 
     In order to boot the binary, it must be located within the root
     partition.  If it is not already located within the root partition
     then move it to /.  If the binary is already located elsewhere 
     within the root partition then note the exact filepath so that the
     binary can be booted later.
 
  b) As root, exit the OS such that the system returns to the PROM's "ok"
     prompt: 
 
     # halt
 
       ok
 
  c) Power off the system.
 
.......

5)  Running the Flash Update Utility
    --------------------------------
 
  a) Power on the system
 
     Wait for the PROM's banner to appear, and then
 
  b) Use the Stop-A keys (or Break key, if running from a serial line) to
     abort the auto-boot sequence.
 
     ** NOTE **  If the flash update completes normally then the values
     contained within the system's Non-Volatile RAM (NVRAM) configuration
     variables will be retained.  However, if the update process is some-
     how interrupted then it is possible that any non-default values
     contained in NVRAM will be lost.  For this reason it is recommended
     that you note down on paper the contents of any NVRAM configuration
     variable which has been customized so that they may be manually
     restored at a later time, if necessary.  (Use the PROM's "printenv"
     command to list the variables and their values.)
 
  c) The system should now display the PROM monitor's "ok" prompt.
     Now boot the Flash update utility as given below:
 
     CAUTION: Do not boot/run revisions lower than the latest unless you
              are absolutely sure that that is what you want to do!
 
     ok boot disk /flash-update-Blade100-Blade150-latest

Однако, если следовать данному руководству вы получите ошибку вида "The file just loaded does not appear to be executable". Обновить микрокод можно использовав следующий сценарий:

копируем файл с микрокодом в корень загрузочного диска
# cp flash-update-Blade100-Blade150-latest /

делаем файл исполняемым
# chmod 755 /flash-update*

добавляем имя файла который необходимо добавить в boot archive
# echo flash-update-Blade100-Blade150-latest >> /boot/solaris/filelist.ramdisk

перестраиваем boot archive
# bootadm update-archive -v

загружаем Flash update utility
ok boot disk /flash-update-Blade100-Blade150-latest

В случае успешной загрузки вы должны увидеть примерно следующий текст:

Standalone Flash PROM Update Utility, Rev. 2.6
                        Ultra(tm) 1
                        Ultra(tm) 2
                        Ultra(tm) 5/10
                        Ultra(tm) 30
                        Ultra(tm) 60 / E220R
                        Ultra(tm) 80 / E420R
                        Ultra(tm) Enterprise(tm) 250
                        Ultra(tm) Enterprise(tm) 450
                        Sun Blade(tm) 100
                        Sun Blade(tm) 150
 
 
This utility allows you to interactively update the firmware
revisions in specific system Flash PROM components.

 

Работаю в компании Tune-IT. Круг профессиональных интересов:
* Администрирование Solaris/FreeBSD/Linux
* CISCO
* Удаленная диагностика неисправностей в системах SUN
* Предотвращение сетевых атак
* Обеспечение безопасности UNIX-систем
* Обеспечение безопасности беспроводных сетей

Ничего не найдено. n is 0