From: Jeff Dike <jdike@ka...> - 2001-12-03 04:23:32
> Finaly where all this leads to is where can i find a UML source patch
> for Linux kernel 2.4.2.
Like Vikas Kawadia said, there is no connection between the UML kernel version
and the host kernel version.
If you want a 2.4.2 UML for some reason (and not a UML that will run on 2.4.2
hosts), you can pull it out of CVS with '-r v_2_4_2'. If you just want a UML
that will run on 2.4.2 hosts, take the latest one, they all run on all
recent versions of Linux.
i am having problem compiling the UML patch.
I now know from Jeff Dikes mail that:
> there is no connection between the UML kernel version
> and the host kernel version.
> If you just want a UML that will run on 2.4.2 hosts,
> take the latest one, they all run on all recent versions of Linux.
so here is what i have been trying to do:-
* I have a Linux RH 7.1 running a compiled kernel 2.4.2 on
an old Pentium MMX CPU,
btw: 'uname -a' on my machine gives Linux localhost 2.4.2 #2 i586 unknown
* i untar a linux 2.4.2 source file into 'linux' directory
* copy the uml-patch-2.4.15-3 into 'linux' directory.
* cd to 'linux' directory and do 'patch -p1 < uml-patch-2.4.15-3'
* and these are some of the last lines of output :
Hunk #1 succeeded at 322 (offset -1 lines).
patching file `include/linux/fs.h'
Hunk #1 FAILED at 110.
Hunk #2 FAILED at 313.
Hunk #3 FAILED at 505.
3 out of 3 hunks FAILED -- saving rejects to include/linux/fs.h.rej
patching file `include/linux/hostfs_fs_i.h'
patching file `include/linux/kernel.h'
Hunk #1 succeeded at 39 (offset -1 lines).
patching file `include/linux/kernel_stat.h'
Hunk #1 FAILED at 12.
1 out of 1 hunk FAILED -- saving rejects to include/linux/kernel_stat.h.rej
patching file `include/linux/tty.h'
Hunk #1 FAILED at 366.
Hunk #2 succeeded at 418 (offset -3 lines).
1 out of 2 hunks FAILED -- saving rejects to include/linux/tty.h.rej
patching file `init/main.c'
Hunk #1 succeeded at 220 with fuzz 2 (offset 10 lines).
* basically a lot of *.rej files.
Are these steps correct, has anybody actually patched uml-patch-2.4.14-x
to a linux 2.4.2 source .
* are these *.rej files usual, or i shouldnt be getting any of these files.
From: Roger Binns <rogerb@ta...> - 2001-12-04 19:29:53
> * i untar a linux 2.4.2 source file into 'linux' directory
> * copy the uml-patch-2.4.15-3 into 'linux' directory.
> * cd to 'linux' directory and do 'patch -p1 < uml-patch-2.4.15-3'
> * and these are some of the last lines of output :
You should be using the linux 2.4.15 source!
Roger Binns rogerb@... http://www.tarantella.com
Business Development Manager, Tarantella
425 Encinal Street, Santa Cruz, CA 95060, USA
Tel 831 427 7367 Fax 831 427 5406