Chapter 02 System Boot HP-UX Handbook Revision 13.
Chapter 02 System Boot October 29, 2013 TERMS OF USE AND LEGAL RESTRICTIONS FOR THE HP-UX RECOVERY HANDBOOK ATTENTION: PLEASE READ THESE TERMS CAREFULLY BEFORE USING THE HP-UX HANDBOOK. USING THESE MATERIALS INDICATES THAT YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THESE TERMS, DO NOT USE THE HP-UX HANDBOOK. THE HP-UX HANDBOOK HAS BEEN COMPILED FROM THE NOTES OF HP ENGINEERS AND CONTAINS HP CONFIDENTIAL INFORMATION.
Chapter 02 System Boot October 29, 2013 TABLE OF CONTENTS Introduction ______________________________________________________________________ 4 Step 1: Processor Dependent Code (PDC) _______________________________________________ 4 Step 2: Initial System Loader (ISL) _____________________________________________________ 5 Step 3: Loading the Kernel ___________________________________________________________ 7 Step 4: Starting the Subsystems ______________________________________________________ 9 Step 5
Chapter 02 System Boot October 29, 2013 Introduction Once a machine powers on, the firmware controls the system until the operating system (OS) executes.
Chapter 02 System Boot Available Memory Good Memory Required Primary boot path: Alternate boot path: Console path: Keyboard path: : : 262144 37268 October 29, 2013 KB KB 0/0/2/0.0 0/0/1/1.0 0/0/4/0.0 0/0/4/0.0 Processor is starting autoboot process. To discontinue, press any key within 10 seconds. Boot terminated.
Chapter 02 AUTO System Boot -12289 1752 1 0 October 29, 2013 01/05/31 06:54:10 The values represent 256 Byte units, so the ISL starts e.g. at offset 146K. All LVM boot disks (created with pvcreate –B) reserve space between their PVRA and VGRA to hold a BDRA and the LIF files. Their LVM header size is always 2912K. In addition to the files above there may be additional files, e.g. for the Offline Diagnostics. A PAD file may be used to fill (pad) unneeded space with zeros.
Chapter 02 System Boot October 29, 2013 See isl man page for further details. Step 3: Loading the Kernel The hpux program (also known as the secondary loader) figures out what HP-UX kernel to load and what arguments to pass to it. The AUTO file or user input supply the loader’s arguments.
Chapter 02 System Boot October 29, 2013 hpux provides some other useful features like: ISL> hpux ll Shows the content of the boot filesystem /stand. This is useful if the kernel cannot be found ISL> hpux show autofile The content of the LIF file AUTO is shown. This is identical to the ISL utility lsa (see above) ISL> hpux set autofile Sets the content of the LIF file AUTO to whatever you specify in . For additional arguments of hpux, see hpux man page.
Chapter 02 System Boot October 29, 2013 Boot : disk(0/0/2/0.0.0.0.0.0.0;0)/stand/vmunix 9310208 + 1843200 + 1733192 start 0x1f0ae8 alloc_pdc_pages: Relocating PDC from 0xf0f0000000 to 0x1fb01000. gate64: sysvec_vaddr = 0xc0002000 for 2 pages NOTICE: autofs_link(): File system was registered at index 3. NOTICE: cachefs_link(): File system was registered at index 5. NOTICE: nfs3_link(): File system was registered at index 6.
Chapter 02 System Boot October 29, 2013 sfd:123456:respawn:/sbin/sfd The inittab file is composed of entries that are position-dependent and have the following format: id:rstate:action:process The entry fields are: id A one- to four-character value used to uniquely identify an entry. rstate defines the run level in which this entry is to be processed. A process can be assigned to one or more run levels. No entry in this fields means all run level.
Chapter 02 System Boot October 29, 2013 vxfs fsck: sanity check: root file system OK (mounted read/write) Checking hfs file systems /sbin/fsclean: /dev/vg00/lvol1 (mounted) ok HFS file systems are OK, not running fsck Checking vxfs file systems /dev/vg00/lvol8 : vxfs fsck: sanity check: /dev/vg00/lvol8 OK /dev/vg00/lvol9 : vxfs fsck: sanity check: /dev/vg00/lvol9 OK /dev/vg00/lvol3 : vxfs fsck: sanity check: root file system OK (mounted read/write) /dev/vg00/lvol4 : vxfs fsck: sanity check: /dev/vg00/lvo
Chapter 02 System Boot Start OSPF MIB Network Management subAgent ................ Start SNMP HP-UNIX Network Management subAgent ............ Start SNMP MIB-2 Network Management subAgent .............. Start DCE daemons ......................................... Start DFS daemons ......................................... Start NCS broker daemons .................................. Start Gradient License Server Daemon ...................... Start remote boot daemon ..................................
Chapter 02 System Boot October 29, 2013 Palo Alto, CA 94304 U.S.A. Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19(c)(1,2). You have mail. Value of TERM has been set to "70094". WARNING: YOU ARE SUPERUSER !! HP-UX Handbook – Rev 13.
Chapter 02 System Boot October 29, 2013 Additional Information Manual Pages boot(1M), pdc(1M), isl(1M), hpux(1M), init(1M), inittab(4) Additional information about the boot process can be found in the System Recovery Chapter, Chapter-04. V-Class boot process is described in the V-Class Operator's Guide. Superdome boot process is described in the HP System Partitions Guide. Both documents can be found at http://docs.hp.com/hpux/hw.