Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp942993yba; Mon, 1 Apr 2019 21:57:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcMlAHrqsfffQyH2YhxEKpTKrRswrPX0aS4YBLS9UyWyOSXjg0Cxf32LGdcbvP2+oCkyre X-Received: by 2002:a63:d854:: with SMTP id k20mr65583933pgj.107.1554181048847; Mon, 01 Apr 2019 21:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554181048; cv=none; d=google.com; s=arc-20160816; b=BKzgpVRHa16CPH9Wtt4tAqM5lnY7V6MzoGlrsDIQ8Rxj3pSzWggZX60H3oCzeYcmMV rGPteR/WTzkbgs3j9ZpiFnNB+u+rBbbC2KebtXaExTtp3JARIJT7tvr2a5kxm8BlLrKu SyQ6ZzmrsHAPQlhM4SnH5OgFTrXzzChVNKrR3O+7I3jetfWrY+KQHDovOoG45kezYqLd mJyrFE1Wrn5Rfu28olK5j3YwWSdIsnB23R+VgdHlbtYScT5s4CIsMKBzexrr6xNIelmE /+UtYh/Jcr/Nq/D/RkyTliVOk9xuJ4dyaHNoHqow7bECHBk6WQmlMB0a+qP5T/sIz/RA bveQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:to:subject; bh=avsz/q2zX/fwcj8vYNoBbVPYNgP9lSarkAqa/iFw4hg=; b=EpBJ+LktwXns27Pn4goQRLlba7JBKBWW3r7i64V46aAg4zNMXkaXHHH0kuV0K62e8D R1PGwfFo9t7H9EFC080/smmWpVdAFytk9mB7fWfS1sGoklyiLNzcpQPIqAEwZus6kfR+ dmSE1jAgK5AeXDGbc75LEAvmsWRxtaZsuRWsyhxFoXUw7EEBdHIwI+qGldcN3dBvYCW9 J1UBPRU2MG6ZWR6zW5JYQyd1R+xaSl0GzJaIy4dwbGZjL7VNa2Obp18r+rAjcLAssPIc u2y2Pwwy7307tADeeNlmDZcbUXQCrDWA2uBOOrMlnm+jxCyHAbqhLCs7PWCJMdl/XrDg mj6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p8si10237619plq.225.2019.04.01.21.57.12; Mon, 01 Apr 2019 21:57:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727447AbfDBEzL (ORCPT + 99 others); Tue, 2 Apr 2019 00:55:11 -0400 Received: from mx2.suse.de ([195.135.220.15]:37370 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725778AbfDBEzK (ORCPT ); Tue, 2 Apr 2019 00:55:10 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 9AE0EACC8; Tue, 2 Apr 2019 04:55:07 +0000 (UTC) Subject: Re: [LKP] [btrfs] 70d28b0e4f: BUG:kernel_reboot-without-warning_in_early-boot_stage, last_printk:Probing_EDD(edd=off_to_disable)...ok To: Rong Chen , dsterba@suse.cz, Nikolay Borisov , lkp@01.org, Stephen Rothwell , Yoon Jungyeon , Johannes Thumshirn , LKML References: <20190401132427.GC9217@shao2-debian> <7a6c000e-c523-382a-d13c-790809260e4e@intel.com> <5b82b026-bdd7-f781-e661-f1afdc9cb97b@suse.de> <23823210-1951-0492-1755-6263ccf388fa@intel.com> <20190401154044.GX29086@suse.cz> From: Qu Wenruo Openpgp: preference=signencrypt Autocrypt: addr=wqu@suse.de; prefer-encrypt=mutual; keydata= mQENBFnVga8BCACyhFP3ExcTIuB73jDIBA/vSoYcTyysFQzPvez64TUSCv1SgXEByR7fju3o 8RfaWuHCnkkea5luuTZMqfgTXrun2dqNVYDNOV6RIVrc4YuG20yhC1epnV55fJCThqij0MRL 1NxPKXIlEdHvN0Kov3CtWA+R1iNN0RCeVun7rmOrrjBK573aWC5sgP7YsBOLK79H3tmUtz6b 9Imuj0ZyEsa76Xg9PX9Hn2myKj1hfWGS+5og9Va4hrwQC8ipjXik6NKR5GDV+hOZkktU81G5 gkQtGB9jOAYRs86QG/b7PtIlbd3+pppT0gaS+wvwMs8cuNG+Pu6KO1oC4jgdseFLu7NpABEB AAG0F1F1IFdlbnJ1byA8d3F1QHN1c2UuZGU+iQFUBBMBCAA+AhsDBQsJCAcCBhUICQoLAgQW AgMBAh4BAheAFiEELd9y5aWlW6idqkLhwj2R86El/qgFAlnVgp0FCQlmAm4ACgkQwj2R86El /qilmgf/cUq9kFQo577ku5gc6rFpVg68ublBwjYpwjw0b//xo+Wo1wm+RRbUGs+djSZAqw12 D4F3r0mBTI7abUCNWAbFkYZSAIFVi0DMkjypIVS7PSaEt04rM9VBTToE+YqU6WENeJ57R2p2 +hI0wZrBwxObdsdaOtxWtsp3bmhIbdqxSKrtXuRawy4KnQYcLuGzOce9okdlbAE0W3KHm1gQ oNAe6FX8nC9qo14m8LqEbThYH+qj4iCMlN8HIfbSx4F3e7nHZ+UAMW+E/lnMRkIB9Df+JyVd /NlXzIjZAggcWsqpx6D4wyAuexKWkiGQeUeArUNihAwXjmyqWPGmjVyIh+oC6LkBDQRZ1YGv AQgAqlPrYeBLMv3PAZ75YhQIwH6c4SNcB++hQ9TCT5gIQNw51+SQzkXIGgmzxMIS49cZcE4K Xk/kHw5hieQeQZa60BWVRNXwoRI4ib8okgDuMkD5Kz1WEyO149+BZ7HD4/yK0VFJGuvDJR8T 7RZwB69uVSLjkuNZZmCmDcDzS0c/SJOg5nkxt1iTtgUETb1wNKV6yR9XzRkrEW/qShChyrS9 fNN8e9c0MQsC4fsyz9Ylx1TOY/IF/c6rqYoEEfwnpdlz0uOM1nA1vK+wdKtXluCa79MdfaeD /dt76Kp/o6CAKLLcjU1Iwnkq1HSrYfY3HZWpvV9g84gPwxwxX0uXquHxLwARAQABiQE8BBgB CAAmFiEELd9y5aWlW6idqkLhwj2R86El/qgFAlnVga8CGwwFCQPCZwAACgkQwj2R86El/qgN 8Qf+M0vM2Idwm5txZZSs+/kSgcPxEwYmxUinnUJGyc0ZWYQXPl0cBetZon9El0naijGzNWvf HxIPB+ZFehk6Otgc78p1a3/xck/s1myFRLrmbbTJNoFiyL25ljcq0J8z5Zp4yuABL2RiLdaZ Pt/jfwjBHwGR+QKp6dD2qMrUWf9b7TFzYDMZXzZ2/eoIgtyjEelNBPrIgOFe24iKMjaGjd97 fJuRcBMHdhUAxvXQF1oRtd83JvYJ5OtwTd8MgkEfl+fo7HwWkuHbzc70L4fFKv2BowqFdaHy mId1ijGPGr46tuZ5a4cw/zbaPYx6fJ4sK9tSv/6V1QPNUdqml6hm6pfs6A== Message-ID: Date: Tue, 2 Apr 2019 12:55:01 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/4/2 上午11:14, Rong Chen wrote: > > On 4/1/19 11:40 PM, David Sterba wrote: >> On Mon, Apr 01, 2019 at 11:02:37PM +0800,  Chen, Rong A  wrote: >>> On 4/1/2019 10:29 PM, Qu Wenruo wrote: >>>> On 2019/4/1 下午10:02,  Chen, Rong A  wrote: >>>>> On 4/1/2019 9:28 PM, Nikolay Borisov wrote: >>>>>> On 1.04.19 г. 16:24 ч., kernel test robot wrote: >>>>>>> FYI, we noticed the following commit (built with gcc-7): >>>>>>> >>>>>>> commit: 70d28b0e4f8ed2d38571e7b1f9bec7f321a53102 ("btrfs: >>>>>>> tree-checker: Verify dev item") >>>>>>> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git >>>>>>> master >>>>>>> >>>>>>> in testcase: trinity >>>>>>> with following parameters: >>>>>>> >>>>>>>       runtime: 300s >>>>>>> >>>>>>> test-description: Trinity is a linux system call fuzz tester. >>>>>>> test-url: http://codemonkey.org.uk/projects/trinity/ >>>>>>> >>>>>>> >>>>>>> on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge >>>>>>> -smp >>>>>>> 2 -m 2G >>>>>>> >>>>>>> caused below changes (please refer to attached dmesg/kmsg for entire >>>>>>> log/backtrace): >>>>>>> >>>>>>> >>>>>>> +--------------------------------------------------------------------------------------------------------+------------+------------+ >>>>>>> >>>>>>> >>>>>>> | >>>>>>> | 36b9d2bc69 | 70d28b0e4f | >>>>>>> +--------------------------------------------------------------------------------------------------------+------------+------------+ >>>>>>> >>>>>>> >>>>>>> | >>>>>>> boot_successes >>>>>>> | 14         | 0          | >>>>>>> | >>>>>>> boot_failures >>>>>>> | 2          | 14         | >>>>>>> | >>>>>>> IP-Config:Auto-configuration_of_network_failed >>>>>>> | 2          |            | >>>>>>> | >>>>>>> BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk:Probing_EDD(edd=off_to_disable)...ok >>>>>>> >>>>>>> | 0          | 14         | >>>>>>> +--------------------------------------------------------------------------------------------------------+------------+------------+ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> early console in setup code >>>>>>> Probing EDD (edd=off to disable)... ok >>>>>>> BUG: kernel reboot-without-warning in early-boot stage, last printk: >>>>>>> Probing EDD (edd=off to disable)... ok >>>>>>> Linux version 5.0.0-rc8-00196-g70d28b0 #1 >>>>>>> Command line: ip=::::vm-snb-quantal-x86_64-1415::dhcp root=/dev/ram0 >>>>>>> user=lkp >>>>>>> job=/lkp/jobs/scheduled/vm-snb-quantal-x86_64-1415/trinity-300s-quantal-core-x86_64-2018-11-09.cgz-70d28b0-20190330-29362-1y6g0qb-2.yaml >>>>>>> >>>>>>> ARCH=x86_64 kconfig=x86_64-randconfig-s5-03231928 >>>>>>> branch=linux-devel/devel-hourly-2019032317 >>>>>>> commit=70d28b0e4f8ed2d38571e7b1f9bec7f321a53102 >>>>>>> BOOT_IMAGE=/pkg/linux/x86_64-randconfig-s5-03231928/gcc-7/70d28b0e4f8ed2d38571e7b1f9bec7f321a53102/vmlinuz-5.0.0-rc8-00196-g70d28b0 >>>>>>> >>>>>>> max_uptime=1500 >>>>>>> RESULT_ROOT=/result/trinity/300s/vm-snb-quantal-x86_64/quantal-core-x86_64-2018-11-09.cgz/x86_64-randconfig-s5-03231928/gcc-7/70d28b0e4f8ed2d38571e7b1f9bec7f321a53102/8 >>>>>>> >>>>>>> LKP_SERVER=inn debug apic=debug sysrq_always_enabled >>>>>>> rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on >>>>>>> panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic >>>>>>> load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 >>>>>>> systemd.log_level=err ignore_loglevel console=tty0 >>>>>>> earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw >>>>>>> rcuperf.shutdown=0 >>>>>>> >>>>>> Can this report be made useful by actually including output from >>>>>> serial >>>>>> console? For example possible bug-ons or whatnot? dmesg.xz just >>>>>> contains >>>>>> qemu's command line + some metadata about the test and : >>>>>> >>>>>> "BUG: kernel reboot-without-warning in early-boot stage, last printk: >>>>>> Probing EDD (edd=off to disable)... ok" >>>>>> >>>>>> At least a stack trace would have been useful. >>>>>> >>>>>> >>>>> Hi, >>>>> >>>>> We usually use the tool ("bin/lkp qemu -k job-script") to >>>>> reproduce it.  It seems no stack trace in the result: >>>> So there is no regression at that commit right? >>>> >>>> Just some false alert? >>> >>> Hi, >>> >>> I think there's a regression, it stopped in the early-boot stage . >> Can you please provide any logs that would point at btrfs? If the module >> is loaded or built-in started, there's a line about that. Besides that >> it's preceded by messages from other subsystems' initialization. > > > Hi, > > CONFIG_BTRFS_FS and CONFIG_BTRFS_FS_REF_VERIFY is enabled in the kconfig. > I disabled them for the experiment, and the new kernel is bootable. I > don't have more logs to prove it. > > $ grep BTRFS config-5.0.0-rc8-00196-g70d28b0 > CONFIG_BTRFS_FS=y > # CONFIG_BTRFS_FS_POSIX_ACL is not set > # CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set > # CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set > # CONFIG_BTRFS_DEBUG is not set > # CONFIG_BTRFS_ASSERT is not set > CONFIG_BTRFS_FS_REF_VERIFY=y With the same BTRFS config, on v5.1.0-rc2+ (David's misc-next) branch, which has the so-called "regression" commit, it booted without any problem. So I really hope we could get some useful kernel message, either to determine what's wrong with btrfs or what's wrong with the test framework. Thanks, Qu > > > Best Regards, > Rong Chen > > >> _______________________________________________ >> LKP mailing list >> LKP@lists.01.org >> https://lists.01.org/mailman/listinfo/lkp