public inbox for kernelnewbies@kernelnewbies.org
 help / color / mirror / Atom feed
* Kernel test
@ 2026-02-28  7:12 David Lishchyshen
  2026-02-28  9:53 ` Siddh Raman Pant
  2026-02-28 20:45 ` Ozgur Kara
  0 siblings, 2 replies; 8+ messages in thread
From: David Lishchyshen @ 2026-02-28  7:12 UTC (permalink / raw)
  To: kernelnewbies

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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Kernel test
  2026-02-28  7:12 Kernel test David Lishchyshen
@ 2026-02-28  9:53 ` Siddh Raman Pant
  2026-02-28 18:19   ` David Lishchyshen
  2026-02-28 20:45 ` Ozgur Kara
  1 sibling, 1 reply; 8+ messages in thread
From: Siddh Raman Pant @ 2026-02-28  9:53 UTC (permalink / raw)
  To: David Lishchyshen; +Cc: kernelnewbies

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


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Kernel test
  2026-02-28  9:53 ` Siddh Raman Pant
@ 2026-02-28 18:19   ` David Lishchyshen
  2026-02-28 18:38     ` Siddh Raman Pant
  0 siblings, 1 reply; 8+ messages in thread
From: David Lishchyshen @ 2026-02-28 18:19 UTC (permalink / raw)
  To: Siddh Raman Pant; +Cc: kernelnewbies

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
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Kernel test
  2026-02-28 18:19   ` David Lishchyshen
@ 2026-02-28 18:38     ` Siddh Raman Pant
  2026-02-28 19:29       ` David Lishchyshen
  0 siblings, 1 reply; 8+ messages in thread
From: Siddh Raman Pant @ 2026-02-28 18:38 UTC (permalink / raw)
  To: david; +Cc: kernelnewbies

---- 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Kernel test
  2026-02-28 18:38     ` Siddh Raman Pant
@ 2026-02-28 19:29       ` David Lishchyshen
  2026-02-28 19:56         ` Siddh Raman Pant
  0 siblings, 1 reply; 8+ messages in thread
From: David Lishchyshen @ 2026-02-28 19:29 UTC (permalink / raw)
  To: kernelnewbies

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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Kernel test
  2026-02-28 19:29       ` David Lishchyshen
@ 2026-02-28 19:56         ` Siddh Raman Pant
  2026-03-01 18:44           ` David Lishchyshen
  0 siblings, 1 reply; 8+ messages in thread
From: Siddh Raman Pant @ 2026-02-28 19:56 UTC (permalink / raw)
  To: david; +Cc: 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]
> >
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies[https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies]
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Kernel test
  2026-02-28  7:12 Kernel test David Lishchyshen
  2026-02-28  9:53 ` Siddh Raman Pant
@ 2026-02-28 20:45 ` Ozgur Kara
  1 sibling, 0 replies; 8+ messages in thread
From: Ozgur Kara @ 2026-02-28 20:45 UTC (permalink / raw)
  To: David Lishchyshen; +Cc: 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
>
>

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Kernel test
  2026-02-28 19:56         ` Siddh Raman Pant
@ 2026-03-01 18:44           ` David Lishchyshen
  0 siblings, 0 replies; 8+ messages in thread
From: David Lishchyshen @ 2026-03-01 18:44 UTC (permalink / raw)
  To: Siddh Raman Pant; +Cc: 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]
>>>
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies[https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies]
>>
>> _______________________________________________
>> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-03-01 18:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-28  7:12 Kernel test David Lishchyshen
2026-02-28  9:53 ` Siddh Raman Pant
2026-02-28 18:19   ` David Lishchyshen
2026-02-28 18:38     ` Siddh Raman Pant
2026-02-28 19:29       ` David Lishchyshen
2026-02-28 19:56         ` Siddh Raman Pant
2026-03-01 18:44           ` David Lishchyshen
2026-02-28 20:45 ` Ozgur Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox