Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Initial update

...

Back to Table of Contents

General description

CHARON-AXP supports emulation of an integrated virtual Acer Labs 1543C IDE/ATAPI controller.This section describes how to find proper "/dev/sg" device for CHARON mapping

Back to Table of Contents

Loading Acer Labs 1543C IDE/ATAPI adapter

By default the integrated virtual Acer Labs 1543C IDE/ATAPI controller is preloaded with a name "ide".

Example:

set ide container="/dev/cdrom"
Back to Table of Contents

Configuration parameters

The Acer Labs 1543C IDE/ATAPI adapter emulation has only one configuration parameter:

Parameter

Type

Value

container

Text String

  • "/dev/sr<N>"
  • "/dev/cdrom"
  • "/dev/cdrom<N>

Specifies the name of ATAPI or SATA CD/DVD-ROM drive attached to the host system.

By default it is left unspecified.

Example:

set ide container="/dev/sr0" 

When running HP OpenVMS/Alpha Operating System on top of CHARON-AXP virtualization layer the specified CD/DVD-ROM drive is available as DQA0: device.

CHARON-AXP is able to boot any OpenVMS/Alpha and Tru64 version from Acer Labs 1543C IDE/ATAPI CD-ROM.

...

Procedures of finding the target "/dev/sg" device

First method

In xterm console issue:

# cat /proc/scsi/sg/device_hdr; cat /proc/scsi/sg/devices

The output will look something like:

host chan id lun type opens qdepth bus online
4 0 0 0 5 1 1 0 1
5 0 0 0 0 1 1 0 1

The fifth field ("type") is the device type.

ValueDevice
0Disk
1Tape
5CD-ROM

The "N" in the "/dev/sgN" is the line number in this table (starting from 0) corresponded to the devices CHARON-AXP will use.

Thus "/dev/sg0" will be CD-ROM mapping in this example.

Back to Table of Contents

Second method

On a freshly booted system please issue the following command:

# dmesg | grep sg

The output will look like that:

[ 1.503622] sr 4:0:0:0: Attached scsi generic sg0 type 5
[ 1.780897] sd 5:0:0:0: Attached scsi generic sg1 type 0

(warning) This table lists all the devices, not only the real SCSI ones (SATA/IDE for example). CHARON supports only real SCSI devices.