It seems like you are stuck with the read syscall.
I would debug/print from which file descriptor you are trying to read from and 
why the poll [1]
Is returning zero.

Kind Regards

Giacomo

[1]: https://github.com/gem5/gem5/blob/stable/src/sim/syscall_emul.hh#L2637

From: tomjosekalloo...@gmail.com <tomjosekalloo...@gmail.com>
Date: Thursday, 30 June 2022 at 10:56
To: gem5-users@gem5.org <gem5-users@gem5.org>
Subject: [gem5-users] ARM - syscall read still needs retry issue - how to fix 
it?

Hi,

When i am running dhrystone benchmark on arm model, it never gets completed. so 
i put the debug flags and i could see:

2821960548: system.cpu_cluster.cpus: T0 : syscall read still needs retry.

2821960548: read.wrapped_function_event: EventFunctionWrapped 83716 scheduled @ 
2821993848

2821993848: read.wrapped_function_event: EventFunctionWrapped 83716 executed @ 
2821993848

2821993848: system.cpu_cluster.cpus.[tid:0]: Reading int reg 0 (0) as 0.

2821993848: system.cpu_cluster.cpus.[tid:0]: Reading int reg 1 (1) as 0x4a9f70.

2821993848: system.cpu_cluster.cpus.[tid:0]: Reading int reg 2 (2) as 0x2000.

2821993848: system.cpu_cluster.cpus: T0 : syscall Retrying read(0, 4890480, 
8192)...

2821993848: system.cpu_cluster.cpus.[tid:0]: Reading int reg 0 (0) as 0.

2821993848: system.cpu_cluster.cpus.[tid:0]: Reading int reg 1 (1) as 0x4a9f70.

2821993848: system.cpu_cluster.cpus.[tid:0]: Reading int reg 2 (2) as 0x2000.

2821993848: system.cpu_cluster.cpus: T0 : syscall read still needs retry.

2821993848: read.wrapped_function_event: EventFunctionWrapped 83717 scheduled @ 
2822027148

2822027148: read.wrapped_function_event: EventFunctionWrapped 83717 executed @ 
2822027148

2822027148: system.cpu_cluster.cpus.[tid:0]: Reading int reg 0 (0) as 0.

2822027148: system.cpu_cluster.cpus.[tid:0]: Reading int reg 1 (1) as 0x4a9f70.

2822027148: system.cpu_cluster.cpus.[tid:0]: Reading int reg 2 (2) as 0x2000.

2822027148: system.cpu_cluster.cpus: T0 : syscall Retrying read(0, 4890480, 
8192)...



Can anyone please help me fix it?

Regards,

Tom

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to