I am in hurry. :)

Let me explain. I am trying to deploy ffmpeg( first with queens
example) app to gem5 Full System. I will need to run it on multycores,
but that is not important at this point. What i did is this:

Install gem5 with scons build/x86/gem5.opt -j4 . Then i downloaded X86
files ( binaries and Image disks. I mounted image using:

mount -0 loop,offset=32256 /path to the image /mnt
I copied queens.rcs to the mounted image "cp queens.rcS /mnt" and unmount it.
Then I modified Syspath.py to look for image. I am trying to run
simulation with this command:

./build/X86/gem5.opt configs/example/fs.py
--kernel=/home/marko/Downloads/x86-system/binaries/x86_64-vmlinux-2.6.22.9.smp
--disk-image=/home/marko/Downloads/x86-system/disks/linux-x86.img
--script=/home/marko/Downloads/gem5-2/queens.rcS

This is what I am getting:

command line: ./build/X86/gem5.opt configs/example/fs.py
--kernel=/home/marko/Downloads/x86-system/binaries/x86_64-vmlinux-2.6.22.9.smp
--disk-image=/home/marko/Downloads/x86-system/disks/linux-x86.img
--script=/home/marko/Downloads/gem5-2/queens.rcS
warning: add_child('terminal'): child 'terminal' already has parent
Global frequency set at 1000000000000 ticks per second
info: kernel located at:
/home/marko/Downloads/x86-system/binaries/x86_64-vmlinux-2.6.22.9.smp
      0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
Listening for com_1 connection on port 3456
warn: Reading current count from inactive timer.
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
warn: Don't know what interrupt to clear for console.
warn: instruction 'fxsave' unimplemented
warn: instruction 'wbinvd' unimplemented
warn: Tried to clear PCI interrupt 14
warn: Unknown mouse command 0xe1.
warn: instruction 'fld' unimplemented
warn: instruction 'fxch' unimplemented
warn: instruction 'fucomip' unimplemented
warn: instruction 'ffreep' unimplemented

It loops forever after this.

The only thing which I could mess up here is the Syspath.py, but it
would dislplay something related to that.

Hope this helps. i appreciate your effort

On Mon, Oct 29, 2012 at 2:49 PM, Nilay Vaish <[email protected]> wrote:
>
> On Mon, 29 Oct 2012, Marko Zivkovic wrote:
>
>> You are right about kernel. Its already compiled. I cannot post anything
>> from terminal since I am stuck simulating linux OS and Shell. When I ran a
>> command which should load the image, use the kernel and script file, I got
>> endless compilation. That is the problem which I currently have. I don't
>> see why because it looks simple.
>>
>> For the commands and steps which I used, please read my first post. I am
>> about to start everything from the scratch.
>>
>
> It seems you are in a hurry to jump to conclusions. You do not care about 
> reading the documentation or following it as closely as possible. In fact, 
> you have not even read carefully the very output you posted for others to 
> read. Can you point out the line in the output where it says a system call is 
> not implemented, or where it is mentioned that the simulation has aborted?
>
> I recommend that you read this web page -- http://gem5.org/Running_gem5
>
> Unless you are running gem5 on a system that does not have a GUI, it should 
> be possible for you to open another terminal. So do that and follow the 
> instructions provided on the web page on how to interact with the simulator.
>
> --
> Nilay
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to