From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5Pbl-0000U7-CL for qemu-devel@nongnu.org; Tue, 03 Nov 2009 15:04:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5Pbh-0000TW-1h for qemu-devel@nongnu.org; Tue, 03 Nov 2009 15:04:00 -0500 Received: from [199.232.76.173] (port=35882 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5Pbg-0000TR-Or for qemu-devel@nongnu.org; Tue, 03 Nov 2009 15:03:56 -0500 Received: from mail-01.cse.ucsc.edu ([128.114.48.32]:38236) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5Pbg-0004gC-2Y for qemu-devel@nongnu.org; Tue, 03 Nov 2009 15:03:56 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail-01.cse.ucsc.edu (Postfix) with ESMTP id 23C8E1008B1A for ; Tue, 3 Nov 2009 12:03:54 -0800 (PST) Received: from mail-01.cse.ucsc.edu ([127.0.0.1]) by localhost (mail-01.cse.ucsc.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id livUZzb8TEL0 for ; Tue, 3 Nov 2009 12:03:54 -0800 (PST) Received: from mail-01.cse.ucsc.edu (mail-01.cse.ucsc.edu [128.114.48.32]) by mail-01.cse.ucsc.edu (Postfix) with ESMTP id 067301008A9B for ; Tue, 3 Nov 2009 12:03:54 -0800 (PST) Date: Tue, 3 Nov 2009 12:03:53 -0800 (PST) From: David Munday Message-ID: <1541284578.2428991257278633924.JavaMail.root@mail-01.cse.ucsc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] SPARC user mode multithread List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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