summary refs log tree commit diff stats
path: root/gitlab/issues/target_m68k/host_missing/accel_missing/2807.toml
blob: 39cca39874f96b86ad8a83fd02cee4109989c866 (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
id = 2807
title = "DOUBLE MMU FAULT when running -M virt in qemu-system-m68k"
state = "closed"
created_at = "2025-02-10T17:10:09.117Z"
closed_at = "2025-02-10T18:34:05.422Z"
labels = ["target: m68k", "workflow::Needs Info"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/2807"
host-os = "Windows 11"
host-arch = "x86_64"
qemu-version = "QEMU emulator version 9.2.0 (v9.2.0-12071-g3dd0aeb44b)"
guest-os = "None, I'm writing one."
guest-arch = "m68k"
description = """When running qemu-system-m68k with the -M virt machine type, a DOUBLE MMU FAULT occurs immediately upon startup, even without any BIOS, disk image, or additional configuration."""
reproduce = """1. qemu-system-m68k -M virt -m 4M -serial stdio

QEMU crashes immediately with the following output:
```
qemu: fatal: DOUBLE MMU FAULT
D0 = 00000000   A0 = 00000000   F0 = 7fff ffffffffffffffff  (         nan)
D1 = 00000000   A1 = 00000000   F1 = 7fff ffffffffffffffff  (         nan)
D2 = 00000000   A2 = 00000000   F2 = 7fff ffffffffffffffff  (         nan)
D3 = 00000000   A3 = 00000000   F3 = 7fff ffffffffffffffff  (         nan)
D4 = 00000000   A4 = 00000000   F4 = 7fff ffffffffffffffff  (         nan)
D5 = 00000000   A5 = 00000000   F5 = 7fff ffffffffffffffff  (         nan)
D6 = 00000000   A6 = 00000000   F6 = 7fff ffffffffffffffff  (         nan)
D7 = 00000000   A7 = 00000000   F7 = 7fff ffffffffffffffff  (         nan)
PC = 00400000   SR = 2704 T:0 I:7 SI --Z--
FPSR = 00000000 ----
                                FPCR =     0000 X RN
  A7(MSP) = 00000000   A7(USP) = 00000000 ->A7(ISP) = 00000000
VBR = 0x00000000
SFC = 0 DFC 0
SSW 00000105 TCR 00000000 URP 00000000 SRP 00000000
DTTR0/1: 00000000/00000000 ITTR0/1: 00000000/00000000
MMUSR 00000000, fault at fffffffc
```"""
additional = """The issue seems to be related to incorrect memory initialization, causing a fault at address fffffffc.
The PC = 00400000 suggests that QEMU is jumping to an invalid address early in the boot process.
The fact that the fault is consistent across different configurations (q800, next-cube, etc) points to a possible regression or incomplete memory initialization in the virt machine."""