How to enable HPET on an 2.6.23.9-rt12 with Intel ICH2

Started by Lampersperger Andreas on Jan 22, 2008 · 6 messages from 3 authors · Last reply Jan 22, 2008

open the first message on its own page

Message details and related content
Hello,

does anyone have a hint how to enable High resolution timers on my
system (with a Intel ICH2 (which has afaik 8254 Timers). Is this
hardware not enough for hr-timers?

Thank's for your help!
Andreas

- On my system, cyclictest reports:

WARNING: High resolution timers not available

- By in my .config there are these entries:

CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_HPET=y
# CONFIG_HPET_RTC_IRQ is not set
CONFIG_HPET_MMAP=y

- /sys/devices/system/clocksource/clocksource0/available_clocksource
tells:

tsc pit jiffies

- /proc/timer_list tells: 

Timer List Version: v0.3
HRTIMER_MAX_CLOCK_BASES: 2
now at 264765646460 nsecs

cpu: 0
 clock 0:
  .index:      0
  .resolution: 999848 nsecs
  .get_time:   ktime_get_real
  .offset:     0 nsecs
active timers:
 clock 1:

332 more lines

Message details and related content
* Lampersperger Andreas [off-list ref] [2008-01-22 12:09:42]:
Hello,

does anyone have a hint how to enable High resolution timers on my
system (with a Intel ICH2 (which has afaik 8254 Timers). Is this
hardware not enough for hr-timers?
Check your BIOS settings.
If your h/w supports HPET, there should be an option in the BIOS to turn it on.

<snip>
-- 
Cheers,
Chirag Jog
Message details and related content
No, there is no BIOS option which indicates HPET support. But the
BIOS on my system is IMHO very very bad. It knows nothing about the
features on the board. Is ist crucial to have here BIOS support? Or
can these features be enabled by e.g. boot parameters?
 

-----Ursprüngliche Nachricht-----
Von: Chirag Jog [mailto:chirag@linux.vnet.ibm.com] 
Gesendet: Dienstag, 22. Januar 2008 12:55
An: Lampersperger Andreas
Cc: <redacted>
Betreff: Re: How to enable HPET on an 2.6.23.9-rt12 with Intel ICH2

* Lampersperger Andreas [off-list ref] [2008-01-22 12:09:42]:
Hello,

does anyone have a hint how to enable High resolution timers on my 
system (with a Intel ICH2 (which has afaik 8254 Timers). Is this 
hardware not enough for hr-timers?
Check your BIOS settings.
If your h/w supports HPET, there should be an option in the BIOS to turn it on.

<snip>
--
Cheers,
Chirag Jog


-------------------------------------------------------------------------------------------------------
Registergericht: Traunstein / Code of Register HRB 275 Sitz / Head Office: Traunreut
Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard
Geschaeftsfuehrung / Managing Director: Thomas Sesselmann
Message details and related content
* Lampersperger Andreas [off-list ref] [2008-01-22 13:14:40]:
No, there is no BIOS option which indicates HPET support. But the
BIOS on my system is IMHO very very bad. It knows nothing about the
features on the board. Is ist crucial to have here BIOS support? Or
can these features be enabled by e.g. boot parameters?
Hi,
afaik, there needs to be h/w support enabled [via bios] as hpet is a hardware feature.
Without h/w enablement, the kernel can't do much.


-----Ursprüngliche Nachricht-----
Von: Chirag Jog [mailto:chirag@linux.vnet.ibm.com] 
Gesendet: Dienstag, 22. Januar 2008 12:55
An: Lampersperger Andreas
Cc: <redacted>
Betreff: Re: How to enable HPET on an 2.6.23.9-rt12 with Intel ICH2

* Lampersperger Andreas [off-list ref] [2008-01-22 12:09:42]:
quoted
Hello,

does anyone have a hint how to enable High resolution timers on my 
system (with a Intel ICH2 (which has afaik 8254 Timers). Is this 
hardware not enough for hr-timers?
Check your BIOS settings.
If your h/w supports HPET, there should be an option in the BIOS to turn it on.

<snip>
--
Cheers,
Chirag Jog


-------------------------------------------------------------------------------------------------------
Registergericht: Traunstein / Code of Register HRB 275 Sitz / Head Office: Traunreut
Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard
Geschaeftsfuehrung / Managing Director: Thomas Sesselmann
-- 
Cheers,
Chirag Jog
Message details and related content
quoted
quoted
On Tue, Jan 22, 2008 at  7:14 AM, in message
[off-list ref],
"Lampersperger Andreas" [off-list ref] wrote: 
No, there is no BIOS option which indicates HPET support. But the
BIOS on my system is IMHO very very bad. It knows nothing about the
features on the board. Is ist crucial to have here BIOS support? Or
can these features be enabled by e.g. boot parameters?
I had a similar problem once.  It turned out that "nmi_watchdog=1" in the kernel-args disables HPET such that you will see that warning from cyclictest.  Not sure if you have a similar setup, but perhaps this info will help.

-Greg  
Message details and related content
Hello Greg,

no I haven't a similar setup or an nmi_watchdog parameter.

The basic question for me is:

What preferences in hardware must be met, to have HR-Timers enabled?

My board has an Intel Chipset FW82801E (C-ICH) with Intel Celeron
400Mhz.
Can I get hr-timers working with that chipset?

And tue to the boot-message 
ACPI: Unable to load the System Description Tables
I guess, that there is a very bad ACPI implementation in that BIOS,
which
is maybe the only reason for not working hr-timers.

Thank your for any further comments.
Andreas
I had a similar problem once.  It turned out that "nmi_watchdog=1" 
in the kernel-args disables HPET such that you will see that 
warning from cyclictest.  Not sure if you have a similar 
setup, but perhaps this info will help.
-Greg  


-------------------------------------------------------------------------------------------------------
Registergericht: Traunstein / Code of Register HRB 275 Sitz / Head Office: Traunreut
Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard
Geschaeftsfuehrung / Managing Director: Thomas Sesselmann
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help