Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet?

2011-07-03 Thread Blue Swirl
On Sun, Jul 3, 2011 at 1:18 PM, Super Bisquit  wrote:
>
>
> On Fri, Jul 1, 2011 at 4:21 PM, Blue Swirl  wrote:
>>
>> On Fri, Jul 1, 2011 at 7:03 PM, Super Bisquit 
>> wrote:
>> >
>> >
>> > On Wed, Jun 29, 2011 at 9:46 PM, Super Bisquit 
>> > wrote:
>> >>
>> >>
>> >> On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer  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.



Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet?

2011-07-03 Thread Super Bisquit
On Fri, Jul 1, 2011 at 4:21 PM, Blue Swirl  wrote:

> On Fri, Jul 1, 2011 at 7:03 PM, Super Bisquit 
> wrote:
> >
> >
> > On Wed, Jun 29, 2011 at 9:46 PM, Super Bisquit 
> > wrote:
> >>
> >>
> >> On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer  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.


Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet?

2011-07-01 Thread Blue Swirl
On Fri, Jul 1, 2011 at 7:03 PM, Super Bisquit  wrote:
>
>
> On Wed, Jun 29, 2011 at 9:46 PM, Super Bisquit 
> wrote:
>>
>>
>> On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer  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.



Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet?

2011-07-01 Thread Super Bisquit
On Wed, Jun 29, 2011 at 9:46 PM, Super Bisquit wrote:

>
>
> On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer  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.


Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet?

2011-06-29 Thread Super Bisquit
On Wed, Jun 29, 2011 at 1:10 AM, Bob Breuer  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?


Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet?

2011-06-28 Thread Bob Breuer
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



Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet?

2011-06-28 Thread Super Bisquit
On Sun, Jun 26, 2011 at 1:58 PM, Blue Swirl  wrote:

> On Fri, Jun 24, 2011 at 3:52 AM, Super Bisquit 
> 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.
$ 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:   npc: 0004
General Registers:
%g0-7:        

Current Register Window:
%o0-7:         
%l0-7:         
%i0-7:         

Floating Point Registers:
%f00: 0.00 0.00 0.00 0.00
%f04: 0.00 0.00 0.00 0.00
%f08: 0.00 0.00 0.00 0.00
%f12: 0.00 0.00 0.00 0.00
%f16: 0.00 0.00 0.00 0.00
%f20: 0.00 0.00 0.00 0.00
%f24: 0.00 0.00 0.00 0.00
%f28: 0.00 0.00 0.00 0.00
psr: f3c0 (icc:  SPE: SP-) wim: 0001
fsr: 0008 y: 
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

Re: [Qemu-devel] SPARC64 support on FreeBSD, has it improved as of yet?

2011-06-26 Thread Blue Swirl
On Fri, Jun 24, 2011 at 3:52 AM, Super Bisquit  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?