From fjoe at samodelkin.net Mon Nov 18 12:32:20 2013 From: fjoe at samodelkin.net (Max Khon) Date: Mon, 18 Nov 2013 19:32:13 +0700 Subject: 9.2 panic with wcb4xxp (dahdi-kmod26-2.6.1.r10738) In-Reply-To: References: <523B04C3.30100@omnilan.de> <52405797.9020609@omnilan.de> Message-ID: Amitabh, I suppose you are wrong about missing sysctls. Almost all dahdi module parameters are settable using kenv and then (after the driver is loaded) are visible via sysctl. Max On Tue, Sep 24, 2013 at 7:45 AM, Amitabh Kant wrote: > On Mon, Sep 23, 2013 at 8:30 PM, Harald Schmalzbauer < > h.schmalzbauer at omnilan.de> wrote: > >> Bez?glich Amitabh Kant's Nachricht vom 21.09.2013 03:24 (localtime): >> > On Thu, Sep 19, 2013 at 7:35 PM, Harald Schmalzbauer >> > > wrote: >> > >> > Hello, >> > >> > unloading the kernel module of dahdi-kmod26-2.6.1.r10738 leads to >> this >> > panic: >> > >> > >> > >> > >> > wcb4xxp0: <6>Did not do the highestorder stuff >> > <6>dahdi: Detected time shift. >> > <5>dahdi_echocan_mg2: Registered echo canceler 'MG2' >> > >> > Starting asterisk afterwards also leads to panic. >> > I guess dahdi development stalled, but I wanted to try it because I'd >> > prefer freeswitch and need BRI support... >> > Is somebody familiar with dahdi and interested in making it work with >> > FreeBSD 9.2? >> > >> > Thanks, >> > >> > -Harry (not subscribed to isdn@) >> > >> > >> > >> > Have you been able to solve the problem? I am running Freeswitch (from >> > git, not port) and dahdi/dahdi-kmod26 (from port) with PRI line >> > (Digium 8 span and single span) without any problems on 9.1. Will test >> > it on 9.2 and get back to you if I see a panic . >> Hello Amitabh, >> >> couldn't solve my problem. >> First, dahdi_scan doesn't detect ports jumpered to NT mode. I need 2 ports >> in NT mode, so trying anything else with dahdi before my settings get >> correctly recognized is probably not worth the time. >> Also I have to investigate if it is still true that libpri doesn't support >> ptmp in NT mode!?! >> In general, the freebsd dahdi port doesn't seem to be in good shape; >> Couldn't find any docs about sysctls (dahdi.wcb4xxp.teignorered, '-d' shows >> nothing :-( ), no man page ? hard to find out anything about dahdi in >> FreeBSD, not even the supported hardwhere seems to be documentend >> anywhere... >> >> Any hints highly appreciated, although I think the better way was to teach >> FreeTDM speaking CAPI. HPS does a great job keeping all kind of ISDN >> hardware supported by i4b (ISDN4BSD)! >> Or to make chan_capi work with asterisk11 ? the lesser evil than fighting >> dahid... >> >> Thanks, >> >> -Harry >> >> >> > Hello Harry > > Sadly, there is not much help while installing/using dahdi on FreeBSD. > There does not seem to by any sysctls defined for dahdi which are needed to > set for certain cards. Infact, for the 8 span card, to change the default > T1 to E1, I had to make changes in the code directly. > > > Amitabh > _______________________________________________ > freebsd-stable at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" From amitabhkant at gmail.com Tue Nov 19 08:19:01 2013 From: amitabhkant at gmail.com (Amitabh Kant) Date: Tue, 19 Nov 2013 13:48:40 +0530 Subject: 9.2 panic with wcb4xxp (dahdi-kmod26-2.6.1.r10738) In-Reply-To: References: <523B04C3.30100@omnilan.de> <52405797.9020609@omnilan.de> Message-ID: Max I could not find any info on setting those module parameters. Is there a place where I can more info on how to set those supported parameters in FreeBSD Amitabh On Mon, Nov 18, 2013 at 6:02 PM, Max Khon wrote: > Amitabh, > > I suppose you are wrong about missing sysctls. Almost all dahdi module > parameters are settable using kenv and then (after the driver is > loaded) are visible via sysctl. > > Max > > On Tue, Sep 24, 2013 at 7:45 AM, Amitabh Kant > wrote: > > On Mon, Sep 23, 2013 at 8:30 PM, Harald Schmalzbauer < > > h.schmalzbauer at omnilan.de> wrote: > > > >> Bez?glich Amitabh Kant's Nachricht vom 21.09.2013 03:24 (localtime): > >> > On Thu, Sep 19, 2013 at 7:35 PM, Harald Schmalzbauer > >> > > wrote: > >> > > >> > Hello, > >> > > >> > unloading the kernel module of dahdi-kmod26-2.6.1.r10738 leads to > >> this > >> > panic: > >> > > >> > > >> > > >> > > >> > wcb4xxp0: <6>Did not do the highestorder stuff > >> > <6>dahdi: Detected time shift. > >> > <5>dahdi_echocan_mg2: Registered echo canceler 'MG2' > >> > > >> > Starting asterisk afterwards also leads to panic. > >> > I guess dahdi development stalled, but I wanted to try it because > I'd > >> > prefer freeswitch and need BRI support... > >> > Is somebody familiar with dahdi and interested in making it work > with > >> > FreeBSD 9.2? > >> > > >> > Thanks, > >> > > >> > -Harry (not subscribed to isdn@) > >> > > >> > > >> > > >> > Have you been able to solve the problem? I am running Freeswitch (from > >> > git, not port) and dahdi/dahdi-kmod26 (from port) with PRI line > >> > (Digium 8 span and single span) without any problems on 9.1. Will test > >> > it on 9.2 and get back to you if I see a panic . > >> Hello Amitabh, > >> > >> couldn't solve my problem. > >> First, dahdi_scan doesn't detect ports jumpered to NT mode. I need 2 > ports > >> in NT mode, so trying anything else with dahdi before my settings get > >> correctly recognized is probably not worth the time. > >> Also I have to investigate if it is still true that libpri doesn't > support > >> ptmp in NT mode!?! > >> In general, the freebsd dahdi port doesn't seem to be in good shape; > >> Couldn't find any docs about sysctls (dahdi.wcb4xxp.teignorered, '-d' > shows > >> nothing :-( ), no man page ? hard to find out anything about dahdi in > >> FreeBSD, not even the supported hardwhere seems to be documentend > >> anywhere... > >> > >> Any hints highly appreciated, although I think the better way was to > teach > >> FreeTDM speaking CAPI. HPS does a great job keeping all kind of ISDN > >> hardware supported by i4b (ISDN4BSD)! > >> Or to make chan_capi work with asterisk11 ? the lesser evil than > fighting > >> dahid... > >> > >> Thanks, > >> > >> -Harry > >> > >> > >> > > Hello Harry > > > > Sadly, there is not much help while installing/using dahdi on FreeBSD. > > There does not seem to by any sysctls defined for dahdi which are needed > to > > set for certain cards. Infact, for the 8 span card, to change the default > > T1 to E1, I had to make changes in the code directly. > > > > > > Amitabh > > _______________________________________________ > > freebsd-stable at freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org > " > From fjoe at samodelkin.net Wed Nov 20 12:25:07 2013 From: fjoe at samodelkin.net (Max Khon) Date: Wed, 20 Nov 2013 19:25:01 +0700 Subject: 9.2 panic with wcb4xxp (dahdi-kmod26-2.6.1.r10738) In-Reply-To: References: <523B04C3.30100@omnilan.de> <52405797.9020609@omnilan.de> Message-ID: Amitabh, You are right, the documentation about DAHDI configuration on FreeBSD does not exist. All parameters are visible after modules are loaded: sysctl -a | grep dahdi Parameter names (and values) are the same as in DAHDI/Linux - you can refer to DAHDI/Linux documentation about specific parameters and values you can use. Some parameters affect driver initialization (like linemode auto/E1/T1) so they can only be set prior to loading the driver using kenv: kenv dahdi.wct4xxp.default_linemode=E1 Some parameters are applied after channel reconfiguration (dahdi_cfg) but I would suggest to use kenv or /boot/loader.conf for that. You can also find information about DAHDI/FreeBSD in asterisk-bed mailing list archives. E.g. this: http://marc.info/?l=asterisk-bsd&m=128333754614913&w=2 Max On Tue, Nov 19, 2013 at 3:18 PM, Amitabh Kant wrote: > Max > > I could not find any info on setting those module parameters. Is there a > place where I can more info on how to set those supported parameters in > FreeBSD > > > Amitabh > > > On Mon, Nov 18, 2013 at 6:02 PM, Max Khon wrote: >> >> Amitabh, >> >> I suppose you are wrong about missing sysctls. Almost all dahdi module >> parameters are settable using kenv and then (after the driver is >> loaded) are visible via sysctl. >> >> Max >> >> On Tue, Sep 24, 2013 at 7:45 AM, Amitabh Kant >> wrote: >> > On Mon, Sep 23, 2013 at 8:30 PM, Harald Schmalzbauer < >> > h.schmalzbauer at omnilan.de> wrote: >> > >> >> Bez?glich Amitabh Kant's Nachricht vom 21.09.2013 03:24 (localtime): >> >> > On Thu, Sep 19, 2013 at 7:35 PM, Harald Schmalzbauer >> >> > > wrote: >> >> > >> >> > Hello, >> >> > >> >> > unloading the kernel module of dahdi-kmod26-2.6.1.r10738 leads to >> >> this >> >> > panic: >> >> > >> >> > >> >> > >> >> > >> >> > wcb4xxp0: <6>Did not do the highestorder stuff >> >> > <6>dahdi: Detected time shift. >> >> > <5>dahdi_echocan_mg2: Registered echo canceler 'MG2' >> >> > >> >> > Starting asterisk afterwards also leads to panic. >> >> > I guess dahdi development stalled, but I wanted to try it because >> >> > I'd >> >> > prefer freeswitch and need BRI support... >> >> > Is somebody familiar with dahdi and interested in making it work >> >> > with >> >> > FreeBSD 9.2? >> >> > >> >> > Thanks, >> >> > >> >> > -Harry (not subscribed to isdn@) >> >> > >> >> > >> >> > >> >> > Have you been able to solve the problem? I am running Freeswitch >> >> > (from >> >> > git, not port) and dahdi/dahdi-kmod26 (from port) with PRI line >> >> > (Digium 8 span and single span) without any problems on 9.1. Will >> >> > test >> >> > it on 9.2 and get back to you if I see a panic . >> >> Hello Amitabh, >> >> >> >> couldn't solve my problem. >> >> First, dahdi_scan doesn't detect ports jumpered to NT mode. I need 2 >> >> ports >> >> in NT mode, so trying anything else with dahdi before my settings get >> >> correctly recognized is probably not worth the time. >> >> Also I have to investigate if it is still true that libpri doesn't >> >> support >> >> ptmp in NT mode!?! >> >> In general, the freebsd dahdi port doesn't seem to be in good shape; >> >> Couldn't find any docs about sysctls (dahdi.wcb4xxp.teignorered, '-d' >> >> shows >> >> nothing :-( ), no man page ? hard to find out anything about dahdi in >> >> FreeBSD, not even the supported hardwhere seems to be documentend >> >> anywhere... >> >> >> >> Any hints highly appreciated, although I think the better way was to >> >> teach >> >> FreeTDM speaking CAPI. HPS does a great job keeping all kind of ISDN >> >> hardware supported by i4b (ISDN4BSD)! >> >> Or to make chan_capi work with asterisk11 ? the lesser evil than >> >> fighting >> >> dahid... >> >> >> >> Thanks, >> >> >> >> -Harry >> >> >> >> >> >> >> > Hello Harry >> > >> > Sadly, there is not much help while installing/using dahdi on FreeBSD. >> > There does not seem to by any sysctls defined for dahdi which are needed >> > to >> > set for certain cards. Infact, for the 8 span card, to change the >> > default >> > T1 to E1, I had to make changes in the code directly. >> > >> > >> > Amitabh >> > _______________________________________________ >> > freebsd-stable at freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> > To unsubscribe, send any mail to >> > "freebsd-stable-unsubscribe at freebsd.org" > > From meyser at xenet.de Wed Nov 27 15:51:28 2013 From: meyser at xenet.de (Matthias Meyser) Date: Wed, 27 Nov 2013 16:51:03 +0100 Subject: ISDN4BSD on arm Message-ID: <529614E7.5050005@xenet.de> Hi has anyone sucessfully compiled that on arm? Regard Matthias -- Matthias Meyser | XeNET GmbH Tel.: +49-5323-9489050 | 38678 Clausthal-Zellerfeld, Marktstrasse 40 Fax: +49-5323-94014 | Registergericht: Amtsgericht Braunschweig HRB 110823 Email: Meyser at xenet.de | Geschaeftsfuehrer: Matthias Meyser