QEMU is not allowing multiple cores with mips architecture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I may have found a bug as when trying to boot up an QEMU VM with the following command: "qemu-system-mips -M malta -m 512 -hda hda.img -kernel vmlinux-
Kernel log also shows:
[ 100.303136] perf: interrupt took too long (2506 > 2500), lowering kernel.
[ 107.656869] perf: interrupt took too long (3195 > 3132), lowering kernel.
[ 117.668390] perf: interrupt took too long (4033 > 3993), lowering kernel.
[ 217.166763] perf: interrupt took too long (5126 > 5041), lowering kernel.
[ 231.910132] perf: interrupt took too long (6445 > 6407), lowering kernel.
[ 250.170677] perf: interrupt took too long (8087 > 8056), lowering kernel.
[ 285.391451] perf: interrupt took too long (10126 > 10108), lowering kernel.
[ 778.588911] perf: interrupt took too long (12770 > 12657), lowering kernel.
[ 1554.825129] perf: interrupt took too long (15982 > 15962), lowering kernel.
[ 1622.838910] hrtimer: interrupt took 14758063 ns
[ 1712.932777] INFO: NMI handler (perf_event_
[ 1712.932780] perf: interrupt took too long (59793 > 19977), lowering kernel.
System details:
OS: Ubuntu 20.04
QEMU emulator version 4.2.0 (Debian 1:4.2-3ubuntu6.3)
affects: | launchpad → qemu |
affects: | qemu → qemu (Ubuntu) |
Hi Skyler,
mips emulation is rather rare - so there is always a chance that something broke without being recognized at first. For a start let me ask a few questions to corner the issue:
1. did that work before and is a regression in the qemu 4.2 of Ubuntu? /git.qemu. org/?p= qemu.git? sources. list, apt build-dep qemu;
2. check other versions - could you try the same with qemu 3.1 (Bionic) and 5.0 (groovy) of Ubuntu if it is the same?
3. after we know of the above if new/old versions were ok it could be worth checking pristine upstream qemu builds to see if any delta in Ubuntu has to be fixed. Depending on your time and ability to do so would you be able to build from tags of https:/
(TL;DR; add deb-src lines in /etc/apt/
In general maybe attach the kernel/initrd of your test so others can try the same. ftp.debian. org/debian/ dists/stable/ main/installer- mips/current/ images/ malta/netboot/ ?
I assume you used something like http://
Once that is sorted we know better if we look at a "how to use question" or an actual bug - and for the latter if it is a regression of some sort (which would make us hunt for the offending change).