I'm trying to build coLinux from source. But am running into some
issues. I have the 2.4.26 kernel (
http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.26.tar.bz2 ) and
the 20040417 colinux snapshot (
http://colinux.org/snapshots/colinux-20040417.tar.gz ). Below is a
transcript of the steps I did, using ellipses for brevity.
I got two questions when applying the patch. The kernel seemed to
compile OK, but is there any simple way to test it?
$ tree -L 2 -d ./colinux
| |-- bin
| |-- conf
| |-- doc
| |-- patch
| `-- src
$ cd colinux/linux
$ patch -p1 < ../colinux-20040417/patch/linux
patching file CREDITS
patching file Documentation/devices.txt
patching file arch/i386/config.in
patching file mm/swapfile.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 1006.
Hunk #2 FAILED at 1044.
2 out of 2 hunks FAILED -- saving rejects to file mm/swapfile.c.rej
patching file mm/vmalloc.c
$ cp ../colinux-20040417/conf/linux-config .config
$ make oldconfig # seemed to work fine
$ make dep # seemed to work fine
$ make vmlinux # seemed to work fine