Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2200416rwb; Mon, 15 Aug 2022 00:15:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR7RQ5vPGdhNwvasCiU8Tx/FFSWlOV7UVZk7gMaaJjzb8Bhb4Oc680WxUpuvFrYFzsaN0uhJ X-Received: by 2002:a17:902:dac7:b0:16e:fc21:4e0c with SMTP id q7-20020a170902dac700b0016efc214e0cmr15621651plx.135.1660547725015; Mon, 15 Aug 2022 00:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660547725; cv=none; d=google.com; s=arc-20160816; b=Ztk1OTf5NXUWl38uymOdWdaIODl7tS+OIz9V/NzaA8SwMTYGyiUD3eCgvCvsRTeOna PwxSfyw/M4/Mz/UMPmyaAkXdc9YxvTuXt1bVw3ZSQjHBs60Yv3UrG5nEIOP8gP1yQ3zO DN6eXfwRjjooHJFY+iF0YUo/GVjHdaafTpX8ZuS4hOWenJ+0e4ziostJwvDaxa2svdX8 WNZMqeP4ZvgFK36JkI2Bk5aQuW8O6sehQbw+M/K/yKU2mBipNKl5ft49xuWjtgBVYKHX FFvOQTRzC2i4RdvUXmHp7Ct8riBA7Q/Bsbt/NMCLRVArvLwE/i+hU4UdtNoHl/a6Km2d KgPw== 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=Vnh8gzRE9yKYvSOXwCBVMLeDWEJmQWm76pg4wCaZ0zo=; b=ewkLlF1TU6B79sKCMZZwMyq0UTW8TBKviQ9zizgiPR5wzAvuYObm2VsB+VC25CBnBN dXHEDXFI7Dwx+fgtU6spxip4HAKfN3dN7TXh6zc4Wwc/7Sz80UuDr9aIrbkppjYxwp5E IoMtoy+eOV8JOGmBlkZbZIZZ+X7g9juszP9W5JjaxJWV4cnfVU+oLfiR+I6gsgo6VSMj xZgYJWJ/YMvNP01mFnRMthPu3/TSp5epHW/aCWwviX6kfkcADXdSWqV5m82j02gCVdlS TjSYNgGT2B1tvu9x/XZPv+pCq4PpJL/mWsgfuZxO49GhS+nT9GzHgK+ovEjE4Hwf6k+o 8+/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b="kN/N9ieB"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=0aL0D0t9; 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 u19-20020a63df13000000b0041f12e5fc3asi9936743pgg.438.2022.08.15.00.15.14; Mon, 15 Aug 2022 00:15:25 -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="kN/N9ieB"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=0aL0D0t9; 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 S241289AbiHOHLs (ORCPT + 99 others); Mon, 15 Aug 2022 03:11:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231422AbiHOHLr (ORCPT ); Mon, 15 Aug 2022 03:11:47 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 069AC25ED for ; Mon, 15 Aug 2022 00:11:46 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 68CEA5C00A6; Mon, 15 Aug 2022 03:11:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 15 Aug 2022 03:11:45 -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=1660547505; x=1660633905; bh=Vnh8gzRE9y KYvSOXwCBVMLeDWEJmQWm76pg4wCaZ0zo=; b=kN/N9ieBKAzOjA0JVGOY6ysi7o lByxp2ETOYq+XbAZUOSwOEfq6qQDrWsYjcLdG8nxEGt8cvsLPVAc6VmKjP2kmVBq RFCStGdR86+7U+Brwtxw3xhkRyi+fL5XMKdApyIcna8klrmCGIP4eZgWXY4MjmqC vKtX39TdTeqrJUZz9aICS+il4JdA9x5dobk5ZEJBQFl8nNsGl+0v6aF4pURJyZH0 L7uBLZ97ze8KmfV5fmF5tF5tCkOM2xM/caRRD710ANlD2543bgFhOpcucizarHjV NoM305wTlflcEu7fO+A010NaM5sV3A9wADUUEh9MqaHGoLjUduBvHtyFtwUw== 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=1660547505; x=1660633905; bh=Vnh8gzRE9yKYvSOXwCBVMLeDWEJm QWm76pg4wCaZ0zo=; b=0aL0D0t9kFucz1b7VWKakopr71ashnW5wC0d0oHd2YSP YCTb4O1JiG9lGwGCH8a0tIUIqoLDvpA1w+QX2mUyL4D5/EzqjzsDo2n4Bn6fmlMN xVyy87CyRkxIk1VE56QPRBlcPJdjYamOpxJjpx1Fdm82zrWFrzSES9tYOfXnMIsY pjlQB9+3z2Q/AiciS6AnEB6DOhbvkXcGG/kQIMHtUMtPMq2Sp0ZAiZPzY6tqnI6E wwXWzHy/4tgT3bX7T9XPWuEgcAALQzCD0any/KKlQVld/VdC8zKcRVB19i1YtWxJ fg9xF+7omCkzpcRIEdKC4rfa+jWPw7CsxYdMHaZ6rQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehuddguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpeegteevjeduueduuefhfedtffehtefgvedufedtfeevgfeifefgjedu vdffgeefkeenucffohhmrghinhepphhoshhtghhrrdgvshenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghl rdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 15 Aug 2022 03:11:44 -0400 (EDT) Date: Mon, 15 Aug 2022 00:11:43 -0700 From: Andres Freund To: Linus Torvalds Cc: Jens Axboe , James Bottomley , "Martin K. Petersen" , Guenter Roeck , linux-kernel@vger.kernel.org, Greg KH , "Michael S. Tsirkin" Subject: Re: upstream kernel crashes Message-ID: <20220815071143.n2t5xsmifnigttq2@awork3.anarazel.de> References: <20220814212610.GA3690074@roeck-us.net> <20220814223743.26ebsbnrvrjien4f@awork3.anarazel.de> <1c057afa-92df-ee3c-5978-3731d3db9345@kernel.dk> <20220815013651.mrm7qgklk6sgpkbb@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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_H3,RCVD_IN_MSPIKE_WL,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 Hi, On 2022-08-14 20:18:44 -0700, Linus Torvalds wrote: > On Sun, Aug 14, 2022 at 6:36 PM Andres Freund wrote: > > > > Some of the symptoms could be related to the issue in this thread, hence > > listing them here > > Smells like slab corruption to me, and the problems may end up being > then largely random just depending on who ends up using the allocation > that gets trampled on. > > I wouldn't be surprised if it's all the same thing - including your > network issue. Yea. As I just wrote in https://postgr.es/m/20220815070203.plwjx7b3cyugpdt7%40awork3.anarazel.de I bisected it down to one commit (762faee5a267). With that commit I only see the networking issue across a few reboots, but with ebcce4926365 some boots oops badly and other times it' "just" network not working. [ 2.447668] general protection fault, probably for non-canonical address 0xffff000000000800: 0000 [#1] PREEMPT SMP PTI [ 2.449168] CPU: 1 PID: 109 Comm: systemd-udevd Not tainted 5.19.0-bisect8-00051-gebcce4926365 #8 [ 2.450397] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 2.451670] RIP: 0010:kmem_cache_alloc_node+0x2b4/0x430 [ 2.452399] Code: 01 00 0f 84 e7 fe ff ff 48 8b 50 48 48 8d 7a ff 83 e2 01 48 0f 45 c7 49 89 c7 e9 d0 fe ff ff 8b 45 28 48 8b 7d 00 48 8d 4a 40 <49> 8b 1c 04 4c 89 e0 65 48 0f c7 0f 0f 94 c0 84 c0 0f 84 cd fd ff [ 2.455454] RSP: 0018:ffffa2b40040bd60 EFLAGS: 00010246 [ 2.456181] RAX: 0000000000000800 RBX: 0000000000000cc0 RCX: 0000000000001741 [ 2.457195] RDX: 0000000000001701 RSI: 0000000000000cc0 RDI: 000000000002f820 [ 2.458211] RBP: ffff8da7800ed500 R08: 0000000000000000 R09: 0000000000000011 [ 2.459183] R10: 00007fd02b8b8b90 R11: 0000000000000000 R12: ffff000000000000 [ 2.460268] R13: 0000000000000000 R14: 0000000000000cc0 R15: ffffffff934bde4b [ 2.461368] FS: 00007fd02b8b88c0(0000) GS:ffff8da8b7d00000(0000) knlGS:0000000000000000 [ 2.462605] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.463436] CR2: 000055a42d2ee250 CR3: 0000000100328001 CR4: 00000000003706e0 [ 2.464527] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.465520] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.466509] Call Trace: [ 2.466882] [ 2.467218] copy_process+0x1eb/0x1a00 [ 2.467827] ? _raw_spin_unlock_irqrestore+0x16/0x30 [ 2.468578] kernel_clone+0xba/0x400 [ 2.470455] __do_sys_clone+0x78/0xa0 [ 2.471006] do_syscall_64+0x37/0x90 [ 2.471526] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 2.472267] RIP: 0033:0x7fd02bf98cb3 [ 2.472889] Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 41 89 c0 85 c0 75 2a 64 48 8b 04 25 10 00 [ 2.475504] RSP: 002b:00007ffc6a3abf08 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 [ 2.476565] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fd02bf98cb3 [ 2.477554] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 [ 2.478574] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 2.479608] R10: 00007fd02b8b8b90 R11: 0000000000000246 R12: 0000000000000001 [ 2.480675] R13: 00007ffc6a3ac0c0 R14: 0000000000000000 R15: 0000000000000001 [ 2.481686] [ 2.482119] Modules linked in: [ 2.482704] ---[ end trace 0000000000000000 ]--- [ 2.483456] RIP: 0010:kmem_cache_alloc_node+0x2b4/0x430 [ 2.484282] Code: 01 00 0f 84 e7 fe ff ff 48 8b 50 48 48 8d 7a ff 83 e2 01 48 0f 45 c7 49 89 c7 e9 d0 fe ff ff 8b 45 28 48 8b 7d 00 48 8d 4a 40 <49> 8b 1c 04 4c 89 e0 65 48 0f c7 0f 0f 94 c0 84 c0 0f 84 cd fd ff [ 2.487024] RSP: 0018:ffffa2b40040bd60 EFLAGS: 00010246 [ 2.487817] RAX: 0000000000000800 RBX: 0000000000000cc0 RCX: 0000000000001741 [ 2.488805] RDX: 0000000000001701 RSI: 0000000000000cc0 RDI: 000000000002f820 [ 2.489869] RBP: ffff8da7800ed500 R08: 0000000000000000 R09: 0000000000000011 [ 2.490842] R10: 00007fd02b8b8b90 R11: 0000000000000000 R12: ffff000000000000 [ 2.491905] R13: 0000000000000000 R14: 0000000000000cc0 R15: ffffffff934bde4b [ 2.492975] FS: 00007fd02b8b88c0(0000) GS:ffff8da8b7d00000(0000) knlGS:0000000000000000 [ 2.494140] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.495082] CR2: 000055a42d2ee250 CR3: 0000000100328001 CR4: 00000000003706e0 [ 2.496080] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.497084] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.498524] systemd-udevd (109) used greatest stack depth: 13688 bytes left [ 2.503905] general protection fault, probably for non-canonical address 0xffff000000000000: 0000 [#2] PREEMPT SMP PTI [ 2.505504] CPU: 0 PID: 13 Comm: ksoftirqd/0 Tainted: G D 5.19.0-bisect8-00051-gebcce4926365 #8 [ 2.507037] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 2.508313] RIP: 0010:rcu_core+0x280/0x920 [ 2.508968] Code: 3f 00 00 48 89 c2 48 85 c0 0f 84 2b 03 00 00 49 89 dd 48 83 c3 01 0f 1f 44 00 00 48 8b 42 08 48 89 d7 48 c7 42 08 00 00 00 00 d0 0f 1f 00 65 8b 05 64 f5 ad 6c f6 c4 01 75 97 be 00 02 00 00 [ 2.511684] RSP: 0000:ffffa2b40007fe20 EFLAGS: 00010202 [ 2.512410] RAX: ffff000000000000 RBX: 0000000000000002 RCX: 0000000080170011 [ 2.513497] RDX: ffff8da783372a20 RSI: 0000000080170011 RDI: ffff8da783372a20 [ 2.514604] RBP: ffff8da8b7c2b940 R08: 0000000000000001 R09: ffffffff9353b752 [ 2.515667] R10: ffffffff94a060c0 R11: 000000000009b776 R12: ffff8da78020c000 [ 2.516650] R13: 0000000000000001 R14: ffff8da8b7c2b9b8 R15: 0000000000000000 [ 2.517628] FS: 0000000000000000(0000) GS:ffff8da8b7c00000(0000) knlGS:0000000000000000 [ 2.518840] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.519645] CR2: 0000557194db70f8 CR3: 0000000100364006 CR4: 00000000003706f0 [ 2.520641] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.521629] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.522592] Call Trace: [ 2.522963] [ 2.523299] __do_softirq+0xe1/0x2ec [ 2.523883] ? sort_range+0x20/0x20 [ 2.524404] run_ksoftirqd+0x25/0x30 [ 2.524944] smpboot_thread_fn+0x180/0x220 [ 2.525519] kthread+0xe1/0x110 [ 2.526001] ? kthread_complete_and_exit+0x20/0x20 [ 2.526673] ret_from_fork+0x1f/0x30 [ 2.527182] [ 2.527518] Modules linked in: [ 2.528005] ---[ end trace 0000000000000000 ]--- [ 2.528662] RIP: 0010:kmem_cache_alloc_node+0x2b4/0x430 [ 2.529524] Code: 01 00 0f 84 e7 fe ff ff 48 8b 50 48 48 8d 7a ff 83 e2 01 48 0f 45 c7 49 89 c7 e9 d0 fe ff ff 8b 45 28 48 8b 7d 00 48 8d 4a 40 <49> 8b 1c 04 4c 89 e0 65 48 0f c7 0f 0f 94 c0 84 c0 0f 84 cd fd ff [ 2.532396] RSP: 0018:ffffa2b40040bd60 EFLAGS: 00010246 [ 2.533201] RAX: 0000000000000800 RBX: 0000000000000cc0 RCX: 0000000000001741 [ 2.534376] RDX: 0000000000001701 RSI: 0000000000000cc0 RDI: 000000000002f820 [ 2.535398] RBP: ffff8da7800ed500 R08: 0000000000000000 R09: 0000000000000011 Begin: Loading e[ 2.536401] R10: 00007fd02b8b8b90 R11: 0000000000000000 R12: ffff000000000000 [ 2.537641] R13: 0000000000000000 R14: 0000000000000cc0 R15: ffffffff934bde4b ssential drivers[ 2.538737] FS: 0000000000000000(0000) GS:ffff8da8b7c00000(0000) knlGS:0000000000000000 [ 2.540028] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ... done.[ 2.540843] CR2: 0000557194db70f8 CR3: 000000015080c002 CR4: 00000000003706f0 [ 2.541953] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2.542924] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2.543902] Kernel panic - not syncing: Fatal exception in interrupt [ 2.544967] Kernel Offset: 0x12400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 2.546637] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- If somebody knowledgeable staring at 762faee5a267 doesn't surface somebody I can create a kernel with some more debugging stuff enabled, if somebody tells me what'd work best here. Greetings, Andres Freund