VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
lenz-ml at loway.it Guest
|
Posted: Fri Mar 28, 2008 4:36 pm Post subject: [asterisk-users] New Tutorial: Asterisk on EPIA VIA C3 |
|
|
Hello list,
after spending the best part of an afternoon trying to build Asterisk on
an old EPIA VIA C3, I thought that writing a tutorial would make life
easier for future compilers:
http://astrecipes.net/index.php?n=356
I had never compiled Asterisk for a different architecture, and I'm pretty
disappointed at how complex it is - building Zaptel, Libpri and Asterisk
requires discovering three different procedures, and even passing the
required architecture to the autoconfig module was not enough for a clean
build - libpthread and libresolv would not link, so you have to add them
manually. Aybody got an idea of who should be notified of this immediate
problem, apart for the time-wasteful general compilation procedure?
Thanks
l.
--
Loway Research - Home of QueueMetrics
http://queuemetrics.com |
|
Back to top |
|
|
alanslists at gmail.com Guest
|
Posted: Sat Mar 29, 2008 6:03 am Post subject: [asterisk-users] New Tutorial: Asterisk on EPIA VIA C3 |
|
|
Lenz wrote:
Quote: | Hello list,
after spending the best part of an afternoon trying to build Asterisk on
an old EPIA VIA C3, I thought that writing a tutorial would make life
easier for future compilers:
http://astrecipes.net/index.php?n=356
I had never compiled Asterisk for a different architecture, and I'm pretty
disappointed at how complex it is - building Zaptel, Libpri and Asterisk
requires discovering three different procedures, and even passing the
required architecture to the autoconfig module was not enough for a clean
build - libpthread and libresolv would not link, so you have to add them
manually. Aybody got an idea of who should be notified of this immediate
problem, apart for the time-wasteful general compilation procedure?
Thanks
l.
|
Hi there,
I didn't find it too much trouble in a Via C700N system. But I wouldn't
use one of the mainstream distros for the OS. They chew up system
resources just trying to accommodate "any" hardware.
The solution is to roll-your-own. See this series of articles on my
blog... http://www.theopensourcerer.com/tag/asterisk/
Cheers
Al
--
The way out is open!
http://www.theopensourcerer.com |
|
Back to top |
|
|
dhartman at djhsolutio... Guest
|
Posted: Sun Mar 30, 2008 6:22 pm Post subject: [asterisk-users] New Tutorial: Asterisk on EPIA VIA C3 |
|
|
Alan Lord wrote:
Quote: | Lenz wrote:
Quote: | Hello list,
after spending the best part of an afternoon trying to build Asterisk on
an old EPIA VIA C3, I thought that writing a tutorial would make life
easier for future compilers:
http://astrecipes.net/index.php?n=356
I had never compiled Asterisk for a different architecture, and I'm pretty
disappointed at how complex it is - building Zaptel, Libpri and Asterisk
requires discovering three different procedures, and even passing the
required architecture to the autoconfig module was not enough for a clean
build - libpthread and libresolv would not link, so you have to add them
manually. Aybody got an idea of who should be notified of this immediate
problem, apart for the time-wasteful general compilation procedure?
Thanks
l.
|
Hi there,
I didn't find it too much trouble in a Via C700N system. But I wouldn't
use one of the mainstream distros for the OS. They chew up system
resources just trying to accommodate "any" hardware.
The solution is to roll-your-own. See this series of articles on my
blog... http://www.theopensourcerer.com/tag/asterisk/
|
The C7 supports full i686 features. The C3 is an older chip that is
fully i586 and partially i686 compatible. If you have a distribution
that is compiled with i586 optimizations, you won't have problems.
Darrick
--
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com |
|
Back to top |
|
|
alanslists at gmail.com Guest
|
Posted: Mon Mar 31, 2008 3:11 am Post subject: [asterisk-users] New Tutorial: Asterisk on EPIA VIA C3 |
|
|
Darrick Hartman (lists) wrote:
<snip />
Quote: | Quote: |
I didn't find it too much trouble in a Via C700N system. But I wouldn't
use one of the mainstream distros for the OS. They chew up system
resources just trying to accommodate "any" hardware.
The solution is to roll-your-own. See this series of articles on my
blog... http://www.theopensourcerer.com/tag/asterisk/
|
The C7 supports full i686 features. The C3 is an older chip that is
fully i586 and partially i686 compatible. If you have a distribution
that is compiled with i586 optimizations, you won't have problems.
Darrick
|
Yeah, hi Darrick. I sort of realised after my post what the issue was
with the C3. Although my point about not using a regular distro still
stands. If you roll your own, all the "features" of the host hardware
can be used - perhaps more importantly, *only* those features - and your
kernel and compiler appropriately optimised.
Regular distros are great (I use Ubuntu on my desktop pc) but they do
have to try and be all things to all men and suck up cycles and ram like
the latest Dyson But for a low power 24/7 server that I won't be
"playing" much with; a custom build is just fine.
Consider that I have running concurrently on my little C7 with 1G of RAM
(That I have *down-clocked* to 1Ghz):
* Asterisk,
* Samba,
* Java/Tomcat:
*Cosmo Calendar Server
*ConcursiveSuiteCRM
*Alfresco
*OpenBravo
* PostgreSQL,
* MySQL,
* Exim,
* Apache,
* Vtiger, SugarCRM, A few Joomla! instances,
* Subversion Server
* sshd,
* ntpd,
And some other stuff that I can't recall. I don't think that's too bad
When I get some more free time, I'm planning to build Untangle too.
Cheers
Al
--
The way out is open!
http://www.theopensourcerer.com |
|
Back to top |
|
|
lenz-ml at loway.it Guest
|
Posted: Mon Mar 31, 2008 3:55 am Post subject: [asterisk-users] New Tutorial: Asterisk on EPIA VIA C3 |
|
|
Apart from the tutorial itself, what I wanted to point out was that the
way asterisk, zaptel and libpri are to be built is different for each
project, and this is sub-optimal; and that by building Asterisk as
required, you get a linkage error.
l.
On Sat, 29 Mar 2008 12:03:59 +0100, Alan Lord <alanslists at gmail.com> wrote:
Quote: | Lenz wrote:
Quote: | Hello list,
after spending the best part of an afternoon trying to build Asterisk on
an old EPIA VIA C3, I thought that writing a tutorial would make life
easier for future compilers:
http://astrecipes.net/index.php?n=356
I had never compiled Asterisk for a different architecture, and I'm
pretty
disappointed at how complex it is - building Zaptel, Libpri and Asterisk
requires discovering three different procedures, and even passing the
required architecture to the autoconfig module was not enough for a
clean
build - libpthread and libresolv would not link, so you have to add them
manually. Aybody got an idea of who should be notified of this immediate
problem, apart for the time-wasteful general compilation procedure?
Thanks
l.
|
Hi there,
I didn't find it too much trouble in a Via C700N system. But I wouldn't
use one of the mainstream distros for the OS. They chew up system
resources just trying to accommodate "any" hardware.
The solution is to roll-your-own. See this series of articles on my
blog... http://www.theopensourcerer.com/tag/asterisk/
Cheers
Al
|
--
Loway Research - Home of QueueMetrics
http://queuemetrics.com |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Mon Mar 31, 2008 4:43 am Post subject: [asterisk-users] New Tutorial: Asterisk on EPIA VIA C3 |
|
|
On Mon, Mar 31, 2008 at 09:11:00AM +0100, Alan Lord wrote:
Quote: | Darrick Hartman (lists) wrote:
<snip />
Quote: | Quote: |
I didn't find it too much trouble in a Via C700N system. But I wouldn't
use one of the mainstream distros for the OS. They chew up system
resources just trying to accommodate "any" hardware.
The solution is to roll-your-own. See this series of articles on my
blog... http://www.theopensourcerer.com/tag/asterisk/
|
The C7 supports full i686 features. The C3 is an older chip that is
fully i586 and partially i686 compatible. If you have a distribution
that is compiled with i586 optimizations, you won't have problems.
Darrick
|
Yeah, hi Darrick. I sort of realised after my post what the issue was
with the C3. Although my point about not using a regular distro still
stands. If you roll your own, all the "features" of the host hardware
can be used - perhaps more importantly, *only* those features - and your
kernel and compiler appropriately optimised.
Regular distros are great (I use Ubuntu on my desktop pc) but they do
have to try and be all things to all men and suck up cycles and ram like
the latest Dyson But for a low power 24/7 server that I won't be
"playing" much with; a custom build is just fine.
|
You can easily take a standard distro and remove all the services you
don't really need.
Quote: |
Consider that I have running concurrently on my little C7 with 1G of RAM
(That I have *down-clocked* to 1Ghz):
|
One major point: one of the cool advantages of the VIA CPUs is that it
can be run fanless. In your setup you couple it with a large HD, and
hence your system has moving parts.
Quote: |
* Asterisk,
* Samba,
* Java/Tomcat:
*Cosmo Calendar Server
*ConcursiveSuiteCRM
*Alfresco
*OpenBravo
* PostgreSQL,
* MySQL,
* Exim,
* Apache,
* Vtiger, SugarCRM, A few Joomla! instances,
* Subversion Server
* sshd,
* ntpd,
|
Now, why would you run all of those things on the same system?
Asterisk needs a responsive system. It will not play along well if you
add heavy-duty file serving to the system, as the system will spend too
much time serving files (in kernel space).
There's a limit to what you can optimize away with real-time kernel
features.
Oh, and practically all of those can be installed as standard Debian
packages, without a need for such a lengthy installation manual. I bet
that in 1/2 a year after you install it, you'll end up with a system
with quite a few known security holes. But you'll never bother fixing
them.
Xandros is one such vendor that never bothered following up on security
fixes. Hence the eeepc was an easy target for exploiters. Need I say
that I will not advise anyone to use software from Xandros?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
alanslists at gmail.com Guest
|
Posted: Mon Mar 31, 2008 5:29 am Post subject: [asterisk-users] New Tutorial: Asterisk on EPIA VIA C3 |
|
|
Tzafrir Cohen wrote:
<snip />
Quote: |
You can easily take a standard distro and remove all the services you
don't really need.
|
Yes, but you can't easily change the way the apps are built or setup,
e.g. compiler optimisations, use of initrd when not necessary, kernel
bloat just to accommodate "any" host.
Quote: | Quote: | Consider that I have running concurrently on my little C7 with 1G of RAM
(That I have *down-clocked* to 1Ghz):
|
One major point: one of the cool advantages of the VIA CPUs is that it
can be run fanless. In your setup you couple it with a large HD, and
hence your system has moving parts.
|
No. Fanless is useful, but it is power consumption I am more interested
in. A typical AMD/Intel desktop processor will now chew upwards of
100W. That's without the mobo and external components. Also, can you
find 300Gb of solid state storage for about ?30.
Quote: |
Quote: | * Asterisk,
* Samba,
* Java/Tomcat:
*Cosmo Calendar Server
*ConcursiveSuiteCRM
*Alfresco
*OpenBravo
* PostgreSQL,
* MySQL,
* Exim,
* Apache,
* Vtiger, SugarCRM, A few Joomla! instances,
* Subversion Server
* sshd,
* ntpd,
|
Now, why would you run all of those things on the same system?
|
Because it is for home use where there is low, but relatively constant
load (my wife and I both have home offices). Some of the apps are for
testing/evaluation so do not get used heavily and will not last very
long. I just wanted to show what is possible with a sub ?100 7Watt piece
of hardware.
Quote: | Asterisk needs a responsive system. It will not play along well if you
add heavy-duty file serving to the system, as the system will spend too
much time serving files (in kernel space).
|
I have not experienced *any* performance issues - so far. And uptime is
permanent - until I reboot as I've installed a new kernel or something.
Quote: | Oh, and practically all of those can be installed as standard Debian
packages, without a need for such a lengthy installation manual.
|
Yes, they can. But I might not like where and how Debian (for example)
decides how and where they install and setup those apps. They also do
not use the most up-to-date versions and you are in their hands about
when and how to upgrade.
I bet that in 1/2 a year after you install it, you'll end up with a system
Quote: | with quite a few known security holes. But you'll never bother fixing
them.
|
How much
Seriously, if I find or notice for a major bug/hole it is trivial to
update. I keep all my installation procedures noted (or scripted) so it
is pretty easy just to a CMMI with a new version.
I wouldn't recommend this route for everyone. But being a control freak
I know what and where *everything* is on my server... I don't have that
level of control when using a mainstream distro. Sudo apt-get install is
nice, but you are totally ignorant about what's going on under the
hood... Hey that sounds just like Windows! lol.
Cheers
Al
--
The way out is open!
http://www.theopensourcerer.com |
|
Back to top |
|
|
alanslists at gmail.com Guest
|
Posted: Mon Mar 31, 2008 2:45 pm Post subject: [asterisk-users] New Tutorial: Asterisk on EPIA VIA C3 |
|
|
Gordon Henderson wrote:
Quote: | On Mon, 31 Mar 2008, Alan Lord wrote:
Quote: | Also, can you
find 300Gb of solid state storage for about ?30.
|
Where??????
Gordon
|
Sorry my bad. It was a question...
Al
--
The way out is open!
http://www.theopensourcerer.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|