Charon-PAR Console

Contents

General Information

The Charon-PAR console has several functions:

  • It shows log output during the time the emulator is active.
  • It allows to stop the emulator using the exit command at the console prompt.
  • It accepts certain commands that are interpreted by the running emulator.

Accessing the Charon-PAR Console

The Charon-PAR Console can be accessed in two different ways:

  • When starting the emulator interactively without any console-specific parameters, the console will open in the terminal in which the emulator was started.
  • Starting with version 3.0.1, there is an additional command-line parameter when starting the emulator. It allows the redirection of the Charon-PAR console to a TCP port (local access only).

Charon-PAR Console in Current Host Terminal Window

The example below shows how a Charon-PAR emulator is started interactively and the Charon-PAR console is displayed in the current host terminal window:

# /opt/charon/bin/charon-par -f ./host1-hpux-physeth.cfg 
20201026:134810.542014:Charon-PAR
20201026:134810.542188:Version 3.0.1, build 21.500 38927fc Sep 29 2020 17:28:55 Prod
20201026:134810.542231:Copyright (c) 2011-2020 by Stromasys.
20201026:134810.547210:Checking the available license key "445532399".
20201026:134810.660840:Found license key: "445532399".

<lines removed>

20201026:134815.114034:Product Name = Charon-PA9-64-L4 License key ID = 445532399.
20201026:134815.115400:Product DIT level adv
20201026:134815.117806:config load: ./host1-hpux-physeth.cfg
20201026:134815.119083:System model: rp7400-1-650

<lines removed>

20201026:134816.511458:cpu0: run cpu loop
20201026:134816.511534:Host CPU freq: 3461
20201026:134816.638887:starting process 'putty -load PAR-Telnet-VT100'

20201026:134816.640643:uart2: port address: 0.0.0.0:30002
pa9-64>20201026:134816.742516:uart0: Client connected

pa9-64>
pa9-64>
pa9-64>



Charon-PAR Console on Network Port

This feature is available starting with Charon-PAR version 3.0.1. The example below shows how a Charon-PAR emulator is started in daemon mode and the Charon-PAR console is reachable on TCP port 12345 (the command-line parameters are described in Charon-PAR Command-Line Options):

# /opt/charon/bin/charon-par -x  -f ./host1-hpux-physeth.cfg -c 12345
20201026:135307.060655:Charon-PAR
20201026:135307.060881:Version 3.0.1, build 21.500 38927fc Sep 29 2020 17:28:55 Prod
20201026:135307.060943:Copyright (c) 2011-2020 by Stromasys.
20201026:135307.062010:daemon mode pid: 17198
20201026:135307.066758:Checking the available license key "445532399".
20201026:135307.168306:Found license key: "445532399".

<lines removed>

20201026:135311.623945:Product Name = Charon-PA9-64-L4 License key ID = 445532399.
20201026:135311.624498:Product DIT level adv
20201026:135311.625298:config load: ./host1-hpux-physeth.cfg
20201026:135311.626446:System model: rp7400-1-650

<lines removed>

20201026:135312.232223:cpu0: run cpu loop
20201026:135312.232297:Host CPU freq: 3461
20201026:135312.351846:starting process 'putty -load PAR-Telnet-VT100'

20201026:135312.355624:uart2: port address: 0.0.0.0:30002
20201026:135312.357104:Telnet console address: 127.0.0.1:12345
20201026:135312.457464:uart0: Client connected

[root@redhat7 9KTraining]# 
[root@redhat7 9KTraining]# telnet localhost 12345
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

pa9-64> 

Important Commands on the Charon-PAR Console

There is a small number of commands that are relevant to the user and can be entered on the Charon-PAR console:

  • exit: stops the emulator. Ensure that the guest operating system has been cleanly shut down before entering this command.
  • signal_toc: equivalent to pressing CTRL+B on a physical PA-RISC system. It brings the emulated system to the emulated PDC console, for example, to access the emulator console without restarting the emulator after the guest operating system has been shut down. You may have to answer a question about writing a dump file before the PDC console can be accessed. The CTRL+B key combination is blocked on the emulator console itself (starting with version 3.0.1) to avoid unintentional damage.
  • <MKXN>.load: load a tape for a HP-UX guest operating system if the autoload parameter has not been configured.





© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.