Olivier
2008-Apr-11 06:40 UTC
[asterisk-users] OT - How to check HPET is on and working before installing Asterisk ?
Hi, I would like to improve our installation process. One of my requirement is to enable High Precision Event Timer support. I'm working with Debian Lenny which is now 2.6.24-based. Before installating Asterisk, zaptel and so on (and independently of those), I would like to check HPET is on and working. I ggogled and couldn't find anything useful on this. Do you have any clue ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080411/3ca48ee7/attachment.htm
Horwich IT Services (Godwin Stewart)
2008-Apr-11 07:47 UTC
[asterisk-users] OT - How to check HPET is on and working before installing Asterisk ?
On Fri, 11 Apr 2008 08:40:20 +0200, Olivier <oza-4h07 at myamail.com> wrote:> Before installating Asterisk, zaptel and so on (and independently of > those), I would like to check HPET is on and working.$ zgrep HPET /proc/config.gz CONFIG_HPET_TIMER=y CONFIG_HPET=y CONFIG_HPET_RTC_IRQ=y CONFIG_HPET_MMAP=y Or, if your config is not exposed under /proc, then this: $ grep HPET /usr/src/linux/.config CONFIG_HPET_TIMER=y CONFIG_HPET=y CONFIG_HPET_RTC_IRQ=y CONFIG_HPET_MMAP=y As a last resort, if the kernel's config is available under /proc and you don't have the kernel source installed: $ grep hpet /proc/timer_list Clock Event Device: hpet set_next_event: hpet_legacy_next_event set_mode: hpet_legacy_set_mode HPET showing up as not working means a kernel rebuild. -- Godwin Stewart - Horwich IT services
Tzafrir Cohen
2008-Apr-11 11:08 UTC
[asterisk-users] OT - How to check HPET is on and working before installing Asterisk ?
On Fri, Apr 11, 2008 at 08:47:16AM +0100, Horwich IT Services wrote:> On Fri, 11 Apr 2008 08:40:20 +0200, Olivier <oza-4h07 at myamail.com> wrote: > > > Before installating Asterisk, zaptel and so on (and independently of > > those), I would like to check HPET is on and working. > > $ zgrep HPET /proc/config.gz > CONFIG_HPET_TIMER=y > CONFIG_HPET=y > CONFIG_HPET_RTC_IRQ=y > CONFIG_HPET_MMAP=y > > Or, if your config is not exposed under /proc, then this: > > $ grep HPET /usr/src/linux/.config > CONFIG_HPET_TIMER=y > CONFIG_HPET=y > CONFIG_HPET_RTC_IRQ=y > CONFIG_HPET_MMAP=yMost people build Zaptel as a module. Thus the above two will not show. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir