Re: [gem5-users] syscall error while simulating

2018-07-17 Thread Oscar Rosell

Hi,

There's nothing magical about it. Those syscalls are probably just not 
implemented. Depending on the Gem5 version you're using they may have 
been implemented later (didn't check). Running in Full System mode 
instead should work.


Regards,

    Oscar


On 17/07/18 06:22, Puneet Saraf wrote:

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
timer_getoverrun
timer_delete,
clock_settime
clock_gettime
clock_getres
clock_nanosleep

These error are getting generated from *src/arch/x86/linux/process.cc 
*


 /* 221 */ SyscallDesc("fadvise64", unimplementedFunc),
/* 222 */ SyscallDesc("timer_create", unimplementedFunc),
/* 223 */ SyscallDesc("timer_settime", unimplementedFunc),
/* 224 */ SyscallDesc("timer_gettime", unimplementedFunc),
/* 225 */ SyscallDesc("timer_getoverrun", unimplementedFunc),
/* 226 */ SyscallDesc("timer_delete", unimplementedFunc),
/* 227 */ SyscallDesc("clock_settime", unimplementedFunc),
/* 228 */ SyscallDesc("clock_gettime", clock_gettimeFunc),
/* 229 */ SyscallDesc("clock_getres", clock_getresFunc),
/* 230 */ SyscallDesc("clock_nanosleep", unimplementedFunc),


I don’t know what is causing these errors and how to debug and rectify 
them.

Please help if anybody has any idea about these errors.




Regards
Puneet Saraf
M.S. Scholar
PACE Lab, Dept. Of Computer Science & Engg.
IIT Madras, Chennai-600036


___
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

[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
timer_getoverrun
timer_delete, 
clock_settime
clock_gettime
clock_getres
clock_nanosleep

These error are getting generated from src/arch/x86/linux/process.cc 


 /* 221 */ SyscallDesc("fadvise64", unimplementedFunc),
/* 222 */ SyscallDesc("timer_create", unimplementedFunc),
/* 223 */ SyscallDesc("timer_settime", unimplementedFunc),
/* 224 */ SyscallDesc("timer_gettime", unimplementedFunc),
/* 225 */ SyscallDesc("timer_getoverrun", unimplementedFunc),
/* 226 */ SyscallDesc("timer_delete", unimplementedFunc),
/* 227 */ SyscallDesc("clock_settime", unimplementedFunc),
/* 228 */ SyscallDesc("clock_gettime", clock_gettimeFunc),
/* 229 */ SyscallDesc("clock_getres", clock_getresFunc),
/* 230 */ SyscallDesc("clock_nanosleep", unimplementedFunc),


I don’t know what is causing these errors and how to debug and rectify them.
Please help if anybody has any idea about these errors.




Regards
Puneet Saraf
M.S. Scholar
PACE Lab, Dept. Of Computer Science & Engg.
IIT Madras, Chennai-600036
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users