Bug 10986 - Hires timers do not work in 2.6.25.9
Summary: Hires timers do not work in 2.6.25.9
Status: CLOSED DOCUMENTED
Alias: None
Product: Timers
Classification: Unclassified
Component: Interval Timers (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: timers_interval-timers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-26 03:36 UTC by Rus
Modified: 2017-05-05 11:10 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.25.9 SMP
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Boot log (dmesg) (30.99 KB, application/octet-stream)
2008-06-26 03:37 UTC, Rus
Details
/proc/timer_list (3.18 KB, application/octet-stream)
2008-06-26 03:40 UTC, Rus
Details

Description Rus 2008-06-26 03:36:29 UTC
Latest working kernel version: do not know
Earliest failing kernel version: do not know
Distribution: slackware-current
Hardware Environment: Laptop Acer Ferrari 1100 (AMD X2 / ATI SB600 / 4GB RAM)
Software Environment: Plain Linus 2.6.25.9
Problem Description: Systems has HPET timer and LAPIC's, but dmesg contains :

...
Clockevents: could not switch to one-shot mode:<6>Clockevents: could not switch 
to one-shot mode: lapic is not functional.
Could not switch to high resolution mode on CPU 1
 lapic is not functional.
Could not switch to high resolution mode on CPU 0
...

Tried with [no success ] boot option 'clocksource=hpet' - dmesg still complains about 'not functional lapic', even if hpet is explicitly selected as main clock source.
 Can supply any additional info - dmesg is attached.

Steps to reproduce: Boot the kernel
Comment 1 Rus 2008-06-26 03:37:12 UTC
Created attachment 16635 [details]
Boot log (dmesg)
Comment 2 Rus 2008-06-26 03:40:04 UTC
Created attachment 16636 [details]
/proc/timer_list
Comment 3 Thomas Gleixner 2008-06-26 05:12:21 UTC
AMD C1E detected late.  Force timer broadcast.

We can not enable high resolution timers with C1E, as local APIC timers stop in C1E state.

There is a patch pending for .27 which provides support for C1E and highres timers / dynticks.

Thanks,
       tglx
Comment 4 ykzhao 2008-08-13 19:31:46 UTC
Hi, Thomas
   Will you please attach the patch pending for .27 which provides support for C1E and highres timers?
   thanks.
Comment 5 Thomas Gleixner 2008-08-14 04:27:29 UTC
The patch is merged into Linus tree already. It's hard to back port as it depends on other large scale patches.

Note You need to log in before you can comment on or make changes to this bug.