* [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? @ 2011-06-24 0:52 Super Bisquit 2011-06-26 17:58 ` Blue Swirl 0 siblings, 1 reply; 9+ messages in thread From: Super Bisquit @ 2011-06-24 0:52 UTC (permalink / raw) To: qemu-devel [-- Attachment #1: Type: text/plain, Size: 109 bytes --] The last time I asked, Blue Swirl was somewhat working on the port. Has anything been improved since? Thanks [-- Attachment #2: Type: text/html, Size: 144 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? 2011-06-24 0:52 [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? Super Bisquit @ 2011-06-26 17:58 ` Blue Swirl 2011-06-29 1:19 ` Super Bisquit 0 siblings, 1 reply; 9+ messages in thread From: Blue Swirl @ 2011-06-26 17:58 UTC (permalink / raw) To: Super Bisquit; +Cc: qemu-devel On Fri, Jun 24, 2011 at 3:52 AM, Super Bisquit <superbisquit@gmail.com> wrote: > The last time I asked, Blue Swirl was somewhat working on the port. > Has anything been improved since? I'm somewhat working on OpenBSD host support, not FreeBSD, but there shouldn't be great differences. What's the status on FreeBSD, does QEMU build and run? ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? 2011-06-26 17:58 ` Blue Swirl @ 2011-06-29 1:19 ` Super Bisquit 2011-06-29 5:10 ` Bob Breuer 0 siblings, 1 reply; 9+ messages in thread From: Super Bisquit @ 2011-06-29 1:19 UTC (permalink / raw) To: Blue Swirl; +Cc: qemu-devel [-- Attachment #1.1: Type: text/plain, Size: 621 bytes --] On Sun, Jun 26, 2011 at 1:58 PM, Blue Swirl <blauwirbel@gmail.com> wrote: > On Fri, Jun 24, 2011 at 3:52 AM, Super Bisquit <superbisquit@gmail.com> > wrote: > > The last time I asked, Blue Swirl was somewhat working on the port. > > Has anything been improved since? > > I'm somewhat working on OpenBSD host support, not FreeBSD, but there > shouldn't be great differences. What's the status on FreeBSD, does > QEMU build and run? > http://lists.gnu.org/archive/html/qemu-devel/2011-04/msg02277.html Our last conversation on the subject. It builds, doesn't run. More like it runs and hangs. The core is ~428M in size. [-- Attachment #1.2: Type: text/html, Size: 1111 bytes --] [-- Attachment #2: gdb-sparc-qemu.txt --] [-- Type: text/plain, Size: 6714 bytes --] $ qemu-system-sparc -cpu LEON3 -hda test.img -cdrom Downloads/debian-6.0.2.1-sparc-businesscard.iso -m 256 -boot d qemu: fatal: Trap 0x02 while interrupts disabled, Error state pc: 00000000 npc: 00000004 General Registers: %g0-7: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Current Register Window: %o0-7: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 %l0-7: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 %i0-7: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Floating Point Registers: %f00: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f04: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f08: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f12: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f16: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f20: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f24: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 %f28: 000000000.000000 000000000.000000 000000000.000000 000000000.000000 psr: f30000c0 (icc: ---- SPE: SP-) wim: 00000001 fsr: 00080000 y: 00000000 Abort trap (core dumped) $ gdb qemu-system-sparc qemu-system-sparc.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc64-marcel-freebsd"...(no debugging symbols found)... warning: core file may not match specified executable file. Core was generated by `qemu-system-sparc'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libutil.so.9...(no debugging symbols found)...done. Loaded symbols for /lib/libutil.so.9 Reading symbols from /usr/local/lib/libcurl.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libcurl.so.6 Reading symbols from /lib/libncurses.so.8...(no debugging symbols found)...done. Loaded symbols for /lib/libncurses.so.8 Reading symbols from /usr/local/lib/libgnutls.so.40...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgnutls.so.40 Reading symbols from /lib/libpcap.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libpcap.so.7 Reading symbols from /usr/local/lib/libSDL-1.2.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libSDL-1.2.so.11 Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libX11.so.6 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.6 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/lib/libssl.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libssl.so.6 Reading symbols from /lib/libcrypto.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.6 Reading symbols from /usr/local/lib/libgcrypt.so.17...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgcrypt.so.17 Reading symbols from /usr/local/lib/libgpg-error.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libgpg-error.so.0 Reading symbols from /usr/local/lib/libintl.so.9...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libintl.so.9 Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/local/lib/libggi.so.2...done. Loaded symbols for /usr/local/lib/libggi.so.2 Reading symbols from /usr/local/lib/libXxf86vm.so.1...done. Loaded symbols for /usr/local/lib/libXxf86vm.so.1 Reading symbols from /usr/local/lib/libgii.so.1...done. Loaded symbols for /usr/local/lib/libgii.so.1 Reading symbols from /usr/local/lib/libXxf86dga.so.1...done. Loaded symbols for /usr/local/lib/libXxf86dga.so.1 Reading symbols from /usr/local/lib/libXext.so.6...done. Loaded symbols for /usr/local/lib/libXext.so.6 Reading symbols from /usr/local/lib/libgg.so.1...done. Loaded symbols for /usr/local/lib/libgg.so.1 Reading symbols from /usr/local/lib/libaa.so.1...done. Loaded symbols for /usr/local/lib/libaa.so.1 Reading symbols from /usr/local/lib/libxcb.so.2...done. Loaded symbols for /usr/local/lib/libxcb.so.2 Reading symbols from /usr/local/lib/libXau.so.6...done. Loaded symbols for /usr/local/lib/libXau.so.6 Reading symbols from /usr/local/lib/libXdmcp.so.6...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from /usr/local/lib/libpthread-stubs.so.0...done. Loaded symbols for /usr/local/lib/libpthread-stubs.so.0 Reading symbols from /usr/lib/librpcsvc.so.5...done. Loaded symbols for /usr/lib/librpcsvc.so.5 Reading symbols from /usr/lib/libusbhid.so.4...done. Loaded symbols for /usr/lib/libusbhid.so.4 Reading symbols from /usr/local/lib/libXrender.so.1...done. Loaded symbols for /usr/local/lib/libXrender.so.1 Reading symbols from /usr/local/lib/libXrandr.so.2...done. Loaded symbols for /usr/local/lib/libXrandr.so.2 Reading symbols from /usr/local/lib/libXcursor.so.1...done. Loaded symbols for /usr/local/lib/libXcursor.so.1 Reading symbols from /usr/local/lib/libXfixes.so.3...done. Loaded symbols for /usr/local/lib/libXfixes.so.3 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x00000000413ab888 in thr_kill () from /lib/libc.so.7 (gdb) bt #0 0x00000000413ab888 in thr_kill () from /lib/libc.so.7 #1 0x00000000412e50a0 in abort () from /lib/libc.so.7 #2 0x000000000019d784 in AES_cbc_encrypt () #3 0x00000000001d4a54 in AES_cbc_encrypt () #4 0x00000000001a1560 in AES_cbc_encrypt () #5 0x00000000001075c0 in ?? () Previous frame identical to this frame (corrupt stack?) (gdb) frame 0 #0 0x00000000413ab888 in thr_kill () from /lib/libc.so.7 (gdb) frame 1 #1 0x00000000412e50a0 in abort () from /lib/libc.so.7 (gdb) frame 2 #2 0x000000000019d784 in AES_cbc_encrypt () (gdb) frame 3 #3 0x00000000001d4a54 in AES_cbc_encrypt () (gdb) frame 4 #4 0x00000000001a1560 in AES_cbc_encrypt () (gdb) frame 5 #5 0x00000000001075c0 in ?? () (gdb) quit $ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? 2011-06-29 1:19 ` Super Bisquit @ 2011-06-29 5:10 ` Bob Breuer 2011-06-30 1:46 ` Super Bisquit 0 siblings, 1 reply; 9+ messages in thread From: Bob Breuer @ 2011-06-29 5:10 UTC (permalink / raw) To: Super Bisquit; +Cc: qemu-devel Super Bisquit wrote: > ... > > It builds, doesn't run. More like it runs and hangs. > > $ qemu-system-sparc -cpu LEON3 -hda test.img -cdrom Downloads/debian-6.0.2.1-sparc-businesscard.iso -m 256 -boot d > That command line won't work. OpenBIOS doesn't support LEON, and the last version of Debian for sparc32 was 4.0. Try instead: "qemu-system-sparc -cdrom debian-40r9-sparc-netinst.iso -boot d" You can get a cd image from http://cdimage.debian.org/cdimage/archive/4.0_r9/sparc/iso-cd/ but the installer may not be able to load packages from the internet because the packages have been moved to archive.debian.org. Bob ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? 2011-06-29 5:10 ` Bob Breuer @ 2011-06-30 1:46 ` Super Bisquit 2011-07-01 16:03 ` Super Bisquit 0 siblings, 1 reply; 9+ messages in thread From: Super Bisquit @ 2011-06-30 1:46 UTC (permalink / raw) To: Bob Breuer; +Cc: qemu-devel [-- Attachment #1: Type: text/plain, Size: 894 bytes --] On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer <breuerr@mc.net> wrote: > Super Bisquit wrote: > > > ... > > > > It builds, doesn't run. More like it runs and hangs. > > > > $ qemu-system-sparc -cpu LEON3 -hda test.img -cdrom > Downloads/debian-6.0.2.1-sparc-businesscard.iso -m 256 -boot d > > > > That command line won't work. OpenBIOS doesn't support LEON, and the > last version of Debian for sparc32 was 4.0. > > Try instead: "qemu-system-sparc -cdrom debian-40r9-sparc-netinst.iso > -boot d" > > You can get a cd image from > http://cdimage.debian.org/cdimage/archive/4.0_r9/sparc/iso-cd/ but the > installer may not be able to load packages from the internet because the > packages have been moved to archive.debian.org. > > Bob > No response either from sparc32 or powerpc. I386 also didn't work. What gdb commands should be ran on the core and what qemu monitor commands should I run? [-- Attachment #2: Type: text/html, Size: 1477 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? 2011-06-30 1:46 ` Super Bisquit @ 2011-07-01 16:03 ` Super Bisquit 2011-07-01 20:21 ` Blue Swirl 0 siblings, 1 reply; 9+ messages in thread From: Super Bisquit @ 2011-07-01 16:03 UTC (permalink / raw) To: Bob Breuer; +Cc: qemu-devel [-- Attachment #1: Type: text/plain, Size: 1196 bytes --] On Wed, Jun 29, 2011 at 9:46 PM, Super Bisquit <superbisquit@gmail.com>wrote: > > > On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer <breuerr@mc.net> wrote: > >> Super Bisquit wrote: >> > >> ... >> > >> > It builds, doesn't run. More like it runs and hangs. >> > >> > $ qemu-system-sparc -cpu LEON3 -hda test.img -cdrom >> Downloads/debian-6.0.2.1-sparc-businesscard.iso -m 256 -boot d >> > >> >> That command line won't work. OpenBIOS doesn't support LEON, and the >> last version of Debian for sparc32 was 4.0. >> >> Try instead: "qemu-system-sparc -cdrom debian-40r9-sparc-netinst.iso >> -boot d" >> >> You can get a cd image from >> http://cdimage.debian.org/cdimage/archive/4.0_r9/sparc/iso-cd/ but the >> installer may not be able to load packages from the internet because the >> packages have been moved to archive.debian.org. >> >> Bob >> > > No response either from sparc32 or powerpc. I386 also didn't work. > What gdb commands should be ran on the core and what qemu monitor commands > should I run? > > Here. When someone else on the list has FreeBSD installed to a SPARC64/UltraSPARC device and has installed qemu to it, then it will be easy to see what I am referring to constantly. [-- Attachment #2: Type: text/html, Size: 2059 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? 2011-07-01 16:03 ` Super Bisquit @ 2011-07-01 20:21 ` Blue Swirl 2011-07-03 10:18 ` Super Bisquit 0 siblings, 1 reply; 9+ messages in thread From: Blue Swirl @ 2011-07-01 20:21 UTC (permalink / raw) To: Super Bisquit; +Cc: Bob Breuer, qemu-devel On Fri, Jul 1, 2011 at 7:03 PM, Super Bisquit <superbisquit@gmail.com> wrote: > > > On Wed, Jun 29, 2011 at 9:46 PM, Super Bisquit <superbisquit@gmail.com> > wrote: >> >> >> On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer <breuerr@mc.net> wrote: >>> >>> Super Bisquit wrote: >>> > >>> ... >>> > >>> > It builds, doesn't run. More like it runs and hangs. >>> > >>> > $ qemu-system-sparc -cpu LEON3 -hda test.img -cdrom >>> > Downloads/debian-6.0.2.1-sparc-businesscard.iso -m 256 -boot d >>> > >>> >>> That command line won't work. OpenBIOS doesn't support LEON, and the >>> last version of Debian for sparc32 was 4.0. >>> >>> Try instead: "qemu-system-sparc -cdrom debian-40r9-sparc-netinst.iso >>> -boot d" >>> >>> You can get a cd image from >>> http://cdimage.debian.org/cdimage/archive/4.0_r9/sparc/iso-cd/ but the >>> installer may not be able to load packages from the internet because the >>> packages have been moved to archive.debian.org. >>> >>> Bob >> >> No response either from sparc32 or powerpc. I386 also didn't work. >> What gdb commands should be ran on the core and what qemu monitor commands >> should I run? >> > > Here. When someone else on the list has FreeBSD installed to a > SPARC64/UltraSPARC device and has installed qemu to it, then it will be easy > to see what I am referring to constantly. More Sparc (or BSD) hackers are very much welcome. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? 2011-07-01 20:21 ` Blue Swirl @ 2011-07-03 10:18 ` Super Bisquit 2011-07-03 11:06 ` Blue Swirl 0 siblings, 1 reply; 9+ messages in thread From: Super Bisquit @ 2011-07-03 10:18 UTC (permalink / raw) To: Blue Swirl; +Cc: Bob Breuer, qemu-devel [-- Attachment #1: Type: text/plain, Size: 1933 bytes --] On Fri, Jul 1, 2011 at 4:21 PM, Blue Swirl <blauwirbel@gmail.com> wrote: > On Fri, Jul 1, 2011 at 7:03 PM, Super Bisquit <superbisquit@gmail.com> > wrote: > > > > > > On Wed, Jun 29, 2011 at 9:46 PM, Super Bisquit <superbisquit@gmail.com> > > wrote: > >> > >> > >> On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer <breuerr@mc.net> wrote: > >>> > >>> Super Bisquit wrote: > >>> > > >>> ... > >>> > > >>> > It builds, doesn't run. More like it runs and hangs. > >>> > > >>> > $ qemu-system-sparc -cpu LEON3 -hda test.img -cdrom > >>> > Downloads/debian-6.0.2.1-sparc-businesscard.iso -m 256 -boot d > >>> > > >>> > >>> That command line won't work. OpenBIOS doesn't support LEON, and the > >>> last version of Debian for sparc32 was 4.0. > >>> > >>> Try instead: "qemu-system-sparc -cdrom debian-40r9-sparc-netinst.iso > >>> -boot d" > >>> > >>> You can get a cd image from > >>> http://cdimage.debian.org/cdimage/archive/4.0_r9/sparc/iso-cd/ but the > >>> installer may not be able to load packages from the internet because > the > >>> packages have been moved to archive.debian.org. > >>> > >>> Bob > >> > >> No response either from sparc32 or powerpc. I386 also didn't work. > >> What gdb commands should be ran on the core and what qemu monitor > commands > >> should I run? > >> > > > > Here. When someone else on the list has FreeBSD installed to a > > SPARC64/UltraSPARC device and has installed qemu to it, then it will be > easy > > to see what I am referring to constantly. > > More Sparc (or BSD) hackers are very much welcome. > Is there a way of verbose logging qemu while it runs? Maybe comparing the FreeBSD output to the OpenBSD output will help. Also, I can send you a list of the installed binaries, libraries, scripts, and config files. Qemu on qemu has worked for me. This means that anyone with a machine that has the CPU and memory to support a sparc64 guest could install FreeBSD as a virtual sparc64 client/vm. [-- Attachment #2: Type: text/html, Size: 2994 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? 2011-07-03 10:18 ` Super Bisquit @ 2011-07-03 11:06 ` Blue Swirl 0 siblings, 0 replies; 9+ messages in thread From: Blue Swirl @ 2011-07-03 11:06 UTC (permalink / raw) To: Super Bisquit; +Cc: Bob Breuer, qemu-devel On Sun, Jul 3, 2011 at 1:18 PM, Super Bisquit <superbisquit@gmail.com> wrote: > > > On Fri, Jul 1, 2011 at 4:21 PM, Blue Swirl <blauwirbel@gmail.com> wrote: >> >> On Fri, Jul 1, 2011 at 7:03 PM, Super Bisquit <superbisquit@gmail.com> >> wrote: >> > >> > >> > On Wed, Jun 29, 2011 at 9:46 PM, Super Bisquit <superbisquit@gmail.com> >> > wrote: >> >> >> >> >> >> On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer <breuerr@mc.net> wrote: >> >>> >> >>> Super Bisquit wrote: >> >>> > >> >>> ... >> >>> > >> >>> > It builds, doesn't run. More like it runs and hangs. >> >>> > >> >>> > $ qemu-system-sparc -cpu LEON3 -hda test.img -cdrom >> >>> > Downloads/debian-6.0.2.1-sparc-businesscard.iso -m 256 -boot d >> >>> > >> >>> >> >>> That command line won't work. OpenBIOS doesn't support LEON, and the >> >>> last version of Debian for sparc32 was 4.0. >> >>> >> >>> Try instead: "qemu-system-sparc -cdrom debian-40r9-sparc-netinst.iso >> >>> -boot d" >> >>> >> >>> You can get a cd image from >> >>> http://cdimage.debian.org/cdimage/archive/4.0_r9/sparc/iso-cd/ but the >> >>> installer may not be able to load packages from the internet because >> >>> the >> >>> packages have been moved to archive.debian.org. >> >>> >> >>> Bob >> >> >> >> No response either from sparc32 or powerpc. I386 also didn't work. >> >> What gdb commands should be ran on the core and what qemu monitor >> >> commands >> >> should I run? >> >> >> > >> > Here. When someone else on the list has FreeBSD installed to a >> > SPARC64/UltraSPARC device and has installed qemu to it, then it will be >> > easy >> > to see what I am referring to constantly. >> >> More Sparc (or BSD) hackers are very much welcome. > > Is there a way of verbose logging qemu while it runs? Maybe comparing the > FreeBSD output to the OpenBSD output will help. -d in_asm,op,out_asm. For user emulator, -strace may also be useful though the output may be buggy. Comparing should work, but perhaps it's easier if you compared FreeBSD/i386 host output to FreeBSD/Sparc64 output for the same binaries. > Also, I can send you a list of the installed binaries, libraries, scripts, > and config files. Qemu on qemu has worked for me. This means that anyone > with a machine that has the CPU and memory to support a sparc64 guest could > install FreeBSD as a virtual sparc64 client/vm. Unfortunately Sparc64 guest support is not complete enough for installation of any OS. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-07-03 11:06 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-06-24 0:52 [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet? Super Bisquit 2011-06-26 17:58 ` Blue Swirl 2011-06-29 1:19 ` Super Bisquit 2011-06-29 5:10 ` Bob Breuer 2011-06-30 1:46 ` Super Bisquit 2011-07-01 16:03 ` Super Bisquit 2011-07-01 20:21 ` Blue Swirl 2011-07-03 10:18 ` Super Bisquit 2011-07-03 11:06 ` Blue Swirl
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).