From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LpqXN-0006qI-I4 for qemu-devel@nongnu.org; Fri, 03 Apr 2009 17:02:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LpqXM-0006q6-3Y for qemu-devel@nongnu.org; Fri, 03 Apr 2009 17:02:52 -0400 Received: from [199.232.76.173] (port=34146 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LpqXM-0006q3-05 for qemu-devel@nongnu.org; Fri, 03 Apr 2009 17:02:52 -0400 Received: from yx-out-1718.google.com ([74.125.44.157]:57884) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LpqXL-0006FS-EQ for qemu-devel@nongnu.org; Fri, 03 Apr 2009 17:02:51 -0400 Received: by yx-out-1718.google.com with SMTP id 34so776075yxf.82 for ; Fri, 03 Apr 2009 14:02:50 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5c3e8b1b0904031249u748e5e64y6c9239cab47ce38a@mail.gmail.com> References: <5c3e8b1b0903282143i47583269pbbd2c50df2449dcc@mail.gmail.com> <5c3e8b1b0903312204v7473a523i3c33bcb676f19ee4@mail.gmail.com> <5c3e8b1b0904011258g389eaf6cvc7c38791f99fd25e@mail.gmail.com> <5c3e8b1b0904011429h5bdf3c3ei949da7d1505b623c@mail.gmail.com> <5c3e8b1b0904011517v5fa230b5m4e5ed25dbd6be3ee@mail.gmail.com> <5c3e8b1b0904022140k6e214491q701e3b2a64b0ee2e@mail.gmail.com> <5c3e8b1b0904031249u748e5e64y6c9239cab47ce38a@mail.gmail.com> Date: Fri, 3 Apr 2009 14:02:49 -0700 Message-ID: <5c3e8b1b0904031402i7fd71dfbw327b3c7ae708e29e@mail.gmail.com> Subject: Re: [Qemu-devel] qemu working openbsd/sparc64 yet? From: Vivek Ayer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org okay i run: qemu-sparc -m 256 -boot d -cdrom linux.img using the sample sparc-linux image and I get: Illegal Instruction (core dumped). Exactly, what steps did you take to get the linux image to run on openbsd/sparc64. Could you show it with numbered steps so I can troubleshoot and try to replicate your setup. Thanks, Vivek On Fri, Apr 3, 2009 at 12:49 PM, Vivek Ayer wrote: > That's weird because I'm using 4.3. Does QEMU expect X to be on when > you run it? I'm doing this over ssh to a terminal and thought since I > disable X support in Qemu, it would default to ncurses. In any case, I > had a segfault when starting it trying to emulate opensolaris martux > (SPARC/32-bit), which I guess is solaris 10, so I guess that could be > the reason it didn't work. I'll try reproducing the error. Also, I > didn't enable the sparc64 targets in the target list. I used > ./configure --prefix=3D/usr/local --target-list=3D"sparc-softmmu > sparc-bsd-user" --disable-sdl --disable-gfx-check. I'll try the svn > code, but I doubt that'll help. > > Vivek > > On Fri, Apr 3, 2009 at 9:58 AM, Blue Swirl wrote: >> On 4/3/09, Vivek Ayer wrote: >>> How did you build it without getting an error in sdl.c specifically at >>> =A0X11/Xlib.h? I tried disabling sdl and it built fine, but the images >>> =A0weren't loading, so I thought I'd go with the default options except >>> =A0for the target list. >> >> I'm using -current, but I didn't have compile problems with 4.1 (IIRC). >> >> But this reminds me that I found a bug in SDL which made SDL apps >> crash when running on Sparc with $DISPLAY pointing to x86 X server. >> This bug was fixed in upstream SDL, but 4.1 still has the broken >> version. >> >> >> >