Unit 2 The Boot Prom Open Boot Randy
Unit 2 – The Boot Prom – Open. Boot Randy Marchany VA Tech Computing Center va-scan Copyright 2002, Marchany
Introduction w Open. Boot is the firmware that controls the boot process of a Sun workstation. w It contains diagnostic commands that can help you determine HW configurations. w It is similar to the PC-BIOS of Intel platforms. w Open. Boot controls the monitor. It has no printscreen capability. va-scan Copyright 2002, Marchany
Open. Boot w Open. Boot commands can be entered directly from the system console or from a serial terminal connected to the TTYA or TTYB port on a Sparc workstation. w Press STOP-A to get in Open. Boot mode if using the monitor. w Press BREAK (CTRL-]) then ‘send break’ if connected through a telnet session. va-scan Copyright 2002, Marchany
Open. Boot w Initial output is a banner that describes the type of SPARC processor, Open. Boot version, memory size, Ethernet address. w Can be set up to boot automatically or wait for additional commands – type b (boot), c (continue) or n (new command mode) – b, c options go to Restricted Monitor mode – N selects full Open. Boot mode, prompt goes from > to OK. – Use the help command to get a full list of commands va-scan Copyright 2002, Marchany
Open. Boot Keyboard Commands Action Effect STOP-A Abort the system STOP Bypass POST STOP-D Enter diagnostic mode STOP-N Go Reset NVRAM to defaults Resume operation Synchronize disk data va-scan Copyright 2002, Marchany
Open. Boot – Device Aliases w Sun hardware names are mysterious at best. w You can create aliases for these device names. w Common commands – – – va-scan . attributes – list device attributes. properties – newer version of. attributes cd – change directory printenv – displays environment variables setenv – set the environment variables show-disks – list disk devices attached to system Copyright 2002, Marchany
Open. Boot w The “auto-boot? ” environment variable tells Open. Boot to automatically boot the system after any failure if it’s set to TRUE. w Otherwise, the system will remain at the OK prompt until you manually enter the boot command. w Open. Boot builds a map of all devices connects to the system during boot. This is called a device tree. va-scan Copyright 2002, Marchany
Open. Boot Device Trees w The device tree describes all elements of the computer configuration. w Properties: characteristics of the device like its address w Methods: the commands you can issue that involve the device w Self-test: example of a method w Children/parent: describes the HW unit above and below the device va-scan Copyright 2002, Marchany
Open. Boot Device Tree w Top of the tree is the SPARC processor. w Next level: HW devices present on the motherboard – memory, bus (sbus or PCI), serial ports, keyboard, mouse, etc. w Next level: controller card attached to the bus (SCSI or PCI). The bus can have multiple controllers va-scan Copyright 2002, Marchany
Open. Boot Device Tree va-scan Copyright 2002, Marchany
Open. Boot Device Tree w /sbus@1 f, 0/esp@0, 40000/sd@3, 0: a w /sbus@1 f, 0 - the Sbus address w /esp@0, 40000 - the external controller address w /sd@3, 0: a - the unit attached to the controller w Labels, sd 0, sd 1 are usually SCSI disks. w Use an alias instead of this long name. va-scan Copyright 2002, Marchany
Open. Boot Device Aliases w nvalias command creates a device alias. – Syntax: nvalias-name real-device-name – Example: nvalias bigdisk /pci@1 f, 0/pci@1, 1/ide@3/cdrom@2, 0: f w List all aliases with the. properties command w devalias command does the same thing but it’s temporary. Stays in effect until the next reset. Nvalias is the permanent command. va-scan Copyright 2002, Marchany
- Slides: 12