[asterisk-users] Newbie in China: Red alaram in Zaptel for E1

Matthew Fredrickson creslin at digium.com
Wed Jul 30 10:22:58 CDT 2008


emist wrote:
> My best guess from looking at that is that its a driver bug. The last
> thing that happens before the lockup seems to be an ioctl call to the
> device.
>   

That was a bug that should have been resolved by 1.4.11 (he subsequently 
updated and it was resolved).

Matthew Fredrickson
Digium, Inc
> Hope it helps,
>
> Igor H.
>
> Lee, John (Sydney) wrote:
>   
>> This time, I am trying to remotely install Asterisk in China.
>> I was told that an E1 line has been installed and so I plug it into port
>> 1 of a TE412P.
>>
>> On the box, first of all, I just installed Zaptel 1.4.10.1.
>> # service zaptel restart
>> Unloading zaptel hardware drivers:ERROR: Module zaptel is in use
>> .
>> Loading zaptel framework:                                  [  OK  ]
>> Waiting for zap to come online...OK
>> Loading zaptel hardware modules: tor2.
>>  wct4xxp.
>>  wcte12xp.
>>  wct1xxp.
>>  wcte11xp.
>>  wctdm24xxp.
>>  wcfxo.
>>  wctdm.
>>  wcusb.
>> Running ztcfg:                                             [  OK  ]
>>
>> # vi zaptel.conf
>> [...]
>> span=1,1,0,ccs,hdb3,crc4
>> bchan=1-15,17-31
>> dchan=16
>>
>> *** However, I received a red alarm in zttool and the LED on the TE412P
>> card is also red.
>> *** I have made sure that the jumper is closed for port 1 on the TE412P
>> card and so it could not be the jumper problem.
>>
>> ### Because this is the first time I install Asterisk in China and I was
>> wondering if their E1 is different from the Euro E1.
>> ### However, I went into dmesg and I discovered the following.
>> ### Could it really be a zaptel bug?  I saw on a similar few on the
>> digium bug list but I cannot be 100% sure.
>>
>> Any thoughts? 
>>
>> About to enter spanconfig!
>> Done with spanconfig!
>> Registered tone zone 33 (China)
>> About to enter startup!
>> TE4XXP: Span 1 configured for CCS/HDB3/CRC4
>> timing source auto card 0!
>> wct4xxp: Setting yellow alarm on span 1
>> timing source auto card 0!
>> VPM400: Not Present
>> VPM450: echo cancellation for 128 channels
>> ********
>> ********BUG: soft lockup - CPU#2 stuck for 16s! [ztcfg:4681]
>> ********
>> Pid: 4681, comm:                ztcfg
>> EIP: 0060:[<f8cba1df>] CPU: 2
>> EIP is at init_vpm450m+0x32d/0x34a [wct4xxp]
>>  EFLAGS: 00000286    Tainted: G       (2.6.18-92.1.6.el5 #1)
>> EAX: 00000000 EBX: f76ae8f0 ECX: 00000019 EDX: 0000ffff
>> ESI: f7997400 EDI: 00000286 EBP: f76838c0 DS: 007b ES: 007b
>> CR0: 8005003b CR2: b7f01007 CR3: 37bc1000 CR4: 000006d0
>>  [<f8ca1b11>] t4_vpm450_init+0x18ce/0x198c [wct4xxp]
>>  [<f8ca5ee4>] t4_startup+0x4315/0x43c7 [wct4xxp]
>>  [<c042609c>] release_console_sem+0x17e/0x1b8
>>  [<c046d53a>] cache_alloc_refill+0x14b/0x450
>>  [<f8956f61>] zt_ioctl+0x273/0x144f [zaptel]
>>  [<c04d7d45>] generic_make_request+0x248/0x258
>>  [<c045ae3c>] __do_page_cache_readahead+0x69/0x1c6
>>  [<c0484a5b>] __d_lookup+0x98/0xdb
>>  [<c047c110>] do_lookup+0x53/0x166
>>  [<c047e7e4>] do_path_lookup+0x20e/0x25e
>>  [<c047c389>] permission+0xa2/0xb5
>>  [<c04e2d06>] kobject_get+0xf/0x13
>>  [<c046f7fa>] __dentry_open+0xea/0x1ab
>>  [<c046f91f>] nameidata_to_filp+0x19/0x28
>>  [<c046f959>] do_filp_open+0x2b/0x31
>>  [<c048029b>] do_ioctl+0x47/0x5d
>>  [<c04804fb>] vfs_ioctl+0x24a/0x25c
>>  [<c0471bbe>] __fput+0x13f/0x167
>>  [<c0480555>] sys_ioctl+0x48/0x5f
>>  [<c0404eff>] syscall_call+0x7/0xb
>>  =======================
>> VPM450: hardware DTMF disabled.
>> VPM450: Present and operational servicing 4 span(s)
>> Completed startup!
>>
>>
>>
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>> Register Now: http://www.astricon.net
>>
>> 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 --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   




More information about the asterisk-users mailing list