Skip to contentSkip to conversation

kqemu problem - linux amd64 host, win xp guest

Qemu-devel Adrian Smarzewski 4 participants 8 messages Jul 26, 2005 – Jul 30, 2005

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 4 lines · On Tue, 26 Jul 2005 09:38:51 +0200 Adrian Smarzewski <[email protected]> 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...?

Signature · 5 lines
Paul "LeoNerd" Evans

[email protected]
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/
#2 lore raw
Quoted 5 lines · Paul LeoNerd Evans

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?

Signature · 2 lines
Pozdrowienia,
Adrian Smarzewski
#3 lore raw
In reply to Adrian Smarzewski

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · Adrian Smarzewski

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-----

#4 lore raw
Quoted 5 lines · Flavio Visentin

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?

Signature · 2 lines
Pozdrowienia,
Adrian Smarzewski
#5 lore raw
In reply to Flavio Visentin
Quoted 5 lines · Flavio Visentin

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

[...]

Signature · 2 lines
Pozdrowienia,
Adrian Smarzewski
#6 lore raw
Quoted 8 lines · Adrian Smarzewski
Quoted 5 lines · Flavio Visentin

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

#7 lore raw
Quoted 1 line · Paul Brook

qvm86 does not yet suppot amd64 hosts. It only works on amd64 hardware when running a 32-bit kernel.

ok, I've got amd64, win xp guest, and I'm a programmer if you need some help (but don't know qemu/qvm86 code).

Signature · 2 lines
Pozdrowienia,
Adrian Smarzewski