My problem seems to be kernel. Here is what I did. I downloaded Full System
files. Inside I have kernel binary x86_64-vmlinux-2.6.22.9 and smp type.
Btw, what is the difference?

So, I downloaded config files and copy linux-2.6.22.9 to the kernel binary
folder. Instructions says that I have to use command:

make vmlinux -j4   // but it says, nothing to be done


What should I do in order to compile kernel?
On Thu, Oct 25, 2012 at 5:23 PM, Andreas Hansson <[email protected]>wrote:

> 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 <[email protected]<mailto:[email protected]>>
> Reply-To: gem5 users mailing list <[email protected]<mailto:
> [email protected]>>
> Date: Thursday, 25 October 2012 23:14
> To: gem5 users mailing list <[email protected]<mailto:
> [email protected]>>
> 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
> [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