Help: Patch rejected

Help: Patch rejected

Post by root » Sat, 17 Jul 1999 04:00:00



Hello

I am using RH 6.0 with kernel 2.2.5.  In order to upgrade the kernel, I
decided to apply patches to the kernel.  I started from "patch-2.2.6.gz"
using "gunzip -c patch-2.2.6.gz | patch -p0" command.  During the
patching process the system started to ask me something like "not able
to find the file.  Would you like to use -R option?".  It seemed the
default answer to the question was "no" since there was [n]  bracket
next to the question.  However, I kept answering "y" for no sound
reason.  The result was a list of ".rej" files under /usr/src/linux
directry as below:


/usr/src/linux/arch/i386/defconfig.rej
/usr/src/linux/drivers/block/genhd.c.rej
/usr/src/linux/drivers/scsi/NCR5380.c.rej
/usr/src/linux/drivers/scsi/pci2000.c.rej
/usr/src/linux/drivers/scsi/pci2220i.c.rej
/usr/src/linux/drivers/sound/es1371.c.rej
/usr/src/linux/fs/nfsd/nfs3proc.c.rej
/usr/src/linux/fs/nfsd/nfsproc.c.rej
/usr/src/linux/fs/ntfs/attr.c.rej
/usr/src/linux/fs/ntfs/dir.c.rej
/usr/src/linux/fs/ntfs/fs.c.rej
/usr/src/linux/fs/ntfs/inode.c.rej
/usr/src/linux/fs/ntfs/super.c.rej
/usr/src/linux/kernel/fork.c.rej
find: /usr/src/linux/pcmcia-cs-3.0.9/include/linux/config.h: No such
file or directory
find: /usr/src/linux/pcmcia-cs-3.0.9/include/linux/version.h: No such
file or directory
/usr/src/linux/Makefile.rej

You can laugh at me!!  I tried to find a manual or FAQ about patching
although that was a fruitless effort.  So, I had to go ahead without
sound knowledge of what I was doing.  Can anyone please educate me how
to patch?  I have four more patches to go and am now afraid of making
the situation worse.  Also, please teach me how to recover this
stuation.

Many thanks in advance.

Yoshikawa, Kiyoshi

Yokohama, Japan

 
 
 

Help: Patch rejected

Post by Alan L » Fri, 23 Jul 1999 04:00:00


The kernel comes with a patching script that does the dirty work for you.
It's in linux/scripts/patch-kernel.

HTH,

Alan

: Hello

: I am using RH 6.0 with kernel 2.2.5.  In order to upgrade the kernel, I
: decided to apply patches to the kernel.  I started from "patch-2.2.6.gz"
: using "gunzip -c patch-2.2.6.gz | patch -p0" command.  During the
: patching process the system started to ask me something like "not able
: to find the file.  Would you like to use -R option?".  It seemed the
: default answer to the question was "no" since there was [n]  bracket
: next to the question.  However, I kept answering "y" for no sound
: reason.  The result was a list of ".rej" files under /usr/src/linux
: directry as below:


: /usr/src/linux/arch/i386/defconfig.rej
: /usr/src/linux/drivers/block/genhd.c.rej
: /usr/src/linux/drivers/scsi/NCR5380.c.rej
: /usr/src/linux/drivers/scsi/pci2000.c.rej
: /usr/src/linux/drivers/scsi/pci2220i.c.rej
: /usr/src/linux/drivers/sound/es1371.c.rej
: /usr/src/linux/fs/nfsd/nfs3proc.c.rej
: /usr/src/linux/fs/nfsd/nfsproc.c.rej
: /usr/src/linux/fs/ntfs/attr.c.rej
: /usr/src/linux/fs/ntfs/dir.c.rej
: /usr/src/linux/fs/ntfs/fs.c.rej
: /usr/src/linux/fs/ntfs/inode.c.rej
: /usr/src/linux/fs/ntfs/super.c.rej
: /usr/src/linux/kernel/fork.c.rej
: find: /usr/src/linux/pcmcia-cs-3.0.9/include/linux/config.h: No such
: file or directory
: find: /usr/src/linux/pcmcia-cs-3.0.9/include/linux/version.h: No such
: file or directory
: /usr/src/linux/Makefile.rej

: You can laugh at me!!  I tried to find a manual or FAQ about patching
: although that was a fruitless effort.  So, I had to go ahead without
: sound knowledge of what I was doing.  Can anyone please educate me how
: to patch?  I have four more patches to go and am now afraid of making
: the situation worse.  Also, please teach me how to recover this
: stuation.

: Many thanks in advance.

: Yoshikawa, Kiyoshi

: Yokohama, Japan

 
 
 

1. Protocol-Reject for unsupported protocol -> 2.4.1 pppd patched, connecting to RAS box

looks like i have bad luck,
i've installed patched ppp with mppe, i've patched kernel and added ppp_mppe
module. but i still got those messages, and it doesn't connect at all.

as i am starting to ping computer on the other side i am getting those
strange messages. pppd is ver. 2.4.1 from PLD dist - patched already with
m$ stuff.
I cannot send ANY  THING  . box on the other side is Windows NT SP 6a UK

Any ideas?

Sep 25 17:32:25 piotreks pppd[2116]: local  IP address 172.21.10.11
Sep 25 17:32:25 piotreks pppd[2116]: remote IP address 172.21.10.10
Sep 25 17:32:26 piotreks pppd[2116]: MPPE 40 bit, non-stateless compression
enabled
Sep 25 17:32:33 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0x9ae0
Sep 25 17:32:36 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xf238
Sep 25 17:32:36 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0x9689
Sep 25 17:32:39 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xb250
Sep 25 17:32:53 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0x8c4c
Sep 25 17:34:04 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xe42d
Sep 25 17:34:12 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0x9868
Sep 25 17:34:16 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xa2ef
Sep 25 17:34:24 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xb6e9
Sep 25 17:34:26 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xc668
Sep 25 17:34:27 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xfe3a
Sep 25 17:34:35 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xa217
Sep 25 17:34:38 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xbe6e
Sep 25 17:34:44 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0x80a7
Sep 25 17:34:48 piotreks pppd[2116]: Protocol-Reject for unsupported
protocol 0xc0d1

and debug messages (sample):

local  IP address 172.21.31.51
remote IP address 172.21.31.50
Script /etc/ppp/ip-up started (pid 3178)
rcvd [CCP ConfNak id=0x2 <mppe 0 0 0 20>]
sent [CCP ConfReq id=0x3 <mppe 0 0 0 20>]
Script /etc/ppp/ip-up finished (pid 3178), status = 0x0
rcvd [CCP ConfAck id=0x3 <mppe 0 0 0 20>]
MPPE 40 bit, non-stateless compression enabled
rcvd [LCP ProtRej id=0x4 92 e1 31 8b 4a 12 a8 09 e1 4c ec 83 ca 7e 29 23 de
04 ac 65 cd 84 53 52 d3 42 d4 2e 7f 66 52 6a ...]
Protocol-Reject for unsupported protocol 0x92e1
rcvd [LCP ProtRej id=0x5 c6 ea 11 fd 19 09 58 ad fa 8e 35 b9 9a 9e 30 4a 45
15 ed a9 b8 89 12 9a 65 c0 fc f6 62 e6 c6 04 ...]
Protocol-Reject for unsupported protocol 0xc6ea
rcvd [LCP ProtRej id=0x6 b0 4a de 60 40 43 d3 75 58 ae 9d 55 7a 3a 2f a0 af
18 f4 18 6c dd 08 b9 f0 10 02 f9 2b 0e d7 b0 ...]
Protocol-Reject for unsupported protocol 0xb04a

Any ideas ?
i've already read somewhere that it was working in previous versions, and
gone wrong in new one (strange isn't it).

--
GJ.

2. C library/header missing??

3. 2.5.24 : net/802/cl2llc.c patch rejected

4. can't shutdown

5. FTP passwords rejected after installing cumulative 4.0F patch

6. is SOLARIS intel OR sparc faster????

7. Help! Sendmail rejecting connections

8. DHCPD as a replacement to BOOTP

9. mail help: how to reject mail?

10. Help can't compile InterViews with gcc patches and Linux patches

11. Help needed for rejecting mail by senders on Solaris 2.4

12. Help -- Rejecting Parition in BSD Label

13. HELP: Root password rejected (and others)