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
|
id = 1662
title = "qemu-system-loongarch64 start Loongnix system coredump"
state = "closed"
created_at = "2023-05-19T07:27:49.933Z"
closed_at = "2023-05-22T02:48:08.872Z"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/1662"
host-os = "Ubuntu 20.04.3 LTS"
host-arch = "X86"
qemu-version = "8.0.50 commitid d27e7c359330ba7020bdbed7ed2316cb4cf6ffc1"
guest-os = "- OS/kernel version:"
guest-arch = "## Description of problem"
description = """"""
reproduce = """1. build qemu:
./configure --prefix=/usr --disable-werror --disable-gtk --target-list="loongarch64-softmmu"\\
--enable-debug
make -j32
2. get bios and qcow2:
wget https://mirrors.wsyu.edu.cn/loongarch/archlinux/images/QEMU_EFI_7.2.fd
wget http://pkg.loongnix.cn/loongnix/isos/Loongnix-20.4/Loongnix-20.4.cartoon.gui.loongarch64.en.qcow2
3. start Loongnix
./build/qemu-system-loongarch64 \\
-m 8G \\
-cpu la464 \\
-machine virt \\
-smp 16 \\
-bios ./QEMU_EFI_7.2.fd \\
-serial stdio \\
-device virtio-gpu-pci \\
-net nic -net user \\
-device nec-usb-xhci,id=xhci,addr=0x1b \\
-device usb-tablet,id=tablet,bus=xhci.0,port=1 \\
-device usb-kbd,id=keyboard,bus=xhci.0,port=2 \\
-device virtio-blk-pci,drive=test -drive if=none,id=test,file=./Loongnix-20.4.cartoon.gui.loongarch64.en.qcow2
4. VNC connect
5. use the system
login loongson/Loongson20
6. qemu coredump
qemu-system-loongarch64: /root/work/qemu/include/tcg/tcg.h:675: temp_idx: Assertion `n >= 0 && n < tcg_ctx->nb_temps' failed.
./start-loongnix.sh: line 13: 40242 Aborted (core dumped) ./build/qemu-system-loongarch64 -m 8G -cpu la464 -machine virt -smp 16 -bios ./QEMU_EFI_7.2.fd -serial stdio -device virtio-gpu-pci -net nic -net user -device nec-usb-xhci,id=xhci,addr=0x1b -device usb-tablet,id=tablet,bus=xhci.0,port=1 -device usb-kbd,id=keyboard,bus=xhci.0,port=2 -device virtio-blk-pci,drive=test -drive if=none,id=test,file=./Loongnix-20.4.cartoon.gui.loongarch64.en.qcow2"""
additional = """"""
|