Zoltan Szecsei wrote:
Hi, Can anyone tell me how this might have happened? - see listing below and note that uname -r returns one version of linux and /usr/src/linux is linked to a different version.
uname -r returns the kernel you are currently running which may not be the same as where /usr/src/linux is pointing. /usr/src/linux is surperfluous in 2.6 anyway.
I only noticed this after I tried to:
make clean ; make linux26
for zaptel which is part of asterisk.
First you need the kernel sources installed. cd /usr/src/<kernel-source-directory> make prepare-all make cloneconfig make && make modules_install I make a habit of not touching my working kernel as it's easy to reboot on it if the new kernel fails or I mess it up. In the kernel Makefile, I change to something like EXTRAVERSION=-21.7a and copy the bzImage to /boot/2.6.11.4-21.7a, put in a line for the new kernel in /boot/grub/menu.lst, run mkinitrd and reboot on the new kernel. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks