Thorolf Godawa
2008-Aug-20 23:29 UTC
[asterisk-users] Asterisk build-environment in Xen-DomU
Hi, I'm trying to migrate a Asterisk build-environment from a physical to a paravirtualized machine on Xen 3.0 - on this system Asterisk don't need to run at all, it is only for building RPMs. Host OS and guest OS both are CentOS 5.2. The build of Asterisk, Asterisk-addons and Zaptel works, but MeetMe and some other components are not compiled because Zaptel was not installed on the system. It seems not to be possible to install zaptel in a Xen-PV because of the lack of a RTC, so first try was to remove every thing RTC-related in zaptel-1.4.11 but I had no success with that. So I adapted the ztxen-1.4.2-patch to zaptel-1.4.11 and compiled it successfully. I installed asterisk-1.4.20.1, asterisk-addons-1.4.7 and zaptel-1.4.11 on my PV-system and adjusted the zaptel.conf that it only loads the ztxen. lsmod tells me that the module is loaded: Module Size Used by ztxen 7840 0 zaptel 190852 1 ztxen crc_ccitt 6337 1 zaptel But "make menuconfig" -> "1. Applications" still has "XXX 32. app_meetme" which means that that zaptel is missing. If I compile anyway the module apps/app_meetme.so is not created. Any idea how I can resolve this problem? Thanks a lot, -- Chau y hasta luego, Thorolf
David Backeberg
2008-Aug-21 00:18 UTC
[asterisk-users] Asterisk build-environment in Xen-DomU
I don't know exactly how Zen handles emulating clock interrupts. We've done well using Asterisk within VMWare, although we had no need for meetme on those particular machines. There's a lengthy white paper about how VMWare fakes a real clock, which you can find at: vmware.com/pdf/vmware_timekeeping.pdf I wonder if there's a similar document for Xen. On Wed, Aug 20, 2008 at 7:29 PM, Thorolf Godawa <nospam at godawa.de> wrote:> Hi, > > I'm trying to migrate a Asterisk build-environment from a physical to a > paravirtualized machine on Xen 3.0 - on this system Asterisk don't need > to run at all, it is only for building RPMs. > > Host OS and guest OS both are CentOS 5.2. > > The build of Asterisk, Asterisk-addons and Zaptel works, but MeetMe and > some other components are not compiled because Zaptel was not installed > on the system. > > It seems not to be possible to install zaptel in a Xen-PV because of the > lack of a RTC, so first try was to remove every thing RTC-related in > zaptel-1.4.11 but I had no success with that. > > So I adapted the ztxen-1.4.2-patch to zaptel-1.4.11 and compiled it > successfully. > > I installed asterisk-1.4.20.1, asterisk-addons-1.4.7 and zaptel-1.4.11 > on my PV-system and adjusted the zaptel.conf that it only loads the ztxen. > > lsmod tells me that the module is loaded: > > Module Size Used by > ztxen 7840 0 > zaptel 190852 1 ztxen > crc_ccitt 6337 1 zaptel > > But "make menuconfig" -> "1. Applications" still has "XXX 32. > app_meetme" which means that that zaptel is missing. > > If I compile anyway the module apps/app_meetme.so is not created. > > > Any idea how I can resolve this problem? > > Thanks a lot, > -- > > Chau y hasta luego, > > Thorolf > > _______________________________________________ > -- Bandwidth and Colocation Provided by api-digital.com -- > > AstriCon 2008 - September 22 - 25 Phoenix, Arizona > Register Now: astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > lists.digium.com/mailman/listinfo/asterisk-users >
Tzafrir Cohen
2008-Aug-21 04:41 UTC
[asterisk-users] Asterisk build-environment in Xen-DomU
On Thu, Aug 21, 2008 at 01:29:09AM +0200, Thorolf Godawa wrote:> Hi, > > I'm trying to migrate a Asterisk build-environment from a physical to a > paravirtualized machine on Xen 3.0 - on this system Asterisk don't need > to run at all, it is only for building RPMs. > > Host OS and guest OS both are CentOS 5.2. > > The build of Asterisk, Asterisk-addons and Zaptel works, but MeetMe and > some other components are not compiled because Zaptel was not installed > on the system. > > It seems not to be possible to install zaptel in a Xen-PV because of the > lack of a RTC, so first try was to remove every thing RTC-related in > zaptel-1.4.11 but I had no success with that.If you just need Astrerisk for building Zaptel, you don't need the kernel modules installed. Just use make install-programs -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com xorcom.com iax:guest at local.xorcom.com/tzafrir