coLinux用カーネルパッチ
http://sourceforge.net/project/showfiles.php?group_id=98788
より coLinux-0.6.1.tar.gz をダウンロード。
2. Compiling the Cooperative Linux kernel
- -
Unpack the source tarball of coLinux and the Linux kernel tarball
(version 2.4.24, can be obtained from www.kernel.org) in the same
directory. Make sure that the directory of the Linux kernel is
named 'linux'.Apply the patch found in the ./patch directory of the Cooperative
Linux tarball, to the Linux kernel. If conflicts arrise, then it is
possible that there is a mismatch between the version of the kernel
a the version that patch if designed to apply to.For example:
~/colinux-0.5.3/linux# patch -p1 < ../colinux/patch/linuxThe coLinux package is supplied with a premaid Linux kernel
configuration file. Copy it to your Linux tree:~/colinux-0.5.3/linux# cp ../colinux/conf/linux-config .config
And then, to build vmlinux:
~/colinux-0.5.3/linux# make oldconfig
~/colinux-0.5.3/linux# make dep
~/colinux-0.5.3/linux# make vmlinux
とあるのでとりあえずパッチを当ててみる。
lfs@colinux:/mnt/lfs/sources/linux-2.4.26$ patch -p1 < ../colinux-20040529/patch/linux patching file CREDITS patching file Documentation/devices.txt patching file Makefile patching file arch/i386/config.in patching file arch/i386/kernel/Makefile patching file arch/i386/kernel/cooperative.c patching file arch/i386/kernel/head.S patching file arch/i386/kernel/i387.c patching file arch/i386/kernel/i8259.c patching file arch/i386/kernel/ioport.c patching file arch/i386/kernel/process.c patching file arch/i386/kernel/setup.c patching file arch/i386/kernel/time.c patching file arch/i386/kernel/traps.c patching file arch/i386/mm/fault.c patching file arch/i386/mm/init.c patching file arch/i386/vmlinux.lds patching file drivers/block/Config.in patching file drivers/block/Makefile patching file drivers/block/cobd.c patching file drivers/block/ll_rw_blk.c patching file drivers/char/Makefile patching file drivers/char/colx_keyb.c patching file drivers/char/mem.c patching file drivers/char/vt.c patching file drivers/net/Config.in patching file drivers/net/Makefile patching file drivers/net/conet.c patching file drivers/video/Makefile patching file drivers/video/cocon.c patching file include/asm-i386/cooperative.h patching file include/asm-i386/dma.h patching file include/asm-i386/io.h patching file include/asm-i386/irq.h patching file include/asm-i386/mc146818rtc.h patching file include/asm-i386/page.h patching file include/asm-i386/pgalloc.h patching file include/asm-i386/pgtable-2level.h patching file include/asm-i386/pgtable.h patching file include/asm-i386/processor.h patching file include/asm-i386/system.h patching file include/linux/console.h patching file include/linux/cooperative.h patching file include/linux/major.h patching file init/do_mounts.c patching file init/main.c patching file kernel/Makefile patching file kernel/cooperative.c patching file kernel/panic.c patching file kernel/printk.c