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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 8E0A0C4167B for ; Tue, 20 Dec 2022 09:50:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0D90F408F9; Tue, 20 Dec 2022 09:50:09 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 0D90F408F9 Authentication-Results: smtp4.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=X6BDragY X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nUJAqRbAy0E8; Tue, 20 Dec 2022 09:50:07 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp4.osuosl.org (Postfix) with ESMTPS id 1C79040422; Tue, 20 Dec 2022 09:50:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1C79040422 Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A290CC0032; Tue, 20 Dec 2022 09:50:06 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9EFB5C002D for ; Tue, 20 Dec 2022 09:50:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 6489760A97 for ; Tue, 20 Dec 2022 09:50:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 6489760A97 Authentication-Results: smtp3.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=X6BDragY X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KYoxkrKe164w for ; Tue, 20 Dec 2022 09:50:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2C505605A2 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2C505605A2 for ; Tue, 20 Dec 2022 09:50:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671529799; 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: in-reply-to:in-reply-to:references:references; bh=5iOx7aV2uJMaHdJjEtnE4+t4p7oYZUq1Hmr1StADmsw=; b=X6BDragYGKpS10SFqFT9A/jyXlAjrSgUz7uco4RFadjoksi7gkuLXcDLSs12KqaTWchKEx KWY+e6snD3BljVLu4Cir0aeDNEUuUUewqs9PMosygRlt2/SQ54gyL2TofMGjeFvCY490YK 6RpYrRfflcKIw03VuUc8D+DZgpFFOOo= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-194-NoaDWYuwO7KSbrpWWn2uHw-1; Tue, 20 Dec 2022 04:49:58 -0500 X-MC-Unique: NoaDWYuwO7KSbrpWWn2uHw-1 Received: by mail-wr1-f72.google.com with SMTP id h10-20020adfaa8a000000b0024208cf285eso2112552wrc.22 for ; Tue, 20 Dec 2022 01:49:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5iOx7aV2uJMaHdJjEtnE4+t4p7oYZUq1Hmr1StADmsw=; b=Dxz36JvEg0pwNCgi25AQ1rd9/xmLCjtBvhgRlZriX6i3QfJyNfg7TQiJuhnmvuU3X9 gHtJlmR//cawUkW3bCd6QJ7k4v3QGwyX8BbT70CZOd0aZOyrcdH0FW1BEYbzS4u+SzlD bPhq/4OPf2RDvmOJ7ZFrEh069DFWEtL6zsTHqyHb/8x6+Fz4sV2PgeXFtd7mDVAomXZT FH9uTjiIl4a1qo3qAXPOmOAl6W281SqfbM2PFC7FAauXAOo15CcZvnrrf6+uDu2xYNhf rEti23aUOGv8ZDgDUaBcOU4/HpcoF2ay87L9aNjF4pisfE2tp+YBkwfincaufp0JvYsa llAw== X-Gm-Message-State: ANoB5pmkL1YdKIQa677cd9v/vqXHy/4Wqyi6HYxN9lfEg+e3EYmkZHMM D1g3cX0HZVLZI20og9WrddeoksayuOCPGokhdqV4iDkreBrEEBeqjBxGSfbTANd+Q81OZ+tW9m7 Q+9/jIKuQqt1qE2HeNjphkkajOYWLEgBdL8J+cON9CA== X-Received: by 2002:a5d:4750:0:b0:242:15e0:d592 with SMTP id o16-20020a5d4750000000b0024215e0d592mr38064537wrs.33.1671529795888; Tue, 20 Dec 2022 01:49:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf6pso3Pfy2U+0SiN/LpAXFM7ECDXSiOCfB01EnQKmKSP3+yIxzqvNsgLDvg80F+P8NgEGr5rQ== X-Received: by 2002:a5d:4750:0:b0:242:15e0:d592 with SMTP id o16-20020a5d4750000000b0024215e0d592mr38064526wrs.33.1671529795666; Tue, 20 Dec 2022 01:49:55 -0800 (PST) Received: from redhat.com ([2.52.8.61]) by smtp.gmail.com with ESMTPSA id u18-20020adfeb52000000b002423dc3b1a9sm12190894wrn.52.2022.12.20.01.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 01:49:55 -0800 (PST) Date: Tue, 20 Dec 2022 04:49:51 -0500 From: "Michael S. Tsirkin" To: Naresh Kamboju Subject: Re: next: kernel BUG at drivers/virtio/virtio.c:122! Message-ID: <20221220044740-mutt-send-email-mst@kernel.org> References: MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Cc: Anders Roxell , regressions@lists.linux.dev, Arnd Bergmann , open list , lkft-triage@lists.linaro.org, virtualization@lists.linux-foundation.org, Linux-Next Mailing List , Angus Chen X-BeenThere: virtualization@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux virtualization List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: virtualization-bounces@lists.linux-foundation.org Sender: "Virtualization" On Tue, Dec 20, 2022 at 02:51:54PM +0530, Naresh Kamboju wrote: > The qemu-x86_64 and qemu-arm64 boot failed with Linux next-20221220 tag. > It is always reproducible with gcc-11/ gcc-12 and clang tool chains. > > Reported-by: Linux Kernel Functional Testing > > <6>[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x000f0510] > <5>[ 0.000000] Linux version 6.1.0-next-20221220 (tuxmake@tuxmake) > (Debian clang version 16.0.0 > (++20221218072110+9c1b82599dac-1~exp1~20221218072217.501), Debian LLD > 16.0.0) #1 SMP PREEMPT @1671498176 > <5>[ 0.000000] random: crng init done > <6>[ 0.000000] Machine model: linux,dummy-virt > .... > <6>[ 3.571098] loop: module loaded > <6>[ 3.573410] virtio_blk virtio0: 1/0/0 default/read/poll queues > <5>[ 3.578816] virtio_blk virtio0: [vda] 2816420 512-byte logical > blocks (1.44 GB/1.34 GiB) > <4>[ 3.581234] ------------[ cut here ]------------ > <2>[ 3.581595] kernel BUG at drivers/virtio/virtio.c:122! > <0>[ 3.582906] Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP > <4>[ 3.583672] Modules linked in: > <4>[ 3.584905] CPU: 0 PID: 1 Comm: swapper/0 Not tainted > 6.1.0-next-20221220 #1 > <4>[ 3.585801] Hardware name: linux,dummy-virt (DT) > <4>[ 3.586591] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT > -SSBS BTYPE=--) > <4>[ 3.587349] pc : virtio_check_driver_offered_feature+0x60/0x6c > <4>[ 3.588613] lr : virtblk_probe+0x7cc/0x8f0 > <4>[ 3.588915] sp : ffff80000802b840 > <4>[ 3.589314] x29: ffff80000802b850 x28: 0000000000000000 x27: > 0000000000000001 > <4>[ 3.590509] x26: 0000000000000001 x25: 0000000000000200 x24: > ffff0000c1699b00 > <4>[ 3.590832] x23: 00000000000000fe x22: ffff0000c0313c30 x21: > ffff0000c0313c00 > <4>[ 3.591568] x20: ffff0000c02f4080 x19: 0000000000000000 x18: > ffffffffffffffff > <4>[ 3.592056] x17: 00000000ffffffea x16: 00000000fffffffe x15: > 0000000000000004 > <4>[ 3.592632] x14: 0000000000000fff x13: ffff800008028000 x12: > ffff80000802c000 > <4>[ 3.593157] x11: 000000000000000f x10: 000000000000000f x9 : > ffffae66eee314d8 > <4>[ 3.594048] x8 : 0000000000000000 x7 : 3631383837352e33 x6 : > 202020205b3e353c > <4>[ 3.594429] x5 : 0000000000000001 x4 : 0000000000000000 x3 : > ffff80000802b780 > <4>[ 3.594956] x2 : ffff80000802b6f8 x1 : 0000000000000011 x0 : > ffff0000c02f4080 > <4>[ 3.595811] Call trace: > <4>[ 3.596120] virtio_check_driver_offered_feature+0x60/0x6c > <4>[ 3.596632] virtio_dev_probe+0x274/0x320 > <4>[ 3.597064] really_probe+0x178/0x418 > <4>[ 3.597547] __driver_probe_device+0x120/0x188 > <4>[ 3.597820] driver_probe_device+0x48/0x22c > <4>[ 3.598189] __driver_attach+0xf8/0x250 > <4>[ 3.598656] bus_for_each_dev+0x8c/0xd8 > <4>[ 3.599151] driver_attach+0x30/0x3c > <4>[ 3.599321] bus_add_driver+0x11c/0x22c > <4>[ 3.599684] driver_register+0x84/0x120 > <4>[ 3.600175] register_virtio_driver+0x38/0x48 > <4>[ 3.600575] virtio_blk_init+0x6c/0xb4 > <4>[ 3.600759] do_one_initcall+0xe0/0x2f8 > <4>[ 3.601197] do_initcall_level+0xa8/0x150 > <4>[ 3.601703] do_initcalls+0x60/0xa0 > <4>[ 3.601892] do_basic_setup+0x28/0x34 > <4>[ 3.602229] kernel_init_freeable+0x100/0x178 > <4>[ 3.602706] kernel_init+0x2c/0x1b4 > <4>[ 3.603162] ret_from_fork+0x10/0x20 > <0>[ 3.604398] Code: 540000a0 91001129 f1000508 54ffff61 (d4210000) > <4>[ 3.606108] ---[ end trace 0000000000000000 ]--- > <6>[ 3.606714] note: swapper/0[1] exited with preempt_count 1 > <0>[ 3.608155] Kernel panic - not syncing: Attempted to kill init! > exitcode=0x0000000b > <2>[ 3.609173] SMP: stopping secondary CPUs > <0>[ 3.610506] Kernel Offset: 0x2e66e4800000 from 0xffff800008000000 > <0>[ 3.610970] PHYS_OFFSET: 0x40000000 > <0>[ 3.611428] CPU features: 0x00000,003a612f,cd22773f > <0>[ 3.612277] Memory Limit: none > <0>[ 3.613192] ---[ end Kernel panic - not syncing: Attempted to > kill init! exitcode=0x0000000b ]--- > > Ref Links, > https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221220/testrun/13764099/suite/log-parser-test/test/check-kernel-bug/details/ > https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221220/testrun/13766814/suite/boot/test/clang-nightly-lkftconfig/details/ > https://storage.tuxsuite.com/public/linaro/lkft/builds/2J9l3qxSBmPWVa1S2uWn0Xuwl1J/config > > > -- > Linaro LKFT > https://lkft.linaro.org Could you post a bit more detail pls? - qemu version and command line - .config - compiler / compiler flags if any Thanks! -- MST _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization