Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752780AbdCTBl4 (ORCPT ); Sun, 19 Mar 2017 21:41:56 -0400 Received: from mga06.intel.com ([134.134.136.31]:32972 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752131AbdCTBly (ORCPT ); Sun, 19 Mar 2017 21:41:54 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,191,1486454400"; d="scan'208";a="946060696" Date: Mon, 20 Mar 2017 09:40:30 +0800 From: Ye Xiaolong To: Thomas Garnier Cc: Ingo Molnar , Alexander Potapenko , Andrew Morton , Andrey Ryabinin , Andy Lutomirski , Ard Biesheuvel , Boris Ostrovsky , Borislav Petkov , Chris Wilson , Christian Borntraeger , Dmitry Vyukov , Frederic Weisbecker , Jiri Kosina , Joerg Roedel , Jonathan Corbet , Josh Poimboeuf , Juergen Gross , Kees Cook , Len Brown , Linus Torvalds , Lorenzo Stoakes , "Luis R . Rodriguez" , Matt Fleming , Michal Hocko , Paolo Bonzini , Paul Gortmaker , Pavel Machek , Peter Zijlstra , Radim =?utf-8?B?S3LEjW3DocWZ?= , "Rafael J . Wysocki" , Rusty Russell , Stanislaw Gruszka , Thomas Gleixner , Tim Chen , Vitaly Kuznetsov , zijun_hu , LKML , "H. Peter Anvin" , tipbuild@zytor.com, LKP Subject: Re: [x86] 45fc8757d1: BUG:unable_to_handle_kernel Message-ID: <20170320014030.GK548@yexl-desktop> References: <20170317115924.GA82960@inn.lkp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3612 Lines: 90 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 > 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 job-script # job-script is attached in this email >> >> >> >> Thanks, >> Kernel Test Robot > > > >-- >Thomas