VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jeff at jeff.net Guest
|
Posted: Wed Jul 01, 2015 1:37 pm Post subject: [asterisk-users] Dell portability |
|
|
Howdy,
I built an LXC container with an "image" of asterisk 11.18 precompiled
and installed. It runs fine on the dev platform, which is a Dell R320
running Ubuntu 14.04LTS. I shutdown the container, tarred it up, and
untarred on a Dell PE1850, also running Ubuntu 14.04LTS. The container
itself is Ubuntu 14.04LTS. Both platforms as far as I know are amd64.
The container boots fine on the 1850, but trying to run asterisk
segfaults. The source tree was still in the container, so I just did a
make clean; make; make install. It now runs fine.
Is there some compile flag I could use to make sure it is more
"compatible" as I copy the container around? Can anyone suggest a debug
sequence that would at least narrow down what is causing the fault?
Cheers,
j
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
sgriepentrog at digium... Guest
|
Posted: Wed Jul 01, 2015 1:45 pm Post subject: [asterisk-users] Dell portability |
|
|
Try turning off BUILD_NATIVE in menuselect. This will eliminate optimizations for the processor you last compiled on, which prevents crashes due to instructions not present on a different processor. This is frequently necessary when using in virtual environments.
In cli form: Â # menuselect/menuselect --disable BUILD_NATIVE
On Wed, Jul 1, 2015 at 1:36 PM, Jeff LaCoursiere <jeff@jeff.net (jeff@jeff.net)> wrote:
Quote: |
Howdy,
I built an LXC container with an "image" of asterisk 11.18 precompiled and installed. It runs fine on the dev platform, which is a Dell R320 running Ubuntu 14.04LTS. I shutdown the container, tarred it up, and untarred on a Dell PE1850, also running Ubuntu 14.04LTS. The container itself is Ubuntu 14.04LTS. Both platforms as far as I know are amd64.
The container boots fine on the 1850, but trying to run asterisk segfaults. The source tree was still in the container, so I just did a make clean; make; make install. It now runs fine.
Is there some compile flag I could use to make sure it is more "compatible" as I copy the container around? Can anyone suggest a debug sequence that would at least narrow down what is causing the fault?
Cheers,
j
--
_____________________________________________________________________
-- 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
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 256 580 6090
Check us out at: http://digium.com · http://asterisk.org |
|
Back to top |
|
|
jeff at jeff.net Guest
|
Posted: Wed Jul 01, 2015 1:58 pm Post subject: [asterisk-users] Dell portability |
|
|
Awesome, that did the trick! Thanks!
j
On 07/01/2015 01:44 PM, Scott Griepentrog wrote:
Quote: | Try turning off BUILD_NATIVE in menuselect. This will eliminate optimizations for the processor you last compiled on, which prevents crashes due to instructions not present on a different processor. This is frequently necessary when using in virtual environments.
In cli form: # menuselect/menuselect --disable BUILD_NATIVE
On Wed, Jul 1, 2015 at 1:36 PM, Jeff LaCoursiere <jeff@jeff.net (jeff@jeff.net)> wrote:
Quote: |
Howdy,
I built an LXC container with an "image" of asterisk 11.18 precompiled and installed. It runs fine on the dev platform, which is a Dell R320 running Ubuntu 14.04LTS. I shutdown the container, tarred it up, and untarred on a Dell PE1850, also running Ubuntu 14.04LTS. The container itself is Ubuntu 14.04LTS. Both platforms as far as I know are amd64.
The container boots fine on the 1850, but trying to run asterisk segfaults. The source tree was still in the container, so I just did a make clean; make; make install. It now runs fine.
Is there some compile flag I could use to make sure it is more "compatible" as I copy the container around? Can anyone suggest a debug sequence that would at least narrow down what is causing the fault?
Cheers,
j
--
_____________________________________________________________________
-- 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
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 256 580 6090
Check us out at: http://digium.com · http://asterisk.org
|
|
|
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
|