From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758586Ab1LOCXR (ORCPT ); Wed, 14 Dec 2011 21:23:17 -0500 Received: from e23smtp03.au.ibm.com ([202.81.31.145]:36618 "EHLO e23smtp03.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758446Ab1LOCXP convert rfc822-to-8bit (ORCPT ); Wed, 14 Dec 2011 21:23:15 -0500 From: Nikunj A Dadhania To: Yinghai Lu , Thomas Gleixner Cc: Ingo Molnar , LKML , x86@kernel.org Subject: Re: Latest tip kernel(3.2-rc1-tip_cf6b3899) fails to boot on x3850x5 machine In-Reply-To: References: <87ehw7ig2v.fsf@abhimanyu.in.ibm.com> User-Agent: Notmuch/0.10.2+70~gf0e0053 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-redhat-linux-gnu) Date: Thu, 15 Dec 2011 07:54:18 +0530 Message-ID: <87y5ueo9m5.fsf@abhimanyu.in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT x-cbid: 11121416-6102-0000-0000-0000006847D6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Dec 2011 12:35:35 -0800, Yinghai Lu wrote: > On Wed, Dec 14, 2011 at 12:17 PM, Thomas Gleixner wrote: > > On Wed, 14 Dec 2011, Thomas Gleixner wrote: > > > >> On Wed, 14 Dec 2011, Nikunj A Dadhania wrote: > >> > >> > Hi, > >> > > >> > I was trying the latest tip kernel and I am seeing the following > >> > message. After some more logs the machine does not proceed. > >> > > >> > ------------[ cut here ]------------ > >> > WARNING: at kernel/time/clockevents.c:47 clockevent_delta2ns+0x79/0x90() > >> > >> Ok, that's caused by stupidity in the apic timer code. Fix > >> below. Note, that patch wont fix the boot problem. It just prevents > >> the warning. > >> > >> > Hardware name: System x3850 X5 -[71455RQ]- > >> > Modules linked in: > >> > Pid: 1, comm: swapper/0 Not tainted 3.2.0-rc4-tip #3 > >> > Call Trace: > >> >  [] warn_slowpath_common+0x7f/0xc0 > >> >  [] warn_slowpath_null+0x1a/0x20 > >> >  [] clockevent_delta2ns+0x79/0x90 > >> >  [] calibrate_APIC_clock+0x16e/0x377 > >> >  [] setup_boot_APIC_clock+0x59/0x7e > >> >  [] native_smp_prepare_cpus+0x1f1/0x205 > >> >  [] kernel_init+0x1b6/0x29a > >> >  [] kernel_thread_helper+0x4/0x10 > >> >  [] ? parse_early_options+0x20/0x20 > >> >  [] ? gs_change+0x13/0x13 > >> > ---[ end trace a7919e7f17c0a725 ]--- > >> > APIC frequency too slow, disabling apic timer > >> > >> Ouch. This is really bad. > >> > >> > Performance Events: PEBS fmt1+, Nehalem events, Intel PMU driver. > >> > CPU erratum AAJ80 worked around > >> > CPUID marked event: 'bus cycles' unavailable > >> > ... version:                3 > >> > ... bit width:              48 > >> > ... generic registers:      4 > >> > ... value mask:             0000ffffffffffff > >> > ... max period:             000000007fffffff > >> > ... fixed-purpose events:   3 > >> > ... event mask:             000000070000000f > >> > NMI watchdog enabled, takes one hw-pmu counter. > >> > Booting Node   0, Processors  #1 > >> > APIC never delivered??? > >> > APIC delivery error (ef). > >> >  #2 > > > > What's worse is that this problem exists on 3.2-rc5 as > > well. Investigating. > > > BIOS pre-enabled x2apic, and kernel config does not have x2apic enabled? make oldconfig somehow skipped this!! I can see my previous kernel config having this enabled. Regards Nikunj