From: David Munday <cromom@soe.ucsc.edu>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] SPARC user mode multithread
Date: Tue, 3 Nov 2009 12:03:53 -0800 (PST) [thread overview]
Message-ID: <1541284578.2428991257278633924.JavaMail.root@mail-01.cse.ucsc.edu> (raw)
Hello,
I am trying to run the blackscholes program from the PARSEC2.1 benchmark suite in QEMU SPARC user mode.
In this case I am trying to run with just 2 threads. Unfortunately, when I try to run the program it hangs with the following prints:
HELPME: /mada/users/cromom/ESESC_PROJECT/esesc/emul/qemu1/target-sparc/cpu.h:516
HELPME: /mada/users/cromom/ESESC_PROJECT/esesc/emul/qemu1/target-sparc/cpu.h:516
I also turned on the print_syscall prints and have the attached the debugging output below.
This problem can be reproduced by running the following command from within the blackscholes sparc-linux directory(which I can provide) referencing the local qemu installation:
/qemu/sparc-linux-user/qemu-sparc blackscholes 2 input_file output_file
Thank you for your help,
David
TARGET SPARC
calling cpu_loop
INSIDE CPU_LOOP
23738 uname(0x4007eac2)no need to transcode
23738 brk(NULL)23738 brk(0x000e4c60)
23738 brk(0x00105c60)
23738 brk(0x00106000)
23738 getpid(1,568056,0,-2139062144,1074260345,1644167168)
23738 rt_sigaction(32,1074259708,0,132136,8,0)
23738 rt_sigaction(33,1074259708,0,132136,8,0)
23738 rt_sigaction(34,1074259708,0,132136,8,0)
23738 rt_sigprocmask(1,1074260128,0,8,8,0)
23738 rt_sigprocmask(2,1074260128,0,8,8,0)
23738 fstat64(16777216,0x4007e7b8)
23738 mmap(NULL,2097152,0x3000000,0x22000000,-1,0)
23738 write(1,0x40081000,35)
PARSEC Benchmark Suite Version 2.1
23738 open("david_input",O_RDONLY)
23738 fstat64(50331648,0x4007e5a8)
23738 mmap(NULL,2097152,0x3000000,0x22000000,-1,0)
23738 read(3,0x40083000,4096)
23738 write(1,0x40081000,81)
23738 close(3)
23738 munmap(0x40083000,2097152)
23738 write(1,0x40081000,18)
Num of Options: 1
23738 write(1,0x40081000,17)
Num of Runs: 100
23738 write(1,0x40081000,17)
Size of data: 40
23738 getrlimit(3,1074259752,17,-1033270193,10,940624)
23738 pipe(1074260160,0,1074260160,0,16,4)
23738 clone(3840,949056,24,192148,0,940624)calling do_fork 4
calling cpu_clone_regs
HELPME: /mada/users/cromom/ESESC_PROJECT/esesc/emul/qemu1/target-sparc/cpu.h:516
got out of cpu_clone_regs
got out of errno
23738 rt_sigprocmask(4,1074259528,0,8,-1,-1)
23738 read(0,0x4007e5b4,148)INSIDE CPU_LOOP
23739 clone(951200,949056,650240,1074259380,666624,940624)calling do_fork 4
calling cpu_clone_regs
HELPME: /mada/users/cromom/ESESC_PROJECT/esesc/emul/qemu1/target-sparc/cpu.h:516
got out of cpu_clone_regs
got out of errno
23739 close(0)
23739 close(0)
23739 open("david_output",O_RDONLY|O_CREAT|O_TRUNC|0x1)
23739 fstat64(0,0x4007e1b0)
23739 mmap(NULL,2097152,0x3000000,0x22000000,-1,0)
23739 write(0,0x40085000,23)
23739 close(0)
23739 munmap(0x40085000,2097152)
23739 write(0,0x4007e95c,148)
23739 rt_sigprocmask(4,0,1074260080,8,572073,952256)
23739 rt_sigsuspend(1074260080,8,1074260080,8,572073,952256)INSIDE RT SIGSUSPEND
next reply other threads:[~2009-11-03 20:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-03 20:03 David Munday [this message]
2009-11-03 20:41 ` [Qemu-devel] SPARC user mode multithread Blue Swirl
[not found] <1010833181.2491521257452944973.JavaMail.root@mail-01.cse.ucsc.edu>
2009-11-05 20:29 ` David Munday
2009-11-06 18:31 ` Blue Swirl
[not found] <1423348936.2513841257534586216.JavaMail.root@mail-01.cse.ucsc.edu>
2009-11-06 19:10 ` David Munday
2009-11-06 19:19 ` Blue Swirl
2009-11-08 19:28 ` Blue Swirl
2009-11-10 0:34 ` David Munday
2010-04-20 1:48 ` Gabriel Southern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1541284578.2428991257278633924.JavaMail.root@mail-01.cse.ucsc.edu \
--to=cromom@soe.ucsc.edu \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).