oops meant this to go to everyone

---------- Forwarded message ----------
From: James Dickens <[EMAIL PROTECTED] >
Date: Jul 7, 2005 9:35 AM
Subject: Re: [osol-discuss] Re: Qemu (was Re: Solaris vs. Linux)
To: Jürgen Keil <[EMAIL PROTECTED]>



On 7/7/05, Jürgen Keil <[EMAIL PROTECTED]> wrote:
>
> Apropos qemu, does it work for you on b16 or b17, x86
> platform? I have  downloaded it, applied the patch as per
>
> http://blogs.sun.com/roller/page/thebentzone?entry=run_windows_or_linux_or
>
> (had to fix isgreater() macro in gnu-c99-math.h), but
> have problems with it. If I compile it with /usr/sfw/bin/gcc, it dumps
> core at startup time (neither pstack nor dbx give any meaningful output),

At least on S10 GA x86, qemu [b]cannot[/b] be built using /usr/sfw/bin/gcc, that's a
known problem.

   http://groups.yahoo.com/group/solarisx86/message/24135
  http://groups.yahoo.com/group/solarisx86/message/24196

Bart Smaalders mentioned a "Sun gcc patch / new version as part of an s10 update"
in this thread; I'm not sure if the current snv builds already contain the fixed
/usr/sfw/bin/gcc.  Since qemu is still crashing, I'd say the gcc bug is still present.

martin on  #blastwave on irc.freenode.net has patched a version of qemu so that it builds in /usr/sfw/bin/gcc i have built it my self.. works fine..  linux kernel 2.6.x use a 1000hz clock that expose defects in the qemu code on slower boxes, but haven't experienced any crashes

if you want to run a 2.6.x kernel pass clock=pit into the kernel.

tested so far is   fedora core 4,  knoppix 3.9 and debian net install disk, have completed a full net install iwth no problems. haven't tested windows yet.. check my blog for more details on the bad code in qemu


James Dickens
http://uadmin.blogspot.com
 

> when compiled with /opt/csw/gcc3/bin/gcc it starts, but does nothing. No
> windows opens, and after some 10-15 minutes of frenetic CPU usage (e.g.
> when booting Knoppix  3.9), it just stops using CPU and probably sleeps. I
> have even tried booting windows 89se boot floppy (as per above blog),
> but the same thing happens.


I'm using the gcc 3.4.2 from the companion CD available with S10 GA.
The S10 companion CD version of gcc3 is known to be able to compile a working
qemu (on S10 GA x86).


Is your qemu compiled / linked against libSDL? SDL is needed for gui output.
Sounds as if knoppix 3.9 is done booting after 10-15 minutes and is waiting for
keyboard / mouse input - but the gui output / gui window is missing?
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to