[gem5-users] syscall error while simulating

2018-07-16 Thread Puneet Saraf
Dear All, I am getting a syscall unimplemented error while running the simulation. For some syscall it gives warning and proceed with the simulation but for some it stopped there itself. Below are the syscall for which my simulation stopped. fadvise64 timer_create timer_settime timer_gettime

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-16 Thread Gutierrez, Anthony
Da, Do you encounter the segfault only when restoring from a checkpoint? That is, if you do not use checkpoints can any DaCapo benchmark successfully complete under one of the simple CPU models (and not just KVM CPU)? If so, you may want to get a syscall trace (e.g., using strace) to see what

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-16 Thread Jason Lowe-Power
Hi, I would think that it's OK to ignore the "prefetch_nta is unimplemented" since it should just give hints to the cache. If you don't see *any* other unimplemented instruction warning then I would guess that unimplemented instructions is not the problem. Another possibility is something is

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-16 Thread Da Zhang
Hey Jason, There are a bunch of "warn: instruction 'prefetch_nta' unimplemented" in atomic modes, during which the java benchmarks don't crash. However, there is no these kind of warnings during timing mode. Does it imply that unimplemented instructions don't cause the problem? Any clues or

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-16 Thread Jason Lowe-Power
Hello, Are you seeing any warnings like "warn: Instruction XXX not implemented"? There are many X86 SIMD instructions that are currently unimplemented. I would bet that your application is using some of those instructions and getting 0's as the output instead of the correct value. The "right"

Re: [gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-16 Thread Da Zhang
To clarify, "SIGSEGV and null exceptions " happens to the benchmark suite, not gem5. Gem5 is running without errors. But in the system.pc.com_1.device files, I observe that most of the benchmarks crash due to SIGSEGV or null exceptions. Example: " x/system.pc.com_1.device buffers 1 #

[gem5-users] dacapo (java) benchmark suite encounters "SIGSEGV" and "null exception" during timing mode (fs mode) after restarting from a checkpoint

2018-07-16 Thread Da Zhang
Hey guys, I am testing a java benchmark suite, dacapo, on gem5 with fs mode. Unfortunately, I encounter a lot of SIGSEGV and null exceptions during timing mode after restarting from the checkpoints. I am using linux kernel v4.8.13 and ubuntu-server-16.04.1 with oracle jdk v8.0_171-b11. To