Re: [gem5-users] compiling gem5 with static libraries

2012-10-31 Thread Lluís Vilanova
Hongil Yoon writes: > Hello guys, > I need to link all libraries statically to create a gem5 excitable file > because > the system, that I am going to utilize, looks totally different from the > machine > that is used for building gem5.  > I think updating files to use -static flag is the only

Re: [gem5-users] 答复: syscall set_tid_address (#411) unimplemented

2013-07-11 Thread Lluís Vilanova
夏飞 writes: > Henry, > Thanks for your reply. The error is indeed caused by unimplemented syscall > set_tid_address. > But how can I solve the problem except implementing the syscall by myself ? You have the m5threads repository to replace the system's pthreads implementation: http://repo.

[gem5-users] New gem5 to McPAT converter

2013-11-22 Thread Lluís Vilanova
Hi there! I know, you might think what's the need for yet another program of such type... This is a small python program that uses jinja2 [1], so theoretically it should be simpler to have more generic templates that can handle multiple types of configurations (modularity, control structures like c

Re: [gem5-users] Integrating gem5 with Mcpat

2013-11-26 Thread Lluís Vilanova
Sudarshan writes: > Hi, > I would like to integrate gem5 into McPAT since i would like to monitor the > dynamic power dissipated at a particular instruction granularity(example: for > every 5000 committed instructions). So i would need to call McPAT from gem5 > continuously throughout the program

Re: [gem5-users] McPAT Parser

2014-04-15 Thread Lluís Vilanova
Sobhan Niknam writes: > Hi, > I need to use GEM5 and McPAT together. Also, I use ALPHA Architectures over > GEM5. I need to have the power analysis of all components in Gem5 simulation. > for extracting power from output of Gem5 with McPAT, I searched a lot, and > find > valid parsers or methods

Re: [gem5-users] McPAT Parser

2014-04-16 Thread Lluís Vilanova
ng. > Also, why are you using core.iew.iewIdleCycle instead of core.idleCycles > ? > Regards, > Tiago > On Tue, Apr 15, 2014 at 4:13 AM, Lluís Vilanova > wrote: > Sobhan Niknam writes: >> Hi, >> I nee

Re: [gem5-users] McPAT Parser

2014-04-16 Thread Lluís Vilanova
e only issue is that the performance impact is not > negligible, and the bottleneck seems to be in the C++/Python swig > wrapping. More work is thus needed to improve the performance, but the > functionality is there if needed. > Any volunteers? > Andreas > On 16/04/2014 13:39,

Re: [gem5-users] McPAT Parser

2014-04-16 Thread Lluís Vilanova
s looking for, thanks. As a side note, if shelves are only used for temporary storage of python data structures, then it could be faster to use cPickle instead. Lluis > On 16/04/2014 15:28, "Lluís Vilanova" wrote: >> I'm curious. Why do you use python shelves i

Re: [gem5-users] McPAT Parser

2014-04-20 Thread Lluís Vilanova
Zohreh Naghibi writes: > Hi Lluís Vilanova, > Thanks for your useful patch... > Could you please explain how to use this script file for calculating power > which > is using by cache coherence requests? This script will only generate (from your gem5 results) an XML file that yo

Re: [gem5-users] McPAT Parser

2014-05-02 Thread Lluís Vilanova
tself /path/to/gem5-mcpat -h /path/to/gem5-mcpat generate -h /path/to/gem5-mcpat generate /path/to/gem5/config.json /path/to/gem5/stats.txt example.xml Lluis > On Tue, Apr 15, 2014 at 7:13 AM, Lluís Vilanova wrote: > Sobhan Niknam writes: >> Hi, >> I need to u

Re: [gem5-users] is it possible to use gcc/g++ 4.6.3 ??

2012-06-13 Thread Lluís Vilanova
Mahmood Naderan writes: > Hi, > With gcc-4.6.3 and g++-4.6.3, I get this error: > Checking for C header file fenv.h... yes > Reading SConsopts > ValueError: need more than 2 values to unpack: > File "/home/mahmood/gem5/SConstruct", line 898: > variant_dir = joinpath(build_root, 'libelf')) >

[gem5-users] Linux kernel gets stuck/panics at boot time

2012-06-13 Thread Lluís Vilanova
Hi everyone, The following tests are all performed using the configuration file for linux 2.6.28.4 (found in the tarball linked by wiki) and a X86 build for gem5, using configs/example/fs.py with no extra flags except for "--kernel" and some tracing args given to gem5. All kernels are compiled wi

Re: [gem5-users] Linux kernel gets stuck/panics at boot time

2012-06-13 Thread Lluís Vilanova
#x27;ll double-check 2.6.35.15 to make sure it's not just a matter of time. Again, sorry for the error. Thanks, Lluis Lluís Vilanova writes: > Hi everyone, > The following tests are all performed using the configuration file for linux > 2.6.28.4 (found in the tarball linked

Re: [gem5-users] Linux kernel gets stuck/panics at boot time

2012-06-13 Thread Lluís Vilanova
Lluís Vilanova writes: > For the record, version 2.6.27.62 (still supported by kernel.org) also seems > to > boot using gem5's configuration file for 2.6.28.4. For the sake of completeness, version 2.6.27.62 boots but fails to find device hda1. Lluis -- "And it's

Re: [gem5-users] FATAL: Kernel too old error

2012-06-20 Thread Lluís Vilanova
Ali Saidi writes: > Either compile your code on an older system or compile a newer kernel for use > with gem5. What's the newest kernel version for x86 that anyone got to run in FS mode? Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole w

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

2012-06-23 Thread Lluís Vilanova
wael Amr writes: > Hello, > I am trying to set up FS for x86,so one of the steps in this set up is the > kernel compilation : > http://gem5.org/Linux_kernel > When i tried to use the command : > hg clone http://www.kernel.org/hg/linux-2.6 , > I found that there is an error in the link. > So i d

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

2012-06-27 Thread Lluís Vilanova
wael Amr writes: > Hello, > Thanks a lot for your support. > When i typed the command : > git checkout v2.6.28.4 Did you actually do this just after the "git clone"? No commands in between? Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whol

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

2012-07-08 Thread Lluís Vilanova
wael Amr writes: > Hi, > I solved the problem in the last email but i got another error when i tried > the > command "make" for the Linux kernel 2.6.28.4 as shown: > /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined reference to > `__mutex_lock_slowpath' > kernel/built-in.o: In fun

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

2012-07-11 Thread Lluís Vilanova
ing to /tmp/ccbKzAKC.s: > No space left on device > compilation terminated. > make[2]: *** [scripts/mod/file2alias.o] Error 1 > make[1]: *** [scripts/mod] Error 2 > make: *** [scripts] Error 2 > So please support. > Thank you in advance for your cooperation and time. > Best Rega

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

2012-07-12 Thread Lluís Vilanova
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

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

Re: [gem5-users] passing hints to the memory system

2012-08-15 Thread Lluís Vilanova
Shidal, Jonathan writes: > Thank you for the response.  I will look into creating a new packet type and > possibly that will help avoid my problems altogether.  The problem I am > having, > hopefully described a bit better this time, is that the address stored in the > Request is of a global vari

Re: [gem5-users] passing hints to the memory system

2012-08-19 Thread Lluís Vilanova
xuxin writes: >> From: vilan...@ac.upc.edu >> To: gem5-users@gem5.org >> Date: Thu, 16 Aug 2012 02:22:57 +0300 >> Subject: Re: [gem5-users] passing hints to the memory system >> >> It will probably be easier to use util/m5/m5op.h. If none of the provided >> routines fit your needs, you can add

Re: [gem5-users] Compiling any version of Linux kernel

2012-09-07 Thread Lluís Vilanova
Ali Saidi writes: > It depends on which architecture you're interested in, but the answer is > roughly > yes. gem5 can run unmodified linux kernels. In some cases some functionality > (device drivers that we don't have device models for) must be disabled. You > can > find config files on the dow

Re: [gem5-users] Compiling any version of Linux kernel

2012-09-07 Thread Lluís Vilanova
Lluis > Ali > On Sep 7, 2012, at 7:12 AM, Lluís Vilanova wrote: >> Ali Saidi writes: >> >>> It depends on which architecture you're interested in, but the answer is >>> roughly >>> yes. gem5 can run unmodified linux kernels. In some cases some f

[gem5-users] Cannot create account in reviewboard

2012-09-24 Thread Lluís Vilanova
For some strange reason, the javascript from recaptcha embedded at the bottom of the account creation page for the review board is not working properly (it shows the text "Input error: Invalid referer"). Thanks, Lluis -- "And it's much the same thing with knowledge, for whenever you learn so

Re: [gem5-users] Cannot create account in reviewboard

2012-09-26 Thread Lluís Vilanova
rry for the noise. Thanks, Lluis >   > Thanks, > Ali > On 24.09.2012 10:31, Lluís Vilanova wrote: > For some strange reason, the javascript from recaptcha embedded at the > bottom of > the account creation page for the review board is not working properly (it &g

[gem5-users] Kernel stuck in spinlock (atomic op error)

2012-10-22 Thread Lluís Vilanova
Hi there, I'm running GEM5 stable (9073:f75ee4849c40) in FS mode and 2 "detailed" cores with classic (i.e., non-Ruby) memory system, running linux version 2.6.27.62 compiled for x86-64. When mounting a disk in the simulated machine, it gets all stuck in a spinlock (_spin_lock_irq for core 0 and _

Re: [gem5-users] Kernel stuck in spinlock (atomic op error)

2012-10-23 Thread Lluís Vilanova
GE ZHIGUO writes: > Hi, > Can you figure out the source code which causes this problem. As I said, it's routines _spin_lock_irq and _spin_lock_irqsave. Here's the generated code (most of it appears to come from __ticket_spin_lock): 805f0c40 <_spin_lock_irqsave>: 805f0c40: