Hi Marko,

Ensure you have unmounted the disk image.

Also, as the message suggest, you should specify a kernel to use (if I remember 
correctly and there is no default for x86).

Good luck.

Andreas

From: Marko Zivkovic <mzivk...@hawk.iit.edu<mailto:mzivk...@hawk.iit.edu>>
Reply-To: gem5 users mailing list 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Date: Thursday, 25 October 2012 23:14
To: gem5 users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Subject: [gem5-users] Full System Mode. Need help?

I am trying to simulate ffmpeg with fs mode. I downloaded x86 image and 
binaries, set the paths towards them ( this fixed can't find system path 
problem ).

I followed tutorial:

/work/gem5] mount –o loop,offset=32256 linux-x86.img /mnt
[/work/gem5] ls /mnt
bin  boot  dev  etc  home  lib  lost+found  media  mnt  proc  root  sbin  sys  
tmp  usr  var  writable
[/work/gem5] cp queens /mnt
[/work/gem5] cp queens-w-chkpt /mnt    // this step didn't work but I am 
guessing that this is important only for use of checkpoints.

Now, I need a help with the script. My ffmpeg is in gem5 root, so how to create 
that script, what exactly that script does?

After that my simulation command should be ./build/X86/gem5.opt 
./configs/example/fs.py --script=./ffmpeg.rcS   // also I would like to pass 
AVIDemo.avi as an argument so should I specify that in the script?

I tried different one and got this:
command line: ./build/X86/gem5.opt configs/example/fs.py
--script=./configs/boot/queens.rcS
warning: add_child('terminal'): child 'terminal' already has parent
Global frequency set at 1000000000000 ticks per second
info: No kernel set for full system simulation. Assuming you know what
you're doing if not SPARC ISA
      0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
panic: Error opening /tmp/linux-x86.img
 @ cycle 0
[open:build/X86/dev/disk_image.cc, line 79]
Memory Usage: 211764 KBytes
Program aborted at cycle 0
Aborted



Thank you

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to