summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1696.toml
blob: e581f15600d4cbf8d07e5b8c17128f0baf6b284c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
id = 1696
title = "Linux kernel hangs rarely when booting on the latest qemu"
state = "closed"
created_at = "2023-06-08T14:54:10.244Z"
closed_at = "2023-06-22T14:01:51.130Z"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/1696"
host-os = "Fedora 37, 38 and Rawhide"
host-arch = "x86-64"
qemu-version = "qemu-system-x86-8.0.0-4.fc39.x86_64"
guest-os = "Linux"
guest-arch = "x86_64"
description = """(Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=2213346)

In Fedora we have noticed that the latest Linux kernel (rarely) hangs when booting
on the latest qemu.  It hangs after printing:

```
[    0.070120] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[    0.070120] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127
[    0.070120] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0
[    0.070120] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[    0.070120] Spectre V2 : Mitigation: Retpolines
[    0.070120] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[    0.070120] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
[    0.070120] Spectre V2 : Enabling Speculation Barrier for firmware calls
[    0.070120] RETBleed: Mitigation: untrained return thunk
[    0.070120] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier
[    0.070120] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
[    0.070120] Freeing SMP alternatives memory: 48K
```

The next line which would be printed (if it didn't hang) is:

```
[    0.070794] smpboot: CPU0: AMD Ryzen 9 3900X 12-Core Processor (family: 0x17, model: 0x71, stepping: 0x0)
```

We've seen this hang on both AMD and Intel.  It probably happens one in every 300 boots."""
reproduce = """By far the easiest way to reproduce this is to just run guestfish in a loop:

```
$ while guestfish -a /dev/null -v run >& /tmp/log; do echo -n . ; done 
```"""
additional = """The full qemu command is rather long but you can find it in this log file:

https://bugzilla-attachments.redhat.com/attachment.cgi?id=1969620"""