I really need some help. I cant attach my config.ini or any other
attachment because it's rejected. anybody?

command:
build/X86/gem5.opt --outdir=m5out/x86/500Minst_512MB_200ns_bzip2_program
--stats-file=stats_L1_L2_default.txt --dump-config=config_L1_L2_default.ini
configs/example/se.py --maxinsts=500000000 --cpu-type="detailed" --caches
--l2cache -c
cpu2006/benchspec/CPU2006/401.bzip2/run/build_base_i386-m32-gcc42-nn.0000/bzip2
--options="cpu2006/benchspec/CPU2006/401.bzip2/data/all/input/input.program"

results:
........
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
info: Increasing stack size by one page.
fatal: Over max stack size for one thread
 @ cycle 507705647000
[fixupStackFault:build/X86/sim/process.cc, line 353]
Memory Usage: 584716 KBytes

*options used:*
-CPU options used: timing, simple, detailed, still no luck
-mem configuration used: no cache, L1 only, L1/L2,.etc, still no luck
-cpu2006 used: bzip2(all inputs), milc, gcc ( compiled with 64bit or 32bit
linux)

*fixes and re-compile*:
1) change src/sim/syscall_emul.hh: rlp->rlim_cur = rlp->rlim_max = 64 *
1024 * 1024; (from 8M to 64M)
2)change src/sim/process.cc: if (stack_base - stack_min > 64 * 1024 * 1024)
3)change src/arch/x86/process.cc: next_thread_stack_base = stack_base - (64
* 1024 * 1024);  (2 locations)
4) increased mem size in se.py up to 8GB, cpu speed up to 4GHZ
5)delete all gem5 folder and start many times over
6) reinstalled ubuntu
....tried all I could find in the gem5list experts and the web, still no
luck
tried all the above on ubuntu12.04 32-bit, ubuntu12.04 64bit, red hat
linux6.3

On Wed, Jul 4, 2012 at 5:27 AM, Mahmood Naderan <mahmood...@gmail.com>wrote:

> >but since I made changes in process.cc I didn't think it was gonna change
> anything
> Did you compile?
>
> >what did you do to fix yours?
> I followed the same thing as Ali said (changing stack size in
> sim/process.cc and arch/x86/process.cc) and it worked. As far as I
> remember, I had no problem with bzip2 (liberty). I think that happened
> with povray.
>
> >are you running alpha or x86?
> X86
>
> >do you mind if I send you my bzip2 binary and input file to test on your
> system
> No problem. I have to build with ARM ISA. I will tell you the result
> later (maybe tomorrow as I am busy).
>
> Final note:
> I use changeset 8920. The application binary is compled for AMD64 with
> static option.
>
> --
> // Naderan *Mahmood;
> _______________________________________________
> 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

Reply via email to