Home
Power Hawk Series 600 Console Reference Manual
Contents
1. gt qv 187b4 Fnd in ibat0 u 0x0000007e 1 0x00000003 00018704 Vaddr 0x000187b4 SID 0x0 1 PTE 0 0x01e00600 80000000 00018010 000187b4 PTE 1 0x01e00608 00000000 00000000 PTE 2 0x01e00610 00000000 00000000 PTE 3 0 01 00618 00000000 00000000 PTE 4 0x01e00620 00000000 00000000 PTE 5 0x01e00628 00000000 00000000 PTE 6 0x01e00630 00000000 00000000 1 PTE 7 0x01e00638 00000000 00000000 2 PTE 0 OxOleff9cO 00000000 00000000 2 PTE 1 OxOleff9c8 00000000 00000000 2 PTE 2 OxOleff9dO 00000000 00000000 2 PTE 3 OxOleff9d8 00000000 00000000 2 PTE 4 OxOleff9eO 00000000 00000000 2 PTE 5 OxOleff9e8 00000000 00000000 2 PTE 6 OxOleff9f0 00000000 00000000 2 PTE 7 OxOleff9f8 00000000 00000000 f qv a00000 Vaddr 0x00a00000 SID 0x0 PTE 0 0x01e28000 00000000 00000000 PTE 1 0x01e28008 00000000 00000000 PTE 2 0x01e28010 00000000 00000000 PTE 3 0x01e28018 00000000 00000000 PTE 4 0x01e28020 00000000 00000000 PTE 5 0x01e28028 00000000 00000000 PTE 6 0x01e28030 00000000 00000000 1 PTE 7 0x01e28038 00000000 00000000 2 PTE 0 OxOled7fcO 00000000 00000000 2 PTE 1 OxOled7fc8 00000000 00000000 2 PTE 2 OxOled7fdO 00000000 00000000 2 PTE 3 Ox0Oled7fd8 00000000 00000000 2 PTE 4 OxOled7feO 00000000 00000000 2 PTE 5 Ox0led7fe8 00000000 00000000 2 PTE 6 OxOled7ff0 00000000 00000000 2 PTE 7
2. 03 63 38 53 60 50 41 17 CO FF EE DO 02 37 03 63 38 53 60 50 41 17 CO FF EE DO CO 02 37 SP 20 0C OD EE FF OC 71 14 05 06 35 83 36 30 63 CR 33 07 01 00 AC DC FE 98 48 42 43 16 41 44 FF 70 CR 44 14 61 34 24 84 89 EF CD CA 00 10 70 33 54 Table 3 2 lists the character sequences that you may enter to edit the commands discussed in this chapter Table 3 2 Console Special Key Functions Press Function DEL Delete the last character typed CTRL C A soft reset to the console that aborts the command in progress CTRL H Delete the last character typed CTRL O Flush output characters until next O error or input prompt occurs CTRL Q XOFF Stops Scrolling CTRL P Re display the current input line CTRL S XON Starts Scrolling CTRL U Delete entire input line lt CR gt h Halt the processor and enter console mode lt CR gt i Halt the processor This character sequence was added for compatibility purposes only and for the PowerMAX OS computer systems performs the same function as the lt CR gt h_ sequence lt CR gt k Enter PowerMAX OS kernel debugger lt CR gt b Reset system and reload console Console Debugging Commands CAUTION When in the user mode keystroke strings which are identical to the lt CR gt commands are recognized by the system as console
3. r lt n gt xecute n times 0 infinite times 3 63 Power Hawk Series 600 Console Reference Manual 3 64 A Command Summary The following is an alphabetical list of the console commands along with their definition and syntax A ASCII Dump a format b lt n gt start address address a format b n start address byte count p Breakpoints List b Breakpoints Set b 7a 70 b lt n gt address Breakpoints Clear bk address all C Copy Memory c format b n source start address source end address destination start address c format b n source start address byte count destination start address D Display Memory in Hexadecimal d format b n start address address d format b n start address byte count Disassemble Memory di b n start address end address di b n start address byte count 1 Power Hawk Series 600 Console Reference Manual E Examine Change Memory e format b lt n gt start address data F Boot Operating System fb Display Directory fc dir name Display Set the Default Device fd 1 dev Display Mounted File Systems fh Load and Execute a Program fr spec base ZG General Register Display Modify g register name data I Initialize Memory to Value Fill i format i format b n start address end addre
4. Power Hawk Series 600 Console Reference Manual Title formerly Motorola Single Board Computer SBC Console Reference Manual 0830050 040 March 2001 CAUTIONARY NOTICE While the manufacturer has attempted to detail in this manual all areas of possible danger to personnel in conjunction with the use of this equipment personnel should use caution when installing checking out operating and servicing this equipment especially when power is on As with all electronic equipment care should be taken to avoid electrical shock in all circuits where substantial currents or voltages may be present either through design or short circuit Caution should be observed in hoisting equipment especially regarding large structures during installation The Manufacturer is specifically not liable for any damage or injury arising out of a worker s failure to follow the instructions contained in this manual or in his failure to exercise due care and caution in the installation operation checkout and service of this equipment PROPRIETARY DATA This document the design contained herein the detail and invention are considered proprietary to Concurrent Com puter Corporation As the property of Concurrent Computer Corporation it shall be used only for reference contract or proposal work by this corporation or for field repair of Concurrent products by Concurrent Computer Corporation service personnel customers or end users Copyright 2001 by Concu
5. OxOled7ff8 00000000 00000000 pp 11 pp 00 Console Debugging Commands qy QUERY BOOT OPTIONS ay Purpose This command displays processor cache status Syntax Examples The following is a valid command gt y0 gt qy CPU 0 001 primary data cache y 002 primary instruction cache y 004 branch history table y 008 L2 Cache 256K y 010 L2 Cache Copyback y 3 41 Power Hawk Series 600 Console Reference Manual 3 42 r EXECUTE RUN r Purpose This command starts the processor executing code The initial program counter is either specified by the starting address or is taken to be the current value of the program counter Function The r command inserts breakpoints and starts the processor executing at the start address If start address is not specified use the current program counter value as the starting address Syntax r start address start address The address the processor jumps to If you do not specify a start address the value of the program counter is used Example The following is a valid command r100 0 0 1 Puts the value 1 into r3 and runs the program at memory location 100 Additional examples of the run command are shown below gt b cnputs breakpoint at _cnputs gt Processor 0 breakpoint CR C0083DEO 00083DE0 cnputs 67FFF040 subu r31 r31 0x40 Console Debugging Commands ra EXECUTE RUN TO ADDRESS ra Purpose This command starts the pro
6. s QU WS Be we CHER 000000D0 a ERM de dol Q C WD oue d Qu 000000E0 A Cn s Jw SEA We ip we WO 2 367 i9 000000F0 De cir sign Ae ckf u olm SOR AS zd ASCII Dump of Right Most Byte in Each Word Initial Address of 0 gt 0 00000000 Qr Low ow M 00000010 e ox b 00000020 2 5 amp 00000030 00000040 00000050 00000060 00000070 00000080 se 2 G 00000090 UG xo aS 000000A0 00000080 000000C0 000000D0 000000E0 000000F0 00 Power Hawk Series 600 Console Reference Manual a ASCII DUMP Continued ASCII Dump by Longword al O 00000000 T uu ud 00000010 E 00000020 00000030 00000040 00000050 00000060 00000070 00000080 2 00000090 fe tee li 000000A0 000000B0 000000C0 000000D0 000000E0 000000F0 gt ASCII Dump in Various Formats ab 0 10 00000000 H C P 1 ab 0 4 00000000 He ee Pl aw O 4 00000000 Gu al O 4 00000000 i gt ab O f 00000000 H C P 1 3 10 Console Debugging Commands b LIST BREAKPOINTS b Purpose This command lists breakpoints for all of the processors Function Some of the breakpoint commands have options preceded by dashes which are listed below For a more detailed description of the options refer to
7. The following are valid commands Search for the pattern 0x70 starting at address 0 Search for a byte with pattern 4 starting at address 0 3 47 Power Hawk Series 600 Console Reference Manual 3 48 5 Sample search procedures are shown below SEARCH MEMORY FOR DATA Continued SEARCH FOR THE PATTERN F0 STARTING AT ADDRESS 0 gt i O 1000 0 gt w 4FC 0 gt 0 FO CR No mat o mat o mat mat zu 000004 000004 000004 000004 000004 000004 000004 000004 000004 000004 000004 000004 000004 000004 000004 000004 ch ch ch ch 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00000000 00000100 00000200 00000300 r 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000000 00 00000000 000000 00 00000000 000000 00 00000000 000000 00 00000000 000000 00 00000000 000000 00 00000000 000000 00 00000000 00000000 00000000 00000 000 00000000 00000 00000 00000 000 000 000 00000000 00000 00000 00000 000 000 000 00000000 00000 000 00000000 00000 000 00000000 00000000 00000 000 SEARCH FOR THE PATTERN 70 STARTING AT ADDRESS 0 gt s0 000000 000000 000000 000000 000000 000000 000000 000000 000000
8. 000000 000000 000000 000000 000000 000000 000000 70 00 10 20 30 40 50 60 70 80 90 A0 BO CO DO EO FO 00000000 000000 10 00000020 00000030 00000040 00000050 000000 00000070 60 00000080 000000 90 000000A0 00000080 000000C0 000000 000000 DO EO 000000F0 00000004 00000014 00000024 00000034 00000044 00000054 00000064 00000074 00000084 0000 000000A4 00B4 000000C4 0000 0000 000000E4 00F4 0000 00 00 94 D4 00 00 00 00 00 00 00 000008 000018 000028 000038 000048 000058 000068 00000078 00 00 000088 000098 000000A8 00 00 00 00 00 0000B8 0000C8 0000D8 0000E8 0000F8 00 000000 00000000 00 000000 00000000 00 000000 00000000 00 000000 00000000 00 000000 00000000 00 000000 00000000 00 00 00 000000 000000 000000 000000F0 Pattern match 0000000C 0000001C 0000002C 0000003C 0000004C 0000005C 000000 6 0000007C 0000008C 000000 9C 000000AC 000000BC 000000CC 000000DC 0000001 EC 000000FC Console Debugging Commands 5 SEARCH MEMORY FOR DATA Continued 5 SEARCH FOR A BYTE WITH PATTERN 4 STARTING AT ADDRESS 0 gt sBO 4 00000000 00 00 00 00 00 00 00 04 00 00 00 08 00 00 00 OC 00000010 0000001000000014 0000 00 18 00 00 00 1C 00000020 00 00 00 20 00 00 00 24 0
9. byte count A 5 Power Hawk Series 600 Console Reference Manual A 6 Processor Register Display Modify p register name data Search Memory for Data s format b n start address pattern mask Search Memory Range for Data sr format b n start address end address pattern mask sr format b n start address byte count pattern mask Write Data to Memory w format b n start address lt data0 gt data1 FILE OPERATIONS Boot Operating System fb Display Directory fc dir name Display Set the Default Device fd 1 dev Display Mounted File Systems fh Load and Execute a Program fr lt spec gt base EXECUTION List Breakpoints b Set Breakpoints b 7a 70 b lt n gt address Clear Breakpoints bk address all Execute Run r start address Execute Run To Address ra address Run Without Breakpoints rd start address Run To Next Instruction rn start address Run to Return Address rr start address Single Step Processor z address HELP Help Command t n List of commands t lt n gt lt command gt Help on one command t n Help on global options t n Help on parameters MISCELLANEOUS Global Command Options o l m r v b lt n gt Query Address qa lt address gt Query Backplane qb Query Stack qs Query Virtual Address qv lt virtual address gt Co
10. default W Write Data to Memory w format b n start address lt data0 gt data1 Y Initialize y flags z Single Step Processor z address Command Summary Help Command t n List of commands t n 2 command Help on one command t n Help on global options t n Help on parameters The following is a list of the console commands by function REGISTER AND MEMORY MANIPULATION ASCII Dump a format b n start address address a format b n start address byte count Copy Memory c format b lt n gt source start address source end address destination start address c format b n source start address byte count destination start address Display Memory in Hexadecimal d format b n start address end address d format b n start address byte count Disassemble Memory di b lt n gt start address end address di b n start address byte count Examine Change Memory e format b lt n gt start address data General Register Display Modify g register name data Initialize Memory to Value Fill b lt n gt start address end address fill value b n start address byte count fill value i format q i format q Memory Test m format b n start address end address m format b n start address
11. w or 1 format The default value is w in console mode and 1 in processor mode b n Specifies program base address The base address n is added to all addresses entered from the command line n is zero by default start address The hexadecimal address at which the operation starts The default value is 0 data The new value to be entered at start address repeaters See the command manipulators paragraph for explanation Examples The following are valid commands e BO Displays a longword of data starting at location BO eb 0 Displays the byte of data at location 0 ew0 5 Displays the current word of data at location 0 and then changes the contents to 5 Sample examine and change commands are shown below EXAMINE ONE BYTE AT ADDRESS 0 gt 0 00000000 00 EXAMINE ONE WORD AT ADDRESS 0 gt ew 0 00000000 0000 EXAMINE MEMORY STARTING AT ADDRESS 0 NO DATA SIZE SPECIFIED gt e0 lt CR gt lt Defaults to longword 00000000 00000000 lt The comma shows next longword 00000004 AB0007FF The period terminates command 3 20 Console Debugging Commands e EXAMINE CHANGE MEMORY Continued e EXAMINE WORD WITH VIRTUAL ADDRESS SPECIFIED gt e BFFF8000 CR BFFF800 00018000 00000000 DEPOSIT A LONGWORD IN MEMORY AND VERIFY THAT THE VALUE WAS STORED gt e10 CR 00000010 7FFABOO1 50 The user enters 50 and the console writes 50 to location 10 and
12. 0 a k a com1 If the system detects an equipped device either builtin or a VGA compatible expansion card AND a working keyboard then the default console device is normally assigned to the keyboard display combination The tc command allows an operator to modify this default behavior and select a specific system console device This setting can optionally be recorded in a non volatile RAM area and such that it will persist across Write to NVRAM without prompting the operator Reinitialize console TTY subsystem without prompting the operator This enables the changed settings immediately tc Purpose Function subsequent system boots Syntax tc w r lt device gt WwW r lt device gt One of serialO seriall kd default 1 and com2 Select first serial port Select second serial port Select keyboard VGA display Restore default behavior May be used as aliases for serialO and seriall respectively If device is omitted the currently selected console device is printed Examples Print currently selected console device gt tc default Force console device to the first serial port gt tc coml Update NVRAM Y N y Reinitialize TTY subsystem gt Y N Force console device to keyboard display gt tc w kd Reinitialize TTY subsystem gt Y N tc CONFIGURE CONSOLE DEVICE Continued The following are valid commands tc 3 51 Power
13. 6 Console Commands oL bres REA ERN OPE 3 7 Power Hawk Series 600 Console Reference Manual 3 Console Debugging Commands Summary of Commands A summary of the console command set is shown in Table 3 1 The console supports many debugging tasks such as those listed below Resetting and configuring the hardware Examining and changing the contents of registers and memory Setting and honoring breakpoints When the console is ready for a new command the following prompt is displayed gt The Help command symbol if used as a command line entry i e lt CR gt displays the list of available commands that are shown in Table 3 1 If information is only needed for a specific command that command symbol would be entered on the command line For example if the Examine Change Memory command were entered following the symbol i e e lt CR gt the screen would only display information related to that specific command Syntax Conventions The following conventions are used in the command syntaxes a ais mandatory a a is optional a b either a or b but not both The a option or b option can be used with the command but the a option cannot be used along with the b option Note that there may be a string of OR options i e a b c d e in this case you can only have one option either a or b or c etc 3 1 Power Hawk Series 600 Console Reference Manual 3 2 Table 3 1 Console Debugging
14. 640 Series error codes B 7 650 Series Error Codes B 8 6B0 Series Error Codes B 9 A Abort Button 2 4 Address Value 3 5 Alphabetical List of Commands 1 C Command Editing 3 6 Command Format 3 3 Command Manipulators 3 5 Command Manipulators 3 5 Command Parameter Definitions A 8 Command Specifier 3 4 Console Commands 3 7 ASCII DUMP 3 8 BOOT OPERATING SYSTEM 3 22 CLEAR BREAKPOINTS 3 13 CONFIGURE CONSOLE DEVICE 3 51 CONFIGURE CPU DOWN 3 53 CONFIGURE CPU UP 3 56 CONFIGURE KEYBOARD DEVICE 3 54 CONFIGURE VIDEO DEVICE 3 57 COPY MEMORY 3 14 DISASSEMBLE MEMORY 3 19 DISPLAY DIRECTORY 3 23 DISPLAY MEMORY IN HEXADECIMAL 3 16 DISPLAY MOUNTED FILE SYSTEMS 3 26 EXAMINE CHANGE MEMORY 3 20 EXECUTE RUN 3 42 EXECUTE RUN TO ADDRESS 3 43 GENERAL REGISTER DISPLAY MODIFY 3 28 GLOBAL COMMAND OPTIONS 3 33 HELP COMMAND 3 62 Index INITIALIZE 3 60 INITIALIZE MEMORY TO VALUE FILL 3 30 LIST BREAKPOINTS 3 11 LOAD AND EXECUTE A PROGRAM 3 27 MEMORY TEST 3 32 PROCESSOR REGISTER DISPLAY MODIFY 3 34 QUERY ADDRESS 3 37 QUERY BACKPLANE 3 38 QUERY BOOT OPTIONS 3 41 QUERY STACK 3 39 QUERY VIRTUAL ADDRESS 3 40 RUN TO NEXT INSTRUCTION 3 45 RUN TO RETURN ADDRESS 3 46 RUN WITHOUT BREAKPOINTS 3 44 SEARCH MEMORY FOR DATA 3 47 SEARCH MEMORY RANGE FOR DATA 3 50 SET BREAKPOINTS 3 12 SINGLE STEP PROCESSOR 3 61 WRITE DATA TO MEMORY 3 59 Console Debugger Error Codes B 4 Console Debugging Commands Summary 3 2 Console Initialization 2 2 Console Interfa
15. Commands Summary Command Definition See Page No ASCII Dump 3 8 List Breakpoints 3 11 Set Breakpoints 3 12 bk Clear Breakpoints 3 13 Copy Memory 3 14 d Display Memory in Hexadecimal 3 16 di Disassemble Memory 3 19 e Examine Change Memory 3 20 fb Boot Operating System 3 22 fc Display Directory 3 23 fd Display Set Default Device 3 24 fh Display Mounted File Systems 3 26 fr Load and Execute a Program 3 27 g General Register Display Modify 3 28 i Initialize Memory to Value Fill 3 30 m Memory Test 3 32 Global Command Options 3 33 P Processor Register Display Modify 3 34 qa Query Address 3 37 qb Query Backplane 3 38 qs Query Stack 3 39 qv Query Virtual Address 3 40 qy Query Current Boot Options 3 41 r Execute Run 3 42 ra Execute Run to Address 3 43 rd Run Without Breakpoints 3 44 rn Run to Next Instruction 3 45 rr Run to Return Address 3 46 s Search Memory for Data 3 47 sr Search Memory Range for Data 3 50 tc Configure Console Device 3 51 Console Debugging Commands Table 3 1 Console Debugging Commands Summary Cont Command Definition See Page No td Configure CPU Down multiprocessor SBCs only 3 53 tk Configure Keyboard Device 3 54 tu Configure CPU Up multiprocessor SBCs only 3 56 tv Configure Video Device 3 57 w Write Data to Memory 3 59 y Initialize Boot Options Flags 3 60 z Sing
16. Probable tape read error Reset the system and retry the command If subsequent attempts also fail secure a new tape and retry command If with a new tape the attempt fails suspect the device is malfunctioning and should be replaced error 064 Device reports end of medium This type of error occurs for an unexpected filemark or the End Of Valid Data indicator was hit during tape operations Probable tape read error Reset the system and retry the command If subsequent attempts also fail secure a new tape and retry command If with a new tape the attempt fails suspect the device is malfunctioning and should be replaced error 064 Device busy This error occurs when an unexpected BUSY condition is reported by the SCSI device Reset the system and retry the command If the error condition still exists suspect a device malfunction and replace suspected device 650 Series Console Errors These error codes 0650 through 065A apply to the SCSI Adapter and the definition of the symptom will reflect which controller is displaying the error code For example if error 0650 Bad NCR module id is displayed on the console terminal then the NCR controller is the source of the error code error 0650 Bad module id A probe for a controller returned a bad module id code Ensure that a controller exists in the slot being probed If a controller exists suspect the controller Error Codes error 0651 Bad bus no An open of
17. R W register_name The general purpose register to be examined or changed data The new hexadecimal value to be entered at register_name repeaters See the command manipulators paragraph for explanation Console Debugging Commands g GENERAL REGISTER DISPLAY MODIFY Continued g Examples The following are valid commands gpc Display contents of the program counter gri Display contents of data register r1 g Displays contents of all general registers An examine all general register values example is shown below 854 pc 000187C4 msr 00001010 cr 48800000 spl 00000061 ro 0000F084 rl FFDO40B8 r2 00000000 r3 00001010 r4 00002000 r5 0021E554 r6 00009032 r7 C22DE4F5 r8 00000001 r9 00000001 r10 002F2D19 rll 002F2D19 rl2 C22DE475 r13 0021E140 14 002F2D19 rl5 00000069 rl6 003EFE48 r17 00000069 r18 00000069 19 00000000 r20 00000001 r21 FFDO41FA r22 00000001 r23 00000061 24 0000006C r25 00009032 r26 00000000 r27 00000094 r28 DEADBEEF r29 00000020 r30 81818181 r31 OBADCODE lr 000187C4 ctr OlFC7EDS8 xer 00000004 mq 00000000 An examine and change register values example is shown below grl CR rl C002F7F2 lt Displays contents of register r1 Entering the comma displays r2 r2 00000000 Entering the comma displays r3 r3 81A40001 lt Entering the period finishes command gt gr2
18. a device was attempted with a bad bus number Ensure that a valid bus number 0 primary is specified on the d command error 0652 Bad slot no An open of a device was attempted with a bad slot number Ensure that a valid slot number 2 through 9 is specified on the d command error 0653 Bad ctrl no An open of a device was attempted with a bad controller number Ensure that a valid controller number 2 through 9 is specified on the d command error 0654 Bad unit no An open of a device was attempted with a bad drive number Ensure that a valid unit number 0 through 7 is specified on the d command error 0655 Bad partition no An open of a device was attempted with a bad partition number Ensure that a valid partition number 0 through 7 is specified on the d command error 0657 SCSI request sense failed This type of error occurs when a NCR or SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device or controller malfunction Attempt to run the I O diagnostic programs error 0658 SCSI inquiry failed This type of error occurs when a NCR or SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device or controller malfunction Attempt to run the I O diagnostic programs error 0659 SCSI test unit ready failed This type of error occurs when a NCR or SCSI device is malfunctioning Reset the syst
19. amp X PPCOFWA2 UM MTX Series Single Board Computer Programmer s MTXA PG X Reference Guide Contents Chapter 1 Introduction to the Console Chapter 2 Startup Chapter 3 Console Debugging Commands Appendix Command Summary Appendix B Error Codes Tables Overview of Console is prs RED eU ee Oa Uu Yea d 1 1 Console Terminal Selection s es sinnser reee e cece ees 1 1 System Imtiahzation ccce We be ee Re eg PERO CEU 2 1 PPCBug Initialization ies enes asua sa qasa E uQ 2 1 Console Initialization uu uswa usss sus kipas baa 2 2 System BOOL 4 euet Ur PR de e ue de be aS ES qe pee 2 3 Console Interface ce sns mi huyu E E e BEBO RE ES 2 3 System Entry to Console lseeseseeeeee es 2 3 Reset Button Lc sab ERES oP ER AEG epe ei HR edet e pe 2 4 Abort Button deu UE eng p n Pe CR ha ead Ea a 2 4 Summary of Commands 88 5 3 1 Syntax Conventions u u uusha e 3 1 Command Format s sede u qa y eR RR ERR REESE RES 3 3 Command Specifier 2 0 0 eee 3 4 Data Formats sig 48045 ss yee eee ew eas 3 4 Global Options e chen og Sa he tee rene 3 4 Numeric Values u u y EC E ee RE ere RR S 3 4 Address Valle uu iie e REESE SUERTE ER MERE 3 5 Command Manipulators llle 3 5 Command Editing 2 aka u eee eens 3 6 Console Commands sosise ue pb ERE ES 3 7 Table 3 1 Conso
20. commands and therefore could cause adverse effects to other users on the system i e The keystroke sequence lt CR gt h halts the system even though it appears in a user application Console Commands The remaining part of this chapter describes each of the console commands with one or more examples of each command 3 7 Power Hawk Series 600 Console Reference Manual 3 8 a ASCII DUMP a Purpose This command displays a portion of memory beginning at the specified location The displayed data is in ASCII format and grouped by byte b word w or longword 1 This command has options preceded by dashes which are listed below For a more detailed description of the options refer to the options paragraph in this chapter Syntax a format b n start address end address a format b n start address byte count format Determines whether the data appears in byte word or longword b w or 1 format Defaults to b b n Specifies program base address The base address n is added to all addresses entered from the command line n is zero by default start address The hexadecimal address at which the operation starts The default value is 0 end address The hexadecimal address at which the operation ends byte count Number in hexadecimal of bytes displayed The default is a page 256 bytes Note that if you specify word format byte count should be a multiple of two If you specify longwor
21. mark up CPUs The qb command may be used to display the result tu all tu cpu list Enables all the boards and all of the processors The following is a valid command Enable CPU 1 Console Debugging Commands tv CONFIGURE VIDEO DEVICE tv Purpose This command selects the PCI display device to be used for system output It also establishes default video mode colors and cursor type Function A Power Hawk or PowerStack II system may be equipped with more than one VGA compatible device By default the VGA compatible expansion card in the lowest numbered PCI PMC slot number will be selected and enabled if equipped If no VGA expansion card is present then the builtin VGA device is selected if equipped The tv command allows the system operator to explicitly select which equipped compatible device should be used as the output device when the system is configured for a keyboard display console This command also allows the operator to override the default video mode colors and cursor type used by the text mode driver Modified settings can optionally be recorded in a non volatile RAM area When this occurs those modified settings will persist across subsequent system boots Syntax tv w r device lt dev gt mode lt mode gt bg lt bg gt fg lt fg gt cursor lt cursor gt default w Write to NVRAM without prompting the operator r Reinitialize console TTY subsystem without prompting the ope
22. name used is not defined or the symbols are not loaded If trying to reference a processor symbol ensure that the console is in the processor mode and the processor symbol table has been loaded To load processor symbols bit 7 of the pboot register must be set e g pboot 80 before issuing the b or r command error 0003 starting address must be less than ending address When specifying an address range the second address must be greater than the first address To specify a byte count instead of an ending address use a colon e g d 100 10 error 0004 illegal CPU number The processor number used is not a valid processor Ensure that the processor number is processor and the processor is marked up The qb command may be used to query the current configuration error 0005 invalid stack frame The rr command requires that a valid stack frame exists to enable a return address to be extracted Ensure that the processor has executed the link instruction of the current C procedure error 0006 date time format y m d h m s When setting the time of century clock the format of the date and time was incorrect The correct format is y m d h m s error 0007 duplicate breakpoint An attempt was made to set a breakpoint at an address that already contained a breakpoint To correct this situation remove the old breakpoint first with a bk command Power Hawk Series 600 Console Reference Manual error 0008 bre
23. none default If this keyword is present video device parameters are resorted to their default settings If no arguments are provided the currently selected video display device and settings are printed Examples The following are valid commands Print current video device and settings gt tv VGA device Requested default Actual PCI PMC slotl video mode 24 fg color white 0x7 bg color black 0x0 cursor type underline gt Select builtin instead of expansion card gt tv device builtin Update NVRAM Y N y Reinitialize TTY subsystem Y N y gt Select VGA compatible device in PCI PMC slot 2 gt tv w device slot2 Reinitialize TTY subsystem Y N y gt Select black text on a cyan background with a block cursor gt tv fg black bg cyan cursor block Update NVRAM Y N y Reinitialize TTY subsystem Y N y d Restore default colors gt tv r w fg default bg default gt Restore all video device defaults gt tv r w default gt Console Debugging Commands w WRITE DATA TO MEMORY w Purpose This command writes the specified hexadecimal data to memory beginning at the start address The format of the data written is controlled by the options used Note When virtual addressing is used translation is performed in data space Syntax w format b n start address data0 datal format Determines whether the data is written in byt
24. of the application program the processor jumps to If you do not specify a start address the value of the program counter is used Example The following is a valid command gt rr breakpoint C00908F4 CPU 1 breakpoint C00908FA4 000908F4 lock driv sema A4 F440580F or r2 r0 0x14 Console Debugging Commands SEARCH MEMORY FOR DATA 5 Purpose This command displays a page 256 bytes of memory in hexadecimal beginning at start address If the search routine locates the requested pattern in this page it encloses the pattern with asterisks Otherwise it indicates that there is no match Syntax s format b n start address pattern mask format b n start address pattern mask Examples 50 70 sbO 4 Determines whether the data to be searched is in byte word or longword b w or 1 format If you specify a byte format and have a longword pattern the routine searches memory but does not find a match Specifies program base address The base address n is added to all addresses entered from the command line lt n gt is zero by default The address at which the search starts The pattern for which memory is searched The pattern can be a byte word or longword The bit mask which is a hexadecimal value that determines the part of each longword to be compared with the pattern The mask can be any hexadecimal value from 00000000 to FFFFFFFF Default is FFFFFFFF Bit 1 sets the mask
25. of the console debugging commands These are the basic commands without their optional parameters The range of values for formatted data b Formatted as a byte transfers data via eight bit transfers w Formatted as a word two bytes transfers data via 16 bit transfers or 1 Formatted as longwords four bytes transferred in a single 32 bit transfer Some commands have options which are preceded by dashes The following global options are available on most commands b n Specify program base address The base address represented by the address value n is added to all addresses entered from the command line The address value n is zero by default Numeric address values are discussed later in this chapter r n Execute command lt n gt times 0 infinite times If this option is set the command executes n times If n is zero the command executes until aborted with a CTRL C A numeric value may be entered in any of the following formats cece ASCII value hex digits Hexadecimal number Value of last entered address parameter Contents of the program counter of the default processor Contents of the specified processor register of the default processor BnBnBn Hex value of all the specified bits added together e g B2BO 5 symbol Console or program symbol operating system or diagnostic name Leading backslash required when a symbol doesn t contain a leadi
26. option letter and the argument e g c3 is correct c 3 is wrong Use the help command to get a list of legal options for the command error 0011 console locked An attempt was made to use the console when it was disabled at the control panel switch Before using the console it must be enabled at the control panel switch error 0012 unable to access memory using backplane The console is unable to access system memory using the backplane Most likely system memory is not functional Use the m command to verify system memory error 0013 failed to load boot The b command was unable to load the program boot from the default boot device Ensure that the correct boot device is selected with the d command Error Codes error 0014 low tocc battery When accessing the time of century clock TOCC the console detected a low battery To correct this problem replace the TOCC battery error 001B bad device or pathname An invalid device name or pathname was specified on one of the commands Ensure that the pathname starts with a slash Use the help command to verify the correct syntax is being used The device must be either dsk c u p b ormt c u p b e g fd dsk 0 fd mt 0 Where c controller number u unit number optional P partition number optional b bus number optional 02primary error 0020 read failed offset x A disk or tape read at byte offset x failed To correct this p
27. server to further identify keyboard and its interface The list of possible parameters depends upon the selected keyboard interface Builtin PC style keyboard interface parameters are mode XT AT type queryl lt kbd ID byte gt codeset defaultl 112131 Serial port keyboard interface parameters are port lt serial port number lcom1lcom2 baud 1200124001480019600 csz 8I7 par NIEIOIMIS stop 111 512 type lt kbd ID byte gt 101keyl84key codeset defaultl 11213 If lt int fc gt is omitted the currently selected keyboard interface and type are printed 3 54 Console Debugging Commands tk CONFIGURE KEYBOARD DEVICE Continued tk Examples The following are valid commands Print keyboard configuration gt tk Interface builtin Mode Keyboard type ab 101 102 key Scancode set default 2 Configure keyboard on serial port 1 com2 gt tk serial port com2 baud 1200 Update NVRAM Y N y Reinitialize TTY subsystem Y N gt Print serial keyboard settings gt tk Interface serial Port 1 com2 Baud 1200 Char size 8 Parity None Stop bits 1 y Keyboard type 0 AT2SER converter Scancode set default 2 gt Restore default keyboard settings gt tk r w default gt 3 55 Power Hawk Series 600 Console Reference Manual 3 56 tu Purpose Syntax all Example tu 1 CONFIGURE CPU UP tu This command is used on multiprocessor SBCs to
28. via the fd command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file error 0612 read error An I O read error occurred Previous message should indicate type of error error 0613 zero length directory record The device being read does not contain a valid file system Verify that the disk or tape contains valid data and retry the command Reset system via the fd command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file error 0614 bad magic number in super block The device being read does not contain a valid file system Verify that the disk or tape contains valid data and retry the command Reset system via the fd command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file error 0615 CP system device unavailable retrying The console was unable to open the boot device during a b command The console attempts 12 retries then stops trying Ensure that at least one Generic Disk GD disk controller exists in the primary I O bus and the disk is spun up and ready Error Codes 640 Series Console Errors These error codes 0640 through 064F apply to the Concurrent SCSI Adapters Generic Disk GD and Generic Tape GT devices and the definition of the symptom will reflect which controller is displaying the error code For example if error 0645 NCR Controller not found is displayed on the conso
29. you specify longword format byte count should be a multiple of four Examples The following are valid commands c BO CO DO Moves data at locations BO through CO to location DO cb 0 CO DO Moves values at locations 0 through CO to location DO 3 14 Console Debugging Commands c COPY MEMORY Continued c Sample copy commands are shown below Find out what values are at location 1000 gt d1000 10 00001000 ABFF0000 44700004 3322000 F000000F Move values byte by byte between 0 and 400 to 1000 cbO 400 1000 gt d1000 10 00001000 00000000 00000004 00000008 0000000C Move values word by word between 1000 and 1400 to 2000 gt 1000 1400 2000 gt d2000 10 00002000 00000000 00000004 00000008 0000000C cw2000 400 3000 gt d3000 10 00003000 00000000 00000004 00000008 0000000C Power Hawk Series 600 Console Reference Manual d DISPLAY MEMORY IN HEXADECIMAL d Purpose This command displays a portion of memory beginning at the specified location The displayed data is in hexadecimal format and grouped by byte word or longword Note When virtual addressing is used translation is performed in data space Syntax d format b n start address end address d format b n start address byte count format Determines whether the data is displayed in byte word or long word b w or 1 format The default value is w in console mode and 1 in processor mode b n Specifies
30. 0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 000 1B9E 1B9E 000 000 000 000 000 000 1B9 1B9E 000 000 000 000 000 0 0000 0 0 0 0 0 0 0000 0000 0000 0000 0000 0000 CEBB 0 0 0 0 0 0000 0000 0000 0000 0000 TS 02 00 00 08 8E 8F 90 84 92 93 94 37 39 34 3 17 Power Hawk Series 600 Console Reference Manual d DISPLAY MEMORY IN HEXADECIMAL Continued d HEX DISPLAY STARTING AT ADDRESS 1000 NO DATA SIZE SPECIFIED gt d1000 lt Defaults to longword 00001000 00000000 00000000 00000000 00000000 00001010 00000000 00000000 00000000 1B9EOE4C 00001020 00000000 00000000 00000000 1B9EOE4C 00001030 00000000 00000000 00000000 00000000 00001040 00000000 00000000 00000000 00000000 00001050 00000000 00000000 00000000 00000000 00001060 00000000 00000000 00000000 00000000 00001070 00000000 00000000 00000000 00000000 00001080 00000000 00000000 00000000 00000000 00001090 00000000 00000000 00000000 1B9DCEBB 000010A0 00000000 00000000 00000000 1B9E0E4B 000010B0 00000000 00000000 00000000 00000000 000010CO 00000000 00000000 00000000 00000000 000010D0 00000000 00000000 00000000 00000000 000010E0 00000000 000
31. 0 00 0028 00 00 00 2C 00000030 00 00 00 30 00 00 00 34 00 00 00 38 00 00 00 3C 00000040 00 00 00 40 00 00 00 44 00 00 00 48 00 00 00 4C 00000050 00 00 00 50 00 00 00 54 00 00 00 58 00 00 00 5C 00000060 00 00 00 60 00 00 00 64 0000 00 68 00 00 00 6C 00000070 00 00 00 70 00 00 00 74 00 00 00 78 OO 00 00 7C 00000080 00 00 00 80 00 00 00 84 00 00 00 88 00 00 00 8C 00000090 00 00 00 90 00 00 00 94 00 00 00 98 00 00 00 9C 000000A0 00 00 00 A0 00 00 00 A4 00 00 00 A8 00 00 00 AC 000000B0 00 00 00 BO 00 00 00 B4 00 00 00 B8 00 00 00 BC 000000C0 00 00 00 CO 00 00 00 C4 00 00 00 C8 00 00 00 CC 000000D0 00 00 00 D0 00 00 00 D4 00 00 00 D8 00 00 00 pC 000000F0 00 00 00 FO 00 00 00 F4 00 00 00 E8 00 00 00 EC 000000F0 00 00 00 FO 00 00 00 F4 00 00 00 F8 00 00 00 FC 3 49 Power Hawk Series 600 Console Reference Manual 3 50 Purpose Note Syntax format b n SEARCH MEMORY RANGE FOR DATA This command searches a range of memory and displays the addresses of all those locations that contained a matching pattern When virtual addressing is used address translation is performed in data space sr format b n start address end address pattern mask sr format b n start address byte count pattern mask Determines whether the data to be searched is in byte word or longword b w or 1 format If you specify a byte format and have a longword pattern the routine searches memory but
32. 00 00 00 10 20 30 40 50 60 70 80 90 AO BO CO DO EO FO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1B 1B 00 00 00 00 00 00 1B 1B 00 00 00 00 00 00 9D 9D 00 00 00 00 00 00 9D 9D 00 00 00 00 00 00 D4 EA 00 00 00 00 00 00 D4 EA 00 00 00 00 00 00 5B 0 00 00 00 00 00 00 5B OC 00 00 00 00 00 00 00 52 32 00 00 00 00 00 00 00 00 00 00 00 2E 00 0 43 2 14 00 00 00 00 00 00 00 00 31 32 6F DISPLAY MEMORY IN HEXADECIMAL Continued AB 00 53 oF 00 AB AB AB AB AB AB AB AB 39 38 00 HEXADECIMAL DISPLAY BY WORD STARTING AT ADDRESS 1000 gt dw 1000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 000010 000010 00001 000010 000010 000010 000010 000010 000010 000010 00001 00001 00001 000010 000010 00001 00 10 020 30 40 50 60 70 80 90 OBO oco DO EO OFO 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 000
33. 00000 00000000 00000000 000010F0 00000000 00000000 00000000 00000000 COMPARE ASCII DISPLAY TO HEXADECIMAL DISPLAY gt wl 0 48 43 50 31 gt ab 0 10 Write hexadecimal data to memory 00000000 o GP x x uox gt al O 10 00000000H C P 1 gt db O 10 00000000 00 00 00 48 00 00 00 43 00 00 00 50 00 00 00 31 3 18 Purpose Syntax b n Console Debugging Commands DISASSEMBLE MEMORY di This command disassembles instructions beginning at the specified address Note that when virtual addressing is used translation is performed in instruction space di b n start address byte count di b n start address end address start address end address byte count Specifies program base address The base address n is added to all addresses entered from the command line n is zero by default The hexadecimal address at which the operation starts The default value is the last start address specified The hexadecimal address at which the operation ends Number of bytes displayed The default is 16 longwords 64 bytes Sample disassembly commands are shown below Note that the symbol table must be loaded bit 7 of register pboot i e gt pboot 80 to obtain the symbols at boot time gt di pc 10 VirtualPhysicalLabel andOp CodesInstructions AddressAddressOffset 00018754 00018704 0
34. 00000000 FFFFFFFF The value that is loaded into each memory location format b w or 1 The amount of bits that the data appears in Formats are byte word or longword b w or 1 mask The bit mask is a hexadecimal value that determines which part of each longword is to be compared with the pattern options b n p o c n The conditions the console operates under r n t n y lt n gt a x k u d n 5 e g pattern 00000000 FFFFFFFF The pattern for which memory is searched register name msr cr spl r0 131 Ir ctr xer mq tid dsisr dar fpscr srO sr15 sdr0 sdr1 eim0 eim1 eis0 eis1 23 The name of a register spec A file specification in the following format dev pathname This file contains the file to be loaded If the m option of the o command is set o m you must provide the device on which the directory is located via a fd command or by specifying dsk start address The address at which the operation starts A 9 Power Hawk Series 600 Console Reference Manual B Error Codes The following is a numerical list of the console error codes that may appear on the screen whenever a console command is executed and an error is detected Debugger Error Codes error 0001 syntax error The command entered contained a syntax error Use the help command to obtain the correct syntax e g d error 0002 undefined symbol The symbol
35. 0018758 00018708 000187bc 000187 000187c0 000187c0 000187c4 000187c4 000187c8 000187c8 000187cc 000187 000187d0 00018740 000187d4 000187d4 00018748 00018748 000187dc 000187dc 000187e0 00018760 000187e4 000187e4 000187e8 000187e8 000187ec 000187ec 000187 0 000187 0 consbkpt consbkptt4 consbkpt 8 consbkpttc consbkpt 10 nat aal aal aal aal aal aal aal aal aal aal t 34 t 38 LFSC t 40 t 44 t 48 t 4c t 50 t 54 t 58 t 5c 70c31010 7c600124 4c00012c 4ea00421 7 00124 4 00012 7 803 4 00020 48000004 48000004 48000004 80801ff0 2c040000 4082000c 38600001 4ea00020 andi r3 r6 1010 mtmsr r3 isync Betri mtmsr r6 isync mtlr r5 blr b halt 0x58 b halt 0x5c b consbkpt lwz r4 0x1ff0 r0 cmpwi crf0 r4 0 bne crf0 consbkpt 0x14 Li blr Note that implies the program counter of the default processor and implies break 3 19 Power Hawk Series 600 Console Reference Manual e EXAMINE CHANGE MEMORY e Purpose This command displays a byte word or longword of memory beginning at the specified memory location This command can also change the data at that location and subsequent locations via the data specified The format of the data written is controlled by the format and command options specified Syntax e format b n start address data l format Determines whether the data is displayed in byte word or long word b
36. 12 error 0974 CPU n IGA level decode programming failed Processor n failed the level decode programming error 0975 CPU n IGA ipl decode programming failed Processor n failed the ipl decode programming error 0976 CPU n IGA vector table programming failed Processor n failed the vector table programming error 0980 CPU n exception vector x description epsrxexipx enip x Processor n had an unexpected exception a register dump follows to aid in debugging error 0981 CPU n cannot be disabled Processor n can not be disabled via normal procedures error 0983 Cannot single step across atrap rte instruction x A trap or rte instruction at pc location x cannot be single stepped 0984 exception x occurred while processing exception y Another exception x occurred during the processing of exception y error 0990 board slot n failed to report board configuration The processor board in slot did not power up reset correctly error 0991 CPU n failed to report status after reset Processor n did not report its error status after a reset error 0992 CPU n reported error code x description Processor n reported error x which is described here error 0993 Global memory x failed RAM test The global memory x failed RAM test during reset and is currently not being used by the console error 0999 Backplane reset aborted An error condition was detected which caused the reset of the backplane to be aborted Numerics
37. 23 81A40001 Change contents of r2 to 23 gt grl CR Display register r1 rl C002F7F2 r2 00000000 r3 00000023 3 29 Power Hawk Series 600 Console Reference Manual 3 30 Purpose Note Syntax format q b n INITIALIZE MEMORY TO VALUE FILL i This command writes the data into all locations between the start address and end address The format of the data is controlled via the options entered Memory addresses before 0x6000 are used by the console and should not be initialized When virtual addressing is used translation is performed in data space i format q b n start address end address fill value i format al b n start address byte count fill value Determines whether the data is displayed in byte word or long word b w or 1 format The default value is w in console mode and 1 in processor mode Error checking is suspended for this command resulting in faster command execution Specifies program base address The base address n is added to all addresses entered from the command line n is zero by default start address The address at which the loading of memory starts This address may not be a virtual address end address The address at which the loading of memory ends If the end address is not supplied or is a location before the start address you get a syntax error This address m
38. 65 Console System Boot Console Interface System Entry to Console e Reset Button Abort Button 2 1 2 1 2 2 2 2 2 3 208 2 4 Power Hawk Series 600 Console Reference Manual 2 Startup System Initialization System initialization can be separated into three distinct areas PPCBug Initialization Console Initialization and System Boot These occur as described in the following paragraphs PPCBug Initialization The PPCBug package is the Series 600 system Self Test and Boot Loader package It is installed in EPROM on the processor board PPCBug is used to power up and configure the processor PPCBug should normally be set to Autoboot the Operating System OS off of the system disk This is enabled via the PPCBug ENV command Refer to the Series 600 system document PPC Bug Diagnostics Manual Publication Number PPCIDIAA UM for further details In this case the boot sequence will appear similar to the following 1 Debugger Diagnostics Release Version 3 2 05 01 97 RMO1 COLD Start Local Memory Found 204000000 amp 67108864 MPU Clock Speed 200Mhz BUS Clock Speed 67Mhz WARNING Keyboard Not Connected Reset Vector Location ROM Bank A Mezzanine Configuration Single MPU Current 60X Bus Master MPUO Idle MPU s NONE System Memory 64MB ECC Enabled ECC Memory Detected L2Cache 256KB SelfTest Boots ab
39. 8 tape device on the NCR53C825 controller the operator enters the following command PPCl Bug pboot 0 50 Example Boot from CD ROM device Based upon the above inquiry status results to boot from the Plextor CD ROM device on the NCR53C825 controller the operator enters the following command PPCl Bug pboot 0 60 Console Initialization 2 2 When PPCBug loads the OS off of the boot media it is actually loading the PowerMAX OS Console software package described in this document Console initialization consists of determining the console device and selection of debug or system boot modes PPCBug normally operates on an ASCII terminal connected to the COMI port The PowerMAX OS Console startup sequence appears as follows PowerMAX OS Console yymmdd 5 1 Type to cancel boot At this time the console waits ten seconds in case the pound sign is entered An excla mation point entered automatically starts the boot sequence without waiting the full ten seconds If however the operator enters the pound sign 4 during those ten seconds the system boot procedure is cancelled and the gt prompt is displayed When the gt Startup prompt is displayed any command described in Chapter 3 of this manual may be entered Of particular importance is the b command which causes the boot program to execute and load system programs and the pboot register which specifies the boot options System Boot If the c
40. Hawk Series 600 Console Reference Manual Restore default console device selection algorithm gt tc r w default gt 3 52 Console Debugging Commands td CONFIGURE CPU DOWN td Purpose This command is used on multiprocessor SBCs to mark down the specified CPUs The qb command may be used to display the result Syntax td cpu list Example The following is a valid command td 1 Disable processor 1 Power Hawk Series 600 Console Reference Manual tk CONFIGURE KEYBOARD DEVICE tk Purpose This command is used to select type of keyboard attached to the system Function By default systems expect a PS 2 or PC AT style keyboard to be attached via the builtin PC compatible Intel 8042AH keyboard interface To use a serial interfaced keyboard instead the operator must specify the port keyboard type and serial line parameters of the requested device Modified settings can optionally be recorded in a non volatile RAM area and such that they will persist across subsequent system boots Syntax tk r w lt intfc gt lt intfc parms gt w Write to NVRAM without prompting the operator r Reinitialize console TTY subsystem without prompting the operator This enables modified settings immediately intfc One of builtin Builtin PC style keyboard interface serial Select keyboard attached via standard RS 232 422 serial port default Restore default keyboard interface intfc parms Optional parameters that
41. Note Syntax format b n COPY MEMORY c This command moves the data located at the source start address through source end address inclusive to the locations starting at the destination start address This command also moves the data located at the source start address to the locations starting at the destination start address for the number of bytes specified in the byte count This command has options preceded by dashes which are listed below For a more detailed description of the options refer to the options paragraph in this chapter When virtual addressing is used translation is performed in data space c format b n source start address source end address destination start address c format b n source start address byte count destination start address Determines whether the data is to be copied in byte word or longword b w or 1 format The default format is longword Specifies program base address The base address lt n gt is added to all addresses entered from the command line n is zero by default source start address This is the address at which the memory to be copied starts source end address This is the address at which the memory to be copied stops destination start address This is the destination address byte count Number in hexadecimal of bytes copied Note that if you specify word format byte count should be a multiple of two If
42. a SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device malfunction Attempt to run the I O diagnostic programs and replace board s indicated error 06D5 GT Space back rec command failed This type of error occurs when a SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device malfunction Attempt to run the I O diagnostic programs and replace board s indicated error 06D6 GT Space fwd rec command failed This type of error occurs when a SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device malfunction Attempt to run the I O diagnostic programs and replace board s indicated error 06D7 GT Cannot seek to partition This type of error occurs for an unexpected filemark or the End Of Valid Data indicator was hit during tape operations Probable tape read error Reset the system and retry the command If subsequent attempts also fail secure a new tape and retry command If with a new tape the attempt fails suspect the device is malfunctioning and should be replaced error 0972 CPU n failed interrupt reset RHAC X Processor n could not reset all interrupt requests error 0973 CPU n IGA configuration ram xxx expected xx received xx Processor n interrupt configuration RAM failed test 11 Power Hawk Series 600 Console Reference Manual B
43. akpoint table full An attempt was made to set a breakpoint when eight breakpoints already exist A maximum of eight breakpoints may be set at any one time To correct this situation remove an existing breakpoint before setting the new one error 0009 memory doesn t match While using the e command data read does not match data written The e command always verifies that it can read any data that it writes error 000B illegal option An illegal option letter was specified on the o command A list of legal options may be displayed by typing o error 000C illegal register The register name specified after the was not a valid register name Use the g and p command to obtain a complete list of valid register names If trying to reference a processor register ensure that the console is in the processor mode error 000D no symbol for address An address was specified on a command that did not correspond to a symbol name Ensure that the correct mode processor or CP o p is set Also ensure that the symbol table is loaded To load processor symbols bit 7 of the pboot register must be set e g pboot 80 before issuing the b or r command error 000F illegal option n An illegal option n was used on a command Use the help command to obtain a list of legal options for the command error 0010 option n requires an argument The option n requires an argument Ensure that there is no space between the
44. and gives the information necessary to use it to debug the particular system The following systems are covered in this manual Motherboard Number of System Platform Form Factor Type Processors Power Hawk 620 MVME2600 1 VME 6U Power Hawk 640 MVME4600 2 VME 6U PowerStack MTX lor2 PC Structure of Manual This manual consists of a title page this preface a master table of contents three chapters three local tables of contents for the chapters two appendixes and an index A brief description of the chapters and appendixes follows Chapter 1 explains where the console fits in a system and describes the hardware of the console Chapter 2 describes what occurs during system initialization and the console interface Chapter 3 contains an alphabetical listing of the console debugging commands Each command listing contains the purpose of the command its syntax an explanation of the command parameters and examples of the command syntax and usage Appendix A is a quick reference guide that lists the console commands and their meanings as well as an explanation of the command parameters Appendix B lists the possible error codes that may appear executing console commands There is also a short description of the error and a possible cure to the problem The index has an alphabetical list of all paragraph formats character formats cross reference formats table formats and variables Syntax Notation The fo
45. and line is terminated by typing just a period the command executes immediately and then the prompt is displayed sometimes on the same line as the command results Note that typing another period after the command has terminated causes that command to repeat If a command line is terminated by pressing the CR key the command executes and then allows a repeat of the command or a version of the command via one of the following repeaters Note that not all repeaters are valid for all commands When a dash is used as a repeater the current data is displayed in ascii and as binary bits e g B26 B5 BO Note that this repeater is only valid for the e g and p commands n CR Change address to n Keep same address SP Increment address to next page CR Increment address to next line Power Hawk Series 600 Console Reference Manual Decrement address to previous page Repeat or exit current command Any command can be aborted by typing CTRL C This action causes a soft reset of the console Any commands typed but not yet executed are ignored The following example shows the effect of the various command terminators cr 0000000 36 0000010 73 00000000 36 00000000 36 00000010 73 00000020 45 00000070 FF gt Command Editing db 0 10 CR 03 63 38 53 60 50 41 17 CO FF EE DO CO 02 37 20 0 OD EE FF OC 71 14 05 06 35 83 36 30 63
46. ay not be a virtual address byte count Number in hexadecimal of bytes initialized Note that if you specify word format byte count should be a multiple of two If you specify longword format byte count should be a multiple of four fill value The hexadecimal word that is loaded into each memory location Examples The fill value defaults to zero The following are valid commands i10 20 10101010 Loads each longword from 10 to 20 with the hexadecimal word 10101010 iblO 20 F Loads each byte from 10 to 20 with the value F Console Debugging Commands i INITIALIZE MEMORY TO VALUE FILL Continued i Sample memory initialization procedures are shown below INITIALIZE MEMORY BETWEEN ADDRESSES 1000 AND 2000 gt i1000 2000 10101010 0 gt d1000 10 lt Defaults to longword hexadecimal display starting at address 1000 00001000 10101010 10101010 10101010 10101010 INITIALIZE MEMORY BETWEEN ADDRESSES 1000 AND 2000 LOAD A WORD gt iw1000 2000 ff gt d1000 10 00001000 OOFFOOFF OOFFOOFF OOFFOOFF OOFFOOFE INITIALIZE MEMORY BETWEEN ADDRESSES 10 AND 20 LOAD A BYTE gt ib10 20 f gt d10 10 00000010 OFOFOFOF OFOFOFOF OFOFOFOF OFOFOFOF Power Hawk Series 600 Console Reference Manual 3 32 m MEMORY TEST m Purpose This command performs a combination of tests ones zeroes and unique address that check memory between the start address and end address Any errors wh
47. ce 2 3 Console Special Key Functions 3 6 Console Terminal Selection 1 1 D Data Formats 3 4 Debugger Error Codes B 1 display set the default device 3 24 Execution Commands A 6 Index 1 Power Hawk Series 600 Console Reference Manual File Operations Commands A 6 G Global Options 3 4 Help Command A 7 I O Error Codes B 5 Internal serial ports 1 1 Miscellaneous Commands A 7 N Numeric Values 3 4 Operating System 2 1 OS 2 1 PPCBUG Initialization 2 1 PPCBUG routine 1 1 program counter 3 42 Index 2 R Register and Memory Minipulation Commands 5 Reset Button 2 4 S Summary of Commands 3 1 Command Editing 3 6 Syntax Conventions 3 1 System Boot 2 3 System Entry to Console 2 3 System Initialization 2 1 Spine for 1 2 Binder Product Name 0 5 from top of spine Helvetica 36 pt Bold Volume Number if any Helvetica 24 pt Bold Volume Name if any Helvetica 18 pt Bold Manual Title s Helvetica 10 pt Bold centered vertically within space above bar double space between each title Bar 1 x 1 8 beginning 1 4 in from either side Part Number Helvetica 6 pt centered 1 8 up MPH 19MOd o o o lt 3 Hardware Power Hawk Series 600 Console Reference Manual
48. cessor executing code The initial program counter value is taken to be the current value of the program counter Function The ra command creates a temporary breakpoint at address inserts breakpoints and starts the processor executing from current program counter Syntax ra address address The address of the application program the processor runs to Example The following is a valid command f ra 2 run to address of cnrint2ecx CPU 0 breakpoint C008251C 0008251C cnrint2ecx 67FFF0480 subu r31 r31 0x480 gt 3 43 Power Hawk Series 600 Console Reference Manual 3 44 rd RUN WITHOUT BREAKPOINTS rd Purpose This command starts the processor executing code The initial program counter is either specified by the starting address or is taken to be the current value of the program counter Function The rd command starts the processor executing at start address with out inserting breakpoints If Start address is not specified use the current program counter value as the starting address Syntax rd start address start address The address of the application program the processor jumps to If you do not specify a start address the value of the program counter is used Example The following is a valid command f rd Resumes execution of the program Console Debugging Commands rn RUN TO NEXT INSTRUCTION rn Purpose This command starts the processor executing code The initial program
49. contain a valid file system Verify that the disk or tape contains valid data and retry the command Reset system via the d command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file error 0608 zero length directory The device being read does not contain a valid file system Verify that the disk or tape contains valid data and retry the command Reset system via the d command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file error 060E cannot write files An attempt was made to write a file The console does not support device writes This error code should not occur under normal operating conditions and therefore it indicates an operator error Reset the console with lt CR gt b and retry the command error 060 no more file slots An internal console error occurred while opening a file Reset the console with CR b and retry the command If error still occurs suspect a corrupted file error 0610 no more disk buffers An internal console error occurred while allocating a disk buffer This error code should not occur under normal operating conditions and therefore it indicates an operator error Reset the console with lt CR gt b and retry the command error 0611 super block read error The device being read does not contain a valid file system Verify that the disk or tape contains valid data and retry the command Reset system
50. counter is either specified by the starting address or is taken to be the current value of the program counter Function The rn command creates a temporary breakpoint at the address following the current instruction insert breakpoints and starts the processor executing at start address If start address is not specified use the current program counter value as the starting address Syntax rn start address start address The address of the application program the processor jumps to If you do not specify a start address the value of the program counter is used Example The following is a valid command gt rn CPU 1 breakpoint C0082520 00082520 enrint2ecxt4 21DF0020 st d r14 r31 0x20 gt 3 45 Power Hawk Series 600 Console Reference Manual 3 46 rr RUN TO RETURN ADDRESS rr Purpose This command starts the processor s executing code The initial program counter is either specified by the starting address or is taken to be the current value of the program counter Function The rr command creates a temporary breakpoint at the return address of the current C procedure inserts breakpoints and starts the processor s executing at start address If start address is not specified use the current program counter value as the starting address Warning In order to have this instruction function properly you must have executed the first link instruction Syntax rr start address start address The address
51. ction Batch Register 1 Upper ibatlu R W Instruction Batch Register 1 Lower ibatll R W Instruction Batch Register 2 Upper ibat2u R W Instruction Batch Register 2 Lower ibat2l R W Instruction Batch Register 3 Upper ibat3u R W Instruction Batch Register 3 Lower ibat3l R W Data Batch Register 0 Upper dbatOu R W Data Batch Register O Lower dbatOl R W Data Batch Register 1 Upper dbatlu R W Data Batch Register 1 Lower dbat1l R W Data Batch Register 2 Upper dbat2u R W Data Batch Register 2 Lower dbat21 R W Data Batch Register 3 Upper dbat3u R W Data Batch Register 3 Lower dbat3l R W Data Address Breakpoint Register dabr R W Instruction Address Breakpoint Register iabr R W Hardware Implementation Dependent Reg 0 hidO R W Power Hawk Series 600 Console Reference Manual P PROCESSOR REGISTER DISPLAY MODIFY Continued CHANGE THE CONTENTS OF PROCESSOR BOOT REGISTER gt p boot 180 00000000 gt p boot boot 00000180 3 36 P Console Debugging Commands qa QUERY ADDRESS qa Purpose This command allows either the symbolic name of a specified address or the address of a specified symbolic name to be queried The symbols table must have been previously loaded by setting bit 7 in the pboot register e g pboot 80 and issuing a b command Syntax qa address address The address for which a symbol name is to be displayed Example The following are valid commands f qa C0066000 CR hdioct1 2A0 0065060 2 0 f qa Nhdioc
52. d format byte count should be a multiple of four repeaters See the command manipulators paragraph for explanation Examples The following are valid commands a BO Displays a page of data starting at location BO ab 0 Displays a page of data starting at location 0 al 100 10 Displays the right most byte of each of the four longwords of data starting at location 100 In other words it displays the byte of data at memory locations 103 107 10B and 10F aw 0 Displays right most byte in each word starting at location 0 a0 Displays from byte 0 ab O 10 Displays contents of addresses 0 through 10 Console Debugging Commands a ASCII DUMP Continued a Sample ASCII dumps are shown below ASCII Dump by Byte with an Initial Address of 0 gt ab 0 00000000 He d 2 ie 3 00000010 Qa Se du cm te Ae SEO Yu 00000020 4 2 09 Ao x Gee Wd ow ROV S 00000030 jj p eS aie dA 00000040 S 4o d AG Fon 4 SN d t diete C 00000050 B 4X EM uk o dXXa i We do oux Ch 00000060 s amp RN Eb Lo wor Lue uS tA n Nu Uis wa EE 00000070 Le du s Cp Wee Ad eee ce 00000080 4o 319 tw GA ut AD eT We ub uno ena SE 00000090 ae x ex x cte E Us rx s 000000A0 d ie Wut iv Ces 19 Mot gp Ww dw FCA vus GE 000000B0 B ls we FM XX 005 lox aM SRE Re e avi 000000C0 S gt G X Be
53. does not find a match Specifies program base address The base address n is added to all addresses entered from the command line lt n gt is zero by default start address The address at which the search starts end address The hexadecimal address at which the operation ends byte count searched The pattern can be a byte word or longword mask The bit mask which is a hexadecimal value that determines the part of each longword to be compared with the pattern The mask can be any hexadecimal value from 00000000 to FFFFFFFF Default is FFFFFFFF Bit 1 sets the mask Examples The following are valid commands srO 1000 70 Search for the pattern 70 at addresses 0 through 1000 srbO 100 4 Search for a byte with pattern 4 at addresses 0 through 100 An example search for a byte with a pattern FO starting at address 0 is shown below gt i O 1000 0 gt w 4FC FO gt sr0 500 FO 000004FC 000000F0 Number in hexadecimal of bytes searched Note that if you specify word format byte count should be a multiple of two If you specify Longword format byte count should be a multiple of four pattern The pattern for which memory is CONFIGURE CONSOLE DEVICE Console Debugging Commands tc This command is used to select a device to be used as the system console In the absence of either a keyboard or VGA compatible display device the default console device of the Motorola SBC system is assigned to serial port
54. e Update NVRAM Y N y NVRAM updated 3 25 Power Hawk Series 600 Console Reference Manual 3 26 fh DISPLAY MOUNTED FILE SYSTEMS fh Purpose This command gives the default input device Note Never append a period to this command After the command you must press CR Periods are valid syntax in parameters Syntax fh A sample display from the h command is shown below gt fh CR Default dsk 5 0 0 0 fr Console Debugging Commands LOAD AND EXECUTE A PROGRAM fr Purpose This command loads and executes a program The command can be followed by an optional list of arguments that are to be passed to the program Note Never append a period to this command After the command you must press CR Periods are valid syntax in parameters Syntax fr spec base c n spec base c Example gt fr boot lt CR gt Boot stand unix Target 0 found A file specification in the following format dev pathname This file contains the file to be loaded If the m option of the o command is set o m you must provide the device on which the directory is located via a fd command or by specifying dsk The address into which the program is loaded Programs are loaded and run at 0x2000 as a default If however you specify a base the load address and start address are set to the base value Specifies the processor lt n gt on which the fr command is to run on If none spec
55. e word or longword b w or 1 format Default is w in console mode in processor mode b n Specifies program base address The base address n is added to all addresses entered from the command line n is zero by default start address The hexadecimal address at which the writing starts data0 datal The data to be written to memory The data must be hexadecimal Note that multiple data locations can be specified Examples The following are valid commands wbO 2 Writes a 2 to byte 0 of memory w10 3 Writes a 3 to longword 0 of memory Sample write commands are shown below WRITE BYTES TO MEMORY STARTING AT ADDRESS 0 gt wb0 1 2 3 4 5 6 7 8 9 a gt d0 10 00000000 01020304 05060708 090A0000 00000000 00000010 00000000 WRITE WORDS TO MEMORY STARTING AT ADDRESS 0 gt wwO 1 2 3 4 5 6 7 8 9 a gt d0 10 00000000 00010002 00030004 00050006 00070008 00000010 0009000A Power Hawk Series 600 Console Reference Manual y INITIALIZE y Purpose This command initializes the CPUs and processor storage and selects the boot options The flag bits for the y command are shown in Table 3 6 Syntax y flags flags A numerical value which is the sum of the flag values shown in Table 3 6 below This command turns off selected portions of the processor cache Sample initialization commands are shown below 0 gt CR Initializes processor with all caches enabled Table 3 6 y Command Flag Bits Bit Flag Eff
56. ect BO 001 Disable primary data cache 002 Disable primary instruction cache B2 004 Disable branch history table 008 Disable L2 Cache B4 010 Disable L2 Copyback Mode 3 60 Console Debugging Commands z SINGLE STEP PROCESSOR z Purpose This command single steps a single processor one instruction at a time Breakpoints are inserted into memory Any pending interrupts are executed before returning control to the console Syntax z address address The address of the instruction to single step If you omit the address the value of the program counter is used Examples The following are valid commands gt z CPU 0 single step C0082520 00082520 _cnrint2ecxt 4 21DF0020 st d r14 r31 0x20 Note that C0082520 is the next instruction to execute gt z CPU 0 single step C0082524 00082524 _cnrint2ecx 8 221F0028 st d r16 r31 0x28 gt Z CPU 0 single step C0082528 00082528 _cnrint2ecx C 225F0030 st d r18 r31 0x30 3 61 Power Hawk Series 600 Console Reference Manual 3 62 Purpose Syntax HELP COMMAND The help command displays a basic list of all the console commands You can obtain more information about a command by following the question mark with the command letter or another The help command is available immediately following power up Examples of the help command are shown below The command displays help and or global dash opti
57. em and retry the command If the error still occurs suspect a device or controller malfunction Attempt to run the I O diagnostic programs error 065A SCSI load tape command failed This type of error occurs when a NCR or SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device or controller malfunction Attempt to run the I O diagnostic programs 6B0 Series Console Errors These error codes 06B0 through 06B4 apply to the Generic Disk GD and Generic Tape GT devices and the definition of the symptom will reflect which controller is displaying the error code For example if error 06B0 GT Interface not foundis displayed on the console terminal the generic tape controller is the source of the error code However if the generic disk controller is indicating this same error error 06B0 GD Inter face not found is displayed on the console terminal Power Hawk Series 600 Console Reference Manual B 10 error 06B0 ___ Interface not found This error can only result from an internal hardware or software error error 06 1 ___ Device not initialized This error can only result from an internal hardware or software error error 06B2 ___ Read failed This error results when a I O controller or device malfunctions or an internal software error occurs Suspect the I O controller or device malfunction Reset the system and retry the command If the operation still fails ensure
58. er to the value specified Processor registers and their attributes were discussed under the processor registers paragraph in this manual If the target processor is running when this command is issued the console momentarily halts the processor This action provides a snapshot of the processor register values Note This command is similar to the g command Syntax p register name data register name The processor register to be examined or changed The value of the register name is the symbolic register name data The hexadecimal data to be placed in the processor register repeaters See the command manipulators paragraph for explanation Examples The following are valid commands Displays all processor registers pboot Displays contents of processor boot register For more information on the processor register refer to the b Boot Operating System command dar Displays contents of the Data Address Register An examine all processor register values example is shown below gt dsisr 0A000000 dar 3003B288 sdrl 01 0000 fpscr 000000D0 sr0 20000000 srl 20DE2989 sr2 20DE298A sr3 20DE298B sr4 20DE298C sr5 20DE298D sr6 20DE298E sr7 20DE298F sr8 20DE2990 sr9 20DE2991 srl0 20DE2992 srll 20DE2993 Srl2 20DE2994 sr13 20DE2995 sr14 20000001 sri5 20000002 sprg0 002F0000 sprgl 20DEE9DE sprg2 FFD05000 sprg3 FFD04400 ibatOu 0000007E ibatlu 00000000 ibat2u 00000000
59. file exists Reset system via the fd command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file error 0603 block number negative The device being read does not contain a valid file system Verify that the disk or tape contains valid data and retry the command Reset system via the d command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file error 0604 block number overflow The device being read does not contain a valid file system Verify that the disk or tape contains valid data and retry the command Reset system via the d command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file error 0605 indirect block number void The device being read does not contain a valid file system Verify that the disk or tape contains valid data and retry the command Reset system via the d command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file error 0606 block number void The device being read does not contain a valid file system Verify that the disk or tape contains valid data and retry the command Reset system via the d command to ensure that the media is properly partitioned Suspect corrupt file rerun from a back up file B 5 Power Hawk Series 600 Console Reference Manual B 6 error 0607 not a directory The device being read does not
60. he console operates If you do not specify any options the console displays the current options Disables automatic translation and mount of directory names to the corresponding file system devices These devices allow system files to be available from the console across all system disks by system wide pathnames Enable Reset Button Front panel reset button which returns control to the console If disabled front panel reset button resets machine Defaults to virtual addresses whenever virtual memory is enabled Brackets or parentheses may be used to override the default address mode Specifies program base address The base address n is added to all addresses entered from the command line n is zero by default The following are valid commands Display options that are set Add r option Disable v and m options Sample set and remove options commands are shown below gt 0 lt Display current options mr b 0 gt o v lt Add v option o mrv b O 3 33 Power Hawk Series 600 Console Reference Manual P PROCESSOR REGISTER DISPLAY MODIFY P Purpose This command displays and changes the contents of the 44 processor registers shown in Table 3 5 If no parameters are specified this command displays all of the processor registers If a register name with no data is given the contents of the specified register is displayed If you specify the data parameter the console changes the value in the regist
61. ibat3u 00000000 ibat0l 00000003 ibatll 00000000 ibat21 00000000 ibat31 00000000 dbatOu 0020003E dbatlu 00000000 dbat2u 00000000 dbat3u 00000000 dbatO0l 00200012 dbatll 00000000 dbat21 00000000 dbat3l 00000000 dabr DEADBEEF iabr 00000000 hid0 0000C084 boot 00000082 Sample commands that examine and change the processor registers are shown below Examine the contents of processor register dar gt dar CR dar 00002000 gt 3 34 Console Debugging Commands Table 3 5 Processor Registers Accessed via p Command REGISTER NAME ACRONYM TYPE Boot Register boot R W Data Storage Interrupt Status Register dsisr R W Data Address Register dar R W Floating Point Status Register fpscr R W Segment Register 0 srO R W Segment Register 1 srl R W Segment Register 2 sr2 R W Segment Register 3 sr3 R W Segment Register 4 sr4 R W Segment Register 5 sr5 R W Segment Register 6 sr6 R W Segment Register 7 sr7 R W Segment Register 8 sr8 R W Segment Register 9 sro R W Segment Register 10 sr10 R W Segment Register 11 5 11 R W Segment Register 12 sr12 R W Segment Register 13 sr13 R W Segment Register 14 5 14 R W Segment Register 15 sr15 R W Storage Description Register 1 sdr1 R W Special Register GO sprg0 R W Special Register G1 sprgl R W Special Register G2 sprg2 R W Special Register G3 sprg3 R W Instruction Batch Register 0 Upper ibatOu R W Instruction Batch Register 0 Lower ibatOl R W Instru
62. ible to the console Ensure that the virtual address is within the bounds of the memory allocated to be accessed by the console error 0264 CPU n marked down For multiprocessor SBCs only Processor n was marked down due to either a td command or the detection of an error The up down status of a processor can be checked via the qb command error 0265 CPU n is not valid A command referenced a processor that does not exist Use the qb command to display the system hardware configuration Error Codes error 0267 vaddr n is supervisor protected An attempt was made to perform a virtual address translation in user space and that address was marked as supervisor protected error 0268 batc probe operation failed on CPU n The console instructed a secondary processor to perform a memory management unit probe operation to check for BATC valid translation at a given address No response was received error 0280 CPU n failed to acknowledge DCB request The console could not communicate with processor n error 0281 CPU n failed to set DCB done bit Processor n did not complete a console request I O Error Codes error 0601 null path An internal console error occurred when the console was opening a file Reset the console with lt CR gt b and retry the command error 0602 file not found An attempt was made to open a file that does not exist Ensure that a valid pathname was specified Use the c command to verify that the
63. ich occur appear listed on the console screen Note When virtual addressing is used translation is performed in data space Syntax m format b n start address end address m format b n start address byte count format Determines whether the data is displayed in byte word or long word b w or 1 format b n Specifies program base address The base address n is added to all addresses entered from the command line n is zero by default start address The first address tested This address may not be a virtual address end address The last address tested This address may not be a virtual address byte count Number in hexadecimal of bytes tested Note that if you specify word format byte count should be a multiple of two If you specify longword format byte count should be a multiple of four Example The following is a valid command m1000 2000 Purpose Syntax or b n Examples Console Debugging Commands GLOBAL COMMAND OPTIONS This command sets conditions under which the console operates These conditions are stored as options in an options word o I m r v b lt n gt A plus adds and a minus removes the specified options from the options word effectively enabling or disabling that option If you do not use a plus or minus the command sets the options word to the options specified The options are the conditions under which t
64. ified defaults to processor 0 A sample load the boot program and boot the system sequence is shown below IBM 0661371 3198180 606544 1805440 start 0x2000 symbol table loaded PowerMAX OS Release 4 3 3 27 Power Hawk Series 600 Console Reference Manual 3 28 g GENERAL REGISTER DISPLAY MODIFY Purpose This command displays and or modifies the contents of the 40 general purpose registers of the default processor as shown in Table 3 4 If no parameters are specified this command displays all of the general purpose registers e g pc rO through r3 etc If a register name with no data parameter is specified the contents of that specific register is displayed If the data parameter is included the console changes the value in the register Subsequent registers can be modified by specifying new data for that particular register To display the registers the processor must be halted After the processor is halted the data displayed is that obtained at the last processor halt Note This command is similar to the p command Syntax g register name gt data Table 3 4 General Purpose Registers REGISTER N ACRONYM TYPE Program Counter pc R W Machine Status Register msr R W Register 0 rO R W Register 1 rl R W Register 31 r31 R W Condition Register cr R W Link register lr R W Count Register ctr R W Extension Register xer R W System Processor Level spl
65. igned If you want to get a breakpoint at a processor address enter that particular address after the b command If the address is already defined an error message appears on the screen If the address cannot be written an error is generated The following are valid commands Set breakpoint at 0x 1000 Set breakpoint at 0x2000 b or b lt CR gt Displays breakpoint Sample set breakpoint commands are shown below Set Breakpoints at Memory Locations 1000 and 2000 gt b1000 gt b2000 Set Duplicate Breakpoint gt b BFFOOOOO gt b BFFOOOOO error 0007 duplicate breakpoint 3 12 Console Debugging Commands bk CLEAR BREAKPOINTS bk Purpose This command clears removes breakpoints for all of the processors Function Some of the breakpoint commands have options preceded by dashes which are listed below For a more detailed description of the options refer to the options paragraph in this chapter Syntax bk address all address The address to which a breakpoint is assigned If you want to clear a breakpoint at a processor address enter that particular address after the bk command Examples The following are valid commands bk1000 Remove breakpoint at 0x1000 bk all Removes all breakpoints A sample breakpoint command is shown below Remove Breakpoint at Memory Location 1000 gt bk1000 gt b 01 00002000 CPU physical Power Hawk Series 600 Console Reference Manual Purpose
66. iskettes tapes and hard disk systems The PPCBug internal ROM bootstrap code reads the console into memory where it then relocates itself to higher memory locations and begins execution The exact mode of operation depends upon the operator action during the start up If the operator interrupts the boot sequence a console prompt will be output and console commands may be used for debugging or system start up as described later in this manual If no keys are depressed system bootstrap is fully automatic and the PowerMAX OS kernel will be brought up to the multi user system level specified in the etc inittab file Console Terminal Selection The Series 600 system console code will operate over the internal serial port 1 on all sys tems When either of the internal serial ports are utilized for the console any regular ASCII terminal with keyboard operating at 9600 baud 8 bits per character with no parity may be connected No specific terminal model is required When these terminals are used as the console the native Series 600 system keyboard if present is disabled When more than one device is available the Series 600 system console initialization code allows the operator to select the specific console device as described in the next chapter 1 1 Power Hawk Series 600 Console Reference Manual 1 2 2 Startup System Initialization me PPCBug 88
67. le 100 unix Load and then halt twice once before enabling Virtual Memory and once after enabling Virtual Memory 400 unix Load then halt in kernel debugger 800 unix Do not initialize kernel debugger Syntax fb c n q c q Specifies the processor lt n gt on which the fb command is to run on If none specified defaults to processor 0 Option q quick If set only one attempt is made to find the boot or specified file system A sample system boot listing is shown below fb CR dsk 3 0 0 0 Initialize VME dsk 3 0 0 0 boot Boot unix 747336 61360 597388 start 0x4000 Console Debugging Commands fc DISPLAY DIRECTORY fc Purpose This command lists the contents of the specified directory Note Never append a period to this command After the command you must press CR Periods are valid syntax in pathnames Syntax fc dir name dir name A directory name If the m option of the o command is set o m you must provide the device on which the directory is located Examples The following are valid commands fc usr d CR fc CR A sample root directory listing is shown below gt fc CR lost found dev bin usr etc hdcwcs boot stand 15 stand cat unix profile tmp unixPREV unixBACKUP fastboot 3 23 Power Hawk Series 600 Console Reference Manual 3 24 fd DISPLAY SET THE DEFAULT DEVICE fd Purpose This command sets or displa
68. le Debugging Commands Summary 3 2 Table 3 2 Console Special Key Functions 3 6 Table 3 3 Effect of pboot on Boot Process 3 22 Table 3 4 General Purpose 5 3 27 Table 3 5 Processor Registers Accessed via p Command 3 34 Table 3 6 y Command Flag 3 59 Table A 1 Command Parameter A 8 Power Hawk Series 600 Console Reference Manual vi 1 Introduction to the Console Overview of Console Console Terminal Selection Power Hawk Series 600 Console Reference Manual 1 Introduction to the Console Overview of Console The console for the Series 600 system allows the operator to initialize the system and per form certain diagnostic procedures An overview of this product is provided in the follow ing paragraphs The console software package is included as a part of the system bootstrap process in order to provide the following anoperator s interface knowledge of the PowerMAX OS file systems on the hard disks and tapes The Series 600 system systems normally begin execution in the internal PPCBug routine PPCBug will then autoboot the Series 600 system console off of the appropriate boot media The console is provided in a loadable format as the first file on all bootable media d
69. le Step Processor 3 61 Help Command 3 62 Some options are specified by a dash followed by the option character Command options and data must be entered in lower case In this manual parameters which must be entered are enclosed in lt gt Optional parameters are enclosed in brackets Optional parameters include such items as ending addresses for display commands In general the command syntax is shown below command options start address ending address data OR command options start address byte count data Most commands are terminated in one of two ways by typing a period or by entering a carriage return CR If a command is terminated via a period the command executes immediately and then displays the prompt If the command is terminated via a carriage return the command executes and then allows the use of one of the repeater commands Repeater commands are discussed later in this chapter under the Command Manipulators heading Command Format Although there is no format common to all the commands described in this chapter most of the commands have one or more of the features listed in the sample command shown below Command Specifier Data Format Option Address Representation Data Command Terminator wb p 2 2 Command Repeater Power Hawk Series 600 Console Reference Manual Command Specifier Data Formats Global Options Numeric Values 3 4 Table 3 1 briefly described each
70. le terminal then the NCR controller is the source of the error code However if the generic disk controller is indicating this same error error 0645 GD Controller not found is displayed on the console terminal error 0640 No error This error can only result from an internal hardware or software error error 0641 Interface not configured This error results from selecting a disk or tape device that is not valid for this machine type Use the d command to select an appropriate device type error 0642 Invalid Command This error can only result from an internal hardware or software error error 0643 Unsupported command This error can only result from an internal hardware or software error error 0644 Bad device specification This error results from selecting a disk or tape device that is not valid Use the d command to select an appropriate device type error 0645 Controller not found This error results when an invalid controller number has been provided as part of a device specification Use the d command to select an appropriate controller number 0 through 9 error 0646 Device not found This error results when the device was not found at the specified hardware address Use the d command to select a new device address error 0647 Device type mismatch This error results when the device specification referred to a disk tape when the real device found at that address was a tape disk Ens
71. llowing notation is used throughout this guide Power Hawk Series 600 Console Reference Manual italic bold list Vendor Documentation Books reference cards and items that the user must specify appear in italic type Special terms may also appear in italic User input appears in bold type and must be entered exactly as shown Names of directories files and commands also appear in bold type Operating system and program output such as prompts and messages and listings of files and programs appears in list type Brackets enclose command options and arguments that are optional You do not type the brackets if you choose to specify such option or arguments To access the manuals listed below please visit the Motorola on line documentation site at www mcg mot com literature Manual Name Motorola 2600 4600 MTX Pubs No Series Series Series 2600 Series Single Board Computer Installation V2600A IH X and Use MVME4600 Series VME Processor Module Installation 4600 X and Use MTX Series Single Board Computer Installation and Use MTXA IHI X PPCBug Firmware Package User s Manual Parts 1 amp 2 PPCBUGAI UM amp X X PPCBUGA2 UM MVME712M Transition Module and P2 Adapter Board MVME712MA IH X X Installation and Use Manual MVME761Transition Module Installation and Use VME761A IH X X PowerPC Open Firmware User s Manual Volumes 1 amp 2 PPCOFWAI1 UM
72. mmand Summary A 7 Power Hawk Series 600 Console Reference Manual Query Boot Options qy Configure Console Device tc w r device Configure CPU Down Multiprocessor SBCs Only td cpu list Configure Keyboard Device tk r w intfc intfc parms gt Configure CPU Up Multiprocessor SBCs Only tu cpu list Configure Video Device tv w r device lt dev gt mode lt mode gt bg lt bg gt fg lt fg gt cursor lt cursor gt default Initialize y flags Table A 1 lists the command parameters range and their definitions Table A 1 Command Parameter Definitions Parameter Range Comment address Can be any valid physical or virtual address if the o v option is set including the device address base The address into which the program is loaded Default is 2000 byte_count Number of bytes displayed data 00000000 FFFFFFFF Data to be passed to the program This data is format dependent dev mt c u p b The device that is used by the command dsk c u p b where slot number u unit controller c p partition number 0 7 b bus number 0 dir_name The directory name A 8 Command Summary Table A 1 Command Parameter Definitions Cont Parameter Range Comment destination start The address where the destination is started address end address The address at which the operation stops fill value
73. ng underscore Address Value Console Debugging Commands An address may be entered in any of the following formats numeric value Physical address by default If the o v option is set and virtual memory is enabled then the address defaults to virtual otherwise the address is physical numeric value A physical address is specified by enclosing a numeric value within square brackets numeric value A virtual address is specified by enclosing a numeric value within parenthesis The SDRO and SDRI registers for the processor contain the address of the translation tables numeric value size indirect address is specified by placing an asterisk before a numeric value Note that specifying indirection is valid only for memory reference options The optional size parameter specifies the size of the indirect memory reference and must be in the range 1 through 4 numeric value size Indirect physical address The optional size parameter specifies the size of the indirect memory reference and it must be in the range 1 through 4 numeric value size Indirect virtual address The optional size parameter specifies the size of the indirect memory reference and it must be in the range 1 through 4 Command Manipulators There are two categories of command manipulators terminators and repeaters Most commands can be terminated exited in one of two ways by pressing the CR key or by typing a period If comm
74. o return to the operating system at the point it entered the console 1 UNIX is a registered trademark of the Open Group Power Hawk Series 600 Console Reference Manual Reset Button Abort Button 2 4 MVME x604 systems contain a Reset button on the front of the unit Depressing this button causes a processor reset which will re enter the PPCBug package described earlier Note that this reset does NOT reset the devices on the VMEbus The PowerMAX OS Con sole lt CR gt b sequence may be used to reset the VMEbus and return to the PPCBug pack age The MVME x604 systems contain an Abort button on the front of the unit This button is normally used to interrupt the executing program If this button is depressed while the PowerMAX OS is running the PowerMAX OS Console debug mode is entered as described in the following chapter Entering a command followed by a period at this time returns control to the running system 3 Console Debugging Commands Summary of Commands 8 5 3 1 Syntax Conventions s scie isle ea p Rep Rp RR Re 3 1 Command Format nasa eee aus pa RR EE ag 3 3 Command Specifier Rer ER e E RR 3 4 q EV he dete sai mp RR 3 4 Global Options as etg pe Ep rp eg 3 4 Numeric Values eret esee e eti ERI E ER ARN 3 4 Address Vales sipa CORE RETE 3 5 Command Manipulators leen 3 5 Command Editing se ses saa ep Rr Rp RES 3
75. ons List of commands command Help on one command Example Help on global options Help on parameters The following is a valid command a scii dump as sembl e b reakpoint c opy memory d isplay memory in hex di sassemble e xamine change memory f ile b oot l oad r un s cript g eneral register display modify i nitialize memory to value m emory test o ptions p rocessor register display modify uery un S earch memory w rite data to memory z single step for more help type gt a scii dump a b w l1 start address end address a b w l1 start address byte count 412 help Console Debugging Commands HELP COMMAND Continued An expression can be one or more numeric values separated by the arithmetic operators plus or minus numeric value hex digits hexadecimal number last address value contents of program counter Sregnam contents of processor register regnam address of processor register N symbol address of symbol BnBn binary bits Cu ascii value address value value address value physical address value virtual address value size indirect address value size indirect physical address value size indirect virtual address cmd help on cmd help on command options gt command options
76. onsole system boot procedure has not been cancelled either via entry of the pound sign or the processor board jumper the system boot mode is entered The sequence is as follows PowerMAX OS Console yymmdd 4 3 Type to cancel boot Set Run Mode CPU 0 dsk 0 0 0 0 Initialize VME dsk 0 0 0 0 boot PowerMAX OS Boot Loader Boot stand unix 2981244 602511 1801957 start 0 4000 symbol table loaded Console Interface After the boot program is loaded into memory the processor begins executing code from memory the boot program code Control is passed back to the console during halt reboot and breakpoint operations This section describes how and when control passes from the console to a program in main memory and from that program back to the console System Entry to Console Any entry from a program to the console is performed via exceptions These exceptions consist of breakpoint trace halt and error Upon entry to the console the current context system and user registers and operating modes are saved and prompt is output Commands described in Chapter 3 of this manual may then be input Control is also transferred to the console if the operator enters the sequence lt CR gt i at the system console while the UNIX kernel is in operation Control may be returned to the executing program by entering the r Run command Note that if File commands are used it is no longer possible t
77. out to Begin Press lt BREAK gt at anytime to Abort ALL AutoBoot about to Begin Press lt ESC gt to Bypass lt SPC gt to Continue Booting from NCR53C825 Controller 0 Drive 0 Device Name pci 80000000 pcil000 3 c 0 harddisk 0 0 Loading Operating System IPL Loaded at 03EF0000 Residual Data Located at 03F7F000 As shipped from the factory Autoboot option may not be enabled in which case the pro gram will stop with an input prompt similar to the following PPCl Bug 2 1 Power Hawk Series 600 Console Reference Manual CLUN At this time the following command should be used to boot the console and operating sys tem off of the appropriate boot media PPC1 Bug gt pboot CLUN DLUN Where CLUN is the logical unit number of the controller supporting the boot device and DLUN is the logical unit number of the boot device The operator can acquire the values of CLUN and DLUN by using the ioi command as follows PPCl Bug ioi I O Inquiry Status DLUN CNTIRL TYPE DADDR DTYPE RM Inquiry Data 0 NCR53C825 0 00 N SEAGATE ST32550N 0019 10 NCR53C825 1 00 N SEAGATE ST32550N 0019 20 NCR53C825 2 500 N SEAGATE ST34572N 0784 50 NCR53C825 5 01 Y ARCHIVE Python 28388 XXX 5 72 60 NCR53C825 6 05 Y PLEXTOR CD ROM PX 40TW1 00 0 PC8477 0 00 Y lt None gt Example Boot from tape device Basedupon the above inquiry status results to boot from the ARCHIVE Python 2838
78. pect a medium fault Restore file and reformat error 06C6 GD Null partition A null length partition was specified on the d command To correct this situation select a different partition with the d dsk n n partition no command and retry the command Suspect media Error Codes error 0600 GT Seek failed This type of error occurs when a SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device malfunction Attempt to run the I O diagnostic programs and replace board s indicated error 06D1 GT Load command failed This type of error occurs when a SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device malfunction Attempt to run the I O diagnostic programs and replace board s indicated error 06D2 GT Unload command failed This type of error occurs when a SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device malfunction Attempt to run the I O diagnostic programs and replace board s indicated error 06D3 GT Rewind command failed This type of error occurs when a SCSI device is malfunctioning Reset the system and retry the command If the error still occurs suspect a device malfunction Attempt to run the I O diagnostic programs and replace board s indicated error 06D4 GT Space fwd file command failed This type of error occurs when
79. program base address The base address n is added to start address end address all addresses entered from the command line n is zero by default The hexadecimal address at which the operation starts The default value is the last start address specified The hexadecimal address at which the operation ends byte count Number of bytes displayed The default is a page 256 bytes Note that if you specify word format byte count should be a multiple of two If you specify longword format byte count should be a multiple of four repeaters See the command manipulators paragraph for explanation Examples The following are valid commands d Displays a page of data starting at location 0 in longword format assumes processor mode d BO Displays a page of data starting at location BO db 0 Displays a page of data starting at location 0 in byte format dw 0 4 Displays the first three words d Console Debugging Commands A sample of a hexadecimal memory display is shown below HEXADECIMAL DISPLAY BY BYTE STARTING AT ADDRESS 0 gt 0 000000 000000 00 10 00000020 000000 000000 000000 000000 000000 000000 000000 30 40 50 60 70 80 90 000000A0 000000B0 000000C0 000000 000000 DO EO 000000F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80. rator This action enables modified settings immediately device lt dev gt Select a specific VGA device to enable by its PCI bus device and function number Although there are numerous supported aliases lt dev gt is actually a comma separated tuple composed of the PCI bus device and function number of a specific VGA device If only two numbers are supplied then the function number is assumed to be zero and if only a single number is supplied then the bus and function numbers are both taken as zero A number of aliases can be used including builtin slot1 slot2 slot3 representing the physical connection points of PCI devices The keyword default restores the default selection mechanism mode lt mode gt Select new VGA SVGA video mode lt mode gt can be a number from 1 through 27 or its symbolic equivalent e g color80x25 See display 7 manpage for details of the various supported video modes bg lt bg gt Select a new background color Possible values of lt bg gt are black blue green cyan red magenta brown white gray light blue light green light cyan light red light magenta yellow or bright white Power Hawk Series 600 Console Reference Manual 3 58 tv CONFIGURE VIDEO DEVICE Continued tv fg lt fg gt Select a new foreground color See the bg lt bg gt command for list of possible colors cursor lt cursor gt Select VGA cursor type Possible values for lt cursor gt are uline block or
81. roblem try a different disk or tape drive error 0021 open failed The open of a disk or tape failed error 0022 n in open An illegal bus was specified on a command Use a 0 to specify the primary bus and a 1 for the secondary bus Ensure that the bus exists Use the qb command to query the system configuration error 0022 n in open A device type other than dsk or mt was used error 0023 not a directory Either an I O error occurred or the device does not contain a valid file system Verify that the disk or tape contains valid data and retry the command error 0027 CPU x failed to single step The console single steps a processor by setting the trace bit in the sr register and running that particular processor If the processor does not take a trace exception within one second the single step fails This error most frequently occurs with the z command but it can also occur with the command The command uses single stepping to skip over breakpoints error 0029 a expected n actual m A memory test detected an error at address a The value n was written to memory and the value m was read back Power Hawk Series 600 Console Reference Manual B 4 error 002A All CPUs must be halted An command was attempted when one or more processors where running All of the processors must be halted with the h command before initiating an command error 002E invalid memory destination An internal error occ
82. rrent Computer Corporation All rights reserved This publication or any part thereof is intended for use with Concurrent products by Concurrent Computer Corporation personnel customers and end users It may not be reproduced in any form without the written permission of the publisher The information contained in this document is believed to be correct at the time of publication It is subject to change without notice Concurrent Computer Corporation makes no warranties expressed or implied concerning the information contained in this document To report an error or comment on a specific portion of the manual photocopy the page in question and mark the correction or comment on the copy Mail the copy and any additional comments to Concurrent Computer Corpora tion 2881 Gateway Drive Pompano Beach FL 33069 Mark the envelope Attention Publications Department This publication may not be reproduced for any other reason in any form without written permission of the publisher Night Hawk Power Hawk PowerStack II and PowerMAX OS are trademarks of Concurrent Computer Corporation Printed in U S A Revision History Level Effective With Original Release January 1996 000 Product Release Previous Release March 1999 030 MCP750 Support Release Current Release June 2001 040 Update to Series 600 Preface Scope of Manual This manual describes the console for Concurrent Computer Corporation s Power Hawk Series 600 systems
83. ss fill value b lt n gt start address byte count fill value q q M Memory Test m format b n start address end address m format b n start address byte count O Global Command Options o l m r v b lt n gt A 2 P Processor Register Display Modify p lt register_name gt data Query Address qa lt address gt Query Backplane qb Query Stack qs Query Virtual Address qv virtual address gt Query Boot Options qy R Run Execute r start address Run Execute to Address ra address Run Without Breakpoints rd start address Run to Next Instruction rn start address Run to Return Address rr start address Command Summary A 3 Power Hawk Series 600 Console Reference Manual A 4 2S Search Memory for Data s format b n start address pattern mask Search Memory Range for Data sr format b n start address end address pattern mask sr format b n start address byte count pattern mask T Configure Console Device tc w r lt device gt Configure CPU Down Multiprocesor SBCs Only td cpu list Configure Keyboard Device tk r w intfc intfc parms gt Configure CPU Up Multiprocesor SBCs Only tu cpu list Configure Video Device tv w r device lt dev gt mode lt mode gt bg lt bg gt fg lt fg gt cursor lt cursor gt
84. that the I O controller and device are all the current revision and run the diagnostic programs to validate the hardware error 06B3 _ Write unsupported This error can only result from an internal hardware or software error error 06B4 _ Bad request size This error can only result from an internal hardware or software error error 06C0 GD Can t read disk status This error results when a I O controller or device malfunctions or an internal software error occurs Suspect the I O controller or device malfunction Reset the system and retry the command If the operation still fails ensure that the I O controller or device are all the current revision and run the diagnostic programs to validate the hardware error 06C2 GD Drive off line An I O request to the GD controller returned drive off line status Ensure that the drive is on line and retry the command error 06C3 GD Can t read geometry block Either an I O error occurred or the disk has not been formatted Verify that the disk has been properly formatted Suspect a medium fault Restore file and reformat error 06C4 GD Bad geometry block header Either an I O error occurred or the disk has not been formatted Verify that the disk has been properly formatted Suspect a medium fault Restore file and reformat error 06C5 GD Bad geometry block checksum Either an I O error occurred or the disk has not been formatted Verify that the disk has been properly formatted Sus
85. the options paragraph in this chapter Up to eight breakpoint entries are kept in an internal break address table Syntax b A sample list breakpoint command is shown below gt 00 00001000 CPU physical 01 00002000 CPU physical 3 11 Power Hawk Series 600 Console Reference Manual b Purpose Function Syntax a b n address Examples b1000 b2000 SET BREAKPOINTS b This command sets breakpoints for all or one of the processors When the processor hits a breakpoint the console removes the breakpoints from memory before accepting any commands Some of the breakpoint commands have options preceded by dashes which are listed below For a more detailed description of the options refer to the options paragraph in this chapter Up to eight breakpoint entries are kept in an internal break address table Overflow of the break address table generates an error message When a program begins executing the system enters the breakpoints into the code b a o b lt n gt lt address gt Immediately inserts all breakpoints into memory Breakpoint is temporary Temporary breakpoints are removed once they are hit Specify program base address The base address represented by the address value n is added to all addresses entered from the command line The address value n is zero by default Numeric address values are discussed later in this chapter The address to which a breakpoint is ass
86. the particular bus u is the drive ID p is the partition number 0 through 6 and b is the bus number 0 is normally the internal PCI bus 1 is the VME bus and 2 is the IDE bus To use the absolute mode all four fields must always be entered If you do not specify a device the console assumes the two field version and selects dsk 0 0 The following are valid commands Set the default device to the first tape device found on the various SCSI bus controllers in the system Partition zero is selected by default Set the default device to the disk on SCSI ID 0 of the internal PCI bus SCSI controller Set default to usr partition Console Debugging Commands fd 1 List the available devices and logical device numbers gt fd 1 fd disk tape 0 0 0 x 0 SEAGATE 5 151503 1 0 3 x 0 SEAGATE ST19171W 2 0 4 x 0 SEAGATE ST34573W 3 0 6 x 0 PLEXTOR CD ROM PX 40TW Note CD ROM while listed is not a boot device Examples using the s option The following are valid commands using the s option fd s with no parameters specified clears the default device fd s dsk 1 causes the second disk listed under d 1 to be used as the default boot device on subsequent system boots Example of changing the default disk from drive 0 to drive 1 0 gt dsk 0 0 0 0 0 gt fd s 1 Update NVRAM Y N y NVRAM updated Example of reverting back to drive 0 default 0 gt fd s Clearing default boot devic
87. tl CR hdioctl C0065D60 Power Hawk Series 600 Console Reference Manual 3 38 qb QUERY BACKPLANE Purpose This command displays processor status information Syntax qb A sample display from the qb command is shown below gt qb cpu up run 00 y n qb Console Debugging Commands qs QUERY STACK qs Purpose This command permits stack status to be queried The stack status includes the stack pointer and program counter Note Only the KERNEL stack can be displayed Syntax qs Examples The following is a valid command gt qs KERNEL STACK cnputs at C00639E6 6 BFFFE9E2 cnproc at C0063908 200 BFFFEA46 _ttwrite at COO6ACDA _ttwrite 31E BFFFEA8A raw rw at C0050416 raw rw 526 BFFFEACA write at C002C680 _writet140 BFFFEB66 _syscall at C004F2D2 syscall 1F6 BFFFEBB2 _Xtrap0 at C000C58E XtrapO 1E 3 39 Power Hawk Series 600 Console Reference Manual 3 40 qv QUERY VIRTUAL ADDRESS Purpose This command decodes and prints a virtual address Syntax qv virtual address gt virtual address The virtual address in question Examples The following are valid commands NOTE Page tables should be loaded before expecting complete translations This action may be accomplished via loading UNIX
88. ure that the correct address was used with the d command error 0648 Controller timed out This error results when a I O controller NCR or IS or device malfunctions or an internal software error occurs Suspect the I O controller or device malfunction Reset the system and retry the command Power Hawk Series 600 Console Reference Manual error 0649 Controller reports fatal error This error results when a I O controller NCR or IS or device malfunctions or an internal software error occurs Suspect the I O controller or device malfunction Reset the system and retry the command error 064A Unrecovered device error This error results when a I O controller NCR or IS or device malfunctions or an internal software error occurs Suspect the I O controller or device malfunction Reset the system and retry the command error 064B Device not ready This type of error occurs when the device is off line disk is not up to speed or malfunctioning Ensure that the device is off line and operational Reset the system and retry command error 064C Unit attention condition This type of error occurs for an unexpected SCSI device bus reset device power loss or media change Ensure that the device is on line and operational Reset the system and retry command error 064D Device hit a filemark This type of error occurs for an unexpected filemark or the End Of Valid Data indicator was hit during tape operations
89. urred in the console which caused it to perform an invalid memory reference Reset the console with lt CR gt b and retry the command error 002F register n is read only An attempt was made to modify processor register n Register n is a read only register and may not be modified error 0030 CPU must be running A command was attempted that expected a running processor If a tu command applica ble to multiprocessor SBCs only was being attempted use the r command instead Console Debugger Error Codes error 0201 boot script missing A script by the name boot should always exist The boot script gets executed at power up and should contain commands to boot the operating system The default boot script contains the command b error 0202 slot n is not valid A command referenced slot that was either empty or did not contain a board of the proper type Use the qb command to display the hardware configuration of the system error 020F invalid segment descriptor vaddr n While translating virtual address to a physical address the console referenced an invalid segment descriptor in system memory Ensure that the crp and segment descriptor are valid error 0210 page not in memory vaddr n While translating virtual address to a physical address the console detected that the page containing the virtual address was not in system memory Since the page is not in memory the data in this page is not access
90. verifies that the value is actually 00000014 00000432stored at 10 gt e10 CR 00000010 00000050 lt The user enters a period DEPOSIT A WORD OF DATA WITH THE BYTE PARAMETER gt 10 CR 00000010 00 123 lt The console displays an error message error 0009 memory doesn t match 0000010 23 lt The period terminates the command 3 21 Power Hawk Series 600 Console Reference Manual 3 22 BOOT OPERATING SYSTEM fb Purpose This command boots the operating system OS of the computer The contents Note of processor boot register determine how the system boots Table 3 3 lists the possible values for pboot and the effect of those values on the boot process The values can be added together For example a value of 1 in pboot causes the system to prompt for the boot OS file a value of 2 automatically boots the user into single user mode and a value of 3 boots into single user mode and prompts for the boot file To change the value of processor boot register use the p command Table 3 3 Effect of pboot on Boot Process Ue Effect Boot Process Hex File 0 Boots automatically without option 1 boot Requests file name for boot Asks user to specify the program to load 2 unix Boots OS to single user mode 4 unix Do not synchronize before reboot 8 unix Do not reboot just halt 20 unix Reset system console terminal 80 unix Debug option load symbol tab
91. ys the default device Note Never append a period to this command After the command you must press a CR Periods are valid syntax in parameters Syntax fd 1 s dev s dev Examples fd mt 0 fd dsk 0 0 0 0 fd dsk 0 0 2 0 List the logical device table If this option is entered do not enter dev This option displays all of the available boot devices tapes and disks along with the logical device numbers See examples below Saves the device specified in NVRAM as the default boot device On subsequent boots if the system is allowed to boot automati cally or the operator does not enter an fd command the device saved in NVRAM is used Any entry of fd will cause the default to be not used until the next boot See examples using the s option on the next page The device that is to be chosen as the default device Two formats are available depending upon the number of fields in dev The two field version is either dsk d p or mt d p whered isa logical device number and p is the partition number 0 through 6 Logical device numbers always run from 0 to n and correspond to the available boot devices found by the system during a search of all available SCSI controllers The table of logical device numbers may be displayed via the 1 option The second format for dev provides an absolute hardware address and is input as dsk or mt c u p b where c is the controller number within
Download Pdf Manuals
Related Search
Related Contents
Manifestations Juillet - Communauté d`agglomération de Lens Licence 2 - Pôle de Psychologie Sciences de l`éducation カタログ Canon LBP-5200 User Guide Manual - Meixner Observatorium ba_Heizlüfter Flat.indd - ROWI Schweißgeräte & Elektrowerkzeuge EasyMP Multi PC Projection Makita DPC6410 (UK) User's Manual l`environnement - Rivedoux Copyright © All rights reserved.
Failed to retrieve file