public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ye Xiaolong <xiaolong.ye@intel.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: x86@kernel.org, lkp@01.org, linux-kernel@vger.kernel.org, hmh@hmh.eng.br
Subject: Re: [LKP] [x86]  811565123a: BUG: kernel hang in early-boot stage, last printk: Probing EDD (edd=off to disable)... ok
Date: Fri, 14 Oct 2016 12:56:00 +0800	[thread overview]
Message-ID: <20161014045600.GA9378@yexl-desktop> (raw)
In-Reply-To: <20161014005305.GB13114@yexl-desktop>

On 10/14, Ye Xiaolong wrote:
>On 10/13, Andi Kleen wrote:
>>Andi Kleen <andi@firstfloor.org> writes:
>>
>>Any comments on this?
>>
>>I still cannot reproduce the failure unfortunately.
>>
>
>Btw, you can try below commands to reproduce the error on your local
>host, they will download the necessary images and run QEMU:
>
>       git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
>       cd lkp-tests
>       bin/lkp qemu -k KERNEL job-script  # job-script is attached in the original report email

Results show this hang may be related to gcc version, with gcc version
4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3), kernel could boot without early
hang, but if kernel was built with gcc version 6.2.0 20160901 (Debian
6.2.0-3), it will stuck in the early stage:

early console in setup code
Probing EDD (edd=off to disable)... ok


gdb output as below:

$ gdb -ex "target remote localhost:1234" vmlinux 
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vmlinux...done.
Remote debugging using localhost:1234
0x048a34d9 in ?? ()
(gdb) bt
#0  0x048a34d9 in ?? ()
#1  0x00000000 in ?? ()
(gdb) 


Thanks,
Xiaolong
>
>Thanks,
>Xiaolong
>>
>>> Could you do two tests for me:
>>>
>>> - Enable CONFIG_MICROCODE_INTEL and see if it boots then
>>>
>>> - Add CONFIG_DEBUG_INFO to the config.
>>> Add -s to the qemu command line and boot again. Then when it hangs 
>>> connect gdb to see where it hangs
>>>
>>> gdb -ex "target remote localhost:1234" vmlinux
>>> bt
>>>
>>> <show output>
>_______________________________________________
>LKP mailing list
>LKP@lists.01.org
>https://lists.01.org/mailman/listinfo/lkp

  reply	other threads:[~2016-10-14  4:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-01  2:59 [x86] 811565123a: BUG: kernel hang in early-boot stage, last printk: Probing EDD (edd=off to disable)... ok kernel test robot
2016-10-03 21:28 ` Andi Kleen
2016-10-13 20:34   ` Andi Kleen
2016-10-14  0:46     ` Ye Xiaolong
2016-10-14  0:53     ` Ye Xiaolong
2016-10-14  4:56       ` Ye Xiaolong [this message]
2016-10-14 20:54         ` [LKP] " Andi Kleen
2016-10-17  1:55           ` Ye Xiaolong

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=20161014045600.GA9378@yexl-desktop \
    --to=xiaolong.ye@intel.com \
    --cc=andi@firstfloor.org \
    --cc=hmh@hmh.eng.br \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=x86@kernel.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