Re: [gem5-users] compile Linux kernel for X86 FS

2012-07-14 Thread wael Amr
Hi,

Thanks a lot for your support as finally i complied the kernel successfully
but when i tried to follow step No.7,i didn't find the new created
vmlinux-2.6.28.4-smp
So is there something wrong ?

Also in the final step ,How did you run without using any scripts ?

Thank you in advance for your time and cooperation.
Best Regards
Wael AMR

On Thu, Jul 12, 2012 at 11:44 AM, Lluís Vilanova wrote:

> wael Amr writes:
>
> > Hi,
> > But i made Cd for the linux-2.6.28.4
> > then i typed the command as shown :
> > make -C /Mac/gem5/linux-2.6.28.4 O=/Mac/gem5/linux-2.6.28.4 CC=gcc-4.4
>
> > I got this error :
> > make: *** /Mac/gem5/linux-2.6.28.4: No such file or directory. Stop.
>
> > So is there anything missing ?
>
> The directory specified by '-C' does not exist. If you're not sure what
> you're
> doing with that command, just follow the standard procedure of 'cd' into
> the
> source directory and then "make CC=gcc-4.4".
>
>
> Lluis
>
> --
>  "And it's much the same thing with knowledge, for whenever you learn
>  something new, the whole world becomes that much richer."
>  -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
>  Tollbooth
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] compile Linux kernel for X86 FS

2012-07-14 Thread Lluís Vilanova
wael Amr writes:

> Hi,
> Thanks a lot for your support as finally i complied the kernel successfully 
> but
> when i tried to follow step No.7,i didn't find the new created
> vmlinux-2.6.28.4-smp
> So is there something wrong ?

You should find the generated kernel in file "vmlinux", right in the directory
where you built linux.


> Also in the final step ,How did you run without using any scripts ?

M5_PATH=. ./build/X86/gem5.debug --path=./gem5/configs/common/ 
./gem5/configs/example/fs.py --kernel=./linux/vmlinux

If you're unable to place files in the proper directories, just follow the
instructions in the GEM5 wiki, as I run it with a slightly different directory
organization.


Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


Re: [gem5-users] compile Linux kernel for X86 FS

2012-07-14 Thread wael Amr
Hi,
i typed
command line: build/x86/gem5.opt --path=/home/wael/Mac/gem5/configs/common/
configs/example/fs.py --kernel=/home/wael/Mac/gem5/binaries/vmlinux

but i got this error :
fatal: Loading a 32 bit x86 kernel is not supported.

So any help will be highly appreciated.
Thanks
Best Regards
Wael AMR

On Sat, Jul 14, 2012 at 2:32 PM, Lluís Vilanova  wrote:

> wael Amr writes:
>
> > Hi,
> > Thanks a lot for your support as finally i complied the kernel
> successfully but
> > when i tried to follow step No.7,i didn't find the new created
> > vmlinux-2.6.28.4-smp
> > So is there something wrong ?
>
> You should find the generated kernel in file "vmlinux", right in the
> directory
> where you built linux.
>
>
> > Also in the final step ,How did you run without using any scripts ?
>
> M5_PATH=. ./build/X86/gem5.debug --path=./gem5/configs/common/
> ./gem5/configs/example/fs.py --kernel=./linux/vmlinux
>
> If you're unable to place files in the proper directories, just follow the
> instructions in the GEM5 wiki, as I run it with a slightly different
> directory
> organization.
>
>
> Lluis
>
> --
>  "And it's much the same thing with knowledge, for whenever you learn
>  something new, the whole world becomes that much richer."
>  -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
>  Tollbooth
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] NetperfMaerts bench mark for FS X86

2012-07-14 Thread wael Amr
Hello,

As i need to run FS X86 mode so i am trying all possible ways to satisfy
this goal
I am trying the benchmark "NetperfMaerts"
I typed the command
~/Mac/gem5$ build/x86/gem5.opt --path=/home/wael/Mac/gem5/configs/common/
configs/example/fs.py -b NetperfMaerts

But i got an output with error as shown :
warning: add_child('terminal'): child 'terminal' already has parent
warning: add_child('terminal'): child 'terminal' already has parent
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/wael/Mac/gem5/src/python/m5/main.py", line 357, in main
exec filecode in scope
  File "configs/example/fs.py", line 163, in 
drive_sys.cpu = DriveCPUClass(cpu_id=0)
AttributeError: 'NoneType' object has no attribute 'cpu'


So please support and help.
Any  suggestion for running the FS X86 will be highly appreciated.

Thanks
Best Regards
Wael AMR
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Running scripts for FS x86

2012-07-14 Thread wael Amr
Hello,

As i need to run FS X86 mode so i am trying all possible ways to satisfy
this goal
I am trying to run the scripts found on configs/boot
For example :
I typed the command :
 build/x86/gem5.opt configs/example/fs.py
--kernel=/home/wael/Mac/gem5/binaries/x86_64-vmlinux-2.6.28.4-smp -n 1
--script=configs/boot/gzip.rcS

I got the output in the other terminal (using telnet localhost 3457) as
shown:
loading script...
/tmp/script: line 3: cd: /benchmarks/spec/gzip00/: No such file or directory
usage: /sbin/m5 exit [delay]
   /sbin/m5 resetstats [delay [period]]
   /sbin/m5 dumpstats [delay [period]]
   /sbin/m5 dumpresetstats [delay [period]]
   /sbin/m5 readfile [filename]
   /sbin/m5 execfile 
   /sbin/m5 checkpoint [delay [period]]
   /sbin/m5 loadsymbol  
   /sbin/m5 initparam
   /sbin/m5 sw99param
   /sbin/m5 pin   [args ...]

All times in nanoseconds!
/tmp/script: line 11: ./gzip: No such file or directory
Connection closed by foreign host.


So Please support as i am blocked.
Thanks
Best Regards
Wael AMR
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] gem5 MOESI_CMP_directory checkpoint

2012-07-14 Thread Anusha
Hi.

I created a checkpoint using the following command


./build/ALPHA_MOESI_CMP_directory/gem5.opt -d results/bodytrack/
./configs/example/ruby_fs.py -n 4 -b Bodytrack

I had used the previous stable version of gem5 and obtained the latest one
from repository yesterday.

When I used the previous stable version, I had no trouble creating a ALPHA
FS ruby checkpoint and now I am having issues.

I receive the following message.

Runtime Error at MOESI_CMP_directory-L1cache.sm:233, Ruby Time: 6061396337:
Invalid RubyRequestType, PID: 21009


Is anyone aware of the cause?

Thanks,
Anusha
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users