RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
Thanks to Dave Cotton, Adam Goryachev, Bob Goddard, Doug Lytle and Craig Guy for their help on this, I think I am going to revert to Mandrake 9.2 and try the CAPI route again - my annual leave is running out! Ray ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
On Fri, 2005-02-25 at 08:11 +, Razza wrote: > But is is the same kernel, I asked for the sources to be installed as > part of the config.not sure why it decides to call the kernel > 2.6.8.1-12mdk-i586-up-1GB yet dump the sources in 2.6.8.1-12mdk? > > On Behalf Of Adam > Goryachev > Sent: 25 February 2005 06:37 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: RE: [Asterisk-Users] Mandrake & CAPI & EPIA! > > > I would suggest you cut your losses and start with a new kernel > > While you can cheat and pretend that the source you have is the same as > what you used to compile your kernel, in the end, it isn't, so I doubt > it will work properly anyway! There's a thread on Mandrake Cooker at the moment discussing MDK's use of extraversion. The synthesis seems to be "we use the extraversion so that we can see if someone's recompiled the kernel" ergo we can wash our hands of it if there are problems. With long experience of Mandrake i.e. from day one, the very first thing I do is install a vanilla kernel, in the past I've just tried to recompile the kernel from their source with their .config and had no end of errors. That's my 0.02ยค for today. -- Dave Cotton <[EMAIL PROTECTED]> ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
But is is the same kernel, I asked for the sources to be installed as part of the config.not sure why it decides to call the kernel 2.6.8.1-12mdk-i586-up-1GB yet dump the sources in 2.6.8.1-12mdk? I have looked at the kernel rebuild options and looks scary! Maybe this is a little too much and should revert to my original issues around mandrake 9.2 and CAPI as opposed to 10.1 and mISDN? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Goryachev Sent: 25 February 2005 06:37 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Mandrake & CAPI & EPIA! I would suggest you cut your losses and start with a new kernel While you can cheat and pretend that the source you have is the same as what you used to compile your kernel, in the end, it isn't, so I doubt it will work properly anyway! Just my 0.02c worth. Regards, Adam On Thu, 2005-02-24 at 16:28 +, Razza wrote: > I have been modifying settings in /usr/src/linux/makefile and if I > modify this to - > > VERSION = 2 > PATCHLEVEL = 6 > SUBLEVEL = 8 > EXTRAVERSION = .1-12mdk-i586-up-1GB > > I get the following in my /var/log/messages file - > > Feb 24 16:08:19 asterisk kernel: zaptel: version magic > '2.6.8.1-12mdk-i586-up-1GB 686 gcc-3.4' should be > '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' > > So somewhere in /usr/src/linux/makefile or > /usr/src/zaptel-1.0.4/makefile it's adding the 686 as opposed to 586? > How can I change this? > > Ray > -- -- Adam Goryachev Website Managers Ph: +61 2 8304 [EMAIL PROTECTED] Fax: +61 2 9345 4396www.websitemanagers.com.au ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
I would suggest you cut your losses and start with a new kernel While you can cheat and pretend that the source you have is the same as what you used to compile your kernel, in the end, it isn't, so I doubt it will work properly anyway! Just my 0.02c worth. Regards, Adam On Thu, 2005-02-24 at 16:28 +, Razza wrote: > I have been modifying settings in /usr/src/linux/makefile and if I > modify this to - > > VERSION = 2 > PATCHLEVEL = 6 > SUBLEVEL = 8 > EXTRAVERSION = .1-12mdk-i586-up-1GB > > I get the following in my /var/log/messages file - > > Feb 24 16:08:19 asterisk kernel: zaptel: version magic > '2.6.8.1-12mdk-i586-up-1GB 686 gcc-3.4' should be > '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' > > So somewhere in /usr/src/linux/makefile or > /usr/src/zaptel-1.0.4/makefile it's adding the 686 as opposed to 586? > How can I change this? > > Ray > -- -- Adam Goryachev Website Managers Ph: +61 2 8304 [EMAIL PROTECTED] Fax: +61 2 9345 4396www.websitemanagers.com.au ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
I have been modifying settings in /usr/src/linux/makefile and if I modify this to - VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 8 EXTRAVERSION = .1-12mdk-i586-up-1GB I get the following in my /var/log/messages file - Feb 24 16:08:19 asterisk kernel: zaptel: version magic '2.6.8.1-12mdk-i586-up-1GB 686 gcc-3.4' should be '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' So somewhere in /usr/src/linux/makefile or /usr/src/zaptel-1.0.4/makefile it's adding the 686 as opposed to 586? How can I change this? Ray -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Razza Sent: 24 February 2005 08:41 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Mandrake & CAPI & EPIA! I tried to force the modules (man insmod = modprobe -f in Mandrake land?) and zaptel looked good, unfortunately wcfxo gave the same errors as ever. I have modified the /usr/src/linux/makefile by removing the word custom from the end of the EXTRAVERION statement, so it now looks like - VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 8 EXTRAVERSION = .1-12mdk NAME=Zonked Quokka Which looks good to me? /usr/src/linux-2.6.8.1-12mdk/include/linux/version.h looks like - #define UTS_RELEASE "2.6.8.1-12mdk" #define LINUX_VERSION_CODE 132616 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) Based on the first line I assume that's ok? Zaptel seems to compile to the right place '/usr/src/linux-2.6.8.1-12mdk' So I guess my only option is to go with the Kernel upgrade, which looks a bit scary! Unless I'm being thick, this could have all been avoided during the installation process if I had benn allowed to tell linux my motherboard is a patent liar and he is really a i586? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Goryachev Sent: 24 February 2005 06:05 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Mandrake & CAPI & EPIA! On Wed, 2005-02-23 at 22:21 +, Razza wrote: > Bob, > To be honest I don't mind who helps, but thanks so far to yourself, > Doug Well, I'll just jump in then :) > I'm still concerned that the the /var/log/kernel/errors file states - > Feb 23 17:08:14 asterisk kernel: zaptel: version magic '2.6.8.1-12mdk > 686 gcc-3.4' should be '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' Send us the output of: head /usr/src/linux/Makefile It will show the version and ExtraVersion bits... > Whilst 'ls -ld /usr/src/linux*' returns - > lrwxrwxrwx 1 root root 19 Feb 23 13:49 /usr/src/linux -> > linux-2.6.8.1-12mdk/ > drwxr-xr-x 21 root root 4096 Feb 23 16:18 > /usr/src/linux-2.6.8.1-12mdk/ > > Which to me whould show some form of mismatch, or is this just me > being a dimwit newbie? Look at the output of the make linux26 when you compile zaptel. See where it thinks the kernel source is coming from If all else fails, I promise the best solution would be to download a kernel from www.kernel.org and compile your own. If you have a file /proc/config.gz then you should be able to use that to make sure you will use the same options in your self-compiled kernel. Good luck... :) I've never used mandrake, but I always find the best/easiest way to deal with these things is to just compile my own kernel. Also, I think you can tell insmod to ignore version mis-match (man insmod), not a good idea, but it might work :) Regards, Adam -- -- Adam Goryachev Website Managers Ph: +61 2 8304 [EMAIL PROTECTED] Fax: +61 2 9345 4396www.websitemanagers.com.au ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
I tried to force the modules (man insmod = modprobe -f in Mandrake land?) and zaptel looked good, unfortunately wcfxo gave the same errors as ever. I have modified the /usr/src/linux/makefile by removing the word custom from the end of the EXTRAVERION statement, so it now looks like - VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 8 EXTRAVERSION = .1-12mdk NAME=Zonked Quokka Which looks good to me? /usr/src/linux-2.6.8.1-12mdk/include/linux/version.h looks like - #define UTS_RELEASE "2.6.8.1-12mdk" #define LINUX_VERSION_CODE 132616 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) Based on the first line I assume that's ok? Zaptel seems to compile to the right place '/usr/src/linux-2.6.8.1-12mdk' So I guess my only option is to go with the Kernel upgrade, which looks a bit scary! Unless I'm being thick, this could have all been avoided during the installation process if I had benn allowed to tell linux my motherboard is a patent liar and he is really a i586? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Goryachev Sent: 24 February 2005 06:05 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] Mandrake & CAPI & EPIA! On Wed, 2005-02-23 at 22:21 +, Razza wrote: > Bob, > To be honest I don't mind who helps, but thanks so far to yourself, > Doug Well, I'll just jump in then :) > I'm still concerned that the the /var/log/kernel/errors file states - > Feb 23 17:08:14 asterisk kernel: zaptel: version magic '2.6.8.1-12mdk > 686 gcc-3.4' should be '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' Send us the output of: head /usr/src/linux/Makefile It will show the version and ExtraVersion bits... > Whilst 'ls -ld /usr/src/linux*' returns - > lrwxrwxrwx 1 root root 19 Feb 23 13:49 /usr/src/linux -> > linux-2.6.8.1-12mdk/ > drwxr-xr-x 21 root root 4096 Feb 23 16:18 > /usr/src/linux-2.6.8.1-12mdk/ > > Which to me whould show some form of mismatch, or is this just me > being a dimwit newbie? Look at the output of the make linux26 when you compile zaptel. See where it thinks the kernel source is coming from If all else fails, I promise the best solution would be to download a kernel from www.kernel.org and compile your own. If you have a file /proc/config.gz then you should be able to use that to make sure you will use the same options in your self-compiled kernel. Good luck... :) I've never used mandrake, but I always find the best/easiest way to deal with these things is to just compile my own kernel. Also, I think you can tell insmod to ignore version mis-match (man insmod), not a good idea, but it might work :) Regards, Adam -- -- Adam Goryachev Website Managers Ph: +61 2 8304 [EMAIL PROTECTED] Fax: +61 2 9345 4396www.websitemanagers.com.au ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
On Wed, 2005-02-23 at 22:21 +, Razza wrote: > Bob, > To be honest I don't mind who helps, but thanks so far to yourself, Doug Well, I'll just jump in then :) > I'm still concerned that the the /var/log/kernel/errors file states - > Feb 23 17:08:14 asterisk kernel: zaptel: version magic '2.6.8.1-12mdk > 686 gcc-3.4' should be '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' Send us the output of: head /usr/src/linux/Makefile It will show the version and ExtraVersion bits... > Whilst 'ls -ld /usr/src/linux*' returns - > lrwxrwxrwx 1 root root 19 Feb 23 13:49 /usr/src/linux -> > linux-2.6.8.1-12mdk/ > drwxr-xr-x 21 root root 4096 Feb 23 16:18 /usr/src/linux-2.6.8.1-12mdk/ > > Which to me whould show some form of mismatch, or is this just me being > a dimwit newbie? Look at the output of the make linux26 when you compile zaptel. See where it thinks the kernel source is coming from If all else fails, I promise the best solution would be to download a kernel from www.kernel.org and compile your own. If you have a file /proc/config.gz then you should be able to use that to make sure you will use the same options in your self-compiled kernel. Good luck... :) I've never used mandrake, but I always find the best/easiest way to deal with these things is to just compile my own kernel. Also, I think you can tell insmod to ignore version mis-match (man insmod), not a good idea, but it might work :) Regards, Adam -- -- Adam Goryachev Website Managers Ph: +61 2 8304 [EMAIL PROTECTED] Fax: +61 2 9345 4396www.websitemanagers.com.au ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Mandrake & CAPI & EPIA!
Razza wrote: I have added 66-zaptel.rules file as you suggested...do I not need to ref this in a conf file or does udev simply look for any '*.rules' file in /etc/udev/rules.d/ ? That would be correct, udev will look for them there. Which to me whould show some form of mismatch, or is this just me being a dimwit newbie? That makes 2 of use *smirk* Doug ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Mandrake & CAPI & EPIA!
On Wednesday 23 February 2005 22:21, Razza wrote: [...] > I'm still concerned that the the /var/log/kernel/errors file states - > Feb 23 17:08:14 asterisk kernel: zaptel: version magic '2.6.8.1-12mdk > 686 gcc-3.4' should be '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' > > And when I run 'cat /proc/version' I get the following - > Linux version 2.6.8.1-12mdk-i586-up-1GB ([EMAIL PROTECTED]) > (gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)) #1 Fri Oct 1 > 12:36:44 CEST 2004 [...] I wonder if there is a problem with the config of the kernel in that it is built as i586/highmem4G but the source has been reconfigured as i686/basemem. Since it seem it's not just the processor level at odds, but the memory level. You may get more info from the files .config, include/linux/version.h under the kernel source and /proc/config.gz. B ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
Bob, To be honest I don't mind who helps, but thanks so far to yourself, Doug Lytle and Craig Guy. This started off as simply trying to enable CAPI (Fritz card) on my Mandrake 9.2 pbx which was working perfectly and has morphed into Mandrake 10.1 with mISDN which is still not working on FXO let alone getting to the mISDN bit :o( (orignal thread 'Mandrake & CAPI') I have run 'gcc -dumpmachine' with the response - 'i586-mandrake-linux-gnu' so to me that should mean gcc is fine for compilation? Doug, Reason for the '2.6.8.1-12mdk-i586-up-1GB' kernel is because the processor is C3 (little EPIA motherboard which I though would be great for a home pbx) as opposed to AMD/Intel 'power processor' heating the house! if I use the standard kernel it goes into a loop of rebooting about 10 seconds into the boot process. I have added 66-zaptel.rules file as you suggested...do I not need to ref this in a conf file or does udev simply look for any '*.rules' file in /etc/udev/rules.d/ ? For completeness I always do the 'make clean;make linux26;make install' steps just to be sure - as you have probably worked out I'm certainly not a Linux pro! Anyway after all of the above - it's stillthe same :o( I'm still concerned that the the /var/log/kernel/errors file states - Feb 23 17:08:14 asterisk kernel: zaptel: version magic '2.6.8.1-12mdk 686 gcc-3.4' should be '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' And when I run 'cat /proc/version' I get the following - Linux version 2.6.8.1-12mdk-i586-up-1GB ([EMAIL PROTECTED]) (gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)) #1 Fri Oct 1 12:36:44 CEST 2004 Whilst 'ls -ld /usr/src/linux*' returns - lrwxrwxrwx 1 root root 19 Feb 23 13:49 /usr/src/linux -> linux-2.6.8.1-12mdk/ drwxr-xr-x 21 root root 4096 Feb 23 16:18 /usr/src/linux-2.6.8.1-12mdk/ Which to me whould show some form of mismatch, or is this just me being a dimwit newbie? Ray ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Mandrake & CAPI & EPIA!
On Wednesday 23 February 2005 19:14, Razza wrote: > i686 processor class and I know it's the CMOV function that's the issue, > but I still can't get zaptel drivers to work! Are you saying I need to > reinstall GCC telling it the processor is an i586 to avoid the issue? Since you never quoted any info, I assume you mean me. Check "gcc -dumpmachine" and see what gcc defaults to. If it's a i686, then you'll have to modify the zaptel Makefile. B ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
i686 processor class and I know it's the CMOV function that's the issue, but I still can't get zaptel drivers to work! Are you saying I need to reinstall GCC telling it the processor is an i586 to avoid the issue? Further to my last note, I have done some digging and the /var/log/kernel/errors file states - Feb 23 17:08:14 asterisk kernel: zaptel: version magic '2.6.8.1-12mdk 686 gcc-3.4' should be '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' Feb 23 17:30:43 asterisk kernel: zaptel: version magic '2.6.8.1-12mdk 686 gcc-3.4' should be '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' Feb 23 17:30:50 asterisk last message repeated 2 times Feb 23 17:30:50 asterisk kernel: wcfxo: version magic '2.6.8.1-12mdk 686 gcc-3.4' should be '2.6.8.1-12mdk-i586-up-1GB 586 gcc-3.4' Everytime I modprobe.so mybe my previous statement is incorrect? - When I run 'cat /proc/version' I get the following - Linux version 2.6.8.1-12mdk-i586-up-1GB ([EMAIL PROTECTED]) (gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)) #1 Fri Oct 1 12:36:44 CEST 2004 ls -ld /usr/src/linux* returns - lrwxrwxrwx 1 root root 19 Feb 23 13:49 /usr/src/linux -> linux-2.6.8.1-12mdk/ drwxr-xr-x 21 root root 4096 Feb 23 16:18 /usr/src/linux-2.6.8.1-12mdk/ So to me all looks good? Ray ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Mandrake & CAPI & EPIA!
On Wednesday 23 February 2005 15:10, Razza wrote: > Looked at the mISDN bits and pieces, which looked promising, so decided > to take the plung and go for Mandrake 10.1 (Kernel 2.6.8.1) and well - > What a disaster! > > I should probably have mentioned I am using an EPIA 5000/classic > motherboard, which between Mandrake 10.1 and the motherboard come up > with an i686 processor which clearly it isn't. Anyway after numerous > rebuilds etc, I have made various changes to the makefiles for libpri > and * and they believe it is now an i586 and asterisk loads fine. It is a i686 class processor, the problem is GCC does not generate the correct code in that it assume an instruction is required instead of being optional. B ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Mandrake & CAPI & EPIA!
Razza wrote: When I run 'cat /proc/version' I get the following - Linux version 2.6.8.1-12mdk-i586-up-1GB ([EMAIL PROTECTED]) (gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)) #1 Fri Oct 1 12:36:44 CEST 2004 I'm running 2.6.8.1-12, but not the 1GB version under an AMD XP 1800+ The redame.udev file talks about '/etc/udev/rules.d/50-udev.rules' I have the following files in the rules.d directory - 00-lsb.rules 01-devfs.rules 06-dvb.rules mouse.rules provision.tbl not 50-udev.rules as mentioned (or any other **-udev.rules file, despite I created a file called 66-zaptel.rules with the contents of: # Section for zaptel device KERNEL="zapctl", NAME="zap/ctl" KERNEL="zaptimer", NAME="zap/timer" KERNEL="zapchannel", NAME="zap/channel" KERNEL="zappseudo", NAME="zap/pseudo" KERNEL="zap[0-9]*", NAME="zap/%n" For once in my life I'm not being sarcastic! Am I expected to remove all the previous items below in the name of peace and harmony? Not, not necessary. Trying the get back to position of a running * PBX, I tried to install the zaptel drivers, using the following process - CD zaptel. Make linux26 Make install When I modprobe zaptel I get the following errors - [EMAIL PROTECTED] zaptel-1.0.4]# modprobe zaptel FATAL: Error inserting zaptel (/lib/modules/2.6.8.1-12mdk-i586-up-1GB/misc/zaptel.ko): Invalid module format Is this a fresh install or over the top? Try a make clean;make;make install. I'd, at least for testing, move to a kernel without the 1GB support. I haven't ever had problems with the Mandrake Kernels like the RH/Fedora group have encountered, but I'm not using anything but the stock Mandrake Kernel. Just a suggestion. Doug ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
When I run 'cat /proc/version' I get the following - Linux version 2.6.8.1-12mdk-i586-up-1GB ([EMAIL PROTECTED]) (gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)) #1 Fri Oct 1 12:36:44 CEST 2004 ls -ld /usr/src/linux* returns - lrwxrwxrwx 1 root root 19 Feb 23 13:49 /usr/src/linux -> linux-2.6.8.1-12mdk/ drwxr-xr-x 21 root root 4096 Feb 23 16:18 /usr/src/linux-2.6.8.1-12mdk/ So to me all looks good? The redame.udev file talks about '/etc/udev/rules.d/50-udev.rules' I have the following files in the rules.d directory - 00-lsb.rules 01-devfs.rules 06-dvb.rules mouse.rules provision.tbl not 50-udev.rules as mentioned (or any other **-udev.rules file, despite udev.conf stating - # udev_rules - The name and location of the udev rules file udev_rules="/etc/udev/rules.d/" The redame.udev file also talks about '/etc/udev/permissions.d/50-udev.permissions' I have 00-udev.permissions in the permissions.d directory not 50-udev.permissions as mentioned, however have modified this as follows - #--- # zaptel devices -- for running asterisk as root zap/*:root:root:05700 For once in my life I'm not being sarcastic! Am I expected to remove all the previous items below in the name of peace and harmony? Ray -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lytle Sent: 23 February 2005 15:44 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Mandrake & CAPI & EPIA! Razza wrote: > >Trying the get back to position of a running * PBX, I tried to install >the zaptel drivers, using the following process - CD zaptel. >Make linux26 >Make install > >When I modprobe zaptel I get the following errors - >[EMAIL PROTECTED] zaptel-1.0.4]# modprobe zaptel >FATAL: Error inserting zaptel >(/lib/modules/2.6.8.1-12mdk-i586-up-1GB/misc/zaptel.ko): Invalid module >format > > > > > Razza, Two things, First. Run the remove software option and search for kernel-source. Make sure that it's for the version of the kernel you have installed. If not, remove it and download the correct source. Two. Make sure you've read the README.udev file in zaptel directory. Doug ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Mandrake & CAPI & EPIA!
Razza wrote: Trying the get back to position of a running * PBX, I tried to install the zaptel drivers, using the following process - CD zaptel. Make linux26 Make install When I modprobe zaptel I get the following errors - [EMAIL PROTECTED] zaptel-1.0.4]# modprobe zaptel FATAL: Error inserting zaptel (/lib/modules/2.6.8.1-12mdk-i586-up-1GB/misc/zaptel.ko): Invalid module format Razza, Two things, First. Run the remove software option and search for kernel-source. Make sure that it's for the version of the kernel you have installed. If not, remove it and download the correct source. Two. Make sure you've read the README.udev file in zaptel directory. Doug ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Mandrake & CAPI & EPIA!
Looked at the mISDN bits and pieces, which looked promising, so decided to take the plung and go for Mandrake 10.1 (Kernel 2.6.8.1) and well - What a disaster! I should probably have mentioned I am using an EPIA 5000/classic motherboard, which between Mandrake 10.1 and the motherboard come up with an i686 processor which clearly it isn't. Anyway after numerous rebuilds etc, I have made various changes to the makefiles for libpri and * and they believe it is now an i586 and asterisk loads fine. Trying the get back to position of a running * PBX, I tried to install the zaptel drivers, using the following process - CD zaptel. Make linux26 Make install When I modprobe zaptel I get the following errors - [EMAIL PROTECTED] zaptel-1.0.4]# modprobe zaptel FATAL: Error inserting zaptel (/lib/modules/2.6.8.1-12mdk-i586-up-1GB/misc/zaptel.ko): Invalid module format When I modprobe wcfxo I get the following errors - [EMAIL PROTECTED] zaptel-1.0.4]# modprobe wcfxo WARNING: Error inserting zaptel (/lib/modules/2.6.8.1-12mdk-i586-up-1GB/misc/zaptel.ko): Invalid module format WARNING: Error inserting zaptel (/lib/modules/2.6.8.1-12mdk-i586-up-1GB/misc/zaptel.ko): Invalid module format FATAL: Error inserting wcfxo (/lib/modules/2.6.8.1-12mdk-i586-up-1GB/misc/wcfxo.ko): Invalid module format FATAL: Error running install command for wcfxo I picked up the following article http://lists.digium.com/pipermail/asterisk-users/2004-November/072043.ht ml and made the changes described, although i'm still getting the same errors. I think there may be a problem with the kernal description/location mismatch e.g. - /lib/modules/2.6.8.1-12mdk-i586-up-1GB as opposed to the source being /usr/src/linux-2.6.8.1-12mdk Can anyone help me? and at least i'm learning! Ray -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Guy Sent: 22 February 2005 03:14 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Mandrake & CAPI I've been using FC2 with Kernel 2.6.9, the hardest thing for me was getting my capi startup script right, you should not have any capi related stuff in modprobe.conf. I have included my startup script. If you are using a DID or Point to Point line for the Fritz! then change protocol=2 to protocol=34 for the avmfritz driver. The mISDN fritz! driver will support up to four cards and I am successfully using both a Eicon Diva Server 4-BRI card (With melware drivers) and Fritz! card in the same system. The Fritz! must be loaded first with the capi script, followed by divas_cfg for the Diva card. The divas_cfg script must have its own modprobe capi line removed or commented out. Craig #!/bin/bash # # System startup script for the isdn-capi subsystem case "$1" in start) echo -n "Starting mISDN and CAPI" modprobe capi modprobe mISDN_core modprobe mISDN_l1 modprobe mISDN_l2 modprobe l3udss1 modprobe mISDN_capi modprobe mISDN_isac modprobe avmfritz protocol=2 ;; stop) echo -n "Stopping mISDN and CAPI" rmmod avmfritz rmmod mISDN_isac rmmod mISDN_capi rmmod l3udss1 rmmod mISDN_l2 rmmod mISDN_l1 rmmod mISDN_dtmf rmmod mISDN_core rmmod capi rmmod kernelcapi ;; restart) $0 stop $0 start ;; *) echo "Usage:$0{start|stop|restart}" ;; esac exit 0 - Original Message - From: "Razza" <[EMAIL PROTECTED]> To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" Sent: Tuesday, February 22, 2005 3:02 AM Subject: RE: [Asterisk-Users] Mandrake & CAPI > I was looking at the exercise as a bit of Linux lerning for myself, so > I guess Mandrake 10.1 and mISDN? Does anyone have working examples? > Ray > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Craig > Guy > Sent: 20 February 2005 23:57 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] Mandrake & CAPI > > > Or you could go to a 2.6 kernel and use the mISDN drivers. > > Craig > > - Original Message - > From: "Razza" <[EMAIL PROTECTED]> > To: > Sent: Sunday, February 20, 2005 8:00 PM > Subject: [Asterisk-Users] Mandrake & CAPI > > > > All, > > I have been trying to get CAPI4Linux working on my machine and being > > frank am failing miserably! I am looking for any help available, I > > am real newbie (so please be gentle) and choose to run Mandrake 9.2 > > as it > > > appears quite friendly (or so I thought!). > > > > I have been following the guidance found at > > http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI for > > the AVM card (actually I have a BT Speedway - apparently the same > > thing). > > > > I guess the best approach is to detail what I have done in tandem > > with > > > the guidance? So here we go - > > > > Type - > > # modprobe capi > > > > Great! I get no response (which is expected!), so move to step 2 > > (http://www.voip-i