SGI::Origin 2000 MMSC commands

Posted on October 22nd, 2008

If you have connected your serial cable to the console port (dont use tty1 – that goes to the MSC on on the lower module) and set the usual 9600,8,n,1 with hardware or xon/xoff – try pressing ^T to get something in your putty / hyperterminal window.

YOu should be able to see the following command prompt, and you may need to preede every command with the ^T (press CTRL and T together), otherwise you get the rack ID “R#:OK” as in the example below.


MMSC>
R7:OK
MMSC> VER
R7:MMSC 1.3

Here are some useful commands




MMSC> HELP COM
COM

- Show parameters for MMSC port


COM

CMD ON|OFF - Enable/disable MMSC commands on


COM

FUNCTION - Set the function of port

to
COM

OOB ON|OFF - Enable/disable OOB commands on


COM

RXBUF - Set size of serial receive buffer
COM

SPEED - Set baud rate of port

to
COM

TXBUF - Set size of serial transmit buffer
COM

HWFLOW ON|OFF - Enable/disable HW flow control on


Valid functions include: TERMINAL, SYSTEM, UPPER, LOWER
ALTCONS, DAEMON
Valid baud rates include: 300, 1200, 2400, 4800, 9600,
19200, 38400, 57600, 115200


MMSC> COM
R7:ERROR ARG
MMSC> COM 1
R7:OK COM 1 speed 9600 func TERMINAL cmd Y oob N rxbuf 4096 txbuf 65536 hwflow N
MMSC> COM 2
R7:OK COM 2 speed 9600 func UPPER cmd N oob N rxbuf 16384 txbuf 4096 hwflow N
MMSC> COM 3
R7:OK COM 3 speed 9600 func LOWER cmd N oob N rxbuf 16384 txbuf 4096 hwflow N
MMSC> COM 4
R7:OK COM 4 speed 9600 func SYSTEM cmd Y oob Y rxbuf 16384 txbuf 4096 hwflow N
MMSC> COM 5
R7:OK COM 5 speed 9600 func ALTCONS cmd Y oob N rxbuf 4096 txbuf 4096 hwflow N
MMSC> 6 COM 6
R7:OK COM 6 speed 9600 func DEBUG cmd N oob N rxbuf 4096 txbuf 4096 hwflow N

MMSC> PRINTENV


MMSC> PRINTENV ALL
PROGRESS_INTERVAL=
XFER_MAX_ERROR=
XFER_MAX_TMOUT=
DEBOUNCE_DELAY=
LOG_DFLT_NUMLINES=
LOG_DFLT_LINELEN=
PAGE_DFLT_LINES=
PWR_DELAY=

However you will do better if you can get help on each command, so try this:


MMSC> ?
Help is available on the following commands:

AUTHORITY, BS, CECHO, COM, CONSOLE, DEST, DIRECT, END, ESC, EXIT, FLASH, HELP,
KILL, LOG, MMSC, MMSG, MSC, NAP_TIME, OPTIONS, PAGER, PASSWORD, PRINTENV,
RACKID, RAT, RESET_MMSC, RESET_NVRAM, RMSG, SCAN, SETENV, STEAL, UNSETENV,
UNSTEAL, VER, ?

For more info on a command, type HELP

MMSC> HELP AUTHORITY
AUTHority - Show the current au
AUTHority [] - Switch to authority level
Valid levels include: BASIC, SUPERVISOR, SERVICE


MMSC> HELP BS
BS ? - Show current backspace character
BS - Change the backspace character


MMSC> HELP CECHO
CECHO - Toggle the command echo mode
CECHO ON - Echo MMSC commands as they are typed
CECHO OFF - Do not echo commands


MMSC> HELP COM
COM

- Show parameters for MMSC port


COM

CMD ON|OFF - Enable/dis
COM

FUNCTION - Set the function of port

to
COM

OOB ON|OFF - Enable/disable OOB commands on


COM

RXBUF - Set size of serial receive buffer
COM

SPEED - Set baud rate of port

to
COM

TXBUF - Set size of serial transmit buffer
COM

HWFLOW ON|OFF - Enable/disable HW flow control on


Valid functions include: TERMINAL, SYSTEM, UPPER, LOWER
ALTCONS, DAEMON
Valid baud rates include: 300, 1200, 2400,
19200, 38400, 57600, 115200

MMSC> HELP CONSOLE
CONSole - Switch to normal console input mode
CONSole - Send to system console

MMSC> HELP DEST
DEST - Set/display current default destination

MMSC> HELP DIRECT
DIRECT - Connect to the other terminal

MMSC> HELP END
END ? - Show current end-of-command character
END - Change the end-of-command character

MMSC> HELP ESC
ESC ? - Show current escape character
ESC - Change the escape character

MMSC> HELP EXIT
EXIT - Return to previous input mode
EXIT ? - Show current exit character
EXIT - Change the exit character

MMSC> HELP FLASH
FLASH [FROM SYSTEM] - Flash firmware image from system
FLASH FROM CONSOLE - Flash firmware image from console

MMSC> HELP KILL
KILL ? - Show current kill-line character
KILL - Change the kil

MMSC> HELP LOG
LOG CLEAR - Clear the contents of
LOG DUMP [] - Dump last lines of
LOG DISABLE - Disable logging to
LOG ENABLE - Enable logging to
LOG INFO - Show info about
LOG LINES - Set # of lines in
LOG LENGTH - Set average line length in
LOG ? - Same as LOG INFO
Valid values for are: MSC, SYSTEM, TERMINAL,
ALTCONS, DEBUG, DISPLAY

MMSC> HELP MMSC
MMSC - Switch to MMSC input mode
MMSC - Send directly to the MMSC

MMSC> HELP MMSG
MMSG - Rotate between ON/TERSE/OFF modes
MMSG ON - Display MSC messages on terminal
MMSG TERSE - Display MSC messages without ID header
MMSG OFF - Do not display MSC messages
MMSG RACK - Show rack receiving MSC messages
MMSG RACK - Send MSC mess
MMSG ALTRACK [] - Same as RACK, but for ALTERNATE console

MMSC> HELP MSC
MSC - Switch to MSC input mode
MSC - Send to the MSC

MMSC> HELP NAP_TIME
NAP_TIME - Show the current nap interval
NAP_TIME DEFAULT - Reset nap interval to default value
NAP_TIME - Set nap interval to usecs

MMSC> HELP OPTIONS
OPTIONS - Show the current option flags
OPTIONS - Set the current option flags

MMSC> HELP PAGER
PAGER BACK - Set page-backward character
PAGER FWD - Set page-forward character
PAGER INFO - Show information about pager
PAGER LINES - Set the page length to lines
PAGER OFF - Disable paged output of long messages
PAGER ON - Enable paged output of long messages
PAGER QUIT - Set quit output character
PAGER ? - Same as PAGER INFO

MMSC> HELP PASSWORD
PASSWORD SET

- Set password

to
PASSWORD SETMMSC - Like SET, but don't notify MSC
PASSWORD UNSET

- Remove password


Valid values for

include: MSC, SUPERVISOR, SERVICE

MMSC> HELP PRINTENV
PRINTENV - Print non-default environment variables
PRINTENV ALL - Print all environment variables

MMSC> HELP RACKID
RACKID - Show the ID of the addressed rack
RACKID - Change the ID of the addressed rack

MMSC> HELP RAT
RAT - Enter Remote Access Tool mode


MMSC> HELP R
RESET_MMSC - Restart the addressed MMSC(s)


MMSC> HELP RESET_NVRAM
RESET_NVRAM - Reset NVRAM to default values


MMSC> HELP RMSG
RMSG - Switch to the next response message mode
RMSG ON - Show responses to all MSC/MMSC commands
RMSG ERROR - Only show non-OK responses
RMSG OFF - Do not show responses to commands


MMSC> HELP SCAN
SCAN - Scan for new or changed modules

MMSC> HELP SETENV
SETENV [=] - Set an environment variable

MMSC> HELP STEAL
STEAL - Take control of the system console

MMSC> HELP UNSETENV
UNSETENV - Unset an environment variable

MMSC> HELP UNSTEAL
UNSTEAL - Give console back to other terminal

MMSC> HELP VER
VER - Show current MMSC firmware revision

bluequartz website

Posted on October 21st, 2008

Grrr! I keep forgetting how to get to what I want on the http://bluequartz.org/ website, on account of the homepage being, well, a bit sucky. Dont let that put you off though – heres how to get to some good stuff:

http://bluequartz.org/docs/

This page has links about
# Adding your menu item on UI (Yutaka Yasuda, Cobalt Users Group)
# gcc installation to BlueQuartz 5100R / FC1 Ref. Kit (Yutaka Yasuda Cobalt Users Group)
# BlueQuartz serial console HOWTO (Makoto Oda, Cobalt Users Group)
# How to translate messages of UI (Michael Stauber)

http://bluequartz.org/trac/

but the most important link:

Sausalito Developer’s Guide
ftp://ftp-eng.cobalt.com/pub/developer/TechNotes/SSDK.pdf