3 Simulated Machines

Simics scripts for starting SunFire machines are located in the
[workspace]/targets/sunfire/ directory, while the actual
configuration scripts can be found in
[simics]/targets/sunfire/.

3.1 Peanut

Peanut is a Sun Enterprise 6500 server with a single UltraSPARC II processor
running at 168 MHz, and 256 MB of memory. It has one Ethernet adapter, one
SCSI disk and one SCSI CD-ROM. The default configuration can be modified as
described in section 3.6. The Solaris
operating system must be installed on peanut, using the supplied scripts,
before it can be used.

3.1.1 Peanut Scripts

peanut-common.simics

Starts the Peanut machine with the default configuration.

peanut-gcache-common.simics

Default Peanut machine with a g-cache cache model connected.

peanut-ma-common.simics

Default Peanut machine with a simple processor timing model connected.
Simics must be stared in MAI mode (-ma) to run this script.

peanut-ooo-common.simics

Default Peanut machine with a simple out-of-order timing model connected.
Simics must be stared in MAI mode (-ma) to run this script.

peanut-multi.simics

Example script with two Peanut machines in the same session, connected
by an Ethernet link.

peanut-sol<version>-cd-install1.simics

Script for installing Solaris on the simulated machine, phase 1.
<version> is one of 8, 9 and 10.

peanut-sol<version>-cd-install2.simics

Script for installing Solaris on the simulated machine, phase 2.
<version> is one of 8, 9 and 10.

peanut-sol<version>-cd-install3.simics

Script for installing Solaris on the simulated machine, phase 3.
<version> is one of 8, 9 and 10.

3.2 Walnut

Walnut is a Sun Enterprise 6500 server with a single UltraSPARC II processor
running at 168 MHz, and 256 MB of memory. It has one Ethernet adapter, one
SCSI disk and one SCSI CD-ROM. The default configuration can be modified as
described in section 3.6. An
operating system must be installed on walnut before it can be used.

3.2.1 Walnut Scripts

walnut-common.simics

Starts the Walnut machine with the default configuration.

walnut-cd-install1.simics

Script for installing an OS on the simulated machine, phase 1.

walnut-cd-install2.simics

Script for installing an OS on the simulated machine, phase 2.

3.3 Cashew

Cashew is a Sun Enterprise 6500 server with a single UltraSPARC II processor
running at 168 MHz, and 256 MB of memory. It has one Ethernet adapter, one
SCSI disk and one SCSI CD-ROM. The default configuration can be modified as
described in section 3.6.

Cashew is configured for an existing Aurora Linux 2.0 disk dump, that can be
downloaded from the Virtutech web site.

Additional information:

Aurora 2.0 Linux (Fedora Cora 3), installed directly on Simics.

Linux kernel 2.6.13

SimicsFS support.

Login root, password "simics".

Configured to get IP address using DHCP.

3.3.1 Cashew Scripts

cashew-common.simics

Starts the Cashew machine with the default configuration.

cashew-fb-common.simics

Similar to cashew-common.simics, but also adds a frame-buffer device
(graphic card) and a graphical console.

cashew-gcache-common.simics

Default Cashew machine with a g-cache cache model connected.

cashew-multi.simics

Example script with two Cashew machines in the same session, connected
by an Ethernet link.

3.4 Bagle

Bagle is a Sun Enterprise 6500 server with a single UltraSPARC II processor
running at 168 MHz, and 256 MB of memory. It has one Ethernet adapter, one
SCSI disk and one SCSI CD-ROM. The default configuration can be modified as
described in section 3.6.

Bagle is configured for an existing SuSE Linux 7.3 disk dump, that can be
downloaded from the Virtutech web site.

3.4.1 Bagle Scripts

Similar to bagle-common.simics, but gets the host name and IP address
from the DHCP server.

bagle-fb-common.simics

Similar to bagle-common.simics, but also adds a frame-buffer device
(graphic card) and a graphical console.

bagle-gcache-common.simics

Default Bagle machine with a g-cache cache model connected.

bagle-ma-common.simics

Default Bagle machine with a simple processor timing model connected.
Simics must be stared in MAI mode (-ma) to run this script.

bagle-ooo-common.simics

Default Bagle machine with a simple out-of-order timing model connected.
Simics must be stared in MAI mode (-ma) to run this script.

bagle-multi.simics

Example script with two Bagle machines in the same session, connected
by an Ethernet link.

3.5 Donut

Donut is a Sun Enterprise 6500 server with a single UltraSPARC II processor
running at 168 MHz, and 256 MB of memory. It has one Ethernet adapter, one
SCSI disk and one SCSI CD-ROM. The default configuration can be modified as
described in section 3.6.

The Donut machine is configured for existing Solaris 8, 9 or 10 disk dumps.
The disk dumps are only available for commercial customer with a special
license agreement with Sun. Some common GNU utilities are installed on the disk
images, such as bash, gcc, gmake and emacs.
The SimicsFS file-system is also included.

3.5.1 Donut Scripts

Similar to donut-common.simics, but gets the host name and IP address
from the DHCP server.

donut-fb-common.simics

Similar to donut-common.simics, but also adds a frame-buffer device
(graphic card) and a graphical console.

donut-gcache-common.simics

Default Donut machine with a g-cache cache model connected.

donut-ma-common.simics

Default Donut machine with a simple processor timing model connected.
Simics must be stared in MAI mode (-ma) to run this script.

donut-ooo-common.simics

Default Donut machine with a simple out-of-order timing model connected.
Simics must be stared in MAI mode (-ma) to run this script.

donut-multi.simics

Example script with two Donut machines in the same session, connected
by an Ethernet link.

3.6 Parameters for Machine Scripts

The following parameters can be set before running the
peanut-common.simics, walnut-common.simics,
bagle-common.simics or donut-common.simics scripts.
Other .simics scripts may set some of the parameters
unconditionally, and do not allow the user to override them. For example, the
bagle-dhcp-common.simics script will always set the
$create_network variable to yes.

3.6.1 peanut-common, walnut-common, bagle-common and donut-common

$create_network

Set to yes if the script should create an Ethernet link and
connect the primary Ethernet adapter to it.

$disk_size

Size of the primary hard disk. This parameter must match any disk images
that are added to the primary disk.

$do_boot

Set to no to stop at OBP prompt, without booting the OS.

$do_login

Set to no to prevent the script from logging in as root
automatically when the operating system has reached the login prompt.

$eth_link

The Ethernet link to connect the primary Ethernet adapter to. This
parameter should be set when a link already exist and the
$create_network parameter is no.

$hostid

The hostid for the simulated machine.

$freq_mhz

The clock frequency in MHz for all processors.

$host_name

The host name used by the DHCP and DNS servers for this machine This
variable will not change the host name set for the machine on the disk
dumps.

$ip_address

The IP address used by the DHCP and DNS servers for this machine This
variable will not change any IP address set for the machine on the disk
dumps.

$mac_address

MAC address of the primary Ethernet adapter.

$memory_megs

The total amount of system memory, in MB.

$num_cpus

The number of processors in the machine.

$os

The operating system to boot, one of solaris10, solaris9,
and solaris8. Requires that a matching disk dump exists. This variable
does not exist for the bagle machine.

$rtc_time

Date and time of the real-time clock at boot.

$service_node

The service node to use for DHCP and DNS. This parameter should be
set when a service noce already exist and the $create_network
parameter is no.