[Asterisk-Users] Mandrake & CAPI & EPIA!
Razza
rjames31 at btopenworld.com
Thu Feb 24 09:28:25 MST 2005
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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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 +0000, 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 0000 adam at websitemanagers.com.au
Fax: +61 2 9345 4396 www.websitemanagers.com.au
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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 at 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
More information about the asterisk-users
mailing list