Sun's small machine starts the status command.

xiaoxiao2021-03-05  23

"These commands are initiated in the system"

1) Bootprom is equivalent to the CMOS of the PC, and the hardware and setting start options can be detected under bootrpom. The Sun system contains two basic hardware:  a. Bootprom chip  b. Non-volatile memory (NVRAM): Save the host's ID number and start options to set bootprom basic command: banner (Enter Banner) After startup, enter banner will make the input Content becomes ASCII character) OK Banner

Sun Ultrasparc 60 UPA / PCI (2 x Ultrasparc-II 296MHz), Keyboard Present Openboot 3.11, 256 MB Memory Installed, Serial # 3159808. Ethernet Address 8: 0: 22:

1A

: E7:

3F

Host ID: 72303700. ok banner Commands The basic configuration information of the system, including machine model, CPU number, and frequency, memory size, Ethernet address, host serial number, etc.  Boot command and parameter ok boot [device_name] - [options] option includes: a interactive start operating system R reconfiguous operating system hardware information S operating system enters debug status (single user mode) v Display startup information OK Boot Disk2 -r 2) Printenv Command Displays the settings and default values ​​for NVRAM variables. ok printenv Parameter Name Value Default Value tpe-link-test? true true output-device ttya screen input-device ttya keyboard sbus-probe-list f0123 f0123 keyboard-click? false false diag-file diag-device net net boot-file boot -Device disk2 disk auto-boot? True True More [,, Q]? Q OK 3) setENV command setENV sets the parameter value of the PROM, the common parameters are: Parameter Value AUTO-BOOT? TRUE Next Automatically start the operating system FALSE Launches next time, boot-device CDROM starts the operating system from the optical drive Start operating system DISK2 Note from the second hard drive Note: Since the Ultra 5 does not have a built-in SCSI port, only the network card with the SCSI port. At this point, the boot disk should be: OK STENV Boot-Device / PCI @

Allf

0 / PCI @ 1 / PCI @ 1 / sunw, isptwo @ 4 / sd @ 2,0: a Ultra 60 external hard disk startup should be: ok setENV boot-device / pci @

Allf

, 4000 / SCSI @ 3,1 / disk @ 2,0: a

Explanation: Under normal circumstances use auto-boot? True is OK, set the startup to automatic, if special needs, STOP A can enhance the system when it is turned on, boot cdrom starts from the CD, boot disk starts from the hard disk 4) set-defaults All parameters of NVRAM restore keyboard input when the default value machine starts  5) STOP If you press the STOP button while the system is poweredate, cancel the POST (power-on self-test) diagnosis, then stay in the OK status.  STOP D Press the STOP and D key at the same time when the system self-test, the system will automatically go to the diagnostic mode, and the system will perform more complete self-test in the diagnostic mode.  STOP N If the system cannot start properly due to incorrect settings of NVRAM, you can press the STOP and N to simultaneously press the STOP and N keys. Its role is to set NVRAM parameter values ​​to default.  STOP A Press the STOP and A to the operation of the operating system and return to the OK status. WARNING: Try not to press STOP A while operating the system, which will cause the operating system to stop and cause data loss. When you don't have to press STOP A, type the SYNC command to synchronize the data into the hard disk. Find system equipment 6) probe-scsi-all ok probe-scsi-all Target 3 Unit 0 Disk SEAGATE ST1480 SUN0424626600190016 Copyright (c) All Rights Reserved Target 6 Unit 0 Removable Read Only device SONY CD-ROM this command to find all the system SCSI device. Note: If you run this command after exiting from your operating system, you may cause the system to crash. Please set up the auto-boot? Run the reset-all for False, the system will re-use, stay in the OK state, and then you can run this command. 7) ProBe-IDE finds all IDE devices of the system. Ok Probe-Ide Device 0 (Primary Master) ATA Model: ST

34342A

Device 1 (Primary Slave) Not Present Device 2 (Secondary Master) removable ATAPI Model: CDR-8240B Device 3 (Secondary Slave) Removable ATAPI Model yyyyyyyyyyyyyyy Note: If you exit from the operating system and then run this command may cause system crashes . Ask the auto-boot? Run Reset-ALL after false, the system will re-use, stay in the OK state, then you can run this command. Device Detection 8) EJECT puts the floppy disk into the floppy drive, then entering Eject, the flopp is automatically popped up. 9) Watch-net-all tests all NIC and network status. Each network card test is divided into two parts: loop-back test and network line test. If the loop-back is passed, the NIC state is good. If the network line test is not passed, the network cable does not receive the signal.

Appendix: The hardware command can be detected at the system startup:

Ok Obdiag

Or OK Test-All

转载请注明原文地址:https://www.9cbs.com/read-35696.html

New Post(0)