Fred K Ollinger on Tue, 2 Jul 2002 14:55:42 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] rh kernel patch failed


Did anyone manually compile rh's latest 2.4.18 kernel w/ patches?

I have the source code here and a bit of confusion. It came w/ tons of
patches. The ones in which I know that I'm not going to use the device
driver modules, I put in the trash immediately. Similarly, I have thrown
out all the modules in which I don't run that architecture: s390, etc.
Is this correct?

I ran this command:

cat linux-2.4.18*.patch | patch -p0

This failed w/ this snippet:

/snippeton

Hunk #1 succeeded at 228 (offset -35 lines).
patching file linux/drivers/ide/pdc202xx.c
Hunk #1 FAILED at 983.
1 out of 1 hunk FAILED -- saving rejects to file
linux/drivers/ide/pdc202xx.c.rej
can't find file to patch at input line 3668
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux-2.4/drivers/ide/serverworks.c.orig   Mon Jun  3 22:15:30 2002
|+++ linux-2.4/drivers/ide/serverworks.c        Mon Jun  3 22:16:29 2002
--------------------------
File to patch:

/snippetoff

The question is why is this so? How to find proper -p #? I think this was
the ide driver patch, and I'd like to have this, but it fails.


Fred Ollinger (follinge@sas.upenn.edu)
CCN sysadmin


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug