VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
g.stewart at horwits.c... Guest
|
Posted: Fri Apr 11, 2008 2:47 am Post subject: [asterisk-users] OT - How to check HPET is on and working be |
|
|
On Fri, 11 Apr 2008 08:40:20 +0200, Olivier <oza-4h07 at myamail.com> wrote:
Quote: | 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 |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Fri Apr 11, 2008 6:08 am Post subject: [asterisk-users] OT - How to check HPET is on and working be |
|
|
On Fri, Apr 11, 2008 at 08:47:16AM +0100, Horwich IT Services wrote:
Quote: | On Fri, 11 Apr 2008 08:40:20 +0200, Olivier <oza-4h07 at myamail.com> wrote:
Quote: | 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: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 |
|
Back to top |
|
|
oza-4h07 at myamail.com Guest
|
Posted: Fri Apr 11, 2008 7:32 am Post subject: [asterisk-users] OT - How to check HPET is on and working be |
|
|
2008/4/11, Godwin Stewart Horwich IT Services <g.stewart at horwits.co.uk>:
Quote: |
On Fri, 11 Apr 2008 08:40:20 +0200, Olivier <oza-4h07 at myamail.com> wrote:
Quote: | 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:
Quote: |
$ 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
Quote: | 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.
Quote: |
--
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080411/a1d43b58/attachment.htm |
|
Back to top |
|
|
g.stewart at horwits.c... Guest
|
Posted: Fri Apr 11, 2008 8:10 am Post subject: [asterisk-users] OT - How to check HPET is on and working be |
|
|
On Fri, 11 Apr 2008 14:32:36 +0200, Olivier <oza-4h07 at myamail.com> wrote:
Quote: | 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 |
|
Back to top |
|
|
oza-4h07 at myamail.com Guest
|
Posted: Fri Apr 11, 2008 8:46 am Post subject: [asterisk-users] OT - How to check HPET is on and working be |
|
|
2008/4/11, Godwin Stewart Horwich IT Services <g.stewart at horwits.co.uk>:
Quote: |
On Fri, 11 Apr 2008 14:32:36 +0200, Olivier <oza-4h07 at myamail.com> wrote:
Quote: | 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.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080411/9edbafa4/attachment.htm |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|