From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752962AbcJCV2l (ORCPT ); Mon, 3 Oct 2016 17:28:41 -0400 Received: from one.firstfloor.org ([193.170.194.197]:50399 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500AbcJCV2d (ORCPT ); Mon, 3 Oct 2016 17:28:33 -0400 Date: Mon, 3 Oct 2016 14:28:29 -0700 From: Andi Kleen To: kernel test robot Cc: Andi Kleen , lkp@01.org, hmh@hmh.eng.br, Andi Kleen , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [x86] 811565123a: BUG: kernel hang in early-boot stage, last printk: Probing EDD (edd=off to disable)... ok Message-ID: <20161003212828.GK5871@two.firstfloor.org> References: <57ef269a.XbyeTJaMf4hvWm9O%xiaolong.ye@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57ef269a.XbyeTJaMf4hvWm9O%xiaolong.ye@intel.com> 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 On Sat, Oct 01, 2016 at 10:59:38AM +0800, kernel test robot wrote: > FYI, we noticed the following commit: > > https://github.com/0day-ci/linux Andi-Kleen/x86-Report-Intel-platform_id-in-proc-cpuinfo/20160924-100841 > commit 811565123a194d9cc0b490719bef761e1730dbf4 ("x86: Report Intel platform_id in /proc/cpuinfo") > > in testcase: boot > > on test machine: qemu-system-x86_64 -enable-kvm -m 320M > > caused below changes: I tried to reproduce this, but can't. If I use the config with qemu it boots until it panics for missing root file system. The most likely cause would be the RDMSR failing. Your config doesn't have the Intel microcode driver enabled. With the change the MSR read will be done unconditional (because I moved it to generic x86 code). But that should have worked anyways because when the microcode driver is enabled it would do the same thing. Also KVM supports this MSR, it is in the code for single git has history. So it is puzzling why it is failing. > CONFIG_MICROCODE=y > # CONFIG_MICROCODE_INTEL is not set > CONFIG_MICROCODE_AMD=y > CONFIG_MICROCODE_OLD_INTERFACE=y 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 -Andi