List Info

Thread: libpri for FBSD 6.1 and 1.2.11




libpri for FBSD 6.1 and 1.2.11
user name
2006-09-06 03:57:43
I've got the latest trunk from svn, and the wcte11xp loads
fine
on my DL320 now.

Is there a different Libpri I need to get from svn?

Not sure what else I need for asterisk to handle my PRI.  I
know the
driver is loaded, and sees the Digium card, but I'm
guessing
I need a libpri before asterisk will be able to manage the
channels.

Any suggestions?

Thanks,

Bill

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
libpri for FBSD 6.1 and 1.2.11
user name
2006-09-06 06:54:12

On 09/06/06 11:57 Bill Harris said the following:
> I've got the latest trunk from svn, and the wcte11xp
loads fine
> on my DL320 now.
> 
> Is there a different Libpri I need to get from svn?

libpri 1.2.3 from digium should work fine.

> Not sure what else I need for asterisk to handle my
PRI.  I know the
> driver is loaded, and sees the Digium card, but I'm
guessing

be sure to have libpri built and install before building and
installing 
asterisk. this is so the makefile mechanism can detect an
installed libpri 
and build chan_zap with PRI functionality.

-- 
Regards,                           /\_/\   "All dogs
go to heaven."
dineshalphaque.com                (0 0)   http://www.openmalay
siablog.com/
+==========================----oOO--(_)--OOo----============
==============+
| for a in past present future; do                          
             |
|   for b in clients employers associates relatives
neighbours pets; do   |
|   echo "The opinions here in no way reflect the
opinions of my $a $b."  |
| done; done                                                
             |
+===========================================================
==============+
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
DL320 (Celeron Processor vers) and 4 port WildCard TDM400P
user name
2006-09-06 17:36:59

Well,

I deployed one of the Proliant DL320's last night, slightly ahead of schedule,
due to a failing drive in my temporary machine.

Running into the similiar high interrupt issues again.   The previous machine
was a Pentium 4 2.4Ghz with larger cache.  This one is the 2.93Ghz with 256k
L2 cache.

Do I need to enable anything special in my kernel config to for this processor.

Just recompiling the kernel drove the load up over 2, but mainly the interrupt
loss caused my bge driver watchdog to reset the port.  Ugly.  

Any suggestions?  this is a brand new machine, and I bought 4 of them.   Maybe
this is why HP was selling them so cheap..

Bill
libpri for FBSD 6.1 and 1.2.11
user name
2006-09-07 21:36:29
Hmm..

Well, it won't build.   I tracked down zaptel.h and full
pathed it, now
it's looking for zap.h, which I haven't been able to find?

Nothing in the zaptel-bsd-trunk or asterisk build
directories or the
normal include directories.

Bill


On Sep 6, 2006, at 1:54 AM, Dinesh Nair wrote:

>
>
> On 09/06/06 11:57 Bill Harris said the following:
>> I've got the latest trunk from svn, and the
wcte11xp loads fine
>> on my DL320 now.
>> Is there a different Libpri I need to get from svn?
>
> libpri 1.2.3 from digium should work fine.
>
>> Not sure what else I need for asterisk to handle my
PRI.  I know the
>> driver is loaded, and sees the Digium card, but
I'm guessing
>
> be sure to have libpri built and install before
building and  
> installing asterisk. this is so the makefile mechanism
can detect  
> an installed libpri and build chan_zap with PRI
functionality.
>
> -- 
> Regards,                           /\_/\   "All
dogs go to heaven."
> dineshalphaque.com                (0 0)   http:// 
> www.openmalaysiablog.com/
> +==========================----oOO--(_)--OOo---- 
> ==========================+
> | for a in past present future;  
> do                                        |
> |   for b in clients employers associates relatives
neighbours  
> pets; do   |
> |   echo "The opinions here in no way reflect the
opinions of my $a  
> $b."  |
> | done;  
> done                                                   
          |
>
+===========================================================
========== 
> ====+
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSDlists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd

_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
DL320 (Celeron Processor vers) and 4 port WildCard TDM400P
user name
2006-09-08 06:08:04

On 09/07/06 01:36 BHarriscelinaisd.com said the
following:
> was a Pentium 4 2.4Ghz with larger cache.  This one is
the 2.93Ghz with 
> 256k
> L2 cache.

what's your 'vmstat 5' and your 'vmstat -i' output ?

> loss caused my bge driver watchdog to reset the port. 
Ugly.  

the bge(4) driver supports polling(4). you may want to turn
that on to 
alleviate interrupt processing somewhat.

-- 
Regards,                           /\_/\   "All dogs
go to heaven."
dineshalphaque.com                (0 0)   http://www.openmalay
siablog.com/
+==========================----oOO--(_)--OOo----============
==============+
| for a in past present future; do                          
             |
|   for b in clients employers associates relatives
neighbours pets; do   |
|   echo "The opinions here in no way reflect the
opinions of my $a $b."  |
| done; done                                                
             |
+===========================================================
==============+
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
libpri for FBSD 6.1 and 1.2.11
user name
2006-09-08 06:29:15

On 09/08/06 05:36 Bill Harris said the following:
> Well, it won't build.   I tracked down zaptel.h and
full pathed it, now
> it's looking for zap.h, which I haven't been able to
find?

do be more specific with your observations. did you build
zaptel from the 
zaptel-bsd subversion repository and install it ? this would
install 
zaptel.h in /usr/local/include as per the freebsd
convention.

-- 
Regards,                           /\_/\   "All dogs
go to heaven."
dineshalphaque.com                (0 0)   http://www.openmalay
siablog.com/
+==========================----oOO--(_)--OOo----============
==============+
| for a in past present future; do                          
             |
|   for b in clients employers associates relatives
neighbours pets; do   |
|   echo "The opinions here in no way reflect the
opinions of my $a $b."  |
| done; done                                                
             |
+===========================================================
==============+
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
libpri for FBSD 6.1 and 1.2.11
user name
2006-09-08 13:21:16

Yes, I did build from sub-version, and I found zaptel.h , and I full pathed it
in the include,   it then was needing zap.h, which is the one I couldn't find.

Bill



Dinesh Nair <dineshalphaque.com>
Sent by: asterisk-bsd-bounceslists.digium.com

09/08/06 01:54 AM
Please respond to
Asterisk on BSD discussion <asterisk-bsdlists.digium.com>

To
Asterisk on BSD discussion <asterisk-bsdlists.digium.com>
cc
Subject
Re: [Asterisk-bsd] libpri for FBSD 6.1 and 1.2.11







On 09/08/06 05:36 Bill Harris said the following:
> Well, it won't build.   I tracked down zaptel.h and full pathed it, now
> it's looking for zap.h, which I haven't been able to find?

do be more specific with your observations. did you build zaptel from the
zaptel-bsd subversion repository and install it ? this would install
zaptel.h in /usr/local/include as per the freebsd convention.

--
Regards,                   &nbsp;       /\_/\   "All dogs go to heaven.&quot;
dineshalphaque.com                (0 0)   http://www.openmalaysiablog.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do             &nbsp;                     &nbsp;    |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                   &nbsp;                     &nbsp;                    |
+=========================================================================+
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

DL320 (Celeron Processor vers) and 4 port WildCard TDM400P
user name
2006-09-08 16:44:10

# vmstat 5
 procs      memory      page               &nbsp;   disk   faults      cpu
 r b w     avm    fre  flt  re  pi  po  fr  sr ad4   in   sy  cs us sy id
 1 0 0   83068 232088   &nbsp;5   0   0   0   6   0   0 1959  470 4223 37 42 21
 0 0 0   83068 232088   &nbsp;1   0   0   0   0   0   0 1601 1553 4230  0  2 97
 0 0 0   83068 232088   &nbsp;0   0   0   0   0   0   0 1604 1559 4164  1 20 79
 0 0 0   83068 232088   &nbsp;0   0   0   0   0   0   0 1589 1556 4129  0 49 51
 0 0 0   83068 232088   &nbsp;0   0   0   0   0   0   0 1610 1531 4154  0 37 63
 0 0 0   83068 232088   &nbsp;0   0   0   0   0   0   1 1639 1572 4361  0  2 98
 0 0 0   83052 232104   &nbsp;0   0   0   0   1   0   0 1387  959 3666  1 12 86
 0 0 0   83052 232104   &nbsp;0   0   0   0   0   0   1 1323 1046 3511  0 44 56
 0 0 0   83052 232104   &nbsp;0   0   0   0   0   0   0 1389 1301 3779  0 46 54
 0 0 0   83052 232104   &nbsp;0   0   0   0   0   0   0 1457 1502 3995  0  2 98
 0 0 0   83052 232104   &nbsp;0   0   0   0   0   0   1 1463 1500 4006  1  6 93
 0 0 0   83052 232104   &nbsp;0   0   0   0   0   0   0 1447 1513 3874  1 37 62
 0 0 0   83052 232104   &nbsp;0   0   0   0   0   0   1 1441 1508 3796  0 51 49
 0 0 0   83068 232088   &nbsp;2   0   0   0   0   0   2 1428 1705 4302  1  8 91
 0 0 0   83072 232084   &nbsp;0   0   0   0   0   0   0 1553 2063 4750  1  3 96
 0 0 0   83072 232084   &nbsp;0   0   0   0   0   0   0 1459 1523 4122  0 27 72
 0 0 0   83072 232084   &nbsp;0   0   0   0   0   0   2 1475 1599 4231  0 50 50
 0 0 0   83088 232068   &nbsp;1   0   0   0   0   0   0 1523 1863 4567  0 18 82

# vmstat -i
interrupt           &nbsp;              total     &nbsp; rate
irq1: atkbd0         &nbsp;               802     &nbsp;    0
irq16: wcfxs0 bge*       &nbsp;      98707134       1031
irq17: bge1 uhci1+       &nbsp;        108236          1
irq23: uhci4         &nbsp;                 8   &nbsp;      0
cpu0: timer         &nbsp;          191326796       1999
Total           &nbsp;              290142976   &nbsp;   3032

# vmstat -i
interrupt           &nbsp;              total     &nbsp; rate
irq1: atkbd0         &nbsp;               802     &nbsp;    0
irq16: wcfxs0 bge*       &nbsp;      98718802       1031
irq17: bge1 uhci1+       &nbsp;        108236          1
irq23: uhci4         &nbsp;                 8   &nbsp;      0
cpu0: timer         &nbsp;          191347759       1999
Total           &nbsp;              290175607   &nbsp;   3032





Dinesh Nair <dineshalphaque.com>
Sent by: asterisk-bsd-bounceslists.digium.com

09/08/06 01:09 AM
Please respond to
Asterisk on BSD discussion <asterisk-bsdlists.digium.com>

To
Asterisk on BSD discussion <asterisk-bsdlists.digium.com>
cc
Subject
Re: [Asterisk-bsd] DL320 (Celeron Processor vers) and 4 port WildCard        TDM400P







On 09/07/06 01:36 BHarriscelinaisd.com said the following:
> was a Pentium 4 2.4Ghz with larger cache.  This one is the 2.93Ghz with
> 256k
> L2 cache.

what's your 'vmstat 5' and your 'vmstat -i' output ?

> loss caused my bge driver watchdog to reset the port.  Ugly.  

the bge(4) driver supports polling(4). you may want to turn that on to
alleviate interrupt processing somewhat.

--
Regards,                   &nbsp;       /\_/\   "All dogs go to heaven.&quot;
dineshalphaque.com                (0 0)   http://www.openmalaysiablog.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do             &nbsp;                     &nbsp;    |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                   &nbsp;                     &nbsp;                    |
+=========================================================================+
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

libpri for FBSD 6.1 and 1.2.11
user name
2006-09-08 17:47:35

Dinsesh,

Because it appeared to be a conditional Define issue in pritest.c and testprilib.c,
I just commented out the "zap.h" entries, and everything compiled fine.  

Just about to install the card, and give it a try.

Bill




Dinesh Nair <dineshalphaque.com>
Sent by: asterisk-bsd-bounceslists.digium.com

09/08/06 01:54 AM
Please respond to
Asterisk on BSD discussion <asterisk-bsdlists.digium.com>

To
Asterisk on BSD discussion <asterisk-bsdlists.digium.com>
cc
Subject
Re: [Asterisk-bsd] libpri for FBSD 6.1 and 1.2.11







On 09/08/06 05:36 Bill Harris said the following:
> Well, it won't build.   I tracked down zaptel.h and full pathed it, now
> it's looking for zap.h, which I haven't been able to find?

do be more specific with your observations. did you build zaptel from the
zaptel-bsd subversion repository and install it ? this would install
zaptel.h in /usr/local/include as per the freebsd convention.

--
Regards,                   &nbsp;       /\_/\   "All dogs go to heaven.&quot;
dineshalphaque.com                (0 0)   http://www.openmalaysiablog.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do             &nbsp;                     &nbsp;    |
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo "The opinions here in no way reflect the opinions of my $a $b."  |
| done; done                   &nbsp;                     &nbsp;                    |
+=========================================================================+
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

libpri for FBSD 6.1 and 1.2.11
user name
2006-09-11 08:10:51

On 09/08/06 21:21 BHarriscelinaisd.com said the
following:
> 
> Yes, I did build from sub-version, and I found zaptel.h
, and I full 
> pathed it
> in the include,   it then was needing zap.h, which is
the one I couldn't 
> find.

could you post your build output ? zap.h is an odd file to
look for, since 
it doesnt exist in zaptel-bsd. i just built 1.2.12 on
freebsd 6.1 without 
any issues.

-- 
Regards,                           /\_/\   "All dogs
go to heaven."
dineshalphaque.com                (0 0)   http://www.openmalay
siablog.com/
+==========================----oOO--(_)--OOo----============
==============+
| for a in past present future; do                          
             |
|   for b in clients employers associates relatives
neighbours pets; do   |
|   echo "The opinions here in no way reflect the
opinions of my $a $b."  |
| done; done                                                
             |
+===========================================================
==============+
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
[1-10] [11-18]

about | contact  Other archives ( Real Estate discussion Medical topics )