All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] problem running Windows XP on kvm
@ 2010-09-14 17:29 Michal Suchanek
  2010-09-16 10:08 ` Avi Kivity
  0 siblings, 1 reply; 8+ messages in thread
From: Michal Suchanek @ 2010-09-14 17:29 UTC (permalink / raw)
  To: qemu-devel

Hello

I was trying to update some windows XP (SP3) images on kvm.

It worked fine several times but last time I added mass storage
drivers to sysprep and now on the second boot after reseal (the first
is mini-setup) I get a BSOD with message
DRIVER_IRQL_NOT_LESS_OR_EQUAL. I can post the screenshot if somebody
thinks it is interesting enough.

The same image works on hardware (which has controllers different from
the qemu PIIX3) and in VirtualBox (with the default PIIX4 as well as
PIIX3) so long as IO apic is enabled).

I am not sure if this is an error with the MS drivers or how they are
used in sysprep in this particular case or if his is some strange
error in qemu emulation in the PIIX3 controller or elsewhere.

The imge is originally created on hardware with MP acpi (not virtualization).

If you have any ideas how to diagnose it I would be interested in hearing them.

Thanks

Michal

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

* Re: [Qemu-devel] problem running Windows XP on kvm
  2010-09-14 17:29 [Qemu-devel] problem running Windows XP on kvm Michal Suchanek
@ 2010-09-16 10:08 ` Avi Kivity
  2010-09-16 13:34   ` Michal Suchanek
  0 siblings, 1 reply; 8+ messages in thread
From: Avi Kivity @ 2010-09-16 10:08 UTC (permalink / raw)
  To: Michal Suchanek; +Cc: qemu-devel

  On 09/14/2010 07:29 PM, Michal Suchanek wrote:
> Hello
>
> I was trying to update some windows XP (SP3) images on kvm.
>
> It worked fine several times but last time I added mass storage
> drivers to sysprep and now on the second boot after reseal (the first
> is mini-setup) I get a BSOD with message
> DRIVER_IRQL_NOT_LESS_OR_EQUAL. I can post the screenshot if somebody
> thinks it is interesting enough.

Please do so.

> The same image works on hardware (which has controllers different from
> the qemu PIIX3) and in VirtualBox (with the default PIIX4 as well as
> PIIX3) so long as IO apic is enabled).
>
> I am not sure if this is an error with the MS drivers or how they are
> used in sysprep in this particular case or if his is some strange
> error in qemu emulation in the PIIX3 controller or elsewhere.
>
> The imge is originally created on hardware with MP acpi (not virtualization).
>
> If you have any ideas how to diagnose it I would be interested in hearing them.
>
>

What version of qemu are you using?

-- 
error compiling committee.c: too many arguments to function

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

* Re: [Qemu-devel] problem running Windows XP on kvm
  2010-09-16 10:08 ` Avi Kivity
@ 2010-09-16 13:34   ` Michal Suchanek
  2010-09-16 13:38     ` Avi Kivity
  0 siblings, 1 reply; 8+ messages in thread
From: Michal Suchanek @ 2010-09-16 13:34 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel

On 16 September 2010 12:08, Avi Kivity <avi@redhat.com> wrote:
>  On 09/14/2010 07:29 PM, Michal Suchanek wrote:
>>
>> Hello
>>
>> I was trying to update some windows XP (SP3) images on kvm.
>>
>> It worked fine several times but last time I added mass storage
>> drivers to sysprep and now on the second boot after reseal (the first
>> is mini-setup) I get a BSOD with message
>> DRIVER_IRQL_NOT_LESS_OR_EQUAL. I can post the screenshot if somebody
>> thinks it is interesting enough.
>
> Please do so.

Please see

https://bugs.launchpad.net/qemu/+bug/639651
https://bugs.launchpad.net/qemu/+bug/639651/+attachment/1593631/+files/gkrellShoot_2010-09-16_152436.png

>
>> The same image works on hardware (which has controllers different from
>> the qemu PIIX3) and in VirtualBox (with the default PIIX4 as well as
>> PIIX3) so long as IO apic is enabled).
>>
>> I am not sure if this is an error with the MS drivers or how they are
>> used in sysprep in this particular case or if his is some strange
>> error in qemu emulation in the PIIX3 controller or elsewhere.
>>
>> The imge is originally created on hardware with MP acpi (not
>> virtualization).
>>
>> If you have any ideas how to diagnose it I would be interested in hearing
>> them.
>>
>>
>
> What version of qemu are you using?

qemu-kvm                  0.12.5+dfsg-2

Thanks

Michal

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

* Re: [Qemu-devel] problem running Windows XP on kvm
  2010-09-16 13:34   ` Michal Suchanek
@ 2010-09-16 13:38     ` Avi Kivity
  2010-09-16 14:37       ` Michal Suchanek
  0 siblings, 1 reply; 8+ messages in thread
From: Avi Kivity @ 2010-09-16 13:38 UTC (permalink / raw)
  To: Michal Suchanek; +Cc: qemu-devel

  On 09/16/2010 03:34 PM, Michal Suchanek wrote:
> On 16 September 2010 12:08, Avi Kivity<avi@redhat.com>  wrote:
> >    On 09/14/2010 07:29 PM, Michal Suchanek wrote:
> >>
> >>  Hello
> >>
> >>  I was trying to update some windows XP (SP3) images on kvm.
> >>
> >>  It worked fine several times but last time I added mass storage
> >>  drivers to sysprep and now on the second boot after reseal (the first
> >>  is mini-setup) I get a BSOD with message
> >>  DRIVER_IRQL_NOT_LESS_OR_EQUAL. I can post the screenshot if somebody
> >>  thinks it is interesting enough.
> >
> >  Please do so.
>
> Please see
>
> https://bugs.launchpad.net/qemu/+bug/639651
> https://bugs.launchpad.net/qemu/+bug/639651/+attachment/1593631/+files/gkrellShoot_2010-09-16_152436.png
>
>

Hard to tell.  What are those storage drivers?

-- 
error compiling committee.c: too many arguments to function

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

* Re: [Qemu-devel] problem running Windows XP on kvm
  2010-09-16 13:38     ` Avi Kivity
@ 2010-09-16 14:37       ` Michal Suchanek
  2010-09-16 14:46         ` Avi Kivity
  0 siblings, 1 reply; 8+ messages in thread
From: Michal Suchanek @ 2010-09-16 14:37 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel

On 16 September 2010 15:38, Avi Kivity <avi@redhat.com> wrote:
>  On 09/16/2010 03:34 PM, Michal Suchanek wrote:
>>
>> On 16 September 2010 12:08, Avi Kivity<avi@redhat.com>  wrote:
>> >    On 09/14/2010 07:29 PM, Michal Suchanek wrote:
>> >>
>> >>  Hello
>> >>
>> >>  I was trying to update some windows XP (SP3) images on kvm.
>> >>
>> >>  It worked fine several times but last time I added mass storage
>> >>  drivers to sysprep and now on the second boot after reseal (the first
>> >>  is mini-setup) I get a BSOD with message
>> >>  DRIVER_IRQL_NOT_LESS_OR_EQUAL. I can post the screenshot if somebody
>> >>  thinks it is interesting enough.
>> >
>> >  Please do so.
>>
>> Please see
>>
>> https://bugs.launchpad.net/qemu/+bug/639651
>>
>> https://bugs.launchpad.net/qemu/+bug/639651/+attachment/1593631/+files/gkrellShoot_2010-09-16_152436.png
>>
>>
>
> Hard to tell.  What are those storage drivers?
>
I built a MassStorage section for sysprep.

Please see

https://bugs.launchpad.net/qemu/+bug/639651/comments/2

Thanks

Michal

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

* Re: [Qemu-devel] problem running Windows XP on kvm
  2010-09-16 14:37       ` Michal Suchanek
@ 2010-09-16 14:46         ` Avi Kivity
  2010-09-16 15:20           ` Michal Suchanek
       [not found]           ` <AANLkTim=Nc5UOt-0mSyodzs6X48pYw7TNTWrGhnJ=dnY@mail.gmail.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Avi Kivity @ 2010-09-16 14:46 UTC (permalink / raw)
  To: Michal Suchanek; +Cc: qemu-devel

  On 09/16/2010 04:37 PM, Michal Suchanek wrote:
> On 16 September 2010 15:38, Avi Kivity<avi@redhat.com>  wrote:
> >    On 09/16/2010 03:34 PM, Michal Suchanek wrote:
> >>
> >>  On 16 September 2010 12:08, Avi Kivity<avi@redhat.com>    wrote:
> >>  >      On 09/14/2010 07:29 PM, Michal Suchanek wrote:
> >>  >>
> >>  >>    Hello
> >>  >>
> >>  >>    I was trying to update some windows XP (SP3) images on kvm.
> >>  >>
> >>  >>    It worked fine several times but last time I added mass storage
> >>  >>    drivers to sysprep and now on the second boot after reseal (the first
> >>  >>    is mini-setup) I get a BSOD with message
> >>  >>    DRIVER_IRQL_NOT_LESS_OR_EQUAL. I can post the screenshot if somebody
> >>  >>    thinks it is interesting enough.
> >>  >
> >>  >    Please do so.
> >>
> >>  Please see
> >>
> >>  https://bugs.launchpad.net/qemu/+bug/639651
> >>
> >>  https://bugs.launchpad.net/qemu/+bug/639651/+attachment/1593631/+files/gkrellShoot_2010-09-16_152436.png
> >>
> >>
> >
> >  Hard to tell.  What are those storage drivers?
> >
> I built a MassStorage section for sysprep.
>
> Please see
>
> https://bugs.launchpad.net/qemu/+bug/639651/comments/2
>
>

Can you bisect this file to see which line triggers the error?

-- 
error compiling committee.c: too many arguments to function

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

* Re: [Qemu-devel] problem running Windows XP on kvm
  2010-09-16 14:46         ` Avi Kivity
@ 2010-09-16 15:20           ` Michal Suchanek
       [not found]           ` <AANLkTim=Nc5UOt-0mSyodzs6X48pYw7TNTWrGhnJ=dnY@mail.gmail.com>
  1 sibling, 0 replies; 8+ messages in thread
From: Michal Suchanek @ 2010-09-16 15:20 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel

On 16 September 2010 16:46, Avi Kivity <avi@redhat.com> wrote:
>  On 09/16/2010 04:37 PM, Michal Suchanek wrote:
>>
>> On 16 September 2010 15:38, Avi Kivity<avi@redhat.com>  wrote:
>> >    On 09/16/2010 03:34 PM, Michal Suchanek wrote:
>> >>
>> >>  On 16 September 2010 12:08, Avi Kivity<avi@redhat.com>    wrote:
>> >>  >      On 09/14/2010 07:29 PM, Michal Suchanek wrote:
>> >>  >>
>> >>  >>    Hello
>> >>  >>
>> >>  >>    I was trying to update some windows XP (SP3) images on kvm.
>> >>  >>
>> >>  >>    It worked fine several times but last time I added mass storage
>> >>  >>    drivers to sysprep and now on the second boot after reseal (the
>> >> first
>> >>  >>    is mini-setup) I get a BSOD with message
>> >>  >>    DRIVER_IRQL_NOT_LESS_OR_EQUAL. I can post the screenshot if
>> >> somebody
>> >>  >>    thinks it is interesting enough.
>> >>  >
>> >>  >    Please do so.
>> >>
>> >>  Please see
>> >>
>> >>  https://bugs.launchpad.net/qemu/+bug/639651
>> >>
>> >>
>> >>  https://bugs.launchpad.net/qemu/+bug/639651/+attachment/1593631/+files/gkrellShoot_2010-09-16_152436.png
>> >>
>> >>
>> >
>> >  Hard to tell.  What are those storage drivers?
>> >
>> I built a MassStorage section for sysprep.
>>
>> Please see
>>
>> https://bugs.launchpad.net/qemu/+bug/639651/comments/2
>>
>>
>
> Can you bisect this file to see which line triggers the error?
>

Not sure about that. As expected removing that part in the finished
image does not change anything, the file is used only while running
sysprep with the reseal option. Also none of the drivers I added
should be used in kvm so this should be reproducible by running

sysprep -bmsd
sysprep -mini -reseal -reboot

and rebooting once more after the setup finishes.

I will try to get an image that can work on kvm again.

Thanks

Michal

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

* Re: [Qemu-devel] problem running Windows XP on kvm
       [not found]           ` <AANLkTim=Nc5UOt-0mSyodzs6X48pYw7TNTWrGhnJ=dnY@mail.gmail.com>
@ 2010-09-16 19:01             ` Michal Suchanek
  0 siblings, 0 replies; 8+ messages in thread
From: Michal Suchanek @ 2010-09-16 19:01 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel

On 16 September 2010 19:54, Michal Suchanek <hramrach@centrum.cz> wrote:
> On 16 September 2010 16:46, Avi Kivity <avi@redhat.com> wrote:
>>  On 09/16/2010 04:37 PM, Michal Suchanek wrote:
>>>
>>> On 16 September 2010 15:38, Avi Kivity<avi@redhat.com>  wrote:
>>> >    On 09/16/2010 03:34 PM, Michal Suchanek wrote:
>>> >>
>>> >>  On 16 September 2010 12:08, Avi Kivity<avi@redhat.com>    wrote:
>>> >>  >      On 09/14/2010 07:29 PM, Michal Suchanek wrote:
>>> >>  >>
>>> >>  >>    Hello
>>> >>  >>
>>> >>  >>    I was trying to update some windows XP (SP3) images on kvm.
>>> >>  >>
>>> >>  >>    It worked fine several times but last time I added mass storage
>>> >>  >>    drivers to sysprep and now on the second boot after reseal (the
>>> >> first
>>> >>  >>    is mini-setup) I get a BSOD with message
>>> >>  >>    DRIVER_IRQL_NOT_LESS_OR_EQUAL. I can post the screenshot if
>>> >> somebody
>>> >>  >>    thinks it is interesting enough.
>>> >>  >
>>> >>  >    Please do so.
>>> >>
>>> >>  Please see
>>> >>
>>> >>  https://bugs.launchpad.net/qemu/+bug/639651
>>> >>
>>> >>
>>> >>  https://bugs.launchpad.net/qemu/+bug/639651/+attachment/1593631/+files/gkrellShoot_2010-09-16_152436.png
>>> >>
>>> >>
>>> >
>>> >  Hard to tell.  What are those storage drivers?
>>> >
>>> I built a MassStorage section for sysprep.
>>>
>>> Please see
>>>
>>> https://bugs.launchpad.net/qemu/+bug/639651/comments/2
>>>
>>>
>>
>> Can you bisect this file to see which line triggers the error?
>>
>
> hmm, in order to make the image usable I registered the drivers in
> C:\drivers to devicepath which seems to be the root of the issue.
>
> The storage drivers specified in the MassStorage section are installed
> into Windows but unused since the PIIX controller is handled by the
> generic PCI IDE Microsoft driver.
>
> I hacked all the vendor drivers out of windows and undegistered the
> additional drivers. Windows would then boot repeatedly without issues,
> it would only lack drivers for some devices.
>
> Re-registering the drivers and uninstalling the "ACPI-compatible
> multiprocessor system" device broke the image again after second
> reboot.
>
> The drivers that were installed into Windows are:
>
> e1000 (e1000325 ver 04/27/2006 8.7.1.0) - would not suspect this one
> as the issue happens even without a NIC
> Synaptics Touchpad (SynPD v 08/27/2009 14.0.3.0) - this is odd, the
> Synaptics driver should be picky and install only on actual Synaptics
> device.

Indeed, the synaptics driver is not installed in VirtualBox and on
real hardware but is installed in KVM and installing it causes the
issue.

I am not sure if this is a failure in the driver to recognize
compatible devices or if the PS/2 device in KVM has incorrect
identification. I never quite understood how it is posible to tell
aprat different PS/2 devices from the system's side.

Thanks

Michal

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

end of thread, other threads:[~2010-09-16 19:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-14 17:29 [Qemu-devel] problem running Windows XP on kvm Michal Suchanek
2010-09-16 10:08 ` Avi Kivity
2010-09-16 13:34   ` Michal Suchanek
2010-09-16 13:38     ` Avi Kivity
2010-09-16 14:37       ` Michal Suchanek
2010-09-16 14:46         ` Avi Kivity
2010-09-16 15:20           ` Michal Suchanek
     [not found]           ` <AANLkTim=Nc5UOt-0mSyodzs6X48pYw7TNTWrGhnJ=dnY@mail.gmail.com>
2010-09-16 19:01             ` Michal Suchanek

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.