[asterisk-users] patlooptest output - errors

Shaun Ruffell sruffell at digium.com
Wed Jan 15 10:28:05 CST 2014


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



More information about the asterisk-users mailing list