I have been trying to have a simics image that could run the c version of DSTM for a few days. The problem is that for some reason that we cannot run files compiled on a solaris 10 machine, that we have in the lab, on simics.
Today, I tried to compile the file on the solaris machine we had, it actually does not compile. And as it turns out, it is the makefile that contain windows line termination character that causes the problem.
And here is some tips for installing Solaris in simics virtual machines
to make vi working in Solaris on Ultra SparcIII
use the following lines:
# TERM=xterm
# export TERM
# stty rows 24
and all gcc and others is in /opt directory
to umount the cd rom from the simulated machine
umount directory
then
do the following :
It could be the volume manager that locks the CD. You can try disabling it with:
# /etc/init.d/volmgt stop
To install Solaris 10, edit the following files
target/serengeit/abisko-sol9-cd-install2.simics
comment out line 4 to line 21 and add the following lines
$cdrom_path[0] = "nothing"
$cdrom_path[1] = "sol-10-GA-sparc-v1-iso.iso"
$cdrom_path[2] = "sol-10-GA-sparc-v2-iso.iso"
$cdrom_path[3] = "sol-10-GA-sparc-v3-iso.iso"
$cdrom_path[4] = "sol-10-GA-sparc-v4-iso.iso"
target/serengeit/abisko-setup.include
edit line 1, replace solaris9 with solaris 10
To dump the disk after installation use
sd0_image.save sarek.img
Then covert the img to craff file using the following
x86-linux/bin/craff -o sarek.craff sarek.img
Sunday, May 07, 2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment