Re: [Qemu-devel] 64-bit toolchain for Solaris 10 on amd64?
the blastwave toolchain installed as suggested, the gcc 3.4.5 still does not support -m64. For example, when compiling a simple test program (with just an empty main() function): $ /opt/csw/gcc3/bin/gcc -m64 /tmp/test.c /tmp/test.c:1: sorry, unimplemented: 64-bit mode not compiled in Hmph. I would suggest you take this up with the maintainer of the gcc packages on Blastwave. this is also of course true with the default gcc that comes with Solaris, the one from sunfreeware, as well as any GCC that I can I do not know if the latest S10 update release gcc in /usr/sfw/bin has all of the fixes needed to compile QEMU correctly, but I do know that compiler does have 64-bit support. I understand that the Open Solaris project has binaries already compiled, but I need to build QEMU from source on my own on this platform, and it has to be a 64-bit binary. The binaries I built originally were built using the /usr/sfw/bin/gcc on OpenSolaris build 46... no magic. I do not recall which toolchain was used by Martin to build the packages. Hopefully Martin is watching this and will respond on what he did to build the packages. ;) - Eric Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
[Qemu-devel] Re: err Re: [qemu-discuss] New SUNWqemu-0.8.2, REV=2006.10.18-sol10-i386-opt.pkg.gz for x64/x86 ready for public testing
kqemu should work with OpenSolaris guests provided you don't use -kernel-kqemu. -kernel-kqemu is incompatible with the OpenSolaris kernel for a couple of reasons. First, it appears kqemu will need a change in its page table shadowing if we want to support OpenSolaris guests with full virtualization, due to the way the HAT layer manages its page tables which is very different from Linux and Windows; second, there is a bug (well, an RFE) in OpenSolaris itself which would also need to be addressed. I have booted Windows XP and Linux using -kernel-kqemu with OpenSolaris as the host using the binary bits mentioned below and they worked fine for me. I also had no difficulty booting OpenSolaris guests on these bits in 32-bit and 64-bit mode w/ kqemu. I will install the latest packages on my home system tonight and retry my tests with the latest kernel accelerator (my machine is an Athlon X2 so I can test both 32-bit and 64-bit). - Eric - Original Message From: Martin Bochnig [EMAIL PROTECTED] Cc: Open Solaris opensolaris-discuss@opensolaris.org; qemu-devel@nongnu.org; [EMAIL PROTECTED] Sent: Thursday, October 19, 2006 2:50:37 AM Subject: err Re: [qemu-discuss] New SUNWqemu-0.8.2, REV=2006.10.18-sol10-i386-opt.pkg.gz for x64/x86 ready for public testing Sorry, the new version doesn't work with kqemu very well. This affects the old and the new src equally. The compiler or build env seems to be the problem. Please continue to use the previous version that can still be obtained from http://opensolaris.org/os/project/qemu/downloads/qemu-osol-0.8.2-bin-x86.tar.gz Sorry for any inconveniences. Martin Bochnig wrote: http://opensolaris.org/os/project/qemu/downloads/ Latest patched QEMU sources 20061013 http://opensolaris.org/os/project/qemu/downloads/qemu-0.8.2-solaris_src_20061013fri.tar.bz2QEMU 0.8.2 + patches snapshot October 13th 2006 Previous patched QEMU sources 20061002 http://www.opensolaris.org/os/project/qemu/downloads/qemu-0.8.2-solaris.tar.gzQEMU 0.8.2 + patches snapshot October 2nd 2006 Pre-built x86 binaries_pkg http://opensolaris.org/os/project/qemu/downloads/SUNWqemu-0.8.2_REV_2006.10.18-sol10-i386-opt.pkg.bz2 32-bit and 64-bit x86/x64 pre-compiled QEMU 0.8.2 binaries for Solaris 10 / 11 / OpenSolaris Should run on Sol10-x86 FCS aka 03/05 or higher (has been built under Solaris 10 03/05 FCS). ___ qemu-discuss mailing list [EMAIL PROTECTED] http://opensolaris.org/mailman/listinfo/qemu-discuss ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] Re: Hello
please ask Eric Lowe. I did not prepare the x64/x86 stuff. And the sdl amd64 bit patch is also from him. The SDL patch is from Juergen Zimmermann. I have not had any problems building 64-bit using --prefix /wherever/i/please to both QEMU and SDL's configure scripts; note that adding wherever libSDL winds up ($PFX/bin) to your PATH prior to configuring QEMU is a requirement so that QEMU will link to the right spot - Eric ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] AMD64+Solaris10 compile
Is there a way to compile qemu-cvs-snapshot under Solaris-10 running on amd64 processor? Check out the sources and instructions at http://www.opensolaris.org/os/project/qemu There are some patches for 64-bit builds that I think still need to be committed to the main CVS source, you can create your own diffs -vs- the 0.8.2 stock source to see what was done to get 64-bit builds to work and apply the same changes to the CVS source if you really want the latest. You may also need to update your gcc (such as with Blastwave gcc) if /usr/sfw/bin/gcc doesn't work. There you will also find a kqemu accelerator module which should work for Solaris 10. - Eric ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] qemu/target-i386 helper.c
Then lots of 'timeout: reset bus, target=0, lun=0' and other warnings with: Error for command 'read sector' Error Level: informational Sense Key: aborted command Vendor 'Gen-ATA' error code: 0x3 That's a new problem. It seems that the updated bios.bin doesn't setup the ide disk for DMA mode any more, or something like that. I'm seeing the same problem after a qemu cvs update. When I replace qemu/share/qemu/bios.bin with an older version the problem is gone. You could also try adding '-B ata-dma-enabled=0' to boot the kernel as another alternate workaround. The Solaris ATA driver assumes that all devices of ATA4 or greater support and are configured for DMA. - Eric ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] qemu/target-i386 helper.c
Woohoo! Thanks to everybody on the quick turnaround on this, it's very exciting to see it booting now. :) - Eric --- Fabrice Bellard [EMAIL PROTECTED] wrote: CVSROOT: /sources/qemu Module name: qemu Changes by: Fabrice Bellard bellard 06/09/29 20:01:17 Modified files: target-i386: helper.c Log message: 32 bit RSP update fix (aka Open Solaris x86_64 bug) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-i386/helper.c?cvsroot=qemur1=1.72r2=1.73 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] ENOMEDIUM OS X patch
Yes you are correct Solaris does not define this either, and I doubt other *nix systems do. Can this just be changed to #ifndef ENOMEDIUM #define ENOMEDIUM blahblah #endif or somesuch? - Eric --- Jose Renau [EMAIL PROTECTED] wrote: OS X does not include ENOMEDIUM on the error list (I think that the same is true for Solaris). This patch solves the problem. --- vl.h19 Aug 2006 12:37:52 - 1.144 +++ vl.h28 Aug 2006 15:44:08 - @@ -84,6 +84,10 @@ #endif /* !defined(QEMU_TOOL) */ +#ifdef CONFIG_COCOA +#define ENOMEDIUM 4097 +#endif + #ifndef glue #define xglue(x, y) x ## y #define glue(x, y) xglue(x, y) -- All men dream, but only that dream during the daytime are the dangerous. - T. E. Lawrence ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel