From owner-freebsd-isdn@FreeBSD.ORG Mon Nov 18 12:32:20 2013 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4846795 for ; Mon, 18 Nov 2013 12:32:20 +0000 (UTC) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7ECBC26DD for ; Mon, 18 Nov 2013 12:32:20 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id ma3so6601756pbc.26 for ; Mon, 18 Nov 2013 04:32:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/y7vrdNztBURCU51414Iom113SFyoGSIfzCMRReUYKw=; b=LUbVaEoTopdZTmKTtQE4Dwk7T1wiOr7cCAEDmr9v1XyPAXfFue+HNDrzYTe1xfVsoW f6BFluxuzXN7OWhQebAmiEkGnkSMwJLDm3B5xiEp5jhG8tHNmTBLZKBYq9BGC+6yIPWY rCywU6BRLh9kBLeVKTd+vEd0mHGvF7EYYwpfj9nLM1npqtdcSCjq5O1f/vOczoDq7w6S dfcBHqlkR6lY/GfJOCRScvrbPErZkxpSk7xCmfH1be9+8U0InyIwOhOxLZg6KHrLdB0z 0RKkkslSZ1tYzurWGVH1tVrN+rptpHYxE/P3Bgjlu/aPl6OfZUVCLFRxBAfGArEpuAHA 8OdA== X-Gm-Message-State: ALoCoQkOR3mmFCE8fBhs7o4UXVFVZaCR3PLldWnbzyxK0C2ZKd+SiwuJlmunzVtgK/pszcK55Km3 MIME-Version: 1.0 X-Received: by 10.68.130.39 with SMTP id ob7mr13405178pbb.63.1384777933928; Mon, 18 Nov 2013 04:32:13 -0800 (PST) Received: by 10.70.89.81 with HTTP; Mon, 18 Nov 2013 04:32:13 -0800 (PST) X-Originating-IP: [109.202.25.240] In-Reply-To: References: <523B04C3.30100@omnilan.de> <52405797.9020609@omnilan.de> Date: Mon, 18 Nov 2013 19:32:13 +0700 Message-ID: Subject: Re: 9.2 panic with wcb4xxp (dahdi-kmod26-2.6.1.r10738) From: Max Khon To: Amitabh Kant Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Harald Schmalzbauer , FreeBSD Stable , freebsd-isdn@freebsd.org X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 12:32:20 -0000 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@omnilan.de> wrote: > >> Bez=C3=BCglich 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 w= ith >> > 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 por= ts >> 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 suppo= rt >> 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' sh= ows >> nothing :-( ), no man page =E2=80=93 hard to find out anything about dah= di in >> FreeBSD, not even the supported hardwhere seems to be documentend >> anywhere... >> >> Any hints highly appreciated, although I think the better way was to tea= ch >> 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 =E2=80=93 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-isdn@FreeBSD.ORG Tue Nov 19 08:19:01 2013 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6DA9155; Tue, 19 Nov 2013 08:19:01 +0000 (UTC) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7358B2BF8; Tue, 19 Nov 2013 08:19:01 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id wp18so3550262obc.16 for ; Tue, 19 Nov 2013 00:19:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=e18+0T02SKzHbU22NVi4H8h5G0wPspXS+NOcmy+lW1A=; b=t1CWku/n3r9xtV20zAC8z99RXWMIdIcZ+OeixT7pZt9HARvRh0upBFyFk7g2vgPcNL xp5mvjDA256jZkCuZzxFo/VsjMHxaYQVjPDguStPiCXn5VqGhcL4u9OsOr5zds6goduZ Zjh2JEhEOlLrZvwcOOFBpLui01t9eYehtxDGa5pM6DQjoUBlaiMmwnRLGhqBlns3VxpD VHBs+HJbbDr4tq6Ot1XGG4CRCE5sgnSfHj0hhdaCPMU4h9GZGMrOtBGMXS7SOmYPK6j7 4DlDrSRnDRclHxWtzOz4Lw96slC57NQNq66jQfiIsJ4DLEQ3GXMEStOLkDNtFfK5Bphv yFQg== X-Received: by 10.60.155.166 with SMTP id vx6mr24479174oeb.28.1384849140378; Tue, 19 Nov 2013 00:19:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.81.161 with HTTP; Tue, 19 Nov 2013 00:18:40 -0800 (PST) In-Reply-To: References: <523B04C3.30100@omnilan.de> <52405797.9020609@omnilan.de> From: Amitabh Kant Date: Tue, 19 Nov 2013 13:48:40 +0530 Message-ID: Subject: Re: 9.2 panic with wcb4xxp (dahdi-kmod26-2.6.1.r10738) To: Max Khon Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: Harald Schmalzbauer , FreeBSD Stable , freebsd-isdn@freebsd.org X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 08:19:01 -0000 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@omnilan.de> wrote: > > > >> Bez=FCglich 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 t= o > >> 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 becaus= e > 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 (fr= om > >> > 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 te= st > >> > 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 =96 hard to find out anything about dahdi i= n > >> 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 =96 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 neede= d > to > > set for certain cards. Infact, for the 8 span card, to change the defau= lt > > T1 to E1, I had to make changes in the code directly. > > > > > > Amitabh > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g > " > From owner-freebsd-isdn@FreeBSD.ORG Wed Nov 20 12:25:07 2013 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF22B5DE for ; Wed, 20 Nov 2013 12:25:07 +0000 (UTC) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 87E2C267B for ; Wed, 20 Nov 2013 12:25:07 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id ma3so9901215pbc.12 for ; Wed, 20 Nov 2013 04:25:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=151O0tFYteQlBYojOIl//IS83usY4AHLMpLlsveN55Y=; b=A0NI1fGv8xkImdx1ACxcaPJQt18rV+E3vpDMLTnolrxk6dX8Ok0D7fd1hOyMOep8PX vgJnmDM+fCyOh+vQ41/m+1oT3dJrdj5iah9SWqOHc0yFk4KiBRu2oM04IEQSNMwnn+5P pocC9iWkdC2i/rfK+L6ekRrGS03wYbFKTqJ50ZL/vKge6fEmtwI/M5udoit/JEeUEPSw bSP3vGogqUgOiliNhr2YiY8SqR42IqlMidCKL1piaLWOvfPd/w0s6tyhrzBjwCON+2+7 7gpUteYKe6h+ZaQze71S46qzjRkoS+ntFne+zY0D74NciNyWCj5AccMrZ/WeA2r99Xf+ kXtg== X-Gm-Message-State: ALoCoQm6jZbJpNkkRw/NSWNtaBpKZkjyCFzvR1otQFvDjQM3gwjCWhjLwpmLgBqeJLPJLH//gnJd MIME-Version: 1.0 X-Received: by 10.68.143.231 with SMTP id sh7mr403746pbb.35.1384950301202; Wed, 20 Nov 2013 04:25:01 -0800 (PST) Received: by 10.70.89.81 with HTTP; Wed, 20 Nov 2013 04:25:01 -0800 (PST) X-Originating-IP: [109.202.25.240] In-Reply-To: References: <523B04C3.30100@omnilan.de> <52405797.9020609@omnilan.de> Date: Wed, 20 Nov 2013 19:25:01 +0700 Message-ID: Subject: Re: 9.2 panic with wcb4xxp (dahdi-kmod26-2.6.1.r10738) From: Max Khon To: Amitabh Kant Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Harald Schmalzbauer , FreeBSD Stable , freebsd-isdn@freebsd.org X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 12:25:07 -0000 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=3DE1 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=3Dasterisk-bsd&m=3D128333754614913&w=3D2 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@omnilan.de> wrote: >> > >> >> Bez=C3=BCglich Amitabh Kant's Nachricht vom 21.09.2013 03:24 (localt= ime): >> >> > On Thu, Sep 19, 2013 at 7:35 PM, Harald Schmalzbauer >> >> > > wrot= e: >> >> > >> >> > 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 becau= se >> >> > I'd >> >> > prefer freeswitch and need BRI support... >> >> > Is somebody familiar with dahdi and interested in making it wor= k >> >> > 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 =E2=80=93 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 =E2=80=93 the lesser evil t= han >> >> 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 need= ed >> > 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@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> > To unsubscribe, send any mail to >> > "freebsd-stable-unsubscribe@freebsd.org" > >