[asterisk-users] patlooptest output - errors

Rodrigo Borges Pereira rodrigoborgespereira at gmail.com
Wed Jan 15 11:02:10 CST 2014


No, I see this:

shell> cat /proc/dahdi/2
Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" (MASTER) B8ZS/ESF LOOP
CRC4 error count: 1
E-bit error count: 1

  25 TE2/0/2/1 Clear Master LOOP
  26 TE2/0/2/2 Clear LOOP
  27 TE2/0/2/3 Clear LOOP
  28 TE2/0/2/4 Clear LOOP
  29 TE2/0/2/5 Clear LOOP
  30 TE2/0/2/6 Clear LOOP
  31 TE2/0/2/7 Clear LOOP
  32 TE2/0/2/8 Clear LOOP
  33 TE2/0/2/9 Clear LOOP
  34 TE2/0/2/10 Clear LOOP
  35 TE2/0/2/11 Clear LOOP
  36 TE2/0/2/12 Clear LOOP
  37 TE2/0/2/13 Clear LOOP
  38 TE2/0/2/14 Clear LOOP
  39 TE2/0/2/15 Clear LOOP
  40 TE2/0/2/16 Clear LOOP
  41 TE2/0/2/17 Clear LOOP
  42 TE2/0/2/18 Clear LOOP
  43 TE2/0/2/19 Clear LOOP
  44 TE2/0/2/20 Clear LOOP
  45 TE2/0/2/21 Clear LOOP
  46 TE2/0/2/22 Clear LOOP
  47 TE2/0/2/23 Clear LOOP
  48 TE2/0/2/24 Clear LOOP

shell> cat /proc/dahdi/1
Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" B8ZS/ESF LOOP

   1 TE2/0/1/1 Clear Master RED
   2 TE2/0/1/2 Clear RED
   3 TE2/0/1/3 Clear RED
   4 TE2/0/1/4 Clear RED
   5 TE2/0/1/5 Clear RED
   6 TE2/0/1/6 Clear RED
   7 TE2/0/1/7 Clear RED
   8 TE2/0/1/8 Clear RED
   9 TE2/0/1/9 Clear RED
  10 TE2/0/1/10 Clear RED
  11 TE2/0/1/11 Clear RED
  12 TE2/0/1/12 Clear RED
  13 TE2/0/1/13 Clear RED
  14 TE2/0/1/14 Clear RED
  15 TE2/0/1/15 Clear RED
  16 TE2/0/1/16 Clear RED
  17 TE2/0/1/17 Clear RED
  18 TE2/0/1/18 Clear RED
  19 TE2/0/1/19 Clear RED
  20 TE2/0/1/20 Clear RED
  21 TE2/0/1/21 Clear RED
  22 TE2/0/1/22 Clear RED
  23 TE2/0/1/23 Clear RED
  24 TE2/0/1/24 Clear RED


On Wed, Jan 15, 2014 at 4:28 PM, Shaun Ruffell <sruffell at digium.com> wrote:

> On Wed, Jan 15, 2014 at 04:18:55PM +0000, Rodrigo Borges Pereira wrote:
> > Still no luck:
> >
> > shell> pgrep asterisk
> > shell> ps -ef | grep asterisk
> > shell> lsof /dev/dahdi/channel
> > shell> lsof /dev/dahdi/1
> > shell> lsof /dev/dahdi/2
> > shell> chrt -f 99 patlooptest /dev/dahdi/2 -t 300 -vvvvv
> > /dev/dahdi/2: Device or resource busy
> >
> > I can assure no PBX related process is running.
>
> Do you see the channel listed as (in use) in /proc/dahdi/1?  I.e.
>
> Before opening channel 2:
>
>   [root at 112-17-24-10 ~]# cat /proc/dahdi/1
>   Span 1: WCTDM/0 "Wildcard A8B" (MASTER)
>
>              1 WCTDM/0/0 FXOKS (EC: VPMOCT032 - INACTIVE)
>              2 WCTDM/0/1 FXOKS (EC: VPMOCT032 - INACTIVE)
>              3 WCTDM/0/2 FXOKS (EC: VPMOCT032 - INACTIVE)
>              4 WCTDM/0/3 FXOKS (EC: VPMOCT032 - INACTIVE)
>              5 WCTDM/0/4 FXOKS (EC: VPMOCT032 - INACTIVE)
>              6 WCTDM/0/5 FXSKS RED (EC: VPMOCT032 - INACTIVE)
>              7 WCTDM/0/6 Reserved
>              8 WCTDM/0/7 Reserved
>
> After opening channel 2:
>
>   [root at 112-17-24-10 ~]# cat /proc/dahdi/1
>   Span 1: WCTDM/0 "Wildcard A8B" (MASTER)
>
>              1 WCTDM/0/0 FXOKS (EC: VPMOCT032 - INACTIVE)
>              2 WCTDM/0/1 FXOKS (In use) (EC: VPMOCT032 - INACTIVE)
>              3 WCTDM/0/2 FXOKS (EC: VPMOCT032 - INACTIVE)
>              4 WCTDM/0/3 FXOKS (EC: VPMOCT032 - INACTIVE)
>              5 WCTDM/0/4 FXOKS (EC: VPMOCT032 - INACTIVE)
>              6 WCTDM/0/5 FXSKS RED (EC: VPMOCT032 - INACTIVE)
>              7 WCTDM/0/6 Reserved
>              8 WCTDM/0/7 Reserved
>
> --
> Shaun Ruffell
> Digium, Inc. | Linux Kernel Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: www.digium.com & www.asterisk.org
>
> --
> _____________________________________________________________________
> -- 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/20140115/8358a718/attachment.html>


More information about the asterisk-users mailing list