...
Table of Contents |
---|
exclude | Contents |
---|
style | square |
---|
|
General Information
#TBD: Find board HP product number
The SuperIO module is included in the Astro chipset and emulates a HP9000 PCI board with the emulation of HP9000 PCI expansion card containing PC style peripherals:
- parallel port
- 2 serial ports
- dual-channel IDE controller
- floppy disk controller
- USB 1.1 controller
- timer
- PIC interrupt controller
The current version of Charon-HPA supports emulates only a subset of these devices. And the SuperIO module is only supported on models that are based on the Astro chipset (rp24xx and rp54xx).
Currently supported are (depending on support by the emulated model and guest operating system)
- two serial ports
- one parallel port
...
SuperIO Module Configuration
Excerpt |
---|
Before any devices of the module can be configured configured and used, the module must be loaded in the emulator configuration file. SuperIO module can be loaded to any system model supporting PCI bus. By default it is loaded on models based on the Astro chipset (rp24xx and rp54xx). Use the following syntax to load this module: load SUPERIO sio <bus-number> <slot-number>
Example: load SUPERIO sio 0 6
Excerpt |
---|
Please note: - Only one SuperIO module can be loaded in the configuration. Multiple SuperIO instances will not work properly.
- The usable bus numbers and slot numbers depend on the emulated model and the already loaded devices.
- If other PCI device is installed to the given PCI slot, load command fails with error message.
- If SuperIO module connected to the PCI bus prior to the system serial console, GSP console is set to the first SuperIO serial port.
- Warning: HP-UX does not support SuperIO serial port as GSP console, it crashes on the early boot step.
- Important: take care to always use a slot number higher than the one where the system console line has been loaded. Otherwise, HP-UX will fail on boot.
|
Serial ports installed on SuperIO module can be configured the same as other serial ports. Please see chapter Serial Line Emulation Notes for more information. Path names for serial devices in the emulator configuration: - superio_001.uart0 - COM0 port
- superio_001.uart0 - COM1 port
Serial ports configuration example: Code Block |
---|
| superio_001.uart0.device.type="telnet"
superio_001.uart0.device.port=":30001"
superio_001.uart1.device.type="telnet"
superio_001.uart1.device.port=":30002" |
Parallel port installed on SuperIO module connects to the host system parallel port device /dev/parport0 , so the parallel port output from guest OS is redirected to the host parallel port. No additional configuration for the parallel port is required. If no parallel port device exists on the host system, error message printed to the emulator log. It does not affect system operation, only parallel port redirection is not working: Code Block |
---|
| err:open('/dev/parport0', O_RDWR) is failed (errno 2) No such file or directory
err:ioctl(handle, PPCLAIM) is failed (errno 9) Bad file descriptor |
Modern host systems has no physical parallel port installed. USB-LPT adapter or software redirector (like LPT-over-IP) can be used. Emulated parallel port operation depends on host parallel port operation, some USB-LPT adapters works not stable. After booting the guest HP-UX system, this will result in an ioscan output similar to the following: Code Block |
---|
| ba 1 0/0/6/1 superio CLAIMED BUS_NEXUS PCI Core I/O Adapter
tty 1 0/0/6/1/1 asio0 CLAIMED INTERFACE Built-in RS-232C
tty 2 0/0/6/1/2 asio0 CLAIMED INTERFACE Built-in RS-232C
ext_bus 4 0/0/6/1/3 SCentIf CLAIMED INTERFACE Built-in Parallel Interface
unknown -1 0/0/6/1/4 UNCLAIMED UNKNOWN Built-in Floppy Drive |
Please note: Only one SuperIO module can be loaded in the configuration.The slot number in the load command is not the same as the slot numbers used to indicate free PCI IO expansion slots where, for example, an additional SCSI adapter can be loaded. Instead, it indicates the position of the module on the bus.The usable bus numbers and slot numbers depend on the emulated model and the already loaded devices.Important: take care to always use a slot number higher than the one where the console line has been loaded. Otherwise, HP-UX will mistakenly configure the SuperIO serial line as the system console and the system boot will fail. |
Div |
---|
|
Configuring the Devices
Serial Lines
Please see chapter Serial Line Emulation Notes for more information.
SuperIO serial lines cannot be used as the system console.
Parallel Port
If the Linux guest system has a parallel port with a device file named /dev/parport0 (can also be linked to a USB parallel port), the emulator will connect to this parallel port automatically without additional information.
However, it may be necessary to install the required kernel drivers in HP-UX and rebuild the kernel to activate the interface. If the ioscan command shows the parallel port as UNCLAIMED, perform the following steps: - Use the kcmodule command to verify the status of the required drivers:
# kcmodule |grep CentIf
CentIf static explicit
SCentIf static explicit
- If the status is unused, load the modules into the kernel using the commands:
# kcmodule CentIf=best
# kcmodule SCentIf=best
- You will be informed that this change can only become active after the next reboot. If you confirm, the kernel will be modified and you can reboot the system.
Once the ioscan command shows that the parallel port as CLAIMED by the correct driver, you can, for example, use SAM to configure a printer on the parallel port (Printers and Plotters > LP Spooler > Printers and Plotters > Action > Add Local Printer > Add Parallel Printer).
|
Include Page |
---|
| KBCOMMON:DOC-GoToToc |
---|
| KBCOMMON:DOC-GoToToc |
---|
|