Problem installing WIndows
Hi all,
This is my first experience with qemu. I'm using 0.7.0 in Debian unstable. I'm trying to install a Windows XP image from CD. All I've done is:
dd of=hd.img bs=1024 seek=5000000 count=0
qemu -boot c -cdrom /dev/cdrom -hda hd.img
Setup finishes, then the machine reboots and hangs at the black screen with the Windows XP Professional logo and Please wait... below it. There is no CPU usage. How can I go about debugging this?
Antony
Do nothing. Just wait. It takes a LONG time. (shorter if you use kqemu)...
Thanks,
Hetz
Quoted 21 lines · Antony Gelberg
Hi all,
This is my first experience with qemu. I'm using 0.7.0 in Debian unstable. I'm trying to install a Windows XP image from CD. All I've done is:
dd of=hd.img bs=1024 seek=5000000 count=0
qemu -boot c -cdrom/dev/cdrom-hda hd.imgSetup finishes, then the machine reboots and hangs at the black screen with the Windows XP Professional logo and Please wait... below it. There is no CPU usage. How can I go about debugging this?
Antony
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 1 line · Hetz Ben Hamo
Do nothing. Just wait. It takes a LONG time. (shorter if you use kqemu)...
I'll take your word for it, but if it's using next to no CPU, then what _is_ it doing?
Quoted 3 lines · Antony Gelberg
Quoted 1 line · Hetz Ben Hamo
Do nothing. Just wait. It takes a LONG time. (shorter if you use kqemu)...
Ok, one day later, it's still doing nothing, still using no CPU, can somebody now help me to debug this?
Antony
1) have you tried using qemu-img instead of dd ?
(I usually use the qcow format for windows guests. 2G should be ok.
"qemu-img create -f qcow hd.img 2G" )
2) you do not mention bios path, memory of vm and boot sequence. I suggest you add at least the "-boot d". By default, 128M will be used for the vm (sufficient for XP). Make sure your debian box has plenty of RAM (512M is good).
3) is your qemu optimized? and which version of gcc is used?
Christian
Quoted 16 lines · Antony Gelberg
Quoted 3 lines · Antony Gelberg
Quoted 1 line · Hetz Ben Hamo
Do nothing. Just wait. It takes a LONG time. (shorter if you use kqemu)...
Ok, one day later, it's still doing nothing, still using no CPU, can somebody now help me to debug this?
Antony
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 1 line
Christian
Quoted 3 lines · Christian MICHON
1) have you tried using qemu-img instead of dd ?
(I usually use the qcow format for windows guests. 2G should be ok.
"qemu-img create -f qcow hd.img 2G" )
I'm trying that now.
Quoted 4 lines
2) you do not mention bios path, memory of vm and boot sequence. I suggest you add at least the "-boot d". By default, 128M will be used for the vm (sufficient for XP). Make sure your debian box has plenty of RAM (512M is good).
I mentioned the command line in my original post to the thread.
qemu -boot c -cdrom /dev/cdrom -hda hd.img
So it's using 128MB, and my box does indeed have 512MB.
Quoted 1 line
3) is your qemu optimized? and which version of gcc is used?
I have had a look in the Debian config. The only non-standard configure option is --enable-slirp. Debian compiles qemu with -Wall -O2 -g -fno-strict-aliasing. Not sure what gcc was used, but probably 3.3.
Antony
In your original message, you mentioned setup had finished. One thing I can recommend trying on your second attempt is to make sure you create more than one user account when prompted. XP Pro seems to behave differently depending on if there is one or more than one accounts.
I actually had the exact same problem on a real PC. I did not have time to try and resolve thi problem, so I ended up installing XP Home edition on that particular computer.
Bill
Quoted 32 lines · Antony Gelberg
Quoted 3 lines · Christian MICHON
1) have you tried using qemu-img instead of dd ?
(I usually use the qcow format for windows guests. 2G should be ok.
"qemu-img create -f qcow hd.img 2G" )I'm trying that now.
Quoted 4 lines
2) you do not mention bios path, memory of vm and boot sequence. I suggest you add at least the "-boot d". By default, 128M will be used for the vm (sufficient for XP). Make sure your debian box has plenty of RAM (512M is good).
I mentioned the command line in my original post to the thread.
qemu -boot c -cdrom
/dev/cdrom-hda hd.imgSo it's using 128MB, and my box does indeed have 512MB.
Quoted 1 line
3) is your qemu optimized? and which version of gcc is used?
I have had a look in the Debian config. The only non-standard configure option is --enable-slirp. Debian compiles qemu with -Wall -O2 -g -fno-strict-aliasing. Not sure what gcc was used, but probably 3.3.
Antony
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 3 lines · Antony Gelberg
I mentioned the command line in my original post to the thread.
qemu -boot c -cdrom
/dev/cdrom-hda hd.img
sorry. I'm used to add it at the end of the cmd line :)
Quoted 5 lines
Quoted 1 line
3) is your qemu optimized? and which version of gcc is used?
I have had a look in the Debian config. The only non-standard configure option is --enable-slirp. Debian compiles qemu with -Wall -O2 -g -fno-strict-aliasing. Not sure what gcc was used, but probably 3.3.
just to make sure it's not 3.4.x or 4.x.x :)
one last question: it's an OEM version or a std version (like upgrade or full install) ? I expect OEM versions not to work (qemu hardware may not be aligned with the particular OEM version you have, in which case I'd expect an error 7b sooner or later, or a hang...)
Christian
Quoted 3 lines
Quoted 1 line
Not sure what gcc was used, but probably 3.3.
just to make sure it's not 3.4.x or 4.x.x :)
gcc3.4 works fine. I build qemu with it all the time.
Some of the earlier versions would ICE while building the SSE emulation code on some hosts, but recent versions should work.
Paul
I've gotten a little further, but don't seem to be finding this as easy as some of you. I can now type the admin password at the login screen, but I get a dialog, title "Windows Product Activation", text "A problem is preventing Windows from accurately checking the license for this computer. Error Code: 0x800703e6.
Any more ideas? This is XP Pro corp, by the way, and I have not set up networking yet (don't have the tun module compiled).
Antony
[Qemu-devel] Kqemu for windows more free than kqemu for linux?
In reply to Paul BrookNot to start a flame war here but i find it odd that the license of kqemu for windows is a LOT more free than the license of linux kqemu.
License for kqemu-win32.c is a lot like public domain + below clause:
* The above copyright notice and this permission notice shall be
included in
* all copies or substantial portions of the Software.
License for kqemu-linux.c is simply this:
* Copyright (c) 2004-2005 Fabrice Bellard
teris.
Try rebooting the virtual machine, just add: -user-net to the QEMU parameters.
Thanks,
Hetz
Quoted 17 lines · Antony Gelberg
I've gotten a little further, but don't seem to be finding this as easy as some of you. I can now type the admin password at the login screen, but I get a dialog, title "Windows Product Activation", text "A problem is preventing Windows from accurately checking the license for this computer. Error Code:
0x800703e6.Any more ideas? This is XP Pro corp, by the way, and I have not set up networking yet (don't have the tun module compiled).
Antony
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Quoted 8 lines · Antony Gelberg
I've gotten a little further, but don't seem to be finding this as easy as some of you. I can now type the admin password at the login screen, but I get a dialog, title "Windows Product Activation", text "A problem is preventing Windows from accurately checking the license for this computer. Error Code:
0x800703e6.Any more ideas? This is XP Pro corp, by the way, and I have not set up networking yet (don't have the tun module compiled).
You need to boot in safe mode and install a service pack (SP1 or SP2, doesn't matter which).
Paul
[Qemu-devel] Kqemu and qvm86 for windows
In reply to Paul BrookI'm trying to find out why qvm86 crashes the host (instant reboot when right clicking on some icons on the guest desktop).
So i thought if it is possible to use some code from kqemu-win32.c to update qvm86-win32.c
I saw that there are some differences in how the two do the same think and thought that maybe i could have the stability of kqemu-win32 and the absence of some bugs in qvm86-win32.
For example by using kqemu-win32 and user-net for some reason the dns doesn't work (i'm using dhcp). The same works without kqemu or by using qvm86 (win2k host, win2k guest).
thank you guys for making qemu what it is.
teris.
http://fabrice.bellard.free.fr/qemu/qemu-doc.html#TOC30
note this doesn't happen on non corp apparently.
Christian
Quoted 17 lines · Antony Gelberg
I've gotten a little further, but don't seem to be finding this as easy as some of you. I can now type the admin password at the login screen, but I get a dialog, title "Windows Product Activation", text "A problem is preventing Windows from accurately checking the license for this computer. Error Code:
0x800703e6.Any more ideas? This is XP Pro corp, by the way, and I have not set up networking yet (don't have the tun module compiled).
Antony
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Signature · 1 line
Christian
compilation problems (was: [Qemu-devel] Problem installing WIndows)
In reply to Paul BrookQuoted 3 lines · Paul Brook
gcc3.4 works fine. I build qemu with it all the time.
Some of the earlier versions would ICE while building the SSE emulation code on some hosts, but recent versions should work.
One problem still exists:
#v+
gcc -I/package/misc/spf/qemu-0-20050726T193727Z-3/spf/zlib/include -I/package/misc/spf/qemu-0-20050726T193727Z-3/spf/sdl/include -O2 -fno-strict-aliasing -O2 -pipe -march=athlon-xp -fomit-frame-pointer -I. -I/var/tmp/build/qemu/qemu-0/target-i386 -I/var/tmp/build/qemu/qemu-0 -I/var/tmp/build/qemu/qemu-0/linux-user -I/var/tmp/build/qemu/qemu-0/linux-user/i386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/tmp/build/qemu/qemu-0/fpu -I/var/tmp/build/qemu/qemu-0/slirp -c -o translate-copy.o /var/tmp/build/qemu/qemu-0/target-i386/translate-copy.c /var/tmp/build/qemu/qemu-0/target-i386/ops_sse.h: In function `op_psrlq_mmx':/var/tmp/build/qemu/qemu-0/target-i386/ops_sse.h:213: error: unable to find a register to spill in class `GENERAL_REGS'/var/tmp/build/qemu/qemu-0/target-i386/ops_sse.h:213: error: this is the insn:
(insn:HI 36 35 37 3 (parallel [
(set (reg:DI 63 [ <variable>.q ])
(lshiftrt:DI (reg:DI 63 [ <variable>.q ])
(subreg:QI (reg/v:SI 60 [ shift ]) 0)))
(clobber (scratch:SI))
(clobber (reg:CC 17 flags))
]) 309 {lshrdi3_1} (insn_list 33 (insn_list 35 (nil)))
(expr_list:REG_DEAD (reg/v:SI 60 [ shift ])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_UNUSED (scratch:SI)
(nil)))))/var/tmp/build/qemu/qemu-0/target-i386/ops_sse.h:213: confused by earlier errors, bailing out make[1]: *** [op.o] Error 1
#v-
The problem goes away if I build with '-march=pentium' instead of '-march=athlon-xp'.
Regards,
Thomas
Re: [Qemu-devel] Kqemu for windows more free than kqemu for linux?
In reply to Elefterios StamatogiannakisQuoted 5 lines · Elefterios Stamatogiannakis
Not to start a flame war here but i find it odd that the license of kqemu for windows is a LOT more free than the license of linux kqemu.
License for
kqemu-win32.cis a lot like public domain + below clause:
Quoted 7 lines
* The above copyright notice and this permission notice shall be
included in
* all copies or substantial portions of the Software.License for
kqemu-linux.cis simply this:* Copyright (c) 2004-2005 Fabrice Bellard
This is all rather irrelevant as the important bit is the binary object released under a proprietary licence.
The reason for the difference is that the win32 parts were written by a different author, and are also used by qvm86. The linux parts were written by Fabrice, so presumably are covered by the kqemu licence.
Paul
Gcc 4.x does not. Getting dyngen problems here when trying but I haven't had time to chase anything down on it yet.
dyngen: blr expected at the end of op_bfsw_TO_cc
sure enough, after a quick objdump there is no blr (or variation). Figured this is likely a known thing as gcc 4.x is kind of bleeding edge.
Mark
Quoted 10 lines · Paul Brook
Quoted 5 lines
Quoted 2 lines
Not sure what gcc was used, but probably 3.3.
just to make sure it's not 3.4.x or 4.x.x :)
gcc3.4 works fine. I build qemu with it all the time.
Some of the earlier versions would ICE while building the SSE emulation code on some hosts, but recent versions should work.
Quoted 8 lines · Mark Guertin
Gcc 4.x does not. Getting dyngen problems here when trying but I haven't had time to chase anything down on it yet.
dyngen: blr expected at the end of
op_bfsw_TO_ccsure enough, after a quick objdump there is no blr (or variation). Figured this is likely a known thing as gcc 4.x is kind of bleeding edge.
See the 3rd Q in http://www.geocities.com/nixling_gone/faq.html
Paul
Quoted 7 lines · Paul Brook
Quoted 5 lines · Mark Guertin
Gcc 4.x does not. Getting dyngen problems here when trying but I haven't had time to chase anything down on it yet.
dyngen: blr expected at the end of
op_bfsw_TO_cc
Quoted 8 lines
Quoted 4 lines
sure enough, after a quick objdump there is no blr (or variation). Figured this is likely a known thing as gcc 4.x is kind of bleeding edge.
See the 3rd Q in http://www.geocities.com/nixling_gone/faq.html
Paul
Thanks, I figured this would be a problem and that's why I didn't try to chase things down. Sadly the current distro I'm playing with (Fedorca Core PPC) doesn't even have a gcc3 option!! But on that note I'll not be staying with this distro for long either.
Thanks for the info.
Mark
Quoted 8 lines
Quoted 3 lines
See the 3rd Q in http://www.geocities.com/nixling_gone/faq.html
Paul
Thanks, I figured this would be a problem and that's why I didn't try to chase things down. Sadly the current distro I'm playing with (Fedorca Core PPC) doesn't even have a gcc3 option!! But on that note I'll not be staying with this distro for long either.
Paul
The pkgs are there, but it doesn't mean they work right ;) FC4 PPC is pretty wonky at best of times, especially toolchain stuff. Too many nasty hacks added to it for my liking that don't quite jive with stock glibc/gcc. The userland tools for multiple toolchains leave much to be desired as well, but thanks for the info again. Doing work for other distro's I've followed the RH toolchain patch sets for years and did a lot of head shaking.
Mark
Quoted 16 lines · Paul Brook
Quoted 10 lines
Quoted 4 lines
See the 3rd Q in http://www.geocities.com/nixling_gone/faq.html
Paul
Thanks, I figured this would be a problem and that's why I didn't try to chase things down. Sadly the current distro I'm playing with (Fedorca Core PPC) doesn't even have a gcc3 option!! But on that note I'll not be staying with this distro for long either.
Paul
Quoted 8 lines · Paul Brook
Quoted 6 lines · Antony Gelberg
I've gotten a little further, but don't seem to be finding this as easy as some of you. I can now type the admin password at the login screen, but I get a dialog, title "Windows Product Activation", text "A problem is preventing Windows from accurately checking the license for this computer. Error Code:
0x800703e6.
Quoted 6 lines
Quoted 2 lines
Any more ideas? This is XP Pro corp, by the way, and I have not set up networking yet (don't have the tun module compiled).
You need to boot in safe mode and install a service pack (SP1 or SP2, doesn't matter which).
Worked great, perhaps this could be in the FAQ?
Quoted 17 lines · Antony Gelberg
Quoted 14 lines · Paul Brook
Quoted 10 lines · Antony Gelberg
I've gotten a little further, but don't seem to be finding this as easy as some of you. I can now type the admin password at the login screen, but I get a dialog, title "Windows Product Activation", text "A problem is preventing Windows from accurately checking the license for this computer. Error Code:
0x800703e6.Any more ideas? This is XP Pro corp, by the way, and I have not set up networking yet (don't have the tun module compiled).
Quoted 7 lines
Quoted 3 lines
You need to boot in safe mode and install a service pack (SP1 or SP2, doesn't matter which).
Worked great, perhaps this could be in the FAQ?
Reading the documentation would help... (http://www.qemu.org/qemu-doc.html#SEC30)
- Filip
Quoted 6 lines · Filip Navara
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
I've gotten a little further, but don't seem to be finding this as easy as some of you. I can now type the admin password at the login screen, but I get a dialog, title "Windows Product Activation", text "A problem is preventing Windows from accurately checking the license for this computer. Error Code:
0x800703e6.
Quoted 9 lines
Quoted 4 lines
Quoted 2 lines
You need to boot in safe mode and install a service pack (SP1 or SP2, doesn't matter which).
Worked great, perhaps this could be in the FAQ?
Reading the documentation would help...
(http://www.qemu.org/qemu-doc.html#SEC30)- Filip
It doesn't mention that installing a service pack will make the error go away and allow one to boot normally.
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.