VIRTUTECH CONFIDENTIAL Previous - Up - Next
3 Simulated Machines
Simics scripts for starting x86-440bx machines are located in the
[workspace]/targets/x86-440bx/ directory, while the actual
configuration scripts can be found in
[simics]/targets/x86-440bx/.
3.1 Tango
Tango has Fedora Core 5 installed. The base configuration has a single 20 MHz
Pentium 4 processor, 256 MB memory, one 19GB IDE disk and one IDE CD-ROM.
There is also an AGP based Voodoo3 graphics card and a PCI based DEC21143
network adapter. The default configuration can be modified as described in
section 3.5.
Additional information:
- Fedora Core 5. Installed on Simics with developer support with several
services disabled.
- Linux kernel 2.6.15, including SMP support.
- SimicsFS support (read-only, write support experimental).
- Login root, password "simics".
- X11 configured for Voodoo 3 in 800x600 24-bit.
- Configured to get IP address using DHCP.
3.1.1 Tango Scripts
- tango-common.simics
- Starts the Tango machine with the default configuration.
- tango-gcache-common.simics
- Default Tango machine with a g-cache cache model
connected.
- tango-ma-common.simics
- Default Tango machine with a simple processor timing model connected.
Simics must be stared in MAI mode (-ma) to run this script.
- tango-multi.simics
- Example script with two Tango machines in the same session, connected
by an Ethernet link. Note that the graphics console module for Windows host
machines can only display one console, meaning that this script cannot be used
on windows unless video text consoles are used. Video text consoles are enabled
with the $text_console variable (see section 3.5).
3.2 Enterprise
Enterprise has Red Hat Linux 7.3 installed. The base configuration has a single 20 MHz Pentium 4 processor, 256 MB memory, one
19GB IDE disk and one IDE CD-ROM. There is also an AGP based Voodoo3 graphics
card and an ISA based LANCE network adapter. The default configuration can be
modified as described in section 3.5.
Additional information:
- Red Hat Linux 7.3. Installed on Simics as Workstation with no firewall,
containing the KDE and Software Developer package groups.
- Linux kernel 2.4.18, including SMP support.
- SimicsFS support (read-only, write support experimental).
- Login root, no password.
- X11 configured for Voodoo 3 in 800x600 32-bit.
- Configured with static IP address 10.10.0.15, gateway 10.10.0.1, when DHCP not used.
3.2.1 Enterprise Scripts
- enterprise-common.simics
- Starts the Enterprise machine with the default configuration.
- enterprise-dhcp-common.simics
- Similar to enterprise-common.simics, but gets the host name and IP address
from the DHCP server.
- enterprise-gcache-common.simics
- Default Enterprise machine with a g-cache cache model
connected.
- enterprise-ma-common.simics
- Default Enterprise machine with a simple processor timing model connected.
Simics must be stared in MAI mode (-ma) to run this script.
- enterprise-multi.simics
- Example script with two Enterprise machines in the same session, connected
by an Ethernet link. Note that the graphics console module for Windows host
machines can only display one console, meaning that this script cannot be used
on windows unless video text consoles are used. Video text consoles are enabled
with the $text_console variable (see section 3.5).
3.3 Hippie
Hippie includes a standard Red Hat Linux 6.2 install. In the
default configuration hippie has a single 20MHz Pentium 4 processor, 256 MB memory, one 1GB IDE
disk and one IDE CD-ROM. There is also a PCI based Voodoo3 graphics card and
an ISA based LANCE network adapter. The default configuration can be modified
as described in section 3.5.
Additional information:
- Red Hat Linux 6.2, installed on Simics as "KDE Workstation".
- Linux kernel 2.2.14, including SMP support.
- SimicsFS support.
- Login root, no password.
- X11 configured for Voodoo 3 in 800x600 32-bit.
- Configured with static IP address 10.10.0.9, gateway 10.10.0.1, when DHCP not used.
3.3.1 Hippie Scripts
- hippie-common.simics
- Starts the Hippie machine with the default configuration.
- hippie-dhcp-common.simics
- Similar to hippie-common.simics, but gets the host name and IP address
from the DHCP server.
- hippie-gcache-common.simics
- Default Hippie machine with a g-cache cache model
connected.
3.4 Dredd
Dredd ships without software, and is intended to be used for installing new OSes on Simics.
In the default configuration dredd has a single 20MHz Pentium 4 processor,
256 MB memory, one 19GB IDE disk and one IDE CD-ROM. There is also an AGP
based Voodoo3 graphics card and a PCI based DEC21143 network adapter. The
default configuration can be modified as described in section
3.5.
Information about how to install an OS in described in more detail in
chapter 6.
3.4.1 Dredd Scripts
- dredd-cd-install1.simics
- Script for installing an OS on Dredd in Simics, phase 1.
- dredd-cd-install2.simics
- Script for installing an OS on Dredd in Simics, phase 2.
- dredd-common.simics
- Starts the Dredd machine with the default configuration. Can not be run
until after an OS has been installed on Simics.
- dredd-gcache-common.simics
- Default Dredd machine with a g-cache cache model
connected.
3.5 Parameters for Machine Scripts
The following parameters can be set before running the
tango-common.simics, enterprise-common.simics,
hippie-common.simics, or dredd-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
enterprise-dhcp-common.simics script will always set the
$create_network variable to yes.
Parameters can be specified directly on the Simics command line
with the run expression (-e) switch:
$ ./simics -e '$cpu_class="pentium-ii"' targets/x86-440bx/enterprise-common.simics
They can also be initialized within Simics before the base script is run:
$ ./simics
simics> $cpu_class="pentium-ii"
simics> run-command-file "targets/x86-440bx/enterprise-common.simics"
If you are using the wxWindows frontend on Windows, you will need to
create a script that both sets the parameter and includes the base
script.
3.5.1 tango-common, enterprise-common, hippie-common and dredd-common
- $create_network
- Set to yes if the script should create an Ethernet link and
connect the primary Ethernet adapter to it.
- $cpu_class
- The type of processor to create. Should be one of pentium,
pentium-mmx, pentium-pro, pentium-ii,
pentium-iii, pentium-4, pentium-4e,
pentium-4e-2ht, pentium-4e-4ht
and x86-hammer.
- $disk_size
- Size of the primary hard disk. This parameter must match any disk images
that are added to the primary disk.
- $enter_in_boot_menu
- Set to no to prevent the script from pressing enter in the boot
menu, default is yes. This option does not apply to the dredd
machine.
- $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.
- $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, in the system.
- $num_cpus
- The number of processors in the 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.
- $text_console
- Set to yes to connect a text console to the VGA display instead
of a graphical console that is default.
VIRTUTECH CONFIDENTIAL Previous - Up - Next