How you recommend to test kernel? I use Arch and found 3 ways: * Native run, replace existing kernel * Qemu with full Linux distribution, install Ubuntu in qemu and replace kernel in it * Minimal Qemu, need to create initramfs with busybox and connect to Qemu with your kernel, but I even couldn't see printk log from e1000e in this way Thanks, David
On Sat, 28 Feb 2026 12:42:25 +0530, David Lishchyshen wrote:
How you recommend to test kernel? I use Arch and found 3 ways: * Native run, replace existing kernel * Qemu with full Linux distribution, install Ubuntu in qemu and replace kernel in it * Minimal Qemu, need to create initramfs with busybox and connect to Qemu with your kernel, but I even couldn't see printk log from e1000e in this way
Option 3 is the best way since you can't keep rebooting your machine when you reproduce crashes. I did a writeup about it, it might help you. Take a look here: https://bodha.siddh.me/posts/2023/10/14/kernel_qemu_setup/ Thanks, Siddh
Thanks, but I found issue in your guide :) We need mount drive as VirtIO, so we need to specify `root=/dev/vda` and `-drive file=$HOME/linux/qemu/image/bookworm.img,format=raw,if=virtio` without it I had kernel panic Thanks, David On 2/28/26 11:53, Siddh Raman Pant wrote:
On Sat, 28 Feb 2026 12:42:25 +0530, David Lishchyshen wrote:
How you recommend to test kernel? I use Arch and found 3 ways: * Native run, replace existing kernel * Qemu with full Linux distribution, install Ubuntu in qemu and replace kernel in it * Minimal Qemu, need to create initramfs with busybox and connect to Qemu with your kernel, but I even couldn't see printk log from e1000e in this way Option 3 is the best way since you can't keep rebooting your machine when you reproduce crashes.
I did a writeup about it, it might help you. Take a look here: https://bodha.siddh.me/posts/2023/10/14/kernel_qemu_setup/
Thanks, Siddh
---- Sat, 28 Feb 2026 23:49:32 +0530 को david@daika.dev ने लिखा ----
Thanks, but I found issue in your guide :)
We need mount drive as VirtIO, so we need to specify `root=/dev/vda` and `-drive file=$HOME/linux/qemu/image/bookworm.img,format=raw,if=virtio` without it I had kernel panic
If you followed the guide, I don't think that's true. Unless something has changed in upstream since I wrote it. Thanks, Siddh
I cant connect through ssh. I see `Starting networking.service - Raise network interfaces...\n[FAILED] Failed to start networking…ce - Raise network interfaces.` in tty On 2/28/26 20:38, Siddh Raman Pant wrote:
---- Sat, 28 Feb 2026 23:49:32 +0530 को david@daika.dev ने लिखा ----
Thanks, but I found issue in your guide :)
We need mount drive as VirtIO, so we need to specify `root=/dev/vda` and `-drive file=$HOME/linux/qemu/image/bookworm.img,format=raw,if=virtio` without it I had kernel panic
If you followed the guide, I don't think that's true.
Unless something has changed in upstream since I wrote it.
Thanks, Siddh
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
What are the options are you using? Just the error is unhelpful. Again, if you followed the guide I don't think this should happen. I specifically mentioned that error there. Thanks, Siddh ---- Sun, 01 Mar 2026 00:59:16 +0530 को david@daika.dev ने लिखा ----
I cant connect through ssh. I see `Starting networking.service - Raise network interfaces...\n[FAILED] Failed to start networking…ce - Raise network interfaces.` in tty
On 2/28/26 20:38, Siddh Raman Pant wrote:
---- Sat, 28 Feb 2026 23:49:32 +0530 को david@daika.dev[mailto:david@daika.dev] ने लिखा ----
Thanks, but I found issue in your guide :)
We need mount drive as VirtIO, so we need to specify `root=/dev/vda` and `-drive file=$HOME/linux/qemu/image/bookworm.img,format=raw,if=virtio` without it I had kernel panic
If you followed the guide, I don't think that's true.
Unless something has changed in upstream since I wrote it.
Thanks, Siddh
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org[mailto:Kernelnewbies@kernelnewbies.org]
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org[mailto:Kernelnewbies@kernelnewbies.org] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies[https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies]
It seems that I forgot about your `common.config` :) I've added it and recompile kernel, but I have kernel panic again because disk On 2/28/26 21:56, Siddh Raman Pant wrote:
What are the options are you using?
Just the error is unhelpful.
Again, if you followed the guide I don't think this should happen. I specifically mentioned that error there.
Thanks, Siddh
---- Sun, 01 Mar 2026 00:59:16 +0530 को david@daika.dev ने लिखा ----
I cant connect through ssh. I see `Starting networking.service - Raise network interfaces...\n[FAILED] Failed to start networking…ce - Raise network interfaces.` in tty
On 2/28/26 20:38, Siddh Raman Pant wrote:
---- Sat, 28 Feb 2026 23:49:32 +0530 को david@daika.dev[mailto:david@daika.dev] ने लिखा ----
Thanks, but I found issue in your guide :)
We need mount drive as VirtIO, so we need to specify `root=/dev/vda` and `-drive file=$HOME/linux/qemu/image/bookworm.img,format=raw,if=virtio` without it I had kernel panic If you followed the guide, I don't think that's true.
Unless something has changed in upstream since I wrote it.
Thanks, Siddh
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org[mailto:Kernelnewbies@kernelnewbies.org]
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org[mailto:Kernelnewbies@kernelnewbies.org] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies[https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies]
Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
David Lishchyshen <david@daika.dev>, 28 Şub 2026 Cmt, 10:13 tarihinde şunu yazdı:
How you recommend to test kernel? I use Arch and found 3 ways: * Native run, replace existing kernel * Qemu with full Linux distribution, install Ubuntu in qemu and replace kernel in it * Minimal Qemu, need to create initramfs with busybox and connect to Qemu with your kernel, but I even couldn't see printk log from e1000e in this way
Hello, what kind of tests exactly do you want to run? Ozgur
Thanks, David
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (3)
-
David Lishchyshen -
Ozgur Kara -
Siddh Raman Pant