Click to See Complete Forum and Search --> : Where is /usr/src/linux/arch/i686


mychl
03-05-2001, 02:05 PM
OK, I am still on my quest to upgrade to kernel 2.4.2. I've tried and always get stuck at the make modules, make modules_install part, i get Error 1 or Error 2. I've downloaded just about everything I've read about and tried to follow many different versions of how to's. I try to find my i686 directory, I am running on an i686(thats what it tells my during log on) The only folder is the i386 one, is that ok, or am I doing something terribly wrong. I have gotten a bootable 2.4.2, but there are no modules to go with it, and I've tried everyhting that I can find to install them. One gentleman even emailed me a step by step of how he upgraded his kernel. I tried it, but I still get

Nothing to do for Modules.
Make ** Error1


HELP ME.........

jscott
03-05-2001, 03:33 PM
Yes the /usr/src/linux/include/asm-i386 directory is what you will use. Although you have a i686, it's still based on x86 architecture (Confusing yet?) I'm going to assume you have updated (if needed) binutils, ef2progs, util-linux et al. Try the following before you start configuring your new kernel.

If you want to keep your old kernel (2.2?) sources you need to mv them to a different directory


mv /usr/src/linux /usr/src/linux-2.2.??


If /usr/src/linux _is_ the old source!

But I'll assume you overwrote the old sources untar'ing the 2.4 source. So let's just do some house keeping


mv /usr/src/linux /usr/src/linux-2.4.2
ln -s /usr/src/linux-2.4.2 /usr/src/linux
cd /usr/src/linux
make clean
make mrproper
ln -s /usr/src/linux/include/asm-i386 /usr/src/linux/include/asm


And now you should have a pretty clean (and properly sym-linked source tree.

Do your make (x/menu/config) as you like and let me know if you are still having problems.

[ 05 March 2001: Message edited by: jscott ]