Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3274440rwb; Mon, 15 Aug 2022 22:59:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR6p+Q1FDlx07y9qelgngBOgMK7wLxDXJ6rhdtB0GGMYyMNL0z8B67w8aZif8o31fcWu5mGE X-Received: by 2002:a05:6402:5106:b0:440:3693:e67b with SMTP id m6-20020a056402510600b004403693e67bmr17705167edd.226.1660629559209; Mon, 15 Aug 2022 22:59:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660629559; cv=none; d=google.com; s=arc-20160816; b=KbRlZTHkdcN4RqaNcy6ulsxTXNYwTPcyUYO4UA40QiKeGElv1PGY7Anau/ZhRVTIyy 4uobTiLp/2yv4XXnw3GgES8jM4wgZMur7HGtHUColBJ1eqyX0afyqJSN7ayjJ/U3BGs9 +39kcx1kPrXbUrIqaV/yyz7wHdt79HSqV5XCyvgGZinEop7kdmP2pG1jLV4BMPMxPnd2 LS8E6jWyTnID+oogLG1Jo/nP2B0053misdBla/0rGbIIziBzMsK4JbXfkWcbqJg4KIRG BstYchkaX6C7jxxvkogZyXLM9OqmiynMnhkJ76W5o+HJfRXRWsPIUPnt8k7ZoPqk5Rxv D8hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=/DXZeTr6ncQrsVrzKQetD1MJlZAdV7mdoExoKtlNx08=; b=R2A2AfNzbhaBdhJIrBX51GVjsU6cy8gl/Xc1HtyLhZNj7AhZnWcxcyPyoeHiP5G9wW BM3ZAdKZQTKKIynV5nIjnYA7NZylt8DLhR395P1vkLbkVRFm2ESL+kXWqFD3Hh7iXvtK nW0jI1frz2IDkh7rn/EECeFlgXuWjLxZvDR4JKtsLTpc2RHXqHFwRSWJMVoZzyjWkniC VFp50YsdUN44Thuu1Du+GGmFcWwEKJMruoGGc5BZdAZCYwJidk+4ht4bxuv1RTlr8R3l 6uXenH/Bf+6D08t3LUF9Q2qiVrqT3qhHQlCV8H0nK0VD5tPOL/Qrd8ujLltG7jLN24P/ GcKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b="vaek1/hY"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Bp6uuZFQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd43-20020a17090796ab00b0072f1cccbc62si10995482ejc.641.2022.08.15.22.58.54; Mon, 15 Aug 2022 22:59:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b="vaek1/hY"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Bp6uuZFQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233167AbiHPFDb (ORCPT + 99 others); Tue, 16 Aug 2022 01:03:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233305AbiHPFDJ (ORCPT ); Tue, 16 Aug 2022 01:03:09 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CED171B9DC3; Mon, 15 Aug 2022 14:04:41 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id DB9963200495; Mon, 15 Aug 2022 17:04:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 15 Aug 2022 17:04:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1660597479; x=1660683879; bh=/DXZeTr6nc QrsVrzKQetD1MJlZAdV7mdoExoKtlNx08=; b=vaek1/hY6jpMZLhoeTR3/5UZGn zzeKgLdOTEUFTA2ZKYJm0CXjiH0C35BCGPXaa0M5T0htHV3tfujr6O4OAO3H8LIs WJnb/ZCfJzdxDwUPR0wY9PXRTdrfV+IYDknLKdXlRSKfIG7/wZxl9gkOB/EgSFTw CmI5V7TdaIwknwIZ7v3nokqWaFzs0tGu/VaGYF4+VXITKCQtOrc20Ur6yHhdv/ZY R/9yqTwhWKll8LS+bg7HR3VP9sdTUSqdV89AoDx1min8ZYwqhGMeAqI3Sb/X0eYR 62CzpMExjDWxY9skYjC28GdkR5WACbCjkrDbNbNd9FxN2mYD4duriuE7mtYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1660597479; x=1660683879; bh=/DXZeTr6ncQrsVrzKQetD1MJlZAd V7mdoExoKtlNx08=; b=Bp6uuZFQrhSxxp2kYUkxaPwvE1Wxr5YX4K/JLV68NDXQ y96rQ30LHsxprGpTyEvcEP7rdCspX2pteIlROU8AOwy0tnjKQn0IHDmHWvJJizSk tL0ccd22ipDSGJDNmwHdw98cr+sqzil8cYSWVtt78NHZLl/WPSCK1fLYULx+Fi4y 1HpFvcbnoUpgNWQIomq7KLm7waSmpEnOFeKSynIgus8TiUkGnA6HCZZt82y8zLqb kKm6XwVBDSBi08XaBntHgWtRCKsn+Wy/GxYkKu9e64nA5WPncuD0xlPjksSH5Lvg MKPalEY2I5JNMMqqflw6hDEZFTCPw/MMR1dBaV8o3w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehvddgudehkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpedvffefvefhteevffegieetfefhtddvffejvefhueetgeeludehteev udeitedtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Aug 2022 17:04:37 -0400 (EDT) Date: Mon, 15 Aug 2022 14:04:37 -0700 From: Andres Freund To: "Michael S. Tsirkin" Cc: Xuan Zhuo , Jason Wang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, Linus Torvalds , Jens Axboe , James Bottomley , "Martin K. Petersen" , Guenter Roeck , linux-kernel@vger.kernel.org, Greg KH , c@redhat.com Subject: Re: upstream kernel crashes Message-ID: <20220815210437.saptyw6clr7datun@awork3.anarazel.de> References: <20220815034532-mutt-send-email-mst@kernel.org> <20220815081527.soikyi365azh5qpu@awork3.anarazel.de> <20220815042623-mutt-send-email-mst@kernel.org> <20220815113729-mutt-send-email-mst@kernel.org> <20220815164503.jsoezxcm6q4u2b6j@awork3.anarazel.de> <20220815124748-mutt-send-email-mst@kernel.org> <20220815174617.z4chnftzcbv6frqr@awork3.anarazel.de> <20220815161423-mutt-send-email-mst@kernel.org> <20220815205330.m54g7vcs77r6owd6@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220815205330.m54g7vcs77r6owd6@awork3.anarazel.de> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-08-15 13:53:31 -0700, Andres Freund wrote: > The reason the debug patch didn't change anything, and that my debug printk > didn't show, is that gcp uses the legacy paths... > > If there were a bug in the legacy path, it'd explain why the problem only > shows on gcp, and not in other situations. > > I'll queue testing the legacy path with the equivalent change. Booting with the equivalent change, atop 5.19, in the legacy setup_vq() reliably causes boot to hang: [ 0.718768] ACPI: button: Sleep Button [SLPF] [ 0.721989] ACPI: \_SB_.LNKC: Enabled at IRQ 11 [ 0.722688] adebug: use legacy: 0 [ 0.722724] virtio-pci 0000:00:03.0: virtio_pci: leaving for legacy driver [ 0.724286] adebug: probe modern: -19 [ 0.727353] ACPI: \_SB_.LNKD: Enabled at IRQ 10 [ 0.728719] adebug: use legacy: 0 [ 0.728766] virtio-pci 0000:00:04.0: virtio_pci: leaving for legacy driver [ 0.730422] adebug: probe modern: -19 [ 0.733552] ACPI: \_SB_.LNKA: Enabled at IRQ 10 [ 0.734923] adebug: use legacy: 0 [ 0.734957] virtio-pci 0000:00:05.0: virtio_pci: leaving for legacy driver [ 0.736426] adebug: probe modern: -19 [ 0.739039] ACPI: \_SB_.LNKB: Enabled at IRQ 11 [ 0.740350] adebug: use legacy: 0 [ 0.740390] virtio-pci 0000:00:06.0: virtio_pci: leaving for legacy driver [ 0.742142] adebug: probe modern: -19 [ 0.747627] adebug: legacy setup_vq [ 0.748243] virtio-pci 0000:00:05.0: adebug: legacy: not limiting queue size, only 256 [ 0.751081] adebug: legacy setup_vq [ 0.751110] virtio-pci 0000:00:05.0: adebug: legacy: not limiting queue size, only 256 [ 0.754028] adebug: legacy setup_vq [ 0.754059] virtio-pci 0000:00:05.0: adebug: legacy: not limiting queue size, only 1 [ 0.757760] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.759135] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 0.760399] 00:04: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A [ 0.761610] 00:05: ttyS2 at I/O 0x3e8 (irq = 6, base_baud = 115200) is a 16550A [ 0.762923] 00:06: ttyS3 at I/O 0x2e8 (irq = 7, base_baud = 115200) is a 16550A [ 0.764222] Non-volatile memory driver v1.3 [ 0.768857] adebug: legacy setup_vq [ 0.768882] virtio-pci 0000:00:06.0: adebug: legacy: not limiting queue size, only 256 [ 0.773002] Linux agpgart interface v0.103 [ 0.775424] loop: module loaded [ 0.780513] adebug: legacy setup_vq [ 0.780538] virtio-pci 0000:00:03.0: adebug: legacy: limiting queue size from 8192 to 1024 [ 0.784075] adebug: legacy setup_vq [ 0.784104] virtio-pci 0000:00:03.0: adebug: legacy: limiting queue size from 8192 to 1024 [ 0.787073] adebug: legacy setup_vq [ 0.787101] virtio-pci 0000:00:03.0: adebug: legacy: limiting queue size from 8192 to 1024 [ 0.790379] scsi host0: Virtio SCSI HBA [ 0.795968] Freeing initrd memory: 7236K Greetings, Andres Freund