* Re: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
@ 2013-09-26 7:05 Vikas Desai
2013-09-26 11:23 ` Vikas Desai
0 siblings, 1 reply; 11+ messages in thread
From: Vikas Desai @ 2013-09-26 7:05 UTC (permalink / raw)
To: Stefan Weil, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1826 bytes --]
Hi again,
I downloaded the linux test image and tried booting it. I got a kernel panic the stack trace looks like this -
test_wp_bit+0x28/0x6c
start_kernel0x150/0x225
unknown_bootoption+0x0/0x1a9
Thanks,
Vikas
Sent from my HTC
----- Reply message -----
From: "Vikas Desai" <vikas.desai@outlook.com>
To: "Stefan Weil" <sw@weilnetz.de>, <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
Date: Thu, Sep 26, 2013 2:43 PM
Thanks for the quick response.Sorry for the typo. It was the autocorrect :). I downloaded qemu-w64-setup-20130921.exe
When I try running
qemu-system-x86_64w.exe with an iso I get an assertion - /home/stefan/src/qemu/repo.or.cz/qemu/ar7/qemu-coroutine-lock.c, line 99
Expression : qemu_in_coroutine()
Thanks,
Vikas
Sent from my HTC
----- Reply message -----
From: "Stefan Weil" <sw@weilnetz.de>
To: "Vikas Desai" <vikas.desai@outlook.com>, <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
Date: Thu, Sep 26, 2013 1:42 PM
Am 26.09.2013 03:53, schrieb Vikas Desai:
> Hi,
>
> U tried compiling Qemu on windows sever 2008 64 bit using mingw64.
> After following the steps at betaarchive.com I managed to get a
> binary. It now just dies as soon as I start it. How do I debug this.
>
> I also tried downloading the 64 bit installer from Stephan Weil
> website qemu.weilnetz.de but it dies too with an assertion.
>
> Foes anyone have a working build for win64?
>
> Thanks.
> -Vikas
Stephan Weil is another person, not me. I am Stefan Weil. :-)
Which version of the installer did you try? Which assertion or failure
message did you get?
How did you start the binary.
Without more information, nobody will be able to answer your questions.
Cheers,
Stefan
[-- Attachment #2: Type: text/html, Size: 2672 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
2013-09-26 7:05 [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit Vikas Desai
@ 2013-09-26 11:23 ` Vikas Desai
2013-09-26 19:05 ` Stefan Weil
0 siblings, 1 reply; 11+ messages in thread
From: Vikas Desai @ 2013-09-26 11:23 UTC (permalink / raw)
To: Stefan Weil, qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 2817 bytes --]
Hi,
After some further testing I found that even the 32 bit binaries from Stefan fail with the same error. I tried the 32 bit binaries from by Eric Lassauge for version 1.6 and they work well. I have tried both 32 and 64 bit binaries from Stefan on 2 different environments, both failing with same errors.
When I just run the binaries with no disk image or any other options, I get a proper window with the BIOS going through all drives looking for a bootable device. Only when I have a valid executable image I get the error. Also, in case of the test linux binary I get a kernel panic on linux but qemu does not crash.
What should I do further to debug this?
Hi Stefan,
Could you share what tools you use for the build? Any hints on what more could I try?
Thanks,Vikas
To: sw@weilnetz.de; qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
From: vikas.desai@outlook.com
Hi again,
I downloaded the linux test image and tried booting it. I got a kernel panic the stack trace looks like this -
test_wp_bit+0x28/0x6c
start_kernel0x150/0x225
unknown_bootoption+0x0/0x1a9
Thanks,
Vikas
Sent from my HTC
----- Reply message -----
From: "Vikas Desai" <vikas.desai@outlook.com>
To: "Stefan Weil" <sw@weilnetz.de>, <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
Date: Thu, Sep 26, 2013 2:43 PM
Thanks for the quick response.Sorry for the typo. It was the autocorrect :). I downloaded qemu-w64-setup-20130921.exe
When I try running
qemu-system-x86_64w.exe with an iso I get an assertion - /home/stefan/src/qemu/repo.or.cz/qemu/ar7/qemu-coroutine-lock.c, line 99
Expression : qemu_in_coroutine()
Thanks,
Vikas
Sent from my HTC
----- Reply message -----
From: "Stefan Weil" <sw@weilnetz.de>
To: "Vikas Desai" <vikas.desai@outlook.com>, <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
Date: Thu, Sep 26, 2013 1:42 PM
Am 26.09.2013 03:53, schrieb Vikas Desai:
Hi,
U tried compiling Qemu on windows sever 2008 64 bit using mingw64. After following the steps at betaarchive.com I managed to get a binary. It now just dies as soon as I start it. How do I debug this.
I also tried downloading the 64 bit installer from Stephan Weil website qemu.weilnetz.de but it dies too with an assertion.
Foes anyone have a working build for win64?
Thanks.
-Vikas
Stephan Weil is another person, not me. I am Stefan Weil. :-)
Which version of the installer did you try? Which assertion or failure message did you get?
How did you start the binary.
Without more information, nobody will be able to answer your questions.
Cheers,
Stefan
[-- Attachment #2: Type: text/html, Size: 4925 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
2013-09-26 11:23 ` Vikas Desai
@ 2013-09-26 19:05 ` Stefan Weil
2013-09-26 21:13 ` [Qemu-devel] Compiling QEMU " Stefan Weil
0 siblings, 1 reply; 11+ messages in thread
From: Stefan Weil @ 2013-09-26 19:05 UTC (permalink / raw)
To: Vikas Desai, qemu-devel@nongnu.org
Am 26.09.2013 13:23, schrieb Vikas Desai:
> Hi,
>
> After some further testing I found that even the 32 bit binaries from
> Stefan fail with the same error. I tried the 32 bit binaries from by
> Eric Lassauge for version 1.6 and they work well. I have tried both 32
> and 64 bit binaries from Stefan on 2 different environments, both
> failing with same errors.
>
> When I just run the binaries with no disk image or any other options,
> I get a proper window with the BIOS going through all drives looking
> for a bootable device. Only when I have a valid executable image I get
> the error. Also, in case of the test linux binary I get a kernel panic
> on linux but qemu does not crash.
>
> What should I do further to debug this?
>
> Hi Stefan,
>
> Could you share what tools you use for the build? Any hints on what
> more could I try?
>
> Thanks,
> Vikas
Hi Vikas,
I also get the corouting assertion when I start my precompiled QEMU
binary with an ISO image (Debian i386 netinstall).
The error can be reproduced with Wine on Linux, too.
There is no error when QEMU was configured with --enable-debug (which
disables optimisation),
nor is there an error when I just run the BIOS code (no disk, no cdrom).
This explains why I did not
notice the regression for Windows earlier.
So we have to find the first version which shows that regression, either
by testing older installers
or by running git bisect.
Cheers,
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] Compiling QEMU x86_64 for windows 64 bit
2013-09-26 19:05 ` Stefan Weil
@ 2013-09-26 21:13 ` Stefan Weil
2013-09-27 4:44 ` Vikas Desai
0 siblings, 1 reply; 11+ messages in thread
From: Stefan Weil @ 2013-09-26 21:13 UTC (permalink / raw)
To: Vikas Desai; +Cc: Paolo Bonzini, qemu-devel@nongnu.org
Am 26.09.2013 21:05, schrieb Stefan Weil:
> Am 26.09.2013 13:23, schrieb Vikas Desai:
>> Hi,
>>
>> After some further testing I found that even the 32 bit binaries from
>> Stefan fail with the same error. I tried the 32 bit binaries from by
>> Eric Lassauge for version 1.6 and they work well. I have tried both 32
>> and 64 bit binaries from Stefan on 2 different environments, both
>> failing with same errors.
>>
>> When I just run the binaries with no disk image or any other options,
>> I get a proper window with the BIOS going through all drives looking
>> for a bootable device. Only when I have a valid executable image I get
>> the error. Also, in case of the test linux binary I get a kernel panic
>> on linux but qemu does not crash.
>>
>> What should I do further to debug this?
>>
>> Hi Stefan,
>>
>> Could you share what tools you use for the build? Any hints on what
>> more could I try?
>>
>> Thanks,
>> Vikas
> Hi Vikas,
>
> I also get the corouting assertion when I start my precompiled QEMU
> binary with an ISO image (Debian i386 netinstall).
> The error can be reproduced with Wine on Linux, too.
>
> There is no error when QEMU was configured with --enable-debug (which
> disables optimisation),
> nor is there an error when I just run the BIOS code (no disk, no cdrom).
> This explains why I did not
> notice the regression for Windows earlier.
>
> So we have to find the first version which shows that regression, either
> by testing older installers
> or by running git bisect.
>
> Cheers,
> Stefan
Summary:
Latest qemu-system-i386 for Windows fails with an assertion
(qemu-coroutine-lock.c:99)
if something more complex than the BIOS is executed. It works when it is
configured with
--enable-debug. This behaviour is identical for 32 bit and 64 bit
executables and can also
be reproduced using Wine. Older versions also fail, but with SIGSEGV
instead of an assertion.
This is the result of git bisect:
402397843e20e35d6cb7c80837c7cfdb19ede591 is the first bad commit
commit 402397843e20e35d6cb7c80837c7cfdb19ede591
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: Tue Feb 19 11:59:09 2013 +0100
coroutine: move pooling to common code
The coroutine pool code is duplicated between the ucontext and
sigaltstack backends, and absent from the win32 backend. But the
code can be shared easily by moving it to qemu-coroutine.c.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
When I configure latest QEMU with --disable-coroutine-pool, it works!
I'll build new installers with this option until there is a bug fix
available.
Thanks for your bug report.
Stefan
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] Compiling QEMU x86_64 for windows 64 bit
2013-09-26 21:13 ` [Qemu-devel] Compiling QEMU " Stefan Weil
@ 2013-09-27 4:44 ` Vikas Desai
2013-09-27 6:33 ` [Qemu-devel] Compiling Instructions for " Vikas Desai
0 siblings, 1 reply; 11+ messages in thread
From: Vikas Desai @ 2013-09-27 4:44 UTC (permalink / raw)
To: Stefan Weil; +Cc: Paolo Bonzini, qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 3444 bytes --]
Thanks Stefan. Appreciate the quick response.
I tried recompiling with --enable-debug but the binaries still die without any error message. I am using mingw64 + MSYS and SDL. I would probably take the easy route and wait for you to publish the new builds :)
Cheers,Vikas
> Date: Thu, 26 Sep 2013 23:13:58 +0200
> From: sw@weilnetz.de
> To: vikas.desai@outlook.com
> CC: qemu-devel@nongnu.org; pbonzini@redhat.com
> Subject: Re: [Qemu-devel] Compiling QEMU x86_64 for windows 64 bit
>
> Am 26.09.2013 21:05, schrieb Stefan Weil:
> > Am 26.09.2013 13:23, schrieb Vikas Desai:
> >> Hi,
> >>
> >> After some further testing I found that even the 32 bit binaries from
> >> Stefan fail with the same error. I tried the 32 bit binaries from by
> >> Eric Lassauge for version 1.6 and they work well. I have tried both 32
> >> and 64 bit binaries from Stefan on 2 different environments, both
> >> failing with same errors.
> >>
> >> When I just run the binaries with no disk image or any other options,
> >> I get a proper window with the BIOS going through all drives looking
> >> for a bootable device. Only when I have a valid executable image I get
> >> the error. Also, in case of the test linux binary I get a kernel panic
> >> on linux but qemu does not crash.
> >>
> >> What should I do further to debug this?
> >>
> >> Hi Stefan,
> >>
> >> Could you share what tools you use for the build? Any hints on what
> >> more could I try?
> >>
> >> Thanks,
> >> Vikas
> > Hi Vikas,
> >
> > I also get the corouting assertion when I start my precompiled QEMU
> > binary with an ISO image (Debian i386 netinstall).
> > The error can be reproduced with Wine on Linux, too.
> >
> > There is no error when QEMU was configured with --enable-debug (which
> > disables optimisation),
> > nor is there an error when I just run the BIOS code (no disk, no cdrom).
> > This explains why I did not
> > notice the regression for Windows earlier.
> >
> > So we have to find the first version which shows that regression, either
> > by testing older installers
> > or by running git bisect.
> >
> > Cheers,
> > Stefan
>
> Summary:
>
> Latest qemu-system-i386 for Windows fails with an assertion
> (qemu-coroutine-lock.c:99)
> if something more complex than the BIOS is executed. It works when it is
> configured with
> --enable-debug. This behaviour is identical for 32 bit and 64 bit
> executables and can also
> be reproduced using Wine. Older versions also fail, but with SIGSEGV
> instead of an assertion.
>
> This is the result of git bisect:
>
> 402397843e20e35d6cb7c80837c7cfdb19ede591 is the first bad commit
> commit 402397843e20e35d6cb7c80837c7cfdb19ede591
> Author: Paolo Bonzini <pbonzini@redhat.com>
> Date: Tue Feb 19 11:59:09 2013 +0100
>
> coroutine: move pooling to common code
>
> The coroutine pool code is duplicated between the ucontext and
> sigaltstack backends, and absent from the win32 backend. But the
> code can be shared easily by moving it to qemu-coroutine.c.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
>
> When I configure latest QEMU with --disable-coroutine-pool, it works!
>
> I'll build new installers with this option until there is a bug fix
> available.
>
> Thanks for your bug report.
>
> Stefan
>
[-- Attachment #2: Type: text/html, Size: 4389 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
@ 2013-09-26 7:18 Vikas Desai
0 siblings, 0 replies; 11+ messages in thread
From: Vikas Desai @ 2013-09-26 7:18 UTC (permalink / raw)
To: Manu; +Cc: Stefan Weil, <qemu-devel@nongnu.org>
[-- Attachment #1: Type: text/plain, Size: 2145 bytes --]
In my case the bios is in the same directory. In your case you can use the -L Bios option to point qemu to the Bios directory.
Sent from my HTC
----- Reply message -----
From: "Manu" <informmanuel@gmail.com>
To: "Vikas Desai" <vikas.desai@outlook.com>
Cc: "Stefan Weil" <sw@weilnetz.de>, "<qemu-devel@nongnu.org>" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
Date: Thu, Sep 26, 2013 3:09 PM
Hello,
I had the same error. I tried this binary http://lassauge.free.fr/qemu/release/Qemu-1.6.0-windows.zip
You have to copy everything in Bios to ../ so one directory up. Then it should work.
Kind regards,
Manuel
Am 26.09.2013 um 06:43 schrieb Vikas Desai <vikas.desai@outlook.com>:
> Thanks for the quick response.Sorry for the typo. It was the autocorrect :). I downloaded qemu-w64-setup-20130921.exe
>
> When I try running
>
> qemu-system-x86_64w.exe with an iso I get an assertion - /home/stefan/src/qemu/repo.or.cz/qemu/ar7/qemu-coroutine-lock.c, line 99
> Expression : qemu_in_coroutine()
>
> Thanks,
> Vikas
> Sent from my HTC
>
>
> ----- Reply message -----
> From: "Stefan Weil" <sw@weilnetz.de>
> To: "Vikas Desai" <vikas.desai@outlook.com>, <qemu-devel@nongnu.org>
> Subject: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
> Date: Thu, Sep 26, 2013 1:42 PM
>
>
>
> Am 26.09.2013 03:53, schrieb Vikas Desai:
>> Hi,
>>
>> U tried compiling Qemu on windows sever 2008 64 bit using mingw64. After following the steps at betaarchive.com I managed to get a binary. It now just dies as soon as I start it. How do I debug this.
>>
>> I also tried downloading the 64 bit installer from Stephan Weil website qemu.weilnetz.de but it dies too with an assertion.
>>
>> Foes anyone have a working build for win64?
>>
>> Thanks.
>> -Vikas
>
> Stephan Weil is another person, not me. I am Stefan Weil. :-)
>
> Which version of the installer did you try? Which assertion or failure message did you get?
> How did you start the binary.
>
> Without more information, nobody will be able to answer your questions.
>
> Cheers,
> Stefan
>
>
[-- Attachment #2: Type: text/html, Size: 3376 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
@ 2013-09-26 6:43 Vikas Desai
2013-09-26 7:09 ` Manu
0 siblings, 1 reply; 11+ messages in thread
From: Vikas Desai @ 2013-09-26 6:43 UTC (permalink / raw)
To: Stefan Weil, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]
Thanks for the quick response.Sorry for the typo. It was the autocorrect :). I downloaded qemu-w64-setup-20130921.exe
When I try running
qemu-system-x86_64w.exe with an iso I get an assertion - /home/stefan/src/qemu/repo.or.cz/qemu/ar7/qemu-coroutine-lock.c, line 99
Expression : qemu_in_coroutine()
Thanks,
Vikas
Sent from my HTC
----- Reply message -----
From: "Stefan Weil" <sw@weilnetz.de>
To: "Vikas Desai" <vikas.desai@outlook.com>, <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
Date: Thu, Sep 26, 2013 1:42 PM
Am 26.09.2013 03:53, schrieb Vikas Desai:
> Hi,
>
> U tried compiling Qemu on windows sever 2008 64 bit using mingw64.
> After following the steps at betaarchive.com I managed to get a
> binary. It now just dies as soon as I start it. How do I debug this.
>
> I also tried downloading the 64 bit installer from Stephan Weil
> website qemu.weilnetz.de but it dies too with an assertion.
>
> Foes anyone have a working build for win64?
>
> Thanks.
> -Vikas
Stephan Weil is another person, not me. I am Stefan Weil. :-)
Which version of the installer did you try? Which assertion or failure
message did you get?
How did you start the binary.
Without more information, nobody will be able to answer your questions.
Cheers,
Stefan
[-- Attachment #2: Type: text/html, Size: 1926 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
2013-09-26 6:43 Vikas Desai
@ 2013-09-26 7:09 ` Manu
0 siblings, 0 replies; 11+ messages in thread
From: Manu @ 2013-09-26 7:09 UTC (permalink / raw)
To: Vikas Desai; +Cc: Stefan Weil, <qemu-devel@nongnu.org>
[-- Attachment #1: Type: text/plain, Size: 1713 bytes --]
Hello,
I had the same error. I tried this binary http://lassauge.free.fr/qemu/release/Qemu-1.6.0-windows.zip
You have to copy everything in Bios to ../ so one directory up. Then it should work.
Kind regards,
Manuel
Am 26.09.2013 um 06:43 schrieb Vikas Desai <vikas.desai@outlook.com>:
> Thanks for the quick response.Sorry for the typo. It was the autocorrect :). I downloaded qemu-w64-setup-20130921.exe
>
> When I try running
>
> qemu-system-x86_64w.exe with an iso I get an assertion - /home/stefan/src/qemu/repo.or.cz/qemu/ar7/qemu-coroutine-lock.c, line 99
> Expression : qemu_in_coroutine()
>
> Thanks,
> Vikas
> Sent from my HTC
>
>
> ----- Reply message -----
> From: "Stefan Weil" <sw@weilnetz.de>
> To: "Vikas Desai" <vikas.desai@outlook.com>, <qemu-devel@nongnu.org>
> Subject: [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
> Date: Thu, Sep 26, 2013 1:42 PM
>
>
>
> Am 26.09.2013 03:53, schrieb Vikas Desai:
>> Hi,
>>
>> U tried compiling Qemu on windows sever 2008 64 bit using mingw64. After following the steps at betaarchive.com I managed to get a binary. It now just dies as soon as I start it. How do I debug this.
>>
>> I also tried downloading the 64 bit installer from Stephan Weil website qemu.weilnetz.de but it dies too with an assertion.
>>
>> Foes anyone have a working build for win64?
>>
>> Thanks.
>> -Vikas
>
> Stephan Weil is another person, not me. I am Stefan Weil. :-)
>
> Which version of the installer did you try? Which assertion or failure message did you get?
> How did you start the binary.
>
> Without more information, nobody will be able to answer your questions.
>
> Cheers,
> Stefan
>
>
[-- Attachment #2: Type: text/html, Size: 2651 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit
@ 2013-09-26 1:53 Vikas Desai
2013-09-26 5:42 ` Stefan Weil
0 siblings, 1 reply; 11+ messages in thread
From: Vikas Desai @ 2013-09-26 1:53 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
Hi,
U tried compiling Qemu on windows sever 2008 64 bit using mingw64. After following the steps at betaarchive.com I managed to get a binary. It now just dies as soon as I start it. How do I debug this.
I also tried downloading the 64 bit installer from Stephan Weil website qemu.weilnetz.de but it dies too with an assertion.
Foes anyone have a working build for win64?
Thanks.
-Vikas
[-- Attachment #2: Type: text/html, Size: 475 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-09-27 6:34 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26 7:05 [Qemu-devel] Compiling Qemu x86_64 for windows 64 bit Vikas Desai
2013-09-26 11:23 ` Vikas Desai
2013-09-26 19:05 ` Stefan Weil
2013-09-26 21:13 ` [Qemu-devel] Compiling QEMU " Stefan Weil
2013-09-27 4:44 ` Vikas Desai
2013-09-27 6:33 ` [Qemu-devel] Compiling Instructions for " Vikas Desai
-- strict thread matches above, loose matches on Subject: below --
2013-09-26 7:18 [Qemu-devel] Compiling Qemu " Vikas Desai
2013-09-26 6:43 Vikas Desai
2013-09-26 7:09 ` Manu
2013-09-26 1:53 Vikas Desai
2013-09-26 5:42 ` Stefan Weil
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.