From: Thomas Gleixner <tglx@linutronix.de>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andi Kleen <ak@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>
Subject: Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents
Date: Tue, 25 Sep 2007 15:17:53 +0200 [thread overview]
Message-ID: <1190726273.4035.331.camel@chaos> (raw)
In-Reply-To: <200709251516.58405.rjw@sisk.pl>
On Tue, 2007-09-25 at 15:16 +0200, Rafael J. Wysocki wrote:
> > > There seems to be a history effect in the box, to make things more
> > > "interesting".
> >
> > Did you connect this box to Andrews VAIO during KS ?
>
> No, but it's famous for being interestingly broken nevertheless.
:)
> > > I think the only solid data point so far is that "noapictimer" makes the box
> > > boot.
> >
> > Ok. Can you add "nmi_watchdog=1" to the command line please. This runs
> > through the calibration of APIC, but registers it as a dummy clock
> > source (the PIT must run to make the watchdog work).
> >
> > If it boots, please provide the output of /proc/timer_list
>
> No, it doesn't.
I start to get desperate. Below is a patch, which moves the apic timer
disable check after the calibration routine. Can you please apply on top
of -hrt and add "noapictimer" to the command line ? Does it boot ?
tglx
Index: linux-2.6.23-rc7/arch/x86_64/kernel/apic.c
===================================================================
--- linux-2.6.23-rc7.orig/arch/x86_64/kernel/apic.c 2007-09-24 20:30:00.000000000 +0200
+++ linux-2.6.23-rc7/arch/x86_64/kernel/apic.c 2007-09-25 15:05:32.000000000 +0200
@@ -927,6 +927,7 @@ static void __init calibrate_APIC_clock(
void __init setup_boot_APIC_clock (void)
{
+#if 0
/*
* The local apic timer can be disabled via the kernel commandline.
* Register the lapic timer as a dummy clock event source on SMP
@@ -940,7 +941,7 @@ void __init setup_boot_APIC_clock (void)
setup_APIC_timer();
return;
}
-
+#endif
printk(KERN_INFO "Using local APIC timer interrupts.\n");
calibrate_APIC_clock();
@@ -949,11 +950,13 @@ void __init setup_boot_APIC_clock (void)
* PIT/HPET going. Otherwise register lapic as a dummy
* device.
*/
- if (nmi_watchdog != NMI_IO_APIC)
+ if (!disable_apic_timer && nmi_watchdog != NMI_IO_APIC)
lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY;
+#if 0
else
printk(KERN_WARNING "APIC timer registered as dummy,"
" due to nmi_watchdog=1!\n");
+#endif
setup_APIC_timer();
}
next prev parent reply other threads:[~2007-09-25 13:18 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-23 10:57 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents Rafael J. Wysocki
2007-09-23 19:10 ` Thomas Gleixner
2007-09-23 20:08 ` Rafael J. Wysocki
2007-09-23 19:59 ` Thomas Gleixner
2007-09-23 20:52 ` Rafael J. Wysocki
2007-09-24 8:07 ` Thomas Gleixner
2007-09-24 12:57 ` Rafael J. Wysocki
2007-09-24 13:05 ` Thomas Gleixner
2007-09-24 13:52 ` Rafael J. Wysocki
2007-09-24 14:23 ` Thomas Gleixner
2007-09-24 15:18 ` Rafael J. Wysocki
2007-09-24 16:46 ` Thomas Gleixner
2007-09-24 19:11 ` Rafael J. Wysocki
2007-09-24 19:13 ` Thomas Gleixner
2007-09-25 13:16 ` Rafael J. Wysocki
2007-09-25 13:17 ` Thomas Gleixner [this message]
2007-09-25 20:07 ` Rafael J. Wysocki
2007-09-25 20:46 ` Thomas Gleixner
2007-09-25 21:28 ` Rafael J. Wysocki
2007-09-25 21:24 ` Thomas Gleixner
2007-09-26 15:25 ` Rafael J. Wysocki
2007-09-26 18:51 ` Thomas Gleixner
2007-09-26 19:49 ` Rafael J. Wysocki
2007-09-26 21:00 ` [REGRESSION from 2.6.23-rc8] (was: Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents) Rafael J. Wysocki
2007-09-26 21:34 ` Thomas Gleixner
2007-09-26 22:22 ` Linus Torvalds
2007-09-26 22:35 ` Thomas Gleixner
2007-09-26 23:30 ` [REGRESSION from 2.6.23-rc8] Chuck Ebbert
2007-09-28 15:07 ` Chuck Ebbert
2007-09-28 15:10 ` Thomas Gleixner
2007-09-30 9:58 ` [REGRESSION from 2.6.23-rc8] (was: Re: 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents) Andi Kleen
2007-09-30 14:06 ` Thomas Gleixner
2007-09-30 15:03 ` Andi Kleen
2007-09-26 23:30 ` Rafael J. Wysocki
2007-09-26 23:21 ` Thomas Gleixner
2007-09-27 15:58 ` Rafael J. Wysocki
2007-09-30 9:52 ` Andi Kleen
[not found] <20070925101418.68d30a72@localhost>
2007-09-25 8:07 ` 2.6.23-rc4-mm1 and -rc6-mm1: boot failure on HP nx6325, related to clockevents Thomas Gleixner
2007-09-25 9:30 ` Thomas Gleixner
2007-09-25 12:20 ` Rafael J. Wysocki
2007-09-25 12:28 ` Thomas Gleixner
2007-09-25 12:52 ` Rafael J. Wysocki
2007-09-25 13:15 ` Rafael J. Wysocki
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=1190726273.4035.331.camel@chaos \
--to=tglx@linutronix.de \
--cc=ak@suse.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rjw@sisk.pl \
/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