Hi everyone,
I have a Linux 2.6.18-308.1.1.el5 x86_64 machine and I am tring to run
Parsec benchmarks on X86 full system mode. I followed the necessary
documentation for full system mode, downloaded the Linux kernel image and
Parsec disk image involving precompiled binaries (
http://www.cs.utexas.edu/~parsec_m5/) .
I was able to boot up a linux system, try a few commands and able to see
the Parsec directories on the disk. Next, i generated the run scripts using
the code provided on the same link.
However, when i try running them, I get a segmentation fault after the
message *"[HOOKS] Entering ROI"*. This happens for blacksholes, facesim,
ferret and swaptions.
*My run command is:*
./build/X86/gem5.opt --outdir=RUNS/m5out_blackscholes
./configs/example/fs.py
--disk-image=/home/fkaplan/Stravinsky/gem5/full_system/disks/x86root-parsec.img
--kernel=/home/fkaplan/Stravinsky/gem5/full_system/binaries/x86_64-vmlinux-2.6.28.4-smp
--script=./blackscholes_4c_simsmall.rcS
*My runscript is:*
#!/bin/sh
# File to run the blackscholes benchmark
cd /parsec/install/bin
/sbin/m5 switchcpu
/sbin/m5 dumpstats
/sbin/m5 resetstats
./blackscholes 4 /parsec/install/inputs/blackscholes/in_4K.txt
/parsec/install/inputs/blackscholes/prices.txt
echo "Done :D"
/sbin/m5 exit
/sbin/m5 exit
*The error message i get at the end of the terminal log:*
......
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 332k freed
mounting filesystems...
loading script...
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 <filename>
/sbin/m5 checkpoint [delay [period]]
/sbin/m5 loadsymbol <address> <symbol>
/sbin/m5 initparam
/sbin/m5 sw99param
/sbin/m5 pin <cpu> <program> [args ...]
All times in nanoseconds!
PARSEC Benchmark Suite Version 2.1
[HOOKS] PARSEC Hooks Version 1.2
Num of Options: 4096
Num of Runs: 100
Size of data: 163840
[HOOKS] Entering ROI
blackscholes[957]: segfault at fffffffffcc5d280 ip 00000000004048bc sp
00007fb66d872bf8 error 4 in blackscholes[400000+bb000]
Segmentation fault
Done :D
Do you have any idea what may have caused this? Let me know if you need any
other info such as logs stats etc. I am pretty new at gem5 and looking
forward to your help.
Best,
Fulya
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users