Zaptel not seeing kernel source, Fedora 5

well, download the i686 ones:-

download.fedora.redhat.com/pub/f … 5.i686.rpm
download.fedora.redhat.com/pub/f … 5.i686.rpm

You can always use yum to download the package for you, makes life a little simpler.

A hard life teaches you more … Just Kidding but its really the truth

Hi Vinod.Vijayan,

Thanks for the tip, I am not sure if it worked though?

responce:

[root@localhost Desktop]# rpm -Uvh kernel-2.6.17-1.2145_FC5.i686.rpm
Preparing… ########################################### [100%]
package kernel-2.6.17-1.2145_FC5 is already installed
[root@localhost Desktop]# rpm -Uvh kernel-devel-2.6.17-1.2145_FC5.i686.rpm
Preparing… ########################################### [100%]
package kernel-devel-2.6.17-1.2145_FC5 is already installed

maybe it is something else?

Cheers & thanks for your patience and help!

comming back:

the output on uname -a

Linux localhost.localdomain 2.6.17-1.2139_FC5smp #1 SMP Fri Jun 23 13:12:06 EDT 2006 i686 i686 i386 GNU/Linux

shows that you are using a Hyper Threaded processor.
This processor will require smp packages and not plain packages.

Refer this link:-
fedoraforum.org/forum/showth … post562242

so that would be any one of the kernel-smp and kernel-smp-devel rpms.
Most probably
download.fedora.redhat.com/pub/f … 5.i686.rpm
download.fedora.redhat.com/pub/f … 5.i686.rpm

try and see if this helps…

thank you, thank you, thank you, thank you…

compiling is working…yaah!

i appreciate all your help and support…
And I am now a new Asterisk user…so will probably be bothering you all under another thread somewhere to configure and play with it…but thanks!

[quote=“vinod.vijayan”]comming back:

the output on uname -a

Linux localhost.localdomain 2.6.17-1.2139_FC5smp #1 SMP Fri Jun 23 13:12:06 EDT 2006 i686 i686 i386 GNU/Linux

shows that you are using a Hyper Threaded processor.
This processor will require smp packages and not plain packages.

Refer this link:-
fedoraforum.org/forum/showth … post562242

so that would be any one of the kernel-smp and kernel-smp-devel rpms.
Most probably
download.fedora.redhat.com/pub/f … 5.i686.rpm
download.fedora.redhat.com/pub/f … 5.i686.rpm

try and see if this helps…[/quote]

The last two links above no longer exist, and th smp components do not seem to exist here either:

download.fedora.redhat.com/pub/f … updates/5/

But these do with the latest FC5 update:

download.fedora.redhat.com/pub/f … 5.i686.rpm
download.fedora.redhat.com/pub/f … 5.i686.rpm

Yum should really be smart enough to sort out which kernel you have and install the right one.

Well I don’t really think it’s YUM’s fault. People using the SMP kernels should be installing the SMP devel package rather then the normal one. IE:

yum install kernel-smp-devel

rather then

yum install kernel-devel

-James

Don’t know if it’s still an issue, but when using FC5, apart from the usual:

yum install kernel

yum install kernel-devel

you must also use the following command:

ln -s /lib/modules/latest-kernel-version/build /usr/src/linux-2.6

This was from the instructions from a long time ago, and if you were using the 2.6 kernel it was a must, else you couldn’t do a “make linux26”.

Again the dev’s may have resolved this issue, but I still use if without fault.

G.

As one the memebers asked in this forum, can anyone please help on how to make programs see the source code without using the yum.

I am trying to configure the adsl modem (sagem 800) on a Fedora 5, and the driver I downloaded needs to see the source, I downloaded the rpm and the source was Put on /usr/src/redthat/SOURCES, but still when i run the configuration for the modem i get the error message couldnt find the kernel-source.

I tried to creat a sym link in the /usr/src directory, like
ln -s /usr/src/redhat/SOURCES/ linux but no use.(read it in help file)

I am using kernel 2.6.15 on a samsung R50 laptop. I had hard time configuring the ati driver because of the same problem (kernel-source) and most help files talk about Yum so im trying to fix the connection first to follow the yum thing, so please help me make solve this problem of source kernel not visible to different installers.(without the yum)

Thanks a lot.

I found that the problem was from the source code was no compatible with the kernel, although they had the exact same name, maybe it has to do with i386 and i686 like mentionned above…

Anyway I installed a new kernel from source 2.6.15-prep, anyone knows the difference between that one and the 2.6.15-1.2054_FC5?

Even that didnt fix the problem, still cant load modules when installing drivers, so i tried the 2.6.17.11 but this time from source , not an rpm, everything went smooth until boot up, it hang : kernerl panic … is it fedora???

Im really lost, anyone can help me with a link on fedora 5 and ati, or fedora 5 and sagem 800, or should i just give up installing it on a samsung laptop ans choose another disro? please help!!!

Thanks to fredtheman, This help me a lot.

My build was pointing to 2.6.15, but my verision is 2.6.18 …

That worked fine now, If anyone having problem try this first.

Hi guys,

I have the same problem on Fedora Core-6, I can not install Zaptel. I will switch the Fedora Core-6 to SUSE-10, could SUSE-10 have a SOX compiled with GSM support, as I know this software is use to make Asterisk Recording. Because SUSE-9 can not support SOX. Do anyone have an idea ?

Thanks
Sammy

what’s sox got to do with not being able to install Zaptel ??

hi there, follow this instructions…

step by step

  1. yum -y install yum yum-fastestmirror
  2. yum -y update
  3. yum -y install cpp bison e2fsprogs-devel glibc-kernheaders glibc-headers glibc-devel gcc kernel-devel krb5-devel libogg-devel libxml2-devel libtiff-devel mysql mysql-devel mysql-server ncurses ncurses-devel openssl-devel subversion httpd php php-mysql php-gd zlib-devel

note: if you use dual processors replace “kernel-devel” with “kernel-smp-devel”

hope this will help you.

SUSE-9 can not support SOX ( Asterisk recording application ), I hope SUSE-10 can support it. Right now, I still find suitable Linux Distro for Zaptel and SOX application. But I’ll try Fedora Core-6 first.

Thanks for your info Jayandran, very helpful. :bulb: I will try again and again, until its running.

I had this EXACT same problem and it took me the better part of a night to fix…which actually really ticked me off. Anyway, I have not read all of the posts here, but I did see a few that hit on the correct fix…

The kicker is this word “Kernel Source” that everyone is throwing around when it’s not the ACTUAL kernel source you need, what you REALLY need is the kernel-dev packages and then you need to make like 3 symbolic links…here were my steps

[house]# rpm -Uvh kernel-devel-2.6.18-1.2257.fc5.x86_64.rpm
[house]# ln -s /usr/src/kernels/ linux-2.6
[house]# ln -s /usr/src/kernels/2.6.18-1.2257.fc5-x86_64/ /lib/modules/2.6.18-1.2257.fc5/build
[house]# ln -s /lib/modules/2.6.18-1.2257.fc5/build/ source
[house]# cd /usr/src/
[house]# rm -rf zaptel-1.4.0
[house]# tar -zxvf zaptel-1.4.0.tar.gz
[house]# cd zaptel-1.4.0
[house]# ./configure
[house]# make
[house]# make install
[house]# vi /etc/zaptel.conf
[house]# modprobe wctdm
[house]# ztcfg -vv

Zaptel Version: 1.4.0
Echo Canceller: MG2
Configuration

Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

2 channels configured.

Feel free to PM me if you still can’t get it.

I have follow these steps on My Fedora Core-6 :
nstall cpp bison e2fsprogs-devel glibc-kernheaders glibc-headers glibc-devel gcc kernel-devel krb5-devel libogg-devel libxml2-devel libtiff-devel mysql mysql-devel mysql-server ncurses ncurses-devel openssl-devel subversion httpd php php-mysql php-gd zlib-devel

But it still errors:

./configure

#configure: *** Zaptel build successfully configured ***
#make linux26
#CC /usr/local/src/zaptel-1.4.0/zttranscode.mod.o
LD [M] /usr/local/src/zaptel-1.4.0/zttranscode.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686’

Then :
#rpm -Uvh kernel-devel-2.6.18-1.2798.fc6.i686.rpm
#ln -s /usr/src/kernels/ linux-2.6

ln -s /usr/src/kernels/.6.18-1.2798.fc6.i686/ /lib/modules/2.6.18-1.2257.fc5/build

ln -s /lib/modules/.6.18-1.2798.fc6/build/ source

cd /usr/src/zaptel-1.4.0

./configure

make linux26

make[2]: Leaving directory /usr/local/src/zaptel-1.4.0/menuselect' make[1]: Leaving directory/usr/local/src/zaptel-1.4.0/menuselect’
You do not appear to have the sources for the 2.6.19-1.2895.fc6 kernel installed.
make: *** [linux26] Error 1

I have find in the Fedora Core-6 package, its have: Openpbx-zaptel-1.2.3.rc2.svn2282.fc6.i386-zaptel modules for openpbx.
Is it zaptel driver ?

Have an idea ? it make me very curious…

have you tried yum install kernel-headers ?

When I upgrade to kernel-2.6.1.19-1.2895.fc6, it become worse : no kernel source installed.
Right now I use Kernel-2.6.18-1.2798.fc6-i686…

#./configure
configure: *** Zaptel build successfully configured ***
#make linux26
LD [M] /usr/local/src/zaptel-1.4.0/ztdynamic.ko
CC /usr/local/src/zaptel-1.4.0/zttranscode.mod.o
LD [M] /usr/local/src/zaptel-1.4.0/zttranscode.ko
[color=blue]make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-i686’[/color]

[root@localhost zaptel-1.4.0]# yum install kernel-headers
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 426 kB 00:39
################################################## 1087/1087
primary.xml.gz 100% |=========================| 1.8 MB 02:30
################################################## 5836/5836
[color=blue]Parsing package install arguments
Nothing to do
[/color]
[root@localhost zaptel-1.4.0]#

Thanks

have you looked in places like these ?

redhat.download.fedoraproject.or … dora/RPMS/

redhat.download.fedoraproject.or … rce/SRPMS/