Project

General

Profile

Dahdi installation issues.

Added by TWT Team over 10 years ago

Hi All,

I have reinstalled my server once again and installed Goautodial 3.0
following the How To Install GOautodial From Scratch
http://goautodial.org/projects/goautodialce/wiki/64bit

  1. cat /etc/redhat-release
    CentOS release 5.10 (Final)
  1. rpm -qa | grep kernel
    kernel-devel-2.6.18-371.1.2.el5.go
    kernel-2.6.18-308.1.1.el5
    kernel-2.6.18-371.1.2.el5.go
    kernel-headers-2.6.18-371.1.2.el5
    kernel-PAE-devel-2.6.18-371.1.2.el5.go
  1. ln -s /usr/src/kernels/2.6.18-371.1.2.el5.go-i686/ /lib/modules/2.6.18-371.1.2.el5.go/build
  1. ln -s /usr/src/kernels/2.6.18-371.1.2.el5.go-i686/ /lib/modules/2.6.18-371.1.2.el5.go/source
    ln: creating symbolic link `/lib/modules/2.6.18-371.1.2.el5.go/source/2.6.18-371 .1.2.el5.go-i686' to `/usr/src/kernels/2.6.18-371.1.2.el5.go-i686/': File exists
  1. make
    make -C drivers/dahdi/firmware firmware-loaders
    make1: Entering directory `/usr/src/dahdi-2.6.1-1.go/drivers/dahdi/firmware'
    make1: Leaving directory `/usr/src/dahdi-2.6.1-1.go/drivers/dahdi/firmware'
    You do not appear to have the sources for the 2.6.18-308.1.1.el5 kernel installed. make: *** [modules] Error 1

[root@call dahdi]# uname -ra
Linux call.tele 2.6.18-308.1.1.el5 #1 SMP Wed Mar 7 04:17:30 EST 2012 i686 i686 i386 GNU/Linux

[root@call dahdi]# lsmod | grep dahdi
[root@call dahdi]#

Can someone help me solve the issue?

Regards,
Alex


Replies (8)

RE: Dahdi installation issues. - Added by Demian Biscocho over 10 years ago

Again, you need to have the kernel-devel package installed for your running kernel (kernel-2.6.18-308.1.1.el5). You are running:

[root@call dahdi]# uname -ra
Linux call.tele 2.6.18-308.1.1.el5

You don't have the kernel-devel package installed for your running kernel.

rpm -qa | grep kernel
kernel-devel-2.6.18-371.1.2.el5.go
kernel-2.6.18-308.1.1.el5
kernel-2.6.18-371.1.2.el5.go
kernel-headers-2.6.18-371.1.2.el5
kernel-PAE-devel-2.6.18-371.1.2.el5.go

Reboot your server to run the latest kernel version installed in your server.

Run this again:

uname -ra>

Make sure you have the kernel-devel or kernel-PAE-devel package installed for your running kernel.

RE: Dahdi installation issues. - Added by TWT Team over 10 years ago

After reboot my server still runs old kernel do you know the reason why?
[root@call ~]# reboot

[root@call ~]# rpm -qa | grep kernel
kernel-devel-2.6.18-371.1.2.el5.go
kernel-2.6.18-308.1.1.el5
kernel-2.6.18-371.1.2.el5.go
kernel-headers-2.6.18-371.1.2.el5
kernel-PAE-devel-2.6.18-371.1.2.el5.go

[root@call dahdi]# uname -ra
Linux call.tele 2.6.18-308.1.1.el5

[root@call ~]# rm /var/cache/yum/goautodial-* -rf

[root@call ~]# yum update -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile * base: mirrors.xmission.com * extras: mirrors.sonic.net * updates: linux.mirrors.es.net
base | 1.1 kB 00:00
extras | 2.1 kB 00:00
goautodial-addons | 951 B 00:00
goautodial-addons/primary | 1.7 kB 00:00
goautodial-addons 2/2
goautodial-current | 951 B 00:00
goautodial-current/primary | 273 kB 00:00
goautodial-current 628/628
goautodial-updates | 951 B 00:00
goautodial-updates/primary | 40 kB 00:00
goautodial-updates 30/30
updates | 1.9 kB 00:00
Setting up Update Process
No Packages marked for Update

[root@call ~]# yum install kernel-PAE-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile * base: mirrors.xmission.com * extras: mirrors.sonic.net * updates: linux.mirrors.es.net
Setting up Install Process
Package kernel-PAE-devel-2.6.18-371.1.2.el5.go.i686 already installed and latest version
Nothing to do

[root@call ~]# yum install kernel-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile * base: mirrors.xmission.com * extras: mirrors.sonic.net * updates: linux.mirrors.es.net
Setting up Install Process
Package kernel-devel-2.6.18-371.1.2.el5.go.i686 already installed and latest version
Nothing to do

RE: Dahdi installation issues. - Added by striker 247 over 10 years ago

try
yum install kernel*
reboot

then install the latest dahdi from source downloading form asterisk.org

br
striker
www.striker24x7.blogspot.com

RE: Dahdi installation issues. - Added by TWT Team over 10 years ago

Hi Striker,

Thanks for your reply.
I did as you suggested:
yum install kernel*
reboot

[root@call ~]# uname -ra
Linux call.teleworkteam.com 2.6.18-308.1.1.el5 #1 SMP Wed Mar 7 04:17:30 EST 2012 i686 i686 i386 GNU/Linux

[root@call ~]# rpm -qa | grep kernel
kernel-devel-2.6.18-371.1.2.el5.go
kernel-PAE-2.6.18-371.1.2.el5.go
kernel-debug-devel-2.6.18-371.1.2.el5
kernel-debug-2.6.18-371.1.2.el5
kernel-2.6.18-308.1.1.el5
kernel-2.6.18-371.1.2.el5.go
kernel-headers-2.6.18-371.1.2.el5
kernel-PAE-devel-2.6.18-371.1.2.el5.go
kernel-xen-2.6.18-371.1.2.el5
kernel-xen-devel-2.6.18-371.1.2.el5
kernel-doc-2.6.18-371.1.2.el5

Following your instructions from
http://striker24x7.blogspot.in/2013/05/steps-to-reinstall-or-upgrade-dahdi.html

[root@call dahdi-linux-complete-2.7.0.1+2.7.0.1]# make clean
make C linux clean
make1: Entering directory `/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
make -C drivers/dahdi/firmware clean
make2: Entering directory `/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware'
rm -f dahdi-fw
*.o
make2: Leaving directory `/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware'
make -C /lib/modules/2.6.18-308.1.1.el5/build M='/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/oct612x' clean
make: Entering an unknown directory
make: * /lib/modules/2.6.18-308.1.1.el5/build: No such file or directory. Stop.
make: Leaving an unknown directory
make1:
[clean] Error 2
make1: Leaving directory `/root/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'
make: *
* [clean] Error 2
[root@call dahdi-linux-complete-2.7.0.1+2.7.0.1]#

RE: Dahdi installation issues. - Added by Demian Biscocho over 10 years ago

On reboot you can choose what kernel to run. Just press the up or down key when you are at the welcome screen. Make sure to choose: kernel-2.6.18-371.1.2.el5.go.

RE: Dahdi installation issues. - Added by TWT Team over 10 years ago

Unfortunatelly it's an issue I can't solve since my VPS provider just informed following:

######################################################
Changing a kernel will not change or update your OS

If your desired kernel is not listed please add it as a suggestion on our user voice forum, stating the linux distribution, the version requested, and the feature it has that you are in need of. http://digitalocean.uservoice.com/forums/136585-digital-ocean

The "DO-recovery" kernels are intended for use after instructed in a Support Ticket.

Brad Goetsch
DigitalOcean Support Team ######################################################

Could you kindly suggest an alternative VPS provider?

RE: Dahdi installation issues. - Added by Demian Biscocho over 10 years ago

What are you trying to achieve? Most VPS are quite restrictive. Why not just get dedicated servers?

RE: Dahdi installation issues. - Added by GiGI Gu over 10 years ago

I also encountered the same problem before, I suggest you switch to replace the existing server machine for nearly a year.

    (1-8/8)
    Go to top