/usr/lib/u-boot/qemu-riscv64_smode/uboot.elf cannot be booted with KVM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
In Progress
|
Undecided
|
Emil Renner Berthing | ||
Jammy |
In Progress
|
Undecided
|
Unassigned | ||
linux-allwinner-5.17 (Ubuntu) |
In Progress
|
Undecided
|
Emil Renner Berthing | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
linux-riscv (Ubuntu) |
Invalid
|
Undecided
|
Emil Renner Berthing | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
linux-starfive-5.17 (Ubuntu) |
In Progress
|
Undecided
|
Emil Renner Berthing | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
QEMU 7.0 supports KVM on RISC-V.
Package u-boot-qemu supplies /usr/lib/
That binary cannot be used to boot via qemu-system-riscv64 -kvm.
File u-boot produced by qemu-riscv64_
CONFIG_
CONFIG_CMD_NET=n
can be used to start U-Boot with qemu-system-riscv64 -kvm. But any virtio access leads to a crash leaving QEMU unresponsive.
Cf. https:/
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jul 10 19:58 seq
crw-rw---- 1 root audio 116, 33 Jul 10 19:58 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.22.0-0ubuntu4
Architecture: riscv64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
CasperMD5CheckR
DistroRelease: Ubuntu 22.10
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci-vt:
-[0000:00]-+-00.0 Red Hat, Inc. QEMU PCIe Host bridge
+-01.0 Red Hat, Inc. QEMU XHCI Host Controller
+-02.0 Red Hat, Inc. Virtio block device
\-03.0 Red Hat, Inc. Virtio block device
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Package: linux-starfive-5.17 (not installed)
PciMultimedia:
ProcCpuinfoMinimal:
processor : 7
hart : 7
isa : rv64imafdcsuh
mmu : sv48
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220621.
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
Tags: kinetic uec-images
Uname: Linux 5.17.0-
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
acpidump:
tags: | added: fr-2521 |
affects: | u-boot (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
assignee: | nobody → Emil Renner Berthing (esmil) |
Changed in linux-starfive-5.17 (Ubuntu): | |
assignee: | nobody → Emil Renner Berthing (esmil) |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in linux-riscv (Ubuntu): | |
status: | New → Invalid |
assignee: | nobody → Emil Renner Berthing (esmil) |
Changed in linux-allwinner-5.17 (Ubuntu): | |
assignee: | nobody → Emil Renner Berthing (esmil) |
status: | New → In Progress |
Changed in linux (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux-allwinner-5.17 (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux-riscv (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux-starfive-5.17 (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in linux-riscv (Ubuntu Jammy): | |
status: | In Progress → Invalid |
Changed in linux-starfive-5.17 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux-allwinner-5.17 (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
See thread /lore.kernel<email address hidden>/
U-Boot S-mode payload does not boot with a multicore configuration in RISC-V QEMU/KVM
https:/