Hello Friends, I am trying to Installl dahdi on amazon EC2 which have Open-SUSE-11.1 X86 version. and here is snap of uname- a command *Linux ip-10-160-86-41 2.6.32.19-0.3-ec2 #1 SMP 2010-09-17 20:28:21 +0200 x86_64 x86_64 x86_64 GNU/Linux* when I try to run DAHDI distribution dahdi-linux-2.1.0.4 I am getting following error *echo "You do not appear to have the sources for the 2.6.32.19-0.3-ec2 kernel installed." You do not appear to have the sources for the 2.6.32.19-0.3-ec2 kernel installed. exit 1 make: *** [modules] Error 1 * Any one have some idea how to resolve it i am also goggling about 2 hours. regards Dhaval -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101214/cdd0b48d/attachment.htm
On Tue, Dec 14, 2010 at 12:28:00PM +0530, DHAVAL INDRODIYA wrote:> Hello Friends, > > I am trying to Installl dahdi on amazon EC2 which have Open-SUSE-11.1 X86 > version.DAHDI and asterisk: from packages or from source? What version of asterisk?> > and here is snap of uname- a command > > *Linux ip-10-160-86-41 2.6.32.19-0.3-ec2 #1 SMP 2010-09-17 20:28:21 +0200 > x86_64 x86_64 x86_64 GNU/Linux* > > when I try to run DAHDI distribution dahdi-linux-2.1.0.4 > > I am getting following error > > *echo "You do not appear to have the sources for the 2.6.32.19-0.3-ec2 > kernel installed." > You do not appear to have the sources for the 2.6.32.19-0.3-ec2 kernel > installed. > exit 1You need a "kernel source" (Porbably the huge kernel-source-* package is not required. IIRC SUSE now has a "kernel-devel-*" package (not sure how it is called. Please install it. That said, that version of DAHDI is rather old. Specifcally a version <2.3.0 may not be a good timing source in your settings. Newer versions of asterisk As of 1.6.1 (and even more so: as of 1.6.2) DAHDI is much less required (as a timing source and as a mixer for conference rooms). -- 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
Thanks For your reply, A in previous version we were used a dahdi-linux-2.1.0.4 and we were changed dahdi_dummy.c file as we are using on xen kernel we changed following things #if defined(__i386__) || defined(__x86_64__) #if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13) /* The symbol hrtimer_forward is only exported as of 2.6.22: */ #if defined(CONFIG_HIGH_RES_TIMERS) && LINUX_VERSION_CODE >VERSION_CODE(2,6,22) #define USE_HIGHRESTIMER #else /* #define USE_RTC */ #endif #else #if 0 /* #define USE_RTC */ #endif #endif #endif simply put USE_RTC in comment , as in 2.3.0 version we cannot find this code into dahdi_dummy.c file, my question is that , if USE_RTC is not in dahdi_dummy.c file can we able to continue with dahdi.?? as it still not started on my EC2 machine. i will keep posted for more information. regards Dhaval On Tue, Dec 14, 2010 at 1:53 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:> On Tue, Dec 14, 2010 at 12:28:00PM +0530, DHAVAL INDRODIYA wrote: > > Hello Friends, > > > > I am trying to Installl dahdi on amazon EC2 which have Open-SUSE-11.1 X86 > > version. > > DAHDI and asterisk: from packages or from source? What version of > asterisk? > > > > > and here is snap of uname- a command > > > > *Linux ip-10-160-86-41 2.6.32.19-0.3-ec2 #1 SMP 2010-09-17 20:28:21 +0200 > > x86_64 x86_64 x86_64 GNU/Linux* > > > > when I try to run DAHDI distribution dahdi-linux-2.1.0.4 > > > > I am getting following error > > > > *echo "You do not appear to have the sources for the 2.6.32.19-0.3-ec2 > > kernel installed." > > You do not appear to have the sources for the 2.6.32.19-0.3-ec2 kernel > > installed. > > exit 1 > > You need a "kernel source" (Porbably the huge kernel-source-* package is > not required. IIRC SUSE now has a "kernel-devel-*" package (not sure how > it is called. Please install it. > > That said, that version of DAHDI is rather old. Specifcally a version <> 2.3.0 may not be a good timing source in your settings. > > Newer versions of asterisk As of 1.6.1 (and even more so: as of 1.6.2) > DAHDI is much less required (as a timing source and as a mixer for > conference rooms). > > -- > Tzafrir Cohen > icq#16849755 jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com> > +972-50-7952406 mailto:tzafrir.cohen at xorcom.com > http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101214/dfe717ab/attachment.htm
One More thing,once i installed dahdi-2.3.0 complete it installed successfully , but when i tried to starting it gives me following error. *No DAHDI found. Unable to open /dev/dahdi/ctl: No such file or directory* what could be possible suggestion. regards dhaval On Tue, Dec 14, 2010 at 2:38 PM, DHAVAL INDRODIYA <dhaval.it01034 at gmail.com>wrote:> Thanks For your reply, > > A in previous version we were used a dahdi-linux-2.1.0.4 and we were > changed dahdi_dummy.c > file as we are using on xen kernel we changed following things > > #if defined(__i386__) || defined(__x86_64__) > #if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13) > /* The symbol hrtimer_forward is only exported as of 2.6.22: */ > #if defined(CONFIG_HIGH_RES_TIMERS) && LINUX_VERSION_CODE >> VERSION_CODE(2,6,22) > #define USE_HIGHRESTIMER > #else > /* #define USE_RTC */ > #endif > #else > #if 0 > /* #define USE_RTC */ > #endif > #endif > #endif > > simply put USE_RTC in comment , as in 2.3.0 version we cannot find this > code into dahdi_dummy.c file, > > my question is that , if USE_RTC is not in dahdi_dummy.c file can we able > to continue with dahdi.?? > as it still not started on my EC2 machine. > > i will keep posted for more information. > > regards > Dhaval > > > On Tue, Dec 14, 2010 at 1:53 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote: > >> On Tue, Dec 14, 2010 at 12:28:00PM +0530, DHAVAL INDRODIYA wrote: >> > Hello Friends, >> > >> > I am trying to Installl dahdi on amazon EC2 which have Open-SUSE-11.1 >> X86 >> > version. >> >> DAHDI and asterisk: from packages or from source? What version of >> asterisk? >> >> > >> > and here is snap of uname- a command >> > >> > *Linux ip-10-160-86-41 2.6.32.19-0.3-ec2 #1 SMP 2010-09-17 20:28:21 >> +0200 >> > x86_64 x86_64 x86_64 GNU/Linux* >> > >> > when I try to run DAHDI distribution dahdi-linux-2.1.0.4 >> > >> > I am getting following error >> > >> > *echo "You do not appear to have the sources for the 2.6.32.19-0.3-ec2 >> > kernel installed." >> > You do not appear to have the sources for the 2.6.32.19-0.3-ec2 kernel >> > installed. >> > exit 1 >> >> You need a "kernel source" (Porbably the huge kernel-source-* package is >> not required. IIRC SUSE now has a "kernel-devel-*" package (not sure how >> it is called. Please install it. >> >> That said, that version of DAHDI is rather old. Specifcally a version <>> 2.3.0 may not be a good timing source in your settings. >> >> Newer versions of asterisk As of 1.6.1 (and even more so: as of 1.6.2) >> DAHDI is much less required (as a timing source and as a mixer for >> conference rooms). >> >> -- >> Tzafrir Cohen >> icq#16849755 jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com> >> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com >> http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101214/d0470756/attachment.htm
2010/12/14 DHAVAL INDRODIYA <dhaval.it01034 at gmail.com>> One More thing,once i installed dahdi-2.3.0 complete it installed > successfully , but when > i tried to starting it gives me following error. > > *No DAHDI found. Unable to open /dev/dahdi/ctl: No such file or directory* > > what could be possible suggestion. >reboot ?> > regards > dhaval > > > On Tue, Dec 14, 2010 at 2:38 PM, DHAVAL INDRODIYA < > dhaval.it01034 at gmail.com> wrote: > >> Thanks For your reply, >> >> A in previous version we were used a dahdi-linux-2.1.0.4 and we were >> changed dahdi_dummy.c >> file as we are using on xen kernel we changed following things >> >> #if defined(__i386__) || defined(__x86_64__) >> #if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13) >> /* The symbol hrtimer_forward is only exported as of 2.6.22: */ >> #if defined(CONFIG_HIGH_RES_TIMERS) && LINUX_VERSION_CODE >>> VERSION_CODE(2,6,22) >> #define USE_HIGHRESTIMER >> #else >> /* #define USE_RTC */ >> #endif >> #else >> #if 0 >> /* #define USE_RTC */ >> #endif >> #endif >> #endif >> >> simply put USE_RTC in comment , as in 2.3.0 version we cannot find this >> code into dahdi_dummy.c file, >> >> my question is that , if USE_RTC is not in dahdi_dummy.c file can we able >> to continue with dahdi.?? >> as it still not started on my EC2 machine. >> >> i will keep posted for more information. >> >> regards >> Dhaval >> >> >> On Tue, Dec 14, 2010 at 1:53 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote: >> >>> On Tue, Dec 14, 2010 at 12:28:00PM +0530, DHAVAL INDRODIYA wrote: >>> > Hello Friends, >>> > >>> > I am trying to Installl dahdi on amazon EC2 which have Open-SUSE-11.1 >>> X86 >>> > version. >>> >>> DAHDI and asterisk: from packages or from source? What version of >>> asterisk? >>> >>> > >>> > and here is snap of uname- a command >>> > >>> > *Linux ip-10-160-86-41 2.6.32.19-0.3-ec2 #1 SMP 2010-09-17 20:28:21 >>> +0200 >>> > x86_64 x86_64 x86_64 GNU/Linux* >>> > >>> > when I try to run DAHDI distribution dahdi-linux-2.1.0.4 >>> > >>> > I am getting following error >>> > >>> > *echo "You do not appear to have the sources for the 2.6.32.19-0.3-ec2 >>> > kernel installed." >>> > You do not appear to have the sources for the 2.6.32.19-0.3-ec2 kernel >>> > installed. >>> > exit 1 >>> >>> You need a "kernel source" (Porbably the huge kernel-source-* package is >>> not required. IIRC SUSE now has a "kernel-devel-*" package (not sure how >>> it is called. Please install it. >>> >>> That said, that version of DAHDI is rather old. Specifcally a version <>>> 2.3.0 may not be a good timing source in your settings. >>> >>> Newer versions of asterisk As of 1.6.1 (and even more so: as of 1.6.2) >>> DAHDI is much less required (as a timing source and as a mixer for >>> conference rooms). >>> >>> -- >>> Tzafrir Cohen >>> icq#16849755 jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com> >>> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com >>> http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir >>> >>> -- >>> _____________________________________________________________________ >>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >>> New to Asterisk? Join us for a live introductory webinar every Thurs: >>> http://www.asterisk.org/hello >>> >>> 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 -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101214/757ec613/attachment.htm
On Tue, Dec 14, 2010 at 12:03:52PM +0100, Olivier wrote:> 2010/12/14 DHAVAL INDRODIYA <dhaval.it01034 at gmail.com> > > > One More thing,once i installed dahdi-2.3.0 complete it installed > > successfully , but when > > i tried to starting it gives me following error. > > > > *No DAHDI found. Unable to open /dev/dahdi/ctl: No such file or directory* > > > > what could be possible suggestion. > > > > reboot ?Or rather: /etc/init.d/dahdi restart The old dahdi module may still be loaded. You may need to stop asterisk first, as it may be using DAHDI (for timing). -- 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
Guys, I have rebooted system, and also same issue i have found that DAHDI module is not found i am stuck in what to do for loading DAHDI onto EC2 */etc/init.d/dahdi restart Unloading DAHDI hardware modules: done Loading DAHDI hardware modules: FATAL: Module dahdi not found.* regards dhaval On Tue, Dec 14, 2010 at 5:23 PM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:> On Tue, Dec 14, 2010 at 12:03:52PM +0100, Olivier wrote: > > 2010/12/14 DHAVAL INDRODIYA <dhaval.it01034 at gmail.com> > > > > > One More thing,once i installed dahdi-2.3.0 complete it installed > > > successfully , but when > > > i tried to starting it gives me following error. > > > > > > *No DAHDI found. Unable to open /dev/dahdi/ctl: No such file or > directory* > > > > > > what could be possible suggestion. > > > > > > > reboot ? > > Or rather: > > /etc/init.d/dahdi restart > > The old dahdi module may still be loaded. You may need to stop asterisk > first, as it may be using DAHDI (for timing). > > -- > Tzafrir Cohen > icq#16849755 jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com> > +972-50-7952406 mailto:tzafrir.cohen at xorcom.com > http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20101215/622a7288/attachment.html>