I've noticed that the files are not immediately available. We generally
insert the cd, simulate for a while, and then access the files. (We
genereally see warnings about certain SCSI commands being invalid or
unrecognized -- that's a clue that the simulated system is trying to
access the CD.)
Here's a script that we used to create a checkpoint with the CDROM
mounted and ready to read. The 400M cycles was chosen by a student -- I
have no idea if you really need to wait that long. It doesn't really
take very long, though, because this is done in Simics functional mode,
before the Ruby module is loaded.
------------------------------------------
load-module file-cdrom
new-file-cdrom splash2.iso
cd25B_2_6.insert splash2
@def end_sim():
wait_for_hap_idx("Core_Step_Count",
SIM_step_count(SIM_proc_no_2_ptr(0)) + 400000000)
SIM_write_configuration_to_file("base-1p_with_benchmarks")
SIM_quit(0)
@start_branch(end_sim)
continue
-------------------------------------------
Never tried the volume management trick.
...Greg
Dave wrote:
Here is what I do, which doesn't work:
simics>new-file-cdrom ../benchmarks.iso
cdrom 'benchmarks' created
simics>cd25B_2_6.insert benchmarks
Interting media 'benchmarks' into CDROM drive
simics>c
Then, I try to access CDROM on the simulated machine
(sarek-solaris10), but there is nothing in the cdrom directory.
Thanks
*/Greg Byrd <gbyrd@xxxxxxxx>/* wrote:
Once your CDROM image is mounted, you can access just as you would a
CDROM on the simulated machine. Your files should be accessible under
/cdrom/cdrom/...
...Greg
Dave wrote:
> Hello,
>
> I have a question on how to copy files from the host machine to the
> simulated machine. I need to copy my benchmarks from the host
machine
> to the simulated machine, but I don't know how. I believe I need to
> install SimicsFS so that I can mount the host files to the
simulated
> machine, but the SimicsFS installation described in the Simics User
> Guide talks about copying files from the host machine to the
simulated
> machine. I don't understand. I have already created a CDROM
image file
> and put it into Simics, but I don't understand how I can access it
> from the simulated machine (sarek-solaris10).
>
> Thank you.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Gems-users mailing list
>Gems-users@xxxxxxxxxxx
>https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------------------------------------------------------
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
|