linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ye Xiaolong <xiaolong.ye@intel.com>
To: Thomas Garnier <thgarnie@google.com>
Cc: "Ingo Molnar" <mingo@kernel.org>,
	"Alexander Potapenko" <glider@google.com>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	"Andrey Ryabinin" <aryabinin@virtuozzo.com>,
	"Andy Lutomirski" <luto@kernel.org>,
	"Ard Biesheuvel" <ard.biesheuvel@linaro.org>,
	"Boris Ostrovsky" <boris.ostrovsky@oracle.com>,
	"Borislav Petkov" <bp@suse.de>,
	"Chris Wilson" <chris@chris-wilson.co.uk>,
	"Christian Borntraeger" <borntraeger@de.ibm.com>,
	"Dmitry Vyukov" <dvyukov@google.com>,
	"Frederic Weisbecker" <fweisbec@gmail.com>,
	"Jiri Kosina" <jikos@kernel.org>,
	"Joerg Roedel" <joro@8bytes.org>,
	"Jonathan Corbet" <corbet@lwn.net>,
	"Josh Poimboeuf" <jpoimboe@redhat.com>,
	"Juergen Gross" <jgross@suse.com>,
	"Kees Cook" <keescook@chromium.org>,
	"Len Brown" <len.brown@intel.com>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Lorenzo Stoakes" <lstoakes@gmail.com>,
	"Luis R . Rodriguez" <mcgrof@kernel.org>,
	"Matt Fleming" <matt@codeblueprint.co.uk>,
	"Michal Hocko" <mhocko@suse.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Paul Gortmaker" <paul.gortmaker@windriver.com>,
	"Pavel Machek" <pavel@ucw.cz>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Radim Krčmář" <rkrcmar@redhat.com>,
	"Rafael J . Wysocki" <rjw@rjwysocki.net>,
	"Rusty Russell" <rusty@rustcorp.com.au>,
	"Stanislaw Gruszka" <sgruszka@redhat.com>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Tim Chen" <tim.c.chen@linux.intel.com>,
	"Vitaly Kuznetsov" <vkuznets@redhat.com>,
	zijun_hu <zijun_hu@htc.com>, LKML <linux-kernel@vger.kernel.org>,
	"H. Peter Anvin" <hpa@zytor.com>,
	tipbuild@zytor.com, LKP <lkp@01.org>
Subject: Re: [x86] 45fc8757d1: BUG:unable_to_handle_kernel
Date: Mon, 20 Mar 2017 09:40:30 +0800	[thread overview]
Message-ID: <20170320014030.GK548@yexl-desktop> (raw)
In-Reply-To: <CAJcbSZHVFhesnkOcegwRF3O_q-NS4fjbLqMd5z_kwXXwzc1CnA@mail.gmail.com>

On 03/17, Thomas Garnier wrote:
>I tried multiple things to repro this crash without success:
> - Used the config on my existing qemu setup (boot fine)
> - Add most of the command-line (boot fine)
> - Try to run the script on a dedicated machine and it seems it is
>really tailored for your setup. I had errors with usernames and cpio
>crashing.

Could you paste the error log?
I suspect it was caused by job-script saved as dos format, you may try
`dos2unix job-script` before "lkp qemu" to see whether it works.

Thanks,
Xiaolong
>
>Any additional information you could share? (RIP -> function name,
>callstack etc..?)
>
>Thanks,
>
>On Fri, Mar 17, 2017 at 4:59 AM, kernel test robot
><xiaolong.ye@intel.com> wrote:
>>
>> FYI, we noticed the following commit:
>>
>> commit: 45fc8757d1d2128e342b4e7ef39adedf7752faac ("x86: Make the GDT remapping read-only on 64-bit")
>> https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git x86/mm
>>
>> in testcase: boot
>>
>> on test machine: qemu-system-x86_64 -enable-kvm -m 420M
>>
>> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
>>
>>
>> +------------------------------------------+------------+------------+
>> |                                          | 69218e4799 | 45fc8757d1 |
>> +------------------------------------------+------------+------------+
>> | boot_successes                           | 8          | 2          |
>> | boot_failures                            | 0          | 11         |
>> | BUG:unable_to_handle_kernel              | 0          | 11         |
>> | Oops:#[##]                               | 0          | 11         |
>> | Kernel_panic-not_syncing:Fatal_exception | 0          | 11         |
>> +------------------------------------------+------------+------------+
>>
>>
>>
>> [    4.347219] BUG: unable to handle kernel paging request at ffffffffff577060
>> [    4.349770] IP: 0xf77e91ed
>> [    4.351365] PGD 1e0c067
>> [    4.351366] P4D 1e0c067
>> [    4.352885] PUD 1e0e067
>> [    4.354421] PMD 1e0f067
>> [    4.355947] PTE 800000000be09161
>> [    4.357457]
>> [    4.360480] Oops: 0003 [#1] SMP
>> [    4.362150] Modules linked in:
>> [    4.363816] CPU: 0 PID: 1 Comm: init Not tainted 4.11.0-rc2-00014-g45fc875 #15
>> [    4.367207] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
>> [    4.371277] task: ffff88000b9a8000 task.stack: ffffc900000d0000
>> [    4.373550] RIP: 0023:0xf77e91ed
>> [    4.375284] RSP: 002b:00000000ffed034c EFLAGS: 00010246
>> [    4.377409] RAX: 0000000000000063 RBX: 00000000f77edff0 RCX: 00000000ffed034c
>> [    4.379996] RDX: 00000000f77e1690 RSI: 00000000f77ee094 RDI: 000000000000000c
>> [    4.382588] RBP: 00000000ffed0368 R08: 0000000000000000 R09: 0000000000000000
>> [    4.385136] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
>> [    4.387709] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
>> [    4.390289] FS:  0000000000000000(0000) GS:ffff88000be00000(0000) knlGS:0000000000000000
>> [    4.393870] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
>> [    4.396131] CR2: ffffffffff577060 CR3: 0000000019d08000 CR4: 00000000000006f0
>> [    4.398696] RIP: 0xf77e91ed RSP: 00000000ffed034c
>> [    4.400716] CR2: ffffffffff577060
>> [    4.402425] ---[ end trace 35060e6ad8052d5b ]---
>>
>>
>> To reproduce:
>>
>>         git clone https://github.com/01org/lkp-tests.git
>>         cd lkp-tests
>>         bin/lkp qemu -k <bzImage> job-script  # job-script is attached in this email
>>
>>
>>
>> Thanks,
>> Kernel Test Robot
>
>
>
>-- 
>Thomas

  reply	other threads:[~2017-03-20  1:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-17 11:59 [x86] 45fc8757d1: BUG:unable_to_handle_kernel kernel test robot
2017-03-17 17:41 ` Thomas Garnier
2017-03-20  1:40   ` Ye Xiaolong [this message]
2017-03-21 16:11     ` Thomas Garnier
2017-03-17 17:49 ` Linus Torvalds
2017-03-17 18:00   ` Linus Torvalds
2017-03-17 18:07     ` Linus Torvalds
2017-03-17 18:20       ` Andy Lutomirski
2017-03-17 19:36         ` Linus Torvalds
2017-03-17 20:18           ` Andy Lutomirski
2017-03-17 21:10             ` Linus Torvalds

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=20170320014030.GK548@yexl-desktop \
    --to=xiaolong.ye@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=aryabinin@virtuozzo.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=borntraeger@de.ibm.com \
    --cc=bp@suse.de \
    --cc=chris@chris-wilson.co.uk \
    --cc=corbet@lwn.net \
    --cc=dvyukov@google.com \
    --cc=fweisbec@gmail.com \
    --cc=glider@google.com \
    --cc=hpa@zytor.com \
    --cc=jgross@suse.com \
    --cc=jikos@kernel.org \
    --cc=joro@8bytes.org \
    --cc=jpoimboe@redhat.com \
    --cc=keescook@chromium.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@01.org \
    --cc=lstoakes@gmail.com \
    --cc=luto@kernel.org \
    --cc=matt@codeblueprint.co.uk \
    --cc=mcgrof@kernel.org \
    --cc=mhocko@suse.com \
    --cc=mingo@kernel.org \
    --cc=paul.gortmaker@windriver.com \
    --cc=pavel@ucw.cz \
    --cc=pbonzini@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rjw@rjwysocki.net \
    --cc=rkrcmar@redhat.com \
    --cc=rusty@rustcorp.com.au \
    --cc=sgruszka@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=thgarnie@google.com \
    --cc=tim.c.chen@linux.intel.com \
    --cc=tipbuild@zytor.com \
    --cc=torvalds@linux-foundation.org \
    --cc=vkuznets@redhat.com \
    --cc=zijun_hu@htc.com \
    /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;
as well as URLs for NNTP newsgroup(s).