linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Li Zhijian <zhijianx.li@intel.com>
To: Filipe Manana <fdmanana@suse.com>, kernel test robot <lkp@intel.com>
Cc: LKP <lkp@lists.01.org>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Andrew Morton <akpm@linux-foundation.org>,
	"Linus, Torvalds," <torvalds@linux-foundation.org>
Subject: Re: [LKP] Re: 28307d938f ("percpu: make pcpu_alloc() aware of current gfp .."): BUG: kernel reboot-without-warning in boot stage
Date: Wed, 3 Jun 2020 11:05:35 +0800	[thread overview]
Message-ID: <1527ee5c-4e2f-7b4a-9ba4-b37d5f7c0258@intel.com> (raw)
In-Reply-To: <0405917f-dc4f-f32c-0aeb-043742fc4d6e@suse.com>



On 6/2/20 8:18 PM, Filipe Manana wrote:
> On 02/06/20 05:37, Li Zhijian wrote:
>> Hi Filipe,
>>
>> LKP checked blow dmesg as the indicator in this problem
>>
>>>> [    0.144174] RAMDISK: [mem 0x7fa2e000-0x7fffffff]
>>>> [    0.144559] ACPI: Early table checksum verification disabled
>>>> [    0.144985] ACPI: RSDP 0x00000000000F5850 000014 (v00 BOCHS )
>>>> [    0.145424] ACPI: RSDT 0x00000000BFFE15C9 000030 (v01 BOCHS
>>>> BXPCRSDT 00000001 BXPC 00000001)
>>>> [    0.146051] ACPI: FACP 0x00000000BFFE149D 000074 (v01 BOCHS
>>>> BXPCFACP 00000001 BXPC 00000001)
>>>> BUG: kernel reboot-without-warning in boot stage
>>>>
>> And i have reproduced it with script in attachment. this issue is gone
>> when i reverted this commit 28307d938f
>>
>> Please note that
>> - i reproduced it with kernel compiled by gcc-5
>> - i failed to reproduce it in kernel compiled by gcc-7 so far
> Odd.

Indeed !

i tested gcc-5 gcc-6 gcc-7, only gcc-5 triggered this issue, kernel 
built with gcc6 and gcc-7 works well

lizhijian@shao2-debian:~$ gcc-6 --version
gcc-6 (Debian 6.5.0-2) 6.5.0 20181026
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

lizhijian@shao2-debian:~$ gcc-5 --version
gcc-5 (Debian 5.5.0-12) 5.5.0 20171010
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

lizhijian@shao2-debian:~$ gcc-7 --version
gcc-7 (Debian 7.5.0-3) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks
Zhijian

> Here I tested with:
>
> $ gcc --version
> gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
> Copyright (C) 2016 Free Software Foundation, Inc.
>



      reply	other threads:[~2020-06-03  3:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29  7:16 kernel test robot
2020-05-29 12:32 ` Filipe Manana
2020-05-30  1:23   ` Philip Li
2020-06-02  4:37   ` [LKP] " Li Zhijian
2020-06-02 12:18     ` Filipe Manana
2020-06-03  3:05       ` Li Zhijian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1527ee5c-4e2f-7b4a-9ba4-b37d5f7c0258@intel.com \
    --to=zhijianx.li@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=fdmanana@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=lkp@lists.01.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox