Closed enlighten5 closed 4 months ago
Hi,
The error says that the kernel cannot handle the root filesystem. It likely means that either you didn't compile the kernel with the required kernel config (vng
1.23 will not override an existing .config
file except if --kconfig
is used: if you had an old version, rename or delete it the .config
file, then rebuild) or the FS you need is built in a module, and you don't have access to them from the docker.
Hi @matttbe
Thank you for your help!
I tried to use vng to generate a default config and still got the same error.
what would be the built-in module that need to be passed into the container?
Another error message that might be relevant:
virtme: waiting for virtiofsd to start
fuse: invalid argument /tmp/virtmeb0wjp1t8
Thanks!
It looks like there is an issue with virtiofs
. You can check with vng --force-9p (...)
to see if it changes something.
I figured it should be related to the configs I used from virtme and some changes I made to the kernel. vng -r
works well on on a clean kernel. Thanks @matttbe.
Hi,
I am getting the following kernel panic when booting a customized kernel in a docker.
The command I am using is
vng --arch x86_64 --name testdev --memory 2048M --kimg ./arch/x86/boot/bzImage --mods=auto --rwdir . --pwd --verbose --show-command --show-boot-console --kopt mitigations=off --cpus 2
The qemu version is QEMU emulator version 6.2.0can you please advise? thanks!