From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 659FFFEE4C8 for ; Sat, 28 Feb 2026 18:19:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernelnewbies.org; s=mail; h=Content-Type:Content-Transfer-Encoding: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Cc: In-Reply-To:From:References:To:Subject:MIME-Version:Date:Message-ID:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kkIfk24JJWuQXCe0FmabyncdYy5vNaJ78syr8h7SbF4=; b=NNgnH2SFCg45ZT4n0vbVJ4gCZk Tozj/vlAFvC7paEw529ot3WlWd44zqGUUwTe2w0GiVjh2xKQlP/UuCSeGQim9joxzITt/1kgf1+Qm uMPvFeLXcN9VbiQ0jqt+kmk/uVgCQrlAMEtUy3xp5xf0vwse+7RYPSagYPkKbn7oiK2thXW0FCkSn p8gZL8r/nv9/BSeqqLd6kLrRwd28Rg6iU1wNspQdzkeQS8avnSzIM+4tMn6AkLiTFYPtc0e2OnObk cIPStKci3kcavRWQY2R9PZtdrQ+IUfIifYLBpBgffXzL5B1mt8UkHrBBifRR7Qfwg/UyTYpTBmJtG k15AXXHQ==; Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.97.1) (envelope-from ) id 1vwOuh-0000000069Y-2Lhs; Sat, 28 Feb 2026 13:19:40 -0500 Received: from out-172.mta0.migadu.com ([2001:41d0:1004:224b::ac]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1vwOuf-0000000069S-19Mt for kernelnewbies@kernelnewbies.org; Sat, 28 Feb 2026 13:19:40 -0500 Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daika.dev; s=key1; t=1772302774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GLEzY5vAm8eZSH1OtvgyUcuyIOY6CGldaaMKu/P4LZw=; b=HHAG5x0sPaNuXHzvUfHcpMz0//gNTGU1rA/NIRag8RbW8YV4YGSRJSCyGaBhsY47919SOE clkDFb1RgOm23BIisIg8g1xFUQe1X2ByZI8/wvV0nG9sjDZ5Ylxma5BU3NyZWmiKbqE/Xv /L25DkVKhxrpQZZD+ZB0DW6Z3uTm3j9dVajW2AX2Gt7JWdc2fwH95hiQ6UJEyJfcqRsX5X hXMXXI2PSBsgiusyB9vJHWC06ed1xRtb0CCNA30xg3CN5JtzPNDFQ9tdULM2j0D1RAVpl6 bZN+oSzs9mZbeXWaBlyJlY8CtseznO3Z//9dITbd967GR1ae6Wo1khYKYXU5Uw== Date: Sat, 28 Feb 2026 20:19:32 +0200 MIME-Version: 1.0 Subject: Re: Kernel test To: Siddh Raman Pant References: <19ca3aac7cd.248e3142240.8191304919364704072@siddh.me> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: David Lishchyshen In-Reply-To: <19ca3aac7cd.248e3142240.8191304919364704072@siddh.me> X-Migadu-Flow: FLOW_OUT Cc: kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: kernelnewbies-bounces@kernelnewbies.org 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