Skip to contentSkip to conversation

Windows XP broken on KVM

REGRESSION 5.0.x Takashi Iwai 5 participants 11 messages Apr 18, 2019 – Apr 26, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Is there already a followup fix? If not, we need to revert it from stable, at least.

thanks,

Takashi

#1 lore raw
Quoted 10 lines · Takashi Iwai

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

Quoted 5 lines

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Is there already a followup fix? If not, we need to revert it from stable, at least.

Is this also a problem in 5.1-rc5?

Those KVM tests being integrated by Linaro into the stable testing process can't come fast enough, I was told yesterday that they would be in there "soon"...

thanks,

greg k-h

#2 lore raw
Quoted 12 lines · Greg Kroah-Hartman
Quoted 10 lines · Takashi Iwai

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

Quoted 7 lines
Quoted 5 lines

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Is there already a followup fix? If not, we need to revert it from stable, at least.

Is this also a problem in 5.1-rc5?

Only 5.0.x has been tested, so far.
I'll ask the reporter to try 5.1-rc if Paolo can't reproduce the problem in his side.

thanks,

Takashi

#3 lore raw
Quoted 17 lines · Takashi Iwai
Quoted 15 lines · Greg Kroah-Hartman
Quoted 13 lines · Takashi Iwai

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Is there already a followup fix? If not, we need to revert it from stable, at least.

Is this also a problem in 5.1-rc5?

Only 5.0.x has been tested, so far.
I'll ask the reporter to try 5.1-rc if Paolo can't reproduce the problem in his side.

I'd be surprised if 5.1-rc* changes anything relative to 5.0.x, the commit in question is fairly isolated and specific.

Can we get the Qemu version and command line that is being run?

#4 lore raw
In reply to Takashi Iwai
Quoted 18 lines · Takashi Iwai
Quoted 15 lines · Greg Kroah-Hartman
Quoted 13 lines · Takashi Iwai

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Is there already a followup fix? If not, we need to revert it from stable, at least.

Is this also a problem in 5.1-rc5?

Only 5.0.x has been tested, so far.
I'll ask the reporter to try 5.1-rc if Paolo can't reproduce the problem in his side.

The reporter confirmed that the problem is present with the latest 5.1-rc kernel, too.

FWIW, it's a Ryzen system. Check the bugzilla URL above for details.

thanks,

Takashi

#5 lore raw
In reply to Takashi Iwai
Quoted 17 lines · Takashi Iwai
Quoted 15 lines · Greg Kroah-Hartman
Quoted 13 lines · Takashi Iwai

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Is there already a followup fix? If not, we need to revert it from stable, at least.

Is this also a problem in 5.1-rc5?

Only 5.0.x has been tested, so far.
I'll ask the reporter to try 5.1-rc if Paolo can't reproduce the problem in his side.

Back from vacation. I'll try AMD, that's the most likely culprit.

Paolo

#6 lore raw
In reply to Greg Kroah-Hartman

Greg Kroah-Hartman [18.04.2019 09:53]:

Quoted 11 lines · Takashi Iwai
Quoted 10 lines

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

Quoted 7 lines
Quoted 5 lines

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Is there already a followup fix? If not, we need to revert it from stable, at least.

Is this also a problem in 5.1-rc5?

My previously installed Windows XP boots and runs fine in 5.1-rc5.

Signature · 1 line
Hilsen Harald
#7 lore raw
In reply to Takashi Iwai
Quoted 10 lines · Takashi Iwai

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

Quoted 5 lines

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Is there already a followup fix? If not, we need to revert it from stable, at least.

No, it's the first time I hear this and I actually test Windows XP before every pull request I send to Linus... I'll download 5.0.x and test it there.

Paolo

#8 lore raw
Quoted 14 lines · Paolo Bonzini
Quoted 13 lines · Takashi Iwai

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Quoted 6 lines
Quoted 2 lines

Is there already a followup fix? If not, we need to revert it from stable, at least.

No, it's the first time I hear this and I actually test Windows XP before every pull request I send to Linus... I'll download 5.0.x and test it there.

Any further ideas about this?

thanks,

greg k-h

#9 lore raw
Quoted 15 lines · Greg Kroah-Hartman
Quoted 14 lines · Paolo Bonzini
Quoted 13 lines · Takashi Iwai

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

The culprit seems to be the patch
KVM: x86: update %rip after emulating IO
with the upstream commit 45def77ebf79e2e8942b89ed79294d97ce914fa0. Reverting this alone fixed the problem.

The report is found at openSUSE bugzilla:
https://bugzilla.suse.com/show_bug.cgi?id=1132694

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Is there already a followup fix? If not, we need to revert it from stable, at least.

No, it's the first time I hear this and I actually test Windows XP before every pull request I send to Linus... I'll download 5.0.x and test it there.

Any further ideas about this?

I followed up on the bugzilla to request more information. My best guess at this point is that the issue is related to an older version of Qemu or a specific emulated device, but without additional details we're stuck.

#10 lore raw
In reply to Takashi Iwai

Takashi Iwai [18.04.2019 09:38]:

Quoted 4 lines

Hi,

we've got a regression report on the recent 5.0.x kernel, starting from 5.0.6, where Windows XP can't boot on KVM any longer.

Not for all configurations. I just checked with 5.0.8, and Windows XP boots just fine on KVM.

Signature · 1 line
Hilsen Harald