Re: [asterisk-users] OT - How to check HPET is on and working before installing Asterisk ?
2008/4/11, Godwin Stewart Horwich IT Services <[EMAIL PROTECTED]>: > > On Fri, 11 Apr 2008 14:32:36 +0200, Olivier <[EMAIL PROTECTED]> wrote: > > > So my question remains : > > how can I be certain HPET is included and enabled without messing with > > zaptel and subsequent operations ? > > > HPET is part of the Linux kernel. "Messing with zaptel and subsequent > operations" is not going to get it working. If none of the tests I > described reveal it then it is not included in your kernel and you need to > build a new one which includes it. You're certainly right. I thought Lenny defaulted with HPET support. Either, this is not true or my hardware doesn't support it or my configuration doesn't enable it. I fished this on Lesswatts.org "*Which chipsets support HPET timers?* If you have an ICH6 or higher chipset, you should be fine. Some support exists on ICH5 chipsets. *How do I know if HPET is really active on my system?* First, HPET must be compiled in the kernel. However, having HPET compiled in the kernel and a hardware chipset supporting HPET doesn't guarantee that HPET is active. You can verify this with the command: grep hpet /proc/timer_list If this doesn't show the word "hpet" then it's not active. The BIOS may hide this functionality as well. You should try the force-enable HPET patch from http://linuxpowertop.org/known.php."; I tried it but it doesn't show anything such as "HPET is disabled" or "Your hardware can't support HPET". Though this raises several questions (mainly, "Why is HPET no enabled ?"), I've got the answer to my initial question ("grep hpet /proc/timer_list"). Thank you very much. -- > > Godwin Stewart - Horwich IT services > > > ___ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] OT - How to check HPET is on and working before installing Asterisk ?
On Fri, 11 Apr 2008 14:32:36 +0200, Olivier <[EMAIL PROTECTED]> wrote: > So my question remains : > how can I be certain HPET is included and enabled without messing with > zaptel and subsequent operations ? HPET is part of the Linux kernel. "Messing with zaptel and subsequent operations" is not going to get it working. If none of the tests I described reveal it then it is not included in your kernel and you need to build a new one which includes it. -- Godwin Stewart - Horwich IT services ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] OT - How to check HPET is on and working before installing Asterisk ?
2008/4/11, Godwin Stewart Horwich IT Services <[EMAIL PROTECTED]>: > > On Fri, 11 Apr 2008 08:40:20 +0200, Olivier <[EMAIL PROTECTED]> 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 I don't have any config.gz file in proc/ (nor any other directory), at the moment 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 I installed a plain Debian Lenny linux so I don't have headers nor sources installed. I choose Lenny because I hoped it included and configured HPET, by default. 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 I can't see any hpet string within /proc/timer_list file. HPET showing up as not working means a kernel rebuild. > > -- > Godwin Stewart - Horwich IT services So my question remains : how can I be certain HPET is included and enabled without messing with zaptel and subsequent operations ? Sure, next step will be to install Asterisk and Zaptel, but at this point of my installation process, I would like to check HPET without going any further. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [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 <[EMAIL PROTECTED]> 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 Most people build Zaptel as a module. Thus the above two will not show. -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] OT - How to check HPET is on and working before installing Asterisk ?
On Fri, 11 Apr 2008 08:40:20 +0200, Olivier <[EMAIL PROTECTED]> 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 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[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 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users