All Questions
Tagged with qemu linux-kernel
46
questions
0
votes
1
answer
43
views
Which Linux kernel config options are required to get QEMU virtio to work?
I am currently trying to boot a QEMU VM with a virtio-blk hard disk and I am failing. I cannot seem to get the kernel to recognize the virtio device.
I am on a linux-6.1.97 source tree and ...
0
votes
0
answers
147
views
How do I fix my initramfs for booting linux kernel image on qemu?
I am using an M2 mac. I built the linux kernel in a aarch64v8/ubuntu docker container. Here's the docker-compose.yml
version: "3"
services:
dev:
image: arm64v8/ubuntu
platform: ...
0
votes
0
answers
337
views
I Failed to execute AARCH64 Linux kernel on the QEMU
I'm trying to execute AARCH64 Linux kernel on the QEMU.
But,there was an error and the error log is:
rom: requested regions overlap (rom bootloader. free=0x00000000422c0a00, addr=0x0000000040000000)
...
0
votes
0
answers
104
views
Booting Existing Linux Installation in qemu VM
There are 2 separate arch installations on my machine, one on an nvme drive and another on /dev/sda (EFI in /dev/sda1 and root in /dev/sda2). Trying to boot the arch on /dev/sda from inside the arch ...
0
votes
0
answers
75
views
how to use non-stop mode of gdb to debug linux kernel using qemu
I am using qemu and gdb to debug the Linux kernel. I wanted to stop one thread while letting other threads continue running. I found that there is a command called non-stop in gdb which can help me ...
1
vote
0
answers
43
views
How to make a roofs image for qemu using febootstrap
I tried to use febootstrap to make a roofs image for qemu-kvm.
I frist generated a roofs with command
febootstrap -i coreutils -i vim centos79 centos_7.9 https://mirrors.163.com/centos/7/os/x86_64/
...
0
votes
1
answer
193
views
Debugging the Linux kernel using QEMU + (K)GDB -- some doubts and queries
I'm trying to debug the Linux kernel (v3.13) via QEMU. I am using this, this and this as reference. Since my host is Linux Mint Victoria, it was too much of a hassle trying to compile the kernel as ...
0
votes
0
answers
761
views
Unable to disable the "INFO: task kworker/u8:3:116 blocked for more than 120 seconds" when booting Ubuntu on QEMU
I have a emulation hardware device which can take more than 120 seconds to run when booting.
I always got the following messages:
[ 242.914490] INFO: task kworker/u8:0:9 blocked for more than 120 ...
0
votes
1
answer
3k
views
How to boot ARM kernel using QEMU?
I am having a hard time booting up an ARM linux kernel with a rootfs using QEMU.
First I tried compiling it myself, then resorted to the debian linux-image-rt-armmp kernel, nothing works.
Here is what ...
0
votes
1
answer
1k
views
Running Raspberry PI buildroot image in qemu
I am trying to build a linux image for raspberrypi3 with buildroot and run it on qemu. Once the make process is done i can copy the sdcard.img file into a SD card and correctly run the OS on a real ...
2
votes
3
answers
1k
views
Linux installation not able to find the first partition of the disk during the boot up
I have an hard disk image of an openSUSE installation from a x86-64 machine which I no longer have access to. I'm trying to boot from this raw disk using quemu. If I start the virtual machine with for ...
0
votes
0
answers
120
views
How to compile Linux Kernel 0.95 and run it with QEMU?
I want to compile Linux Kernel 0.95 and run it with QEMU.
But I just found this (Linux Kernel 0.95 source code).
0
votes
1
answer
1k
views
How can my PCI device driver remap PCI memory to userspace?
I am trying to implement a PCI device driver for a virtual PCI device on QEMU. The device defines a BAR region as RAM, and the driver can do ioremap() this region and access it without any issues. The ...
1
vote
0
answers
530
views
Custom 64bit 3.10.9 kernel not booting in qemu and stucks on Booting from ROM
My custom build kernel 4.10.9 with gcc-4.8 is not booting in qemu and it is stuck on booting from ROM:
I used the following qemu command: qemu-system-x86_64 -kernel linux-3.10.9/arch/x86/boot/bzImage....
4
votes
0
answers
1k
views
QEMU kernel for raspberry pi 3 with networking and virtio support
I used the QEMU(qemu-system-aarch64 -M raspi3) for emulating the Raspberry pi3 with the kernel from the working image.
Everything was working but there was no networking.
qemu-system-aarch64 \
-...