2009.09.06 Now I modified /usr/src/linux/arch/i386/kernel/entry.S to add three new system slots. Also updated /usr/src/linux/include/asm/unistd.h 191 - my_syscall 192 - my_syscall_ret with a return value 193 - my_syscall_parm with one parameter and a return value I also need to amend the number of syscalls at the end of entry.S 2009.09.06 This time I just did a make dep and then a make without a make clean. And then when the make broke on a source file (drivers/video/vesafb.c) then I just did a touch on that file, followed by a make dep and make. Got me through the compile. 2009.09.05 I changed /usr/src/linux/include/linux/version.h to be 2.2.19 instead of the original 2.2.17. The release seems to be 2.2.19 but the source code is listed at 2.2.17. I also had to change the Makefile to the 2.2.19 version. ------------------------------------------------------------------------------ These notes about the syscall-58 kernel... 2009.08.22 It took many passes to recompile the kernel with the new my_syscall. I kept getting cpp1 errors, compiler internal errors, and occasional seg faults. The system still boots and runs the my_syscall program. 2009.08.22 I added a symbolic link from /usr/src/linux/kernel/my_syscall.o to /root/oslabs/syscall/syscall.o You have to put this link back after every make clean. I modified the top level Makefile and added kernel/my_syscall.o to CORE_FILES Probably better to just directly reference /root/oslabs/syscall/syscall.o I modified /usr/src/linux/arch/i386/kernel/entry.S to replace sys_ni_syscall with my_syscall at number 58 (old ulimit)