Skip to contentSkip to conversation

QEMU 0.9.1 CPU halting with Windows 2000 Pro guest

Qemu-devel Naram Qashat 2 participants 7 messages Apr 9, 2008 – Apr 18, 2008

lore
Share & tools
lore
#0 lore raw

I've been having a recurring problem with running Windows 2000 Professional as a guest within QEMU 0.9.1 under FreeBSD (both 6.3 and 7.0). The only programs that run in the foreground are mIRC and SciTE. In the background, I've got Dimension 4, DAEMON Tools, O&O Defrag, and AVG running.

While it seems to happen at random, the CPU will halt, and by that I mean that Windows will look frozen, but QEMU keeps running, and going to the console via CTRL+ALT+2 and doing 'info cpus' shows that CPU #0 is halted. At first, I thought that the problem was related to sounds playing, but after shutting down almost all sounds, the problem still occurs. Usually it happens when I'm away from the computer, so I don't know the exact reason for the freeze.

If there is a way to do a debug of some sort while QEMU is running, that would probably help me narrow down what is causing the problem. Any other help would be greatly appreciated.

Thank you,
Naram Qashat

#1 lore raw

HI

Quoted 2 lines · Naram Qashat

I've been having a recurring problem with running Windows 2000 Professional as a guest within QEMU 0.9.1 under FreeBSD (both 6.3 and 7.0).

probably you hit same problem reported by other users about couple days ago...the suspect is kqemu IIRC.

regards,

Mulyadi.

#2 lore raw
Quoted 8 lines · Mulyadi Santosa

HI

Quoted 2 lines · Naram Qashat

I've been having a recurring problem with running Windows 2000 Professional as a guest within QEMU 0.9.1 under FreeBSD (both 6.3 and 7.0).

probably you hit same problem reported by other users about couple days ago...the suspect is kqemu IIRC.

I looked through the archives for the last week or so and I can't seem to find the thread in question. Could you either point me to the thread or sum it up for me?

Quoted 3 lines

regards,

Mulyadi.

Thanks,
Naram Qashat

#4 lore raw
Quoted 9 lines · Mulyadi Santosa

Hi...

Quoted 3 lines · Naram Qashat

I looked through the archives for the last week or so and I can't seem to
find the thread in question. Could you either point me to the thread or sum it up for me?

hm...try :
http://lists.gnu.org/archive/html/qemu-devel/2008-04/msg00101.html

Ah, I did see that one, but it's not the same issue I'm running in to. I am able to exit QEMU just fine without the process hanging. It's just that it halts the actual emulated CPU and I can't see a reason why. When I was running FreeBSD 6.3, I was running a UP kernel, and with FreeBSD 7.0, I'm running an SMP kernel, but the issue was the same with both versions. I don't recall if it used to happen before, but I believe it may have started with QEMU 0.9.0, but don't quote me on that, I may be wrong.

Quoted 3 lines

regards,

Mulyadi.

Thanks,
Naram Qashat

#5 lore raw
Quoted 12 lines · Naram Qashat
Quoted 10 lines · Mulyadi Santosa

Hi...

Quoted 4 lines · Naram Qashat

I looked through the archives for the last week or so and I can't
seem to
find the thread in question. Could you either point me to the thread or sum it up for me?

hm...try :
http://lists.gnu.org/archive/html/qemu-devel/2008-04/msg00101.html

Quoted 9 lines

Ah, I did see that one, but it's not the same issue I'm running in to. I am able to exit QEMU just fine without the process hanging. It's just that it halts the actual emulated CPU and I can't see a reason why. When I was running FreeBSD 6.3, I was running a UP kernel, and with FreeBSD 7.0, I'm running an SMP kernel, but the issue was the same with both versions. I don't recall if it used to happen before, but I believe it may have started with QEMU 0.9.0, but don't quote me on that, I may be wrong.

Quoted 3 lines

regards,

Mulyadi.

Thanks,
Naram Qashat

I narrows down the problem to be related to the use of kqemu. Based on a suggestion from the maintainer of the FrreBSD port of QEMU, turning off kqemu support did stop QEMU from locking up like it was, although it obviously has the side-effect of making the emulation run a lot slower. I can deal with that for now, but I suppose this just means that it's a kqemu problem and not a QEMU problem.

Thanks,
Naram Qashat

#6 lore raw

Hi...

Quoted 6 lines · Naram Qashat

I narrows down the problem to be related to the use of kqemu. Based on a
suggestion from the maintainer of the FrreBSD port of QEMU, turning off kqemu support did stop QEMU from locking up like it was, although it obviously has the side-effect of making the emulation run a lot slower. I can deal with that for now, but I suppose this just means that it's a kqemu problem and not a QEMU problem.

Glad you can finally pin point the problem. I also learn something from your discovery too. Thanks for sharing...

regards,

Mulyadi.