Bug 1214628 - windows xp guest images not starting with qemu+kvm / without kvm starting, host processor amd ryzen 1700
Summary: windows xp guest images not starting with qemu+kvm / without kvm starting, ho...
Status: RESOLVED UPSTREAM
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KVM (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-25 14:40 UTC by simon becherer
Modified: 2023-08-26 15:11 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
simon: needinfo?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simon becherer 2023-08-25 14:40:08 UTC
Updating tumbleweed from 20230102 to 20230822
= qemu/kvm 8.04 + kernel 6.4.11-1-default

================================================
there where similar problems (stop windows xp)
in a bug and where fixed (it was kernel related): 

https://bugzilla.opensuse.org/show_bug.cgi?id=1132694

the hardware i use ist exactly the same as in that bug
described in commend 15 (also same win-xp image)
================================================

"windows xp" images will stop working, stop at early start
in black screen.
when try to use "save mode" it will load some drivers
and stop after it shows the line:
"windows/system32/drivers/Mup.sys"

same for new try to set up a new windows guest.

("windows 10" images and "suse10" image will work)

using virt-manager to make a new windows xp from 
cd-image "windows xp professionel sp 3"
will result in same problem,
stops with black screen after loading some drivers (before user could
do something) 


when i switch off svm-mode (processor virtualisation mode) in host bios,
set up a new windows xp (memory 768mb 4gb virtual file) will work.
also old images working when changing the virtmanager-xml-file
for the images from <domain type='kvm'>  
to <domain type='qemu'>
Comment 1 simon becherer 2023-08-25 14:57:49 UTC
I forgot to mention
i mailed (before writing this bugreport)
it on the mailinglists:

qemu-discuss@nongnu.org
opensuse-factory@opensuse.org
Comment 2 Takashi Iwai 2023-08-25 15:15:33 UTC
If it's a regression from the previous kernels, which kernel did work?
You can get the old kernel packages from OBS TW history repo
  http://download.opensuse.org/history/
and verify whether it still works.
Comment 3 simon becherer 2023-08-25 16:41:00 UTC
Hi takashi,

its a kernel related problem.
just tried 
6.4.6-1-default #1 SMP PREEMPT_DYNAMIC Tue Jul 25 04:42:30 UTC 2023 (55520bc) x86_64 x86_64 x86_64 GNU/Linux
and it works.

(its the oldest in history.)

i will make more tests to figure out where it will
not work.

will write when i have the result.

simoN
Comment 4 Iakov Karpov 2023-08-25 16:53:25 UTC
On my Ryzen system with Leap 15.5 and kernel 6.4.11 from Backports repo a WinXP VM starts with visible issues.

However, there's an issue with Windows 2000 VMs: a system would hang when running it for while. Not sure if it's a related issue or not.

Leap 15.5
Ryzen 3950X
Comment 5 simon becherer 2023-08-25 17:35:36 UTC
Hi again,

the switch working/not working kernel is:

tumbleweed 20230809 kernel 6.4.8-1.1 working
tumbleweed 20230810 kernel 6.4.9-1.1 not working

if you provide me some test kernels (rpm's)
with the different patches, i will test.

simoN
Comment 6 Takashi Iwai 2023-08-26 07:31:05 UTC
It might be due to the recent x86 security fixes.
Could you try to boot with mitigations=off boot option?

Also, check the behavior with the very latest build of OBS Kernel:stable repo (6.4.12), too.
Comment 7 simon becherer 2023-08-26 12:47:04 UTC
Tested:

6.4.11-1-default with boot option:

mitigations=off

and its working again.


i have not found the kernel in:
 Kernel:stable repo (6.4.12)

i have used the link:
http://download.opensuse.org/repositories/Kernel:/stable/standard/x86_64/
there is only 6.4.11 inside.

could you provide me the correct link to the .rpm?

simoN
Comment 8 Takashi Iwai 2023-08-26 13:19:56 UTC
The package is still being built, let's wait for a while.
Comment 9 Takashi Iwai 2023-08-26 13:21:29 UTC
... or maybe better to try 6.5-rc7 kernel in OBS Kernel:HEAD repo.
We'll move to 6.5 kernel soon in a couple of days in anyway.
Comment 10 simon becherer 2023-08-26 14:53:07 UTC
6.5.0-rc7-1.g869afb7-default #1 SMP PREEMPT_DYNAMIC Sun Aug 20 19:29:33 UTC 2023 (869afb7) x86_64 x86_64 x86_64 GNU/Linux

is working (without the command line mitigations=off).
Comment 11 Takashi Iwai 2023-08-26 15:03:55 UTC
OK, then it'll be fixed in 6.5, and we'll switch TW kernel to 6.5 when 6.5 kernel is officially released in the upstream (that will be likely in tomorrow).
Comment 12 simon becherer 2023-08-26 15:11:05 UTC
fine