Thanks Eberle. I did a make on the tests within m5threads using my system's regular gcc/g++ (for x86), and tried running one of the binaries through M5 in X86_SE mode like this: ./build/X86_SE/m5.debug configs/example/se.py --cmd=m5threads/tests/test_pthreadsbasic
I get the following error: Global frequency set at 1000000000000 ticks per second 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000 **** REAL SIMULATION **** info: Entering event queue @ 0. Starting simulation... panic: Tried to write unmapped address 0. @ cycle 467000 [translate:/tmp/tukrishna/m5/build/X86_SE/arch/x86/tlb.cc, line 635] Memory Usage: 578888 KBytes For more information see: http://www.m5sim.org/panic/d71dd0bc Program aborted at cycle 467000 Firstly, I hope this this a 'correct' way to run the binaries compiled using m5threads through M5? I tried the same with M5's hello x86 binary and it worked fine. Looking at the gdb stack, and trace-flags, shows me that the instruction MOV_M_R seems to be getting 0 as the address. And this seems to happen after a bunch of correct address translations, not at the beginning of the simulation. I am not sure if this is a problem with the way I run the binary, an X86_SE issue or something else? I observed that the virtual address being 0 error I get is similar to an error discussed a few months back on the users forum? Thanks! Tushar Date: Thu, 8 Jul 2010 13:06:19 -0300 From: Eberle <rambo.u...@gmail.com> To: M5 Developer List <m5-dev@m5sim.org> Subject: Re: [m5-dev] how to use m5threads? Message-ID: <aanlktinm3sifzrfmluu7r07hvmasurxiuw1iyhunl...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" The m5thread library should be used in the linkage process instead of the pthread library (for instance: -L$M5THREAD_FOLDER -l$LIB_M5THREAD ). -- Eberle A. Rambo. On Wed, Jul 7, 2010 at 3:58 PM, Krishna, Tushar <tushar.kris...@amd.com>wrote: > Hi, > > Could someone give me some pointers on how to use the m5threads package ? > > From what I understood by looking at the mailing list archives, currently > it only works for SPARC_SE and X86_SE right? > > > > My aim is to try and run some multi-threaded benchmarks using the m5threads > package. > > > > Thanks, > > Tushar > > _______________________________________________ > m5-dev mailing list > m5-dev@m5sim.org > http://m5sim.org/mailman/listinfo/m5-dev > > _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev