Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1381180pxb; Thu, 4 Mar 2021 09:51:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGl1onMvxLrav12K8cvFkAAtIasAB/ixqj86Wq59rOTqRx5jTgHjEQVYcuk0lL0LIrQLSs X-Received: by 2002:a17:906:2314:: with SMTP id l20mr5694004eja.178.1614880274118; Thu, 04 Mar 2021 09:51:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614880274; cv=none; d=google.com; s=arc-20160816; b=JOcIjomJcP9BvCazPG+95QCdtwUtg2g6CYvRNem8OENvIv9igfwufiNPcKpv58d62L CAV2h2/DDTeGntPjLjPFBVGM0K2vbOfBJb004pZYyS20vCuCKYjMQAPXhk028kvEN6cd AKK/1rdhmtsMgB3jtSh3XTKU254kAJKRW6C5+96eVhpnw1BGr1WFa7Zxgs48KlHT5tok F6f6n+fwrpdZljnDjH9mMhWq7L/b2iR4a2YyRlqzT3+jh0IvY5GUvzy405gNVskW6hnY s1YalYE926BymUPqKj0pGbm7+7nKhIArfBaOjgxVK6hziP52wVVoKWem5lMX6PyKUIhY r2rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=Egt7O0hrtmxmw6ied+hJV1grz0SHUeSD2SQDlj862Pk=; b=jB4LbB6kRFaXAllPtyfNHQQVUF8x4Vn16phCEyWRrO+LwFM+7iLXONaLRgqTeypBIz ys6l0f8cPL9VqlM6+0Xs0HT1C4Brg5YUjWFAd45dFK7ZSKpkgh337ClvXGlWEADD9xaJ m2rzHz368FWaUk2How73lULUd2t2+DYg189+zy7ob5JQEeil9T/DC5hAKJszEHXegLrN 4WO7/0FRQk/s10K0Ck7aYXDEZfTonnMWUBEGOIdmG1GXKG1TuyVKYCB4DwrxBhUktxSm b5jH0aMthfyhrI1inQQp3LfGr4J37sPOiZFJuqptpPGKpdKaPBZf2lWNNYkTOqk5aeiN 9Maw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@metztli-com.20150623.gappssmtp.com header.s=20150623 header.b="fUI/6ZYJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x10si18159728ejs.610.2021.03.04.09.50.51; Thu, 04 Mar 2021 09:51:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@metztli-com.20150623.gappssmtp.com header.s=20150623 header.b="fUI/6ZYJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229792AbhCDO54 (ORCPT + 99 others); Thu, 4 Mar 2021 09:57:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229793AbhCDO5e (ORCPT ); Thu, 4 Mar 2021 09:57:34 -0500 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D594C061761 for ; Thu, 4 Mar 2021 06:56:54 -0800 (PST) Received: by mail-ot1-x332.google.com with SMTP id d9so27450838ote.12 for ; Thu, 04 Mar 2021 06:56:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metztli-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :organization:user-agent:mime-version:content-transfer-encoding; bh=Egt7O0hrtmxmw6ied+hJV1grz0SHUeSD2SQDlj862Pk=; b=fUI/6ZYJMWbUFwjm8jmBfNsfDL4299KeFqYaRVzK5VlqyLXiWQm4/KkiD9Z+Aus4TL 0SoZiCvH/Ri7z14bYhnrrgIMuW7Ur1qGeL1MTIBofB8C5SS4PqqPd6vZs8GPNvyI803Y SAsc1nOg4EcGqdnjZ1mWcKrYWvjWjbz0MNuH0rsY3jkH2jQ32elwCupKgkiSKjTnnHuY lCAgnBTLoG/7A07pGFEopN8Bi0hlk1RAyf+7e5rEVh5MwhVNLGs9TfBcGw4fsDuM5LeD o9nCfgnaqlrIy2K/AT2ZicNDCCSh4YB7NRYScdEvRVop5ht+cTAOkkk9Fp87MJI2kvf5 BwGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:organization:user-agent:mime-version :content-transfer-encoding; bh=Egt7O0hrtmxmw6ied+hJV1grz0SHUeSD2SQDlj862Pk=; b=Ep0A9AG8mI9WjMDuLiDNMPk3mpXG9lYaSEYJCnSw26Ahaoj7S6REaLZc9fAKU2Aap+ R1729Fo/hHtLpexnvy2N6vM7QcwPIrdgm35cmR+RJDwjvFmRe8noLi2rhpNqvnj/DC0I WmHxqwNZTjxo+IfUaqqfNjsgEEJcvFFFa527rtDn09DDoD61dAXuQhKqkV5FdBULJfXK QrZrQrtA+9yhDUVy7/z0BYU4pk8G+wSP08NQl/GyEhquqIm1RrOykGOKPjHRQV4p2Oc4 guh/p9aXLpb4D5JPMgPToJ0qrV4vRVVLns0kTCFDxte6DRZWuMCtkc7+0DOpw+vCd/mL SPVA== X-Gm-Message-State: AOAM532s3l4SRAtpAqLqbQr2gtpkCfmke1wbfzOi23wo5kivhY+bCBTp eAEiuIY0dyHYoU3nJKq/zuqoZw== X-Received: by 2002:a05:6830:1afc:: with SMTP id c28mr3734282otd.99.1614869813366; Thu, 04 Mar 2021 06:56:53 -0800 (PST) Received: from ?IPv6:2600:1700:6470:27a0:682c:9aef:c4a9:8393? ([2600:1700:6470:27a0:682c:9aef:c4a9:8393]) by smtp.gmail.com with ESMTPSA id i3sm5834233otk.56.2021.03.04.06.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 06:56:52 -0800 (PST) Message-ID: Subject: Re: unexpected kernel reboot (3) From: Jose R Rodriguez To: Dmitry Vyukov , Andrew Morton Cc: syzbot , Alexey Dobriyan , Gargi Sharma , jhugo@codeaurora.org, Josh Poimboeuf , Laura Abbott , LKML , linux@dominikbrodowski.net, Ingo Molnar , Steven Rostedt , syzkaller-bugs , Thomas Gleixner , thomas.lendacky@amd.com, Paolo Bonzini , Radim =?UTF-8?Q?Kr=C4=8Dm=C3=A1=C5=99?= , KVM list , Jim Mattson , Edward Shishkin Date: Thu, 04 Mar 2021 06:56:50 -0800 In-Reply-To: References: <000000000000eb546f0570e84e90@google.com> <20180713145811.683ffd0043cac26a5a5af725@linux-foundation.org> Organization: Metztli Information Technology Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-07-16 at 12:09 +0200, Dmitry Vyukov wrote: > On Fri, Jul 13, 2018 at 11:58 PM, Andrew Morton > wrote: > > On Fri, 13 Jul 2018 14:39:02 -0700 syzbot < > > syzbot+cce9ef2dd25246f815ee@syzkaller.appspotmail.com> wrote: > > > > > Hello, > > > > > > syzbot found the following crash on: > > > > hm, I don't think I've seen an "unexpected reboot" report before. > > > > Can you expand on specifically what happened here?  Did the machine > > simply magically reboot itself?  Or did an external monitor whack it, > > or... > > We put some user-space workload (not involving reboot syscall), and > the machine suddenly rebooted. We don't know what triggered the > reboot, we only see the consequences. We've seen few such bugs before, > e.g.: > https://syzkaller.appspot.com/bug?id=4f1db8b5e7dfcca55e20931aec0ee707c5cafc99 > Usually it involves KVM. Potentially it's a bug in the outer > kernel/VMM, it may or may not be present in tip kernel. I have been using GCE with my custom VirtualBox -created reiser4 root fs VMs since at least 2018, long term mainly as web servers with LAMP / LEMP -- including some Ruby apps with Postgresql -- and short term to build our Debian Linux kernels. I have not experienced 'suddenly rebooted' scenarios. Note that I have been usin Intel CPUs at the Los Angeles zone us-west2-a, as well as us-east1-b zone, and AMD Epyc CPUs at us-central1-a zone, without abnormalities (other than it's becoming more expensive ;-) As a matter of fact, I am currently testing a Debian'ized reiser4 (AMD Epyc - flavored reizer4 label) -enabled Linux kernel 5.10.15-2 which has logged 17 days +hours already and sustaining most of the apps already mentioned. < https://metztli.it/buster/r4-5.10.15-gce.png > > > > > Does this test distinguish from a kernel which simply locks up? > > Yes. If you look at the log: > > https://syzkaller.appspot.com/x/log.txt?x=17c6a6d0400000 > > We've booted the machine, started running a program, and them boom! it > reboots without any other diagnostics. It's not a hang. > > > > > > HEAD commit:    1e4b044d2251 Linux 4.18-rc4 > > > git tree:       upstream > > > console output: https://syzkaller.appspot.com/x/log.txt?x=17c6a6d0400000 > > > kernel config:  https://syzkaller.appspot.com/x/.config?x=25856fac4e580aa7 > > > dashboard link: > > > https://syzkaller.appspot.com/bug?extid=cce9ef2dd25246f815ee > > > compiler:       gcc (GCC) 8.0.1 20180413 (experimental) > > > syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=165012c2400000 > > > C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1571462c400000 > > > > I assume the "C reproducer" is irrelevant here. > > > > Is it reproducible? > > Yes, it is reproducible and the C reproducer is relevant. > If syzbot provides a reproducer, it means that it booted a clean > machine, run the provided program (nothing else besides typical init > code and ssh/scp invocation) and that's the kernel output it observed > running this exact program. > However in this case, the exact setup can be relevant. syzbot uses GCE > VMs, it may or may not reproduce with other VMMs/physical hardware, > sometimes such bugs depend on exact CPU type. > > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > > Reported-by: syzbot+cce9ef2dd25246f815ee@syzkaller.appspotmail.com > > > > > > output_len: 0x00000000092459b0 > > > kernel_total_size: 0x000000000a505000 > > > trampoline_32bit: 0x000000000009d000 > > > > > > Decompressing Linux... Parsing ELF... done. > > > Booting the kernel. > > > [    0.000000] Linux version 4.18.0-rc4+ (syzkaller@ci) (gcc version 8.0.1 > > > 20180413 (experimental) (GCC)) #138 SMP Mon Jul 9 10:45:11 UTC 2018 > > > [    0.000000] Command line: BOOT_IMAGE=/vmlinuz root=/dev/sda1 > > > console=ttyS0 earlyprintk=serial vsyscall=native rodata=n > > > ftrace_dump_on_oops=orig_cpu oops=panic panic_on_warn=1 nmi_watchdog=panic > > > panic=86400 workqueue.watchdog_thresh=140 kvm-intel.nested=1 > > > > > > ... > > > > > > regulatory database > > > [    4.519364] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' > > > [    4.520839] platform regulatory.0: Direct firmware load for > > > regulatory.db failed with error -2 > > > [    4.522155] cfg80211: failed to load regulatory.db > > > [    4.522185] ALSA device list: > > > [    4.523499]   #0: Dummy 1 > > > [    4.523951]   #1: Loopback 1 > > > [    4.524389]   #2: Virtual MIDI Card 1 > > > [    4.825991] input: ImExPS/2 Generic Explorer Mouse as > > > /devices/platform/i8042/serio1/input/input4 > > > [    4.829533] md: Waiting for all devices to be available before > > > autodetect > > > [    4.830562] md: If you don't use raid, use raid=noautodetect > > > [    4.835237] md: Autodetecting RAID arrays. > > > [    4.835882] md: autorun ... > > > [    4.836364] md: ... autorun DONE. > > > > Can we assume that the failure occurred in or immediately after the MD code, > > or might some output have been truncated? > > > > It would be useful to know what the kernel was initializing immediately > > after MD.  Do you have a kernel log for the same config when the kerenl > > didn't fail?  Or maybe enable initcall_debug? > > > > -- > > You received this message because you are subscribed to the Google Groups > > "syzkaller-bugs" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to syzkaller-bugs+unsubscribe@googlegroups.com. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/syzkaller-bugs/20180713145811.683ffd0043cac26a5a5af725%40linux-foundation.org > > . > > For more options, visit https://groups.google.com/d/optout. (saw your last message of just a couple of hours and...) Hope provided info helps. Best Professional Regards. -- -- Jose R R http://metztli.it ----------------------------------------------------------------------- Download Metztli Reiser4: Debian Buster w/ Linux 5.9.16 AMD64 ----------------------------------------------------------------------- feats ZSTD compression https://sf.net/projects/metztli-reiser4/ ----------------------------------------------------------------------- or SFRN 5.1.3, Metztli Reiser5 https://sf.net/projects/debian-reiser4/ ----------------------------------------------------------------------- Official current Reiser4 resources: https://reiser4.wiki.kernel.org/