qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage
@ 2006-06-21 19:47 Zach Metzinger
  2006-06-21 20:54 ` Fabrice Bellard
  0 siblings, 1 reply; 10+ messages in thread
From: Zach Metzinger @ 2006-06-21 19:47 UTC (permalink / raw)
  To: Qemu-devel

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage
  2006-06-21 19:47 [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage Zach Metzinger
@ 2006-06-21 20:54 ` Fabrice Bellard
  2006-06-22  2:32   ` Zach Metzinger
  0 siblings, 1 reply; 10+ messages in thread
From: Fabrice Bellard @ 2006-06-21 20:54 UTC (permalink / raw)
  To: qemu-devel

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.

Zach Metzinger wrote:
> 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
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage
  2006-06-21 20:54 ` Fabrice Bellard
@ 2006-06-22  2:32   ` Zach Metzinger
  2006-06-23 20:55     ` Fabrice Bellard
  0 siblings, 1 reply; 10+ messages in thread
From: Zach Metzinger @ 2006-06-22  2:32 UTC (permalink / raw)
  To: qemu-devel

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

On 6/21/06, Fabrice Bellard <fabrice@bellard.org> wrote:
> 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.
>
> Zach Metzinger wrote:
> > 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
> > Qemu-devel@nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/qemu-devel
> >
> >
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage
  2006-06-22  2:32   ` Zach Metzinger
@ 2006-06-23 20:55     ` Fabrice Bellard
  2006-06-23 21:14       ` WaxDragon
                         ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Fabrice Bellard @ 2006-06-23 20:55 UTC (permalink / raw)
  To: qemu-devel

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

Regards,

Fabrice.

Zach Metzinger wrote:
> 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!

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage
  2006-06-23 20:55     ` Fabrice Bellard
@ 2006-06-23 21:14       ` WaxDragon
  2006-06-23 23:11       ` Hetz Ben Hamo
                         ` (3 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: WaxDragon @ 2006-06-23 21:14 UTC (permalink / raw)
  To: qemu-devel

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

On 6/23/06, Fabrice Bellard <fabrice@bellard.org> wrote:
> I put online kqemu version 1.3.0pre9 which should solve the issue. Maybe
> it helps for the Windows XP hosts too ?
>
> Regards,
>
> Fabrice.
>
> Zach Metzinger wrote:
> > 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
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>


-- 
<GedMurphy> why does the size matter?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage
  2006-06-23 20:55     ` Fabrice Bellard
  2006-06-23 21:14       ` WaxDragon
@ 2006-06-23 23:11       ` Hetz Ben Hamo
  2006-06-24 12:33         ` Fabrice Bellard
  2006-06-24  3:54       ` Zach Metzinger
                         ` (2 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Hetz Ben Hamo @ 2006-06-23 23:11 UTC (permalink / raw)
  To: qemu-devel

Hi,

On 6/23/06, Fabrice Bellard <fabrice@bellard.org> wrote:
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage
  2006-06-23 20:55     ` Fabrice Bellard
  2006-06-23 21:14       ` WaxDragon
  2006-06-23 23:11       ` Hetz Ben Hamo
@ 2006-06-24  3:54       ` Zach Metzinger
  2006-06-24  8:22       ` RE : [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread"spewage Denis SCHEIDT
  2006-06-25 11:55       ` [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage Jan Marten Simons
  4 siblings, 0 replies; 10+ messages in thread
From: Zach Metzinger @ 2006-06-24  3:54 UTC (permalink / raw)
  To: qemu-devel

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

--- Zach

On 6/23/06, Fabrice Bellard <fabrice@bellard.org> wrote:
> I put online kqemu version 1.3.0pre9 which should solve the issue. Maybe
> it helps for the Windows XP hosts too ?
>
> Regards,
>
> Fabrice.
>
> Zach Metzinger wrote:
> > 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
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE : [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread"spewage
  2006-06-23 20:55     ` Fabrice Bellard
                         ` (2 preceding siblings ...)
  2006-06-24  3:54       ` Zach Metzinger
@ 2006-06-24  8:22       ` Denis SCHEIDT
  2006-06-25 11:55       ` [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage Jan Marten Simons
  4 siblings, 0 replies; 10+ messages in thread
From: Denis SCHEIDT @ 2006-06-24  8:22 UTC (permalink / raw)
  To: qemu-devel

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 : qemu-devel-bounces+denis.scheidt=free.fr@nongnu.org
[mailto:qemu-devel-bounces+denis.scheidt=free.fr@nongnu.org] De la part
de Fabrice Bellard Envoyé : vendredi 23 juin 2006 22:56 À :
qemu-devel@nongnu.org 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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage
  2006-06-23 23:11       ` Hetz Ben Hamo
@ 2006-06-24 12:33         ` Fabrice Bellard
  0 siblings, 0 replies; 10+ messages in thread
From: Fabrice Bellard @ 2006-06-24 12:33 UTC (permalink / raw)
  To: qemu-devel

Hetz Ben Hamo wrote:

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage
  2006-06-23 20:55     ` Fabrice Bellard
                         ` (3 preceding siblings ...)
  2006-06-24  8:22       ` RE : [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread"spewage Denis SCHEIDT
@ 2006-06-25 11:55       ` Jan Marten Simons
  4 siblings, 0 replies; 10+ messages in thread
From: Jan Marten Simons @ 2006-06-25 11:55 UTC (permalink / raw)
  To: qemu-devel

Am Freitag, 23. Juni 2006 22:55 schrieb 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.

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

Thanks,
Jan

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-06-25 11:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-21 19:47 [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage Zach Metzinger
2006-06-21 20:54 ` Fabrice Bellard
2006-06-22  2:32   ` Zach Metzinger
2006-06-23 20:55     ` Fabrice Bellard
2006-06-23 21:14       ` WaxDragon
2006-06-23 23:11       ` Hetz Ben Hamo
2006-06-24 12:33         ` Fabrice Bellard
2006-06-24  3:54       ` Zach Metzinger
2006-06-24  8:22       ` RE : [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread"spewage Denis SCHEIDT
2006-06-25 11:55       ` [Qemu-devel] QEMU FreeBSD 6.1 "npxdna: fpcurthread == curthread" spewage Jan Marten Simons

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