* [Qemu-devel] kqemu problem - linux amd64 host, win xp guest
@ 2005-07-26 7:38 Adrian Smarzewski
2005-07-26 11:26 ` Paul LeoNerd Evans
2005-07-26 14:02 ` Flavio Visentin
0 siblings, 2 replies; 9+ messages in thread
From: Adrian Smarzewski @ 2005-07-26 7:38 UTC (permalink / raw)
To: qemu-devel
I'm sorry, I sent it incorrectly, I'm sending it again now...
host:
Linux laptok 2.6.12-gentoo-r6 #1 Fri Jul 22 10:21:50 CEST 2005 x86_64
AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux
guest:
Windows XP Home Edition, Service Pack 2 + all updates
qemu:
0.7.1: i386-softmmu, x86_64-softmmu, x86_64-softmmu + kqemu
problem:
Everything works with i386-softmmu and x86_64-softmmu.
Problems with kqemu: win xp displays only the
"We apologize for inconvenience, but Windows did not start
successfully. A recent hardware or software change might have
caused this." screen all the time.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] kqemu problem - linux amd64 host, win xp guest
2005-07-26 7:38 [Qemu-devel] kqemu problem - linux amd64 host, win xp guest Adrian Smarzewski
@ 2005-07-26 11:26 ` Paul LeoNerd Evans
2005-07-26 12:17 ` Adrian Smarzewski
2005-07-26 14:02 ` Flavio Visentin
1 sibling, 1 reply; 9+ messages in thread
From: Paul LeoNerd Evans @ 2005-07-26 11:26 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 737 bytes --]
On Tue, 26 Jul 2005 09:38:51 +0200
Adrian Smarzewski <adrian@kadu.net> wrote:
> Problems with kqemu: win xp displays only the
> "We apologize for inconvenience, but Windows did not start
> successfully. A recent hardware or software change might have
> caused this." screen all the time.
I don't know of WinXP, but I get problems running Win98 with kqemu. The
site does say it's only been successfully tested with Linux 2.4, 2.6 and
Win2k.. It might be that these other Windows are using borderline obscure
features of the processor in some odd way which kqemu doesn't quite
support yet...?
--
Paul "LeoNerd" Evans
leonerd@leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] kqemu problem - linux amd64 host, win xp guest
2005-07-26 11:26 ` Paul LeoNerd Evans
@ 2005-07-26 12:17 ` Adrian Smarzewski
0 siblings, 0 replies; 9+ messages in thread
From: Adrian Smarzewski @ 2005-07-26 12:17 UTC (permalink / raw)
To: qemu-devel
Paul LeoNerd Evans wrote:
> I don't know of WinXP, but I get problems running Win98 with kqemu. The
> site does say it's only been successfully tested with Linux 2.4, 2.6 and
> Win2k.. It might be that these other Windows are using borderline obscure
> features of the processor in some odd way which kqemu doesn't quite
> support yet...?
how can I test it or debug it? How can give Fabrice more information?
--
Pozdrowienia,
Adrian Smarzewski
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] kqemu problem - linux amd64 host, win xp guest
2005-07-26 7:38 [Qemu-devel] kqemu problem - linux amd64 host, win xp guest Adrian Smarzewski
2005-07-26 11:26 ` Paul LeoNerd Evans
@ 2005-07-26 14:02 ` Flavio Visentin
2005-07-26 14:26 ` Adrian Smarzewski
2005-07-30 14:12 ` Adrian Smarzewski
1 sibling, 2 replies; 9+ messages in thread
From: Flavio Visentin @ 2005-07-26 14:02 UTC (permalink / raw)
To: qemu-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adrian Smarzewski wrote:
> Everything works with i386-softmmu and x86_64-softmmu.
> Problems with kqemu: win xp displays only the
> "We apologize for inconvenience, but Windows did not start
> successfully. A recent hardware or software change might have
> caused this." screen all the time.
Did you try qvm86? Sometimes kqemu works better, sometimes qvm86 is
the best choice, sometimes nothing is better than not using
acceleration. :-)
Ususally I try all the three solutions and the problem goes away.
- --
Flavio Visentin
| \|||/
| @/0.0\@
| \ - /
+------------------oOOo---oOOo------------------
There are only 10 types of people in this world:
those who understand binary, and those who don't.
GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFC5kJZusUmHkh1cnoRAkdiAJ4vMKGRJApXuOIEnYUjUVmMpA6qHwCfTEf5
qEzLgHo5dgR4IaaZfT1lFlQ=
=ogD6
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] kqemu problem - linux amd64 host, win xp guest
2005-07-26 14:02 ` Flavio Visentin
@ 2005-07-26 14:26 ` Adrian Smarzewski
2005-07-30 14:12 ` Adrian Smarzewski
1 sibling, 0 replies; 9+ messages in thread
From: Adrian Smarzewski @ 2005-07-26 14:26 UTC (permalink / raw)
To: qemu-devel
Flavio Visentin wrote:
> Did you try qvm86? Sometimes kqemu works better, sometimes qvm86 is
> the best choice, sometimes nothing is better than not using
> acceleration. :-)
>
> Ususally I try all the three solutions and the problem goes away.
no. is qvm86 ready to run win xp on amd64 host?
--
Pozdrowienia,
Adrian Smarzewski
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] kqemu problem - linux amd64 host, win xp guest
2005-07-26 14:02 ` Flavio Visentin
2005-07-26 14:26 ` Adrian Smarzewski
@ 2005-07-30 14:12 ` Adrian Smarzewski
2005-07-30 15:14 ` Paul Brook
1 sibling, 1 reply; 9+ messages in thread
From: Adrian Smarzewski @ 2005-07-30 14:12 UTC (permalink / raw)
To: qemu-devel
Flavio Visentin wrote:
> Did you try qvm86? Sometimes kqemu works better, sometimes qvm86 is
> the best choice, sometimes nothing is better than not using
> acceleration. :-)
>
> Ususally I try all the three solutions and the problem goes away.
I have problems compiling qemu with qvm86 (newest version from cvs).
adrian@laptok ~ $ gcc --version
gcc (GCC) 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)
[...]
adrian@laptok ~/tmp/qemu-0.7.1 $ ./configure --prefix=/opt/qemu
--target-list="x86_64-softmmu"
[...]
adrian@laptok ~/tmp/qemu-0.7.1 $ make
[...]
make[2]: Entering directory `/usr/src/linux-2.6.12-gentoo-r6'
CC [M] /home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-linux.o
CC [M] /home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.o
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c: In function
`qvm86_shadow_page_pae':
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:774: warning: long long
unsigned int format, different type arg (arg 3)
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c: In function
`qvm86_shadow_fault':
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:829: warning: cast to
pointer from integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:829: warning: cast to
pointer from integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:829: warning: cast to
pointer from integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:829: warning: cast to
pointer from integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:829: warning: cast to
pointer from integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:829: warning: cast to
pointer from integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c: In function
`get_code_maddr':
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:1367: warning: cast from
pointer to integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c: In function
`qvm86_init_monitor_env':
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:1449: warning: cast from
pointer to integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:1466: warning: cast from
pointer to integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:1485: warning: cast from
pointer to integer of different size
/home/adrian/tmp/qemu-0.7.1/qvm86/qvm86-host.c:1499: warning: cast to
pointer from integer of different size
AS [M] /home/adrian/tmp/qemu-0.7.1/qvm86/switch.o
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S: Assembler messages:
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:59: Error: suffix or operands
invalid for `pushf'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:60: Error: suffix or operands
invalid for `pusha'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:61: Error: suffix or operands
invalid for `push'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:62: Error: suffix or operands
invalid for `push'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:63: Error: suffix or operands
invalid for `push'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:64: Error: suffix or operands
invalid for `push'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:99: Error: suffix or operands
invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:100: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:101: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:102: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:113: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:114: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:115: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:116: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:164: Error: suffix or
operands invalid for `pop'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:165: Error: suffix or
operands invalid for `pop'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:166: Error: suffix or
operands invalid for `popa'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:167: Error: suffix or
operands invalid for `popf'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:189: Error: suffix or
operands invalid for `pushf'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:190: Error: suffix or
operands invalid for `pusha'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:191: Error: suffix or
operands invalid for `push'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:192: Error: suffix or
operands invalid for `push'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:205: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:206: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:207: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:208: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:288: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:289: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:290: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:291: Error: suffix or
operands invalid for `mov'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:307: Error: suffix or
operands invalid for `pop'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:308: Error: suffix or
operands invalid for `pop'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:309: Error: suffix or
operands invalid for `pop'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:310: Error: suffix or
operands invalid for `pop'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:335: Error: suffix or
operands invalid for `popa'
/home/adrian/tmp/qemu-0.7.1/qvm86/switch.S:336: Error: suffix or
operands invalid for `popf'
make[3]: *** [/home/adrian/tmp/qemu-0.7.1/qvm86/switch.o] Error 1
[...]
--
Pozdrowienia,
Adrian Smarzewski
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] kqemu problem - linux amd64 host, win xp guest
2005-07-30 14:12 ` Adrian Smarzewski
@ 2005-07-30 15:14 ` Paul Brook
2005-07-30 22:13 ` Adrian Smarzewski
0 siblings, 1 reply; 9+ messages in thread
From: Paul Brook @ 2005-07-30 15:14 UTC (permalink / raw)
To: qemu-devel
On Saturday 30 July 2005 15:12, Adrian Smarzewski wrote:
> Flavio Visentin wrote:
> > Did you try qvm86? Sometimes kqemu works better, sometimes qvm86 is
> > the best choice, sometimes nothing is better than not using
> > acceleration. :-)
> >
> > Ususally I try all the three solutions and the problem goes away.
>
> I have problems compiling qemu with qvm86 (newest version from cvs).
qvm86 does not yet suppot amd64 hosts. It only works on amd64 hardware when
running a 32-bit kernel.
Paul
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Supported OS: FreeBSD 5.3-RELEASE
@ 2005-07-25 16:21 Bakul Shah
2005-07-25 20:26 ` [Qemu-devel] kqemu problem - linux amd64 host, win xp guest Adrian Smarzewski
0 siblings, 1 reply; 9+ messages in thread
From: Bakul Shah @ 2005-07-25 16:21 UTC (permalink / raw)
To: qemu-devel
Here is what I have learned so far w.r.t. freebsd. Hope this
helps people running qemu+freebsd.
Qemu versions: qemu-0.7.0s.20050717 & qemu-0.7.1 [1] + kqemu
Host: freebsd-5.x freebsd-6, freebsd-7-current [2]
Processors: P4, AthlonXP, P4 HT[3]
VMs[4]: freebsd-4.x, freebsd-5.x, dragonfly (latest)
netbsd-1.3.x, redhat linux (don't recall versions), plan9,
winXP, win2k, win2k3 (an earlier beta) -- all on X86
Notes:
[1] qemu-0.7.1 works with the patches from the current qemu port.
Hopefully Juergen Lock will update the port soon.
[2] Most of my testing is with -current but generally
older versions have not given any trouble.
[3] Hyperthreaded P4 + kqemu works fine for the most part but
I have encountered some problems. Haven't had time to
investigate further.
[4] VMs were built using various versions of qemu so they
may or may not build with the latest qemu.
qemu-system-x86-64 brings up 6.0-BETA1-amd64 into the install
menu but then it (sysinstall) fails to find any disks! When
stopped at the boot prompt, prior to freebsd kernel booting,
we see that the bios does detect the C disk so this likely
means the freebsd probe code is using some feature that qemu
does not emulate.
Typically I test all unix VMs by fetching sources, rebuilding
everything and rebooting -- this is a pretty good test for
real h/w as well! I have used only the tap device, not user
mode networking (slirp). Networking works well enough. NFS
mounting the host FS works but is rather slow. I have not
tested sound. With kqemu VMs run about twice as slow as real
h/w. Not bad at all!
qemu+gdb works very well for debugging freebsd kernels! (I
believe I sent the details on some freebsd list earlier which
you can search for).
For convenience I use if_bridge and run a local dhcpd that
serves DHCP requests on the bridge0 device. In addition I
use NAT using pf. /etc/qemu-ifup looks like this:
#!/bin/sh
sbin/ifconfig $1 up
/sbin/ifconfig bridge0 deletem $1 2>/dev/null
/sbin/ifconfig bridge0 addm $1
This combination allows me to run multiple VMs (I just
suspend (^Z) the ones not in use). The only fiddling I do is
to use a script to ensure that different VMs use different
MAC address.
-- bakul
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Qemu-devel] kqemu problem - linux amd64 host, win xp guest
2005-07-25 16:21 [Qemu-devel] Supported OS: FreeBSD 5.3-RELEASE Bakul Shah
@ 2005-07-25 20:26 ` Adrian Smarzewski
0 siblings, 0 replies; 9+ messages in thread
From: Adrian Smarzewski @ 2005-07-25 20:26 UTC (permalink / raw)
To: qemu-devel
host:
Linux laptok 2.6.12-gentoo-r6 #1 Fri Jul 22 10:21:50 CEST 2005 x86_64
AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux
guest:
Windows XP Home Edition, Service Pack 2 + all updates
qemu:
0.7.1: i386-softmmu, x86_64-softmmu, x86_64-softmmu + kqemu
problem:
Everything works with i386-softmmu and x86_64-softmmu.
Problems with kqemu: win xp displays only the
"We apologize for inconvenience, but Windows did not start
successfully. A recent hardware or software change might have
caused this." screen all the time.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-07-30 22:35 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 7:38 [Qemu-devel] kqemu problem - linux amd64 host, win xp guest Adrian Smarzewski
2005-07-26 11:26 ` Paul LeoNerd Evans
2005-07-26 12:17 ` Adrian Smarzewski
2005-07-26 14:02 ` Flavio Visentin
2005-07-26 14:26 ` Adrian Smarzewski
2005-07-30 14:12 ` Adrian Smarzewski
2005-07-30 15:14 ` Paul Brook
2005-07-30 22:13 ` Adrian Smarzewski
-- strict thread matches above, loose matches on Subject: below --
2005-07-25 16:21 [Qemu-devel] Supported OS: FreeBSD 5.3-RELEASE Bakul Shah
2005-07-25 20:26 ` [Qemu-devel] kqemu problem - linux amd64 host, win xp guest Adrian Smarzewski
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).