Skip to contentSkip to conversation

QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage

Qemu-devel Zach Metzinger 6 participants 10 messages Jun 21, 2006 – Jun 25, 2006

lore
Share & tools
lore
#0 lore raw

Hi-

I'm using qemu-0.8.1 under FreeBSD 6.1-RELEASE from ports with kqemu-1.3.0pre7 (also from ports). The guest OS is Windows XP SP2. When I use the -kernel-kqemu flag to qemu, I get the following kernel console messages:

Jun 21 14:04:57 jitter kernel: npxdna: fpcurthread == curthread 5173 times
Jun 21 14:04:57 jitter kernel: npxdna: fpcurthread == curthread 5174 times

<...>

This happens quite a bit (5-10 a second) when using any block device. I assume this is because kernel I/O calls are being virtualized and are the cause of this.

When I do not use -kernel-kqemu, I do not get these messages. In both cases, Windows appears to work fine.

This thread:
http://tinyurl.com/mbm5l
appears to have some information on why this happens. Has a patch been released to fix this bug?

--- Zach

#1 lore raw

There is a bug in the FPU virtualization in kqemu which is only visible in the kernel virtualization case. I am trying a fix.

Fabrice.

Quoted 32 lines · Zach Metzinger

Hi-

I'm using qemu-0.8.1 under FreeBSD 6.1-RELEASE from ports with kqemu-1.3.0pre7 (also from ports). The guest OS is Windows XP SP2. When I use the -kernel-kqemu flag to qemu, I get the following kernel console messages:

Jun 21 14:04:57 jitter kernel: npxdna: fpcurthread == curthread 5173 times
Jun 21 14:04:57 jitter kernel: npxdna: fpcurthread == curthread 5174 times

<...>

This happens quite a bit (5-10 a second) when using any block device. I assume this is because kernel I/O calls are being virtualized and are the cause of this.

When I do not use -kernel-kqemu, I do not get these messages. In both cases, Windows appears to work fine.

This thread:
http://tinyurl.com/mbm5l
appears to have some information on why this happens. Has a patch been released to fix this bug?

--- Zach

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#2 lore raw

Let me know if you need any testing. I have both 6.1-RELEASE and 5.3-RELEASE machines on which to test.

Thanks, and this is a truly great bit of software!

--- Zach

Quoted 46 lines · Fabrice Bellard

There is a bug in the FPU virtualization in kqemu which is only visible in the kernel virtualization case. I am trying a fix.

Fabrice.

Quoted 23 lines · Zach Metzinger

Hi-

I'm using qemu-0.8.1 under FreeBSD 6.1-RELEASE from ports with kqemu-1.3.0pre7 (also from ports). The guest OS is Windows XP SP2. When I use the -kernel-kqemu flag to qemu, I get the following kernel console messages:

Jun 21 14:04:57 jitter kernel: npxdna: fpcurthread == curthread 5173 times
Jun 21 14:04:57 jitter kernel: npxdna: fpcurthread == curthread 5174 times

<...>

This happens quite a bit (5-10 a second) when using any block device. I assume this is because kernel I/O calls are being virtualized and are the cause of this.

When I do not use -kernel-kqemu, I do not get these messages. In both cases, Windows appears to work fine.

This thread:
http://tinyurl.com/mbm5l
appears to have some information on why this happens. Has a patch been released to fix this bug?

Quoted 9 lines

--- Zach

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#3 lore raw

I put online kqemu version 1.3.0pre9 which should solve the issue. Maybe it helps for the Windows XP hosts too ?

Regards,

Fabrice.

Quoted 4 lines · Zach Metzinger

Let me know if you need any testing. I have both 6.1-RELEASE and 5.3-RELEASE machines on which to test.

Thanks, and this is a truly great bit of software!

#4 lore raw

At first test, it does fix -kernel-kqemu with XP hosts. yay!

Quoted 19 lines · Fabrice Bellard

I put online kqemu version 1.3.0pre9 which should solve the issue. Maybe it helps for the Windows XP hosts too ?

Regards,

Fabrice.

Quoted 4 lines · Zach Metzinger

Let me know if you need any testing. I have both 6.1-RELEASE and 5.3-RELEASE machines on which to test.

Thanks, and this is a truly great bit of software!

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 1 line
<GedMurphy> why does the size matter?
#5 lore raw
In reply to Fabrice Bellard

Hi,

Quoted 2 lines · Fabrice Bellard

I put online kqemu version 1.3.0pre9 which should solve the issue. Maybe it helps for the Windows XP hosts too ?

Changelog please?

Thanks,
Hetz

#6 lore raw
Quoted 5 lines · Hetz Ben Hamo
Quoted 2 lines

I put online kqemu version 1.3.0pre9 which should solve the issue. Maybe it helps for the Windows XP hosts too ?

Changelog please?

It is always included in the kqemu archive. Here it is:

version 1.3.0pre9:

- Fixed host CR0.TS computation (aka FreeBSD "npxdna: fpcurthread == curthread" error message).

version 1.3.0pre8:

- API change for MODULE_PARM macro in 2.6.x kernels.

Fabrice.

#7 lore raw
In reply to Fabrice Bellard

No more kernel messages on FreeBSD. I'll send a note to the port maintainer to have it updated. Thanks!

--- Zach

Quoted 19 lines · Fabrice Bellard

I put online kqemu version 1.3.0pre9 which should solve the issue. Maybe it helps for the Windows XP hosts too ?

Regards,

Fabrice.

Quoted 4 lines · Zach Metzinger

Let me know if you need any testing. I have both 6.1-RELEASE and 5.3-RELEASE machines on which to test.

Thanks, and this is a truly great bit of software!

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#8 lore raw

RE : [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread"spewage

In reply to Fabrice Bellard

Hi,

Works great for me !
Host : Athlon 64, Windows XP

Guests tested :
- MS-DOS + Windows 3.11 (BTW. POWER.EXE works now - no need to install DOSIDLE. Works even with Windows 3),
- Windows 2000,
- Ubuntu 6.06,
- Mandriva 2005 LE.
These are all OK.
Windows 95 gives a protection error and doesn't boot.

Really, really great.

Thanks a lot all.

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de Fabrice Bellard Envoyé : vendredi 23 juin 2006 22:56 À :
[email protected] Objet : Re: [Qemu-devel] QEMU FreeBSD 6.1 "npxdna:
fpcurthread == curthread"spewage

I put online kqemu version 1.3.0pre9 which should solve the issue. Maybe

it helps for the Windows XP hosts too ?

Regards,

Fabrice.

#9 lore raw
In reply to Fabrice Bellard

Am Freitag, 23. Juni 2006 22:55 schrieb Fabrice Bellard:

Quoted 6 lines

I put online kqemu version 1.3.0pre9 which should solve the issue. Maybe it helps for the Windows XP hosts too ?

Regards,

Fabrice.

Does kqemu accellerate a Win98 guest now, too, or are there still problems with thunking causing trouble?

Thanks,
Jan