Re: HPET timer broken using 2.6.23.13 / nanosleep() hangs

Thomas Gleixner
2008-01-16T14:32:19Z

On Wed, 16 Jan 2008, Thomas Gleixner wrote:

> On Sun, 13 Jan 2008, Dhaval Giani wrote:
> > On Sun, Jan 13, 2008 at 08:10:46AM -0500, Andrew Paprocki wrote:
> > > I applied the patch to my 2.6.23.13 tree and upon reboot it stopped right after:
> > >
> > > Clocksource tsc unstable (delta = ... ns)
> > > Time: hpet clocksource has been installed.
> > >
> > > It locked up hard.. cursor stopped blinking and SysRq isn't working either.
>
> The hint is in the original report:
>
> Clocksource tsc unstable (delta = 500013666 ns)
>
> That means, that the TSC was counting, but HPET not. So it looks like
> the HPET readout is stale. Which explains, why after switching to HPET
> clocksource the time system gets hosed.
>
> I wonder why the HPET counter works check did not catch this.
>
> Can you please apply the path below and provide the output ?

Oh. Stupid me. This is 2.6.23. So the patch won't apply.

Andrew, can you please check, whether 2.6.24-rc8 works on your machine ?

I look into a backport fix for 2.6.23 later.

Thanks,
tglx