VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
tg at ovm-group.com Guest
|
Posted: Fri Oct 10, 2014 5:47 am Post subject: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgra |
|
|
Hi,
I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04
LTS. Asterisk and DAHDI-Drivers are installed from source.
When doing an "apt-get upgrade" the system packages will be update but
sometimes Asterisk is broken. Which packages do I have to exclude when I
do not have time to recompile Asterisk/Dahdi each time? libc?
Kernel-Packages?
Thanks so far!
-Thorsten-
--
_____________________________________________________________________
-- 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 |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Fri Oct 10, 2014 6:11 am Post subject: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgra |
|
|
Quote: | When doing an "apt-get upgrade" the system packages will be update but
sometimes Asterisk is broken.
| Can you describe what is broken?
Quote: | Which packages do I have to exclude when I
do not have time to recompile Asterisk/Dahdi each time? libc?
Kernel-Packages?
| The way things are set up is that you have to compile the wanpipe drivers always against the
current versions of the kernel and DAHDI. You could change that with a pretty high risk of
breaking things, mainly due to frequent changes in the network related parts of the kernel.
I have never seen something break, except for kernel updates, but my systems are RedHat based. I
doubt that the Debian based systems are much different as far as interface changes are concerned
for a certain release. My guess is that you should be fine if you do not execute "apt-get
dist-upgrade".
jg
--
_____________________________________________________________________
-- 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 |
|
|
asterisk_list at earth... Guest
|
Posted: Fri Oct 10, 2014 7:56 am Post subject: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgra |
|
|
On Friday 10 Oct 2014, Thorsten Göllner wrote:
Quote: | Hi,
I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04
LTS. Asterisk and DAHDI-Drivers are installed from source.
When doing an "apt-get upgrade" the system packages will be update but
sometimes Asterisk is broken. Which packages do I have to exclude when I
do not have time to recompile Asterisk/Dahdi each time? libc?
Kernel-Packages?
Thanks so far!
-Thorsten-
|
DAHDI is basically a set of kernel modules, which *by design* work only with
the exact kernel for which they were compiled; so avoid any upgrade to the
kernel if you don't have time to rebuild DAHDI.
C library changes potentially could require anything to be recompiled; but in
practice almost invariably don't, precisely because of how much breakage would
potentially be caused. If a C library update requires recompilation of other
packages then either there has been a Flag Day (and not the sort where mean
people stay indoors!) or you're running Gentoo.
I believe there is a way in Debian, and therefore probably Ubuntu, to have
some script execute automatically following a kernel update. So you might
even be able to have DAHDI self-rebuild following a kernel update.
--
AJS
Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
--
_____________________________________________________________________
-- 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 |
|
|
linus at unicorn.se Guest
|
Posted: Fri Oct 10, 2014 8:16 am Post subject: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgra |
|
|
On Ubuntu I've made an ugly shell script and put it in /etc/kernel/postinst.d/
This is the script:
#!/bin/bash
#Kernel version being installed is param 1
kernel_installing=$1
cd /usr/src/dahdi
KVERS=$kernel_installing make
KVERS=$kernel_installing make install
You'll also need to reboot the system.
On Fri, Oct 10, 2014 at 2:55 PM, A J Stiles <asterisk_list@earthshod.co.uk (asterisk_list@earthshod.co.uk)> wrote:
Quote: | On Friday 10 Oct 2014, Thorsten Göllner wrote:
Quote: | Hi,
I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04
LTS. Asterisk and DAHDI-Drivers are installed from source.
When doing an "apt-get upgrade" the system packages will be update but
sometimes Asterisk is broken. Which packages do I have to exclude when I
do not have time to recompile Asterisk/Dahdi each time? libc?
Kernel-Packages?
Thanks so far!
-Thorsten-
|
DAHDI is basically a set of kernel modules, which *by design* work only with
the exact kernel for which they were compiled; so avoid any upgrade to the
kernel if you don't have time to rebuild DAHDI.
C library changes potentially could require anything to be recompiled; but in
practice almost invariably don't, precisely because of how much breakage would
potentially be caused. If a C library update requires recompilation of other
packages then either there has been a Flag Day (and not the sort where mean
people stay indoors!)Â or you're running Gentoo.
I believe there is a way in Debian, and therefore probably Ubuntu, to have
some script execute automatically following a kernel update. So you might
even be able to have DAHDI self-rebuild following a kernel update.
--
AJS
Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
--
_____________________________________________________________________
-- 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 |
|
|
ethy.brito at inexo.co... Guest
|
Posted: Fri Oct 10, 2014 8:32 am Post subject: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgra |
|
|
On Fri, 10 Oct 2014 13:11:10 +0200
jg <webaccounts173@jgoettgens.de> wrote:
Quote: |
Quote: | When doing an "apt-get upgrade" the system packages will be update but
sometimes Asterisk is broken.
| Can you describe what is broken?
|
Hi jg and All.
I will go in this flow and say I reported a similar bug at Launchpad and I got
no answers up to this moment. Please see:
https://bugs.launchpad.net/bugs/1338578
Every kernel upgrade is a nightmare here!
Who can help us?
Regards
Ethy
Quote: | Quote: | Which packages do I have to exclude when I
do not have time to recompile Asterisk/Dahdi each time? libc?
Kernel-Packages?
| The way things are set up is that you have to compile the wanpipe drivers
always against the current versions of the kernel and DAHDI. You could change
that with a pretty high risk of breaking things, mainly due to frequent
changes in the network related parts of the kernel.
I have never seen something break, except for kernel updates, but my systems
are RedHat based. I doubt that the Debian based systems are much different as
far as interface changes are concerned for a certain release. My guess is
that you should be fine if you do not execute "apt-get dist-upgrade".
jg
--
_____________________________________________________________________
-- 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
|
--
Ethy H. Brito /"\
InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3797-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil / \
PGP key: http://www.inexo.com.br/~ethy/0xC3F222A0.asc
--
_____________________________________________________________________
-- 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 |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Fri Oct 10, 2014 8:54 am Post subject: [asterisk-users] Ubuntu 12.04 LTS / Asterisk / apt-get upgra |
|
|
Quote: | I believe there is a way in Debian, and therefore probably Ubuntu, to have
some script execute automatically following a kernel update. So you might
even be able to have DAHDI self-rebuild following a kernel update.
| I went back to do everything by hand, if necessary. Thorsten and other Wanpipe users need to
synchronize DAHDI, the kernel, and the Wanpipe drivers. I don't use Asterisk modules that depend
too much on the distro or kernel version, but other setups might have more dependencies.
Essentially you can do a kernel update only if the Wanpipe drivers are consistent with the DAHDI
and kernel versions and DAHDI works only if the kernel doesn't object, which happens once in a
while. The wanpipe drivers rarely (=never) work with the most recent kernels, so running a
production machine with the latest beta Fedora or Ubuntu, is something for extreme athletes.
jg
--
_____________________________________________________________________
-- 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 |
|
|
|
|
|
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
|