Re: NTP broken with 2.6.14

From: Maciej W. Rozycki
Date: Fri Nov 04 2005 - 07:40:58 EST


On Thu, 3 Nov 2005, john stultz wrote:

> > I compared the dmesg log of the different kernel, but since I don't know
> > what I should find it's a little difficult. There is many differences
> > between each kernels. Despit that, I noticed this difference between the
> > kernel 2.6.9 (ntps working) and the kernel 2.6.10 (ntpd failed):
> >
> > --- linux-2.6.9.txt 2005-11-03 22:49:29.000000000 +0100
> > +++ linux-2.6.10.txt 2005-11-03 22:48:41.000000000 +0100
> > [...snip...]
> > @@ -67,16 +68,12 @@
> > Enabling unmasked SIMD FPU exception support... done.
> > Checking 'hlt' instruction... OK.
> > ENABLING IO-APIC IRQs
> > - vector=0x31 pin1=2 pin2=-1
> > - 8254 timer not connected to IO-APIC
> > - ...trying to set up timer (IRQ0) through the 8259A ... failed.
> > - ...trying to set up timer as Virtual Wire IRQ... failed.
> > - ...trying to set up timer as ExtINT IRQ... works.
> > + vector=0x31 pin1=0 pin2=-1
> > Registered protocol family 16
> > PCI BIOS revision 2.10 entry at 0xfbbb0, last bus=3
> > Using configuration type 1
> > [..snip...]
> >
> > Maybe a way to go ?
>
>
> You might check booting w/ noapic to see if that changes the behaviour
> in 2.6.10.
>
> I know there were some pretty troubling issues w/ the nforce2 early in
> the 2.6 cycle. See
> http://atlas.et.tudelft.nl/verwei90/nforce2/index.html for some details.
>
>
> Maciej: I noticed you had been involved with earlier nforce2 issues.
> Does the above change in the ioapic pin1 value look familiar?

Oh, absolutely -- the timer interrupt line of the nForce2 chipset is
known to suffer from glitches under certain circumstances. As APIC inputs
are truly edge-triggered, if thus configured, unlike ones of 8259A chips
which ignore such interrupts if not handled before deassertion, all
glitches are actually handled as real interrupts leading to a significant
time drift. I've thought nVidia had a workaround for that -- cc-ing their
contact; not sure if still active. I've had a brief look at my archives
and the suggestion was to disable the "Spread Spectrum" option if
available in the firmware setup (not sure what to do if there is none).

Maciej
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/