Discussion:
[gem5-users] syscall error while simulating
Puneet Saraf
2018-07-17 04:22:23 UTC
Permalink
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 <http://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<X86Linux64>),
/* 229 */ SyscallDesc("clock_getres", clock_getresFunc<X86Linux64>),
/* 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
Oscar Rosell
2018-07-17 10:11:11 UTC
Permalink
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
Post by 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
<http://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<X86Linux64>),
/* 229 */ SyscallDesc("clock_getres", clock_getresFunc<X86Linux64>),
/* 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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Ciro Santilli
2018-07-17 11:05:21 UTC
Permalink
https://stackoverflow.com/questions/51256193/missing-syscalls-in-gem5-arm/51266763#51266763
Post by 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
<http://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<X86Linux64>),
/* 229 */ SyscallDesc("clock_getres", clock_getresFunc<X86Linux64>),
/* 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
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Loading...