From: Petar (petar_at_escape.net.au)
Date: Mon 10 Nov 2003 - 18:57:13 GMT
I started from scratch after deleting all the directories made in /usr/src
and downloaded linux-2.4.22 from kernel.org, unpacked it in /usr/src,
used wget to get the patch-2.4.22-vs1.00.diff file from the linux-vserver.org
site and copied that into /usr/src/linux-2.4.22 then did a cd
/usr/src/linux-2.4.22
Here is the directory and error at the bottom. I give up. Tired and can't
see what the problem is. Bugger! Maybe someone can see the reason while I
go get some sleep.
..Petar
(The box is a Red Hat 9 machine, off the CD's with no updates)
[root_at_localhost linux-2.4.22]# uname -a
Linux localhost.localdomain 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686
i386 GNU/Linux
[root_at_localhost src]# ls
debug linux-2.4 linux-2.4.20-8 linux-2.4.22 linux-2.4.22.tar.bz2
linux-patch-2.4.22.bz2 patch-2.4.22-vs1.00.diff redhat
[root_at_localhost src]# cp patch-2.4.22-vs1.00.diff ./linux-2.4.22
[root_at_localhost src]# cd linux-2.4.22
[root_at_localhost linux-2.4.22]# ls
arch CREDITS Documentation fs init kernel MAINTAINERS mm
patch-2.4.22-vs1.00.diff REPORTING-BUGS scripts
COPYING crypto drivers include ipc lib Makefile net README
Rules.make
[root_at_localhost linux-2.4.22]# patch -p0 < patch-2.4.22-vs1.00.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -NurpP --minimal linux-2.4.22/Makefile linux-2.4.22-vs1.00/Makefile
|--- linux-2.4.22/Makefile Mon Aug 25 13:44:44 2003
|+++ linux-2.4.22-vs1.00/Makefile Sat Nov 1 11:13:11 2003
--------------------------
File to patch: ^L^H^H
[root_at_localhost linux-2.4.22]#
[root_at_localhost linux-2.4.22]# ls
arch CREDITS Documentation fs init kernel MAINTAINERS mm
patch-2.4.22-vs1.00.diff REPORTING-BUGS scripts
COPYING crypto drivers include ipc lib Makefile net README
Rules.make
[root_at_localhost linux-2.4.22]# ls -lash
total 368K
4.0K drwxr-xr-x 15 573 573 4.0K Nov 11 02:42 .
4.0K drwxr-xr-x 6 root root 4.0K Nov 11 02:41 ..
4.0K drwxr-xr-x 20 573 573 4.0K Aug 25 19:44 arch
20K -rw-r--r-- 1 573 573 18K Aug 3 2002 COPYING
84K -rw-r--r-- 1 573 573 80K Aug 25 19:44 CREDITS
4.0K drwxrwxr-x 2 573 573 4.0K Aug 25 19:44 crypto
4.0K drwxr-xr-x 31 573 573 4.0K Aug 25 19:44 Documentation
4.0K drwxr-xr-x 40 573 573 4.0K Aug 25 19:44 drivers
4.0K drwxr-xr-x 47 573 573 4.0K Aug 25 19:44 fs
4.0K drwxr-xr-x 28 573 573 4.0K Aug 25 19:44 include
4.0K drwxr-xr-x 2 573 573 4.0K Aug 25 19:44 init
4.0K drwxr-xr-x 2 573 573 4.0K Aug 25 19:44 ipc
4.0K drwxr-xr-x 2 573 573 4.0K Aug 25 19:44 kernel
4.0K drwxr-xr-x 4 573 573 4.0K Aug 25 19:44 lib
48K -rw-r--r-- 1 573 573 46K Aug 25 19:44 MAINTAINERS
20K -rw-rw-r-- 1 573 573 19K Aug 25 19:44 Makefile
4.0K drwxr-xr-x 2 573 573 4.0K Aug 25 19:44 mm
4.0K drwxr-xr-x 28 573 573 4.0K Aug 25 19:44 net
104K -rw-r--r-- 1 root root 97K Nov 11 02:42 patch-2.4.22-vs1.00.diff
16K -rw-r--r-- 1 573 573 14K Aug 25 19:44 README
4.0K -rw-r--r-- 1 573 573 2.8K Jun 13 22:51 REPORTING-BUGS
12K -rw-r--r-- 1 573 573 9.1K Aug 3 2002 Rules.make
4.0K drwxr-xr-x 4 573 573 4.0K Aug 25 19:44 scripts
[root_at_localhost linux-2.4.22]# patch -p0 < patch-2.4.22-vs1.00.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -NurpP --minimal linux-2.4.22/Makefile linux-2.4.22-vs1.00/Makefile
|--- linux-2.4.22/Makefile Mon Aug 25 13:44:44 2003
|+++ linux-2.4.22-vs1.00/Makefile Sat Nov 1 11:13:11 2003
--------------------------
File to patch:
[root_at_localhost linux-2.4.22]#
----- Original Message -----
From: "Lyn St George" <lyn_at_zolotek.net>
To: "vserver_at_list.linux-vserver.org" <vserver_at_lists.tuxbox.dk>
Sent: Tuesday, November 11, 2003 2:11 AM
Subject: Re: [Vserver] RH9 (was RH8) + P4 Hyperthreading - what is needed?
> On Tue, 11 Nov 2003 01:30:16 +0800, Petar wrote:
>
> >> Try 'gzip -dc patch-2.44.22-vs1.00.diff.gz' - unless the archive
> >> is faulty that should do it, though I see that I just got the
> >> *diff itself (it's only 98k).
> >
> >That generated 5 files but buggered if I can make 'patch' do anything with them..
> >
> >[root_at_localhost linux-2.4.22]# ls
> >01_2.4.22_base.diff 05_2.4.22_net.diff crypto include lib net
> >Rules.make
> >02_2.4.22_syscall.diff arch Documentation init MAINTAINERS
> >patch-2.4.22-vs1.00.diff.gz scripts
> >03_2.4.22_sched.diff COPYING drivers ipc Makefile
README
> >04_2.4.22_ili.diff CREDITS fs kernel mm
> >REPORTING-BUGS
>
> Hmm.. it might be best to nuke all that lot and start again with just the
> .diff file. If it 'can't find the patch file' then check the permissions on
> that file.
>
> -
> Cheers
> Lyn St George
> +---------------------------------------------------------------------------------
> + http://www.zolotek.net .. eCommerce hosting, consulting
> +----------------------------------------------------------------------------------
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver