At this point, I'd NOT do what you are doing. Get the OpenMosix patch for 2.4.20. Then:
apt-get install kernel-package apt-get install kernel-source-2.4.20 -- now, patch 2.4.20... --- cd /usr/src/kernel-source-2.4.20 make-kpkg clean zcat /whereever/you/put/openMosix-2.4.20-2.gz | patch -p1 make-kpkg --config menu kernel_image make-kpkg modules_image -- the last, if you have any external kernel modules to build, alsa, etc cd .. dpkg --install (your new openmosix kernel) This is approximate, and from memory. Some things might be slightly off... best, -tony "Doug_The_Slug" <[EMAIL PROTECTED]> writes: > okay, i am now trying to compile a patched kernel (patched with mosix). i > am going to put complete history of what i've done from first installing > debian 2.20 from disk. > i am using the mosix patch from apt-get which is for a 2.4.17 kernel, so i > am using a 2.4.17 kernel. i am following the HOWTO located at > http://howto.ipng.be/openMosix-HOWTO/x364.htm > i installed from disk, using 3.0 disks - then use http to install base > system. all necessary parts are installed, such as network card. not > running tasksel or dselect. very basic system. Now the following > instructions i can follow word for word on my machines and they will all > successfully run: > #apt-get install kernel-patch-mosix > #apt-get install kernel-source-2.4.17 > #bunzip2 /usr/src/kernel-source-2.4.17.tar.bz2 > #tar -xf /usr/src/kernel-source-2.4.17.tar > #gunzip /usr/src/kernel-patches/i386/mosix/patches.2.4.17 > #cp /usr/src/kernel-patches/i386/mosix/patches.2.4.17 > /usr/src/kernel-source-2.4.17 > #cd /usr/src/kernel-source-2.4.17 > #patch -p0 < patches.2.4.17 > #apt-get install gcc > #apt-get install make > #cd /usr/src > #ln -s kernel-source-2.4.17 linux > #make oldconfig --> (this configs almost everything, asks maybe 2 > questions, which i select as default) > now - here's where things go bad, i try the make dep > --------------------- > ASS001:/usr/src/linux# make dep > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep > scripts/mkdep.c > scripts/mkdep.c:33: ctype.h: No such file or directory > scripts/mkdep.c:34: fcntl.h: No such file or directory > In file included from > /usr/lib/gcc-lib/i386-linux/2.95.4/include/syslimits.h:7, > from > /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:11, > from scripts/mkdep.c:35: > /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:117: limits.h: No such > file or directory > scripts/mkdep.c:36: stdio.h: No such file or directory > scripts/mkdep.c:37: stdlib.h: No such file or directory > scripts/mkdep.c:38: string.h: No such file or directory > scripts/mkdep.c:39: unistd.h: No such file or directory > scripts/mkdep.c:41: sys/fcntl.h: No such file or directory > scripts/mkdep.c:42: sys/mman.h: No such file or directory > scripts/mkdep.c:43: sys/stat.h: No such file or directory > scripts/mkdep.c:44: sys/types.h: No such file or directory > ---------------------------- > why are those files not there, and why are they asking for them? and as a > note, i also tried #make config and spent an hour going through the whole > list, answering default to almost all of them (since they were either > correct, or i didn't know what it was) and ended up getting the same missing > files. > > is there anything wrong with this process? is there some small detail which > most people assume, but i happen to not know from this HOWTO. I also looked > at the README in /usr.src.kernel-source-2.4.17 and it follows pretty much > the same path. get the sources, unzip, copy to patch to kernel source > folder, patch, make config, make dep... > > -rp > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics U. of Washington Biostatistics [EMAIL PROTECTED] FHCRC/SCHARP/HIV Vaccine Trials Net [EMAIL PROTECTED] -------------- http://software.biostat.washington.edu/ -------------------- FHCRC:Tu: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX (CHANGE: monday/wednesday/friday locations are completely unpredictable.) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

