Hi all.
I have an issue with kernel patching.
My system: OpenSuse 10.2, kernel version: 2.6.18.2.
I've downloaded the patch from kernel.org - 2.6.26. I've invoked the following command:
"patch -p1 -f < patch-2.6.26" (-f - because some files are not exist. to automatically skip this issues).
But during patching there are many FAILED messages like the following:
Code:
Hunk #81 succeeded at 5352 (offset -3233 lines).
Hunk #82 succeeded at 5360 (offset -3233 lines).
Hunk #83 succeeded at 5382 (offset -3244 lines).
Hunk #84 FAILED at 5392.
Hunk #85 succeeded at 5415 with fuzz 2 (offset -3247 lines).
Hunk #86 succeeded at 5434 with fuzz 2 (offset -3238 lines).
Hunk #87 FAILED at 5442.
Hunk #88 succeeded at 5469 (offset -3234 lines).
Hunk #89 FAILED at 5496.
Hunk #90 succeeded at 5462 with fuzz 2 (offset -3332 lines).
Hunk #91 succeeded at 5719 (offset -3466 lines).
Hunk #92 FAILED at 5740.
Hunk #93 FAILED at 5775.
Hunk #94 succeeded at 5763 (offset -3533 lines).
So the question is why are there some lines - FAILED and some lines - succeeded?
after this:
"make config" fails with errors in Kconfig file.
I"m installing my ATI card in FC4. I'm going off of instructions that i've found. The firs step says that i need my kernel sources which i've got then it says that i've gotta unpack them so i can make links to the file later. My kernel sources that i've got are .src.rpm I've installed them but... (1 Reply)
Hi All,
I've seen people build modules against a certain kernel source (eg in /usr/src/kernels/my_source/) and some people build against the sources in /lib/modules/my_source/build/
What is the difference and are there any benefits to using the /lib/modules source?
Regards,
Brendan (0 Replies)
So, I was browsing groklaw.net, and I was surprised to read that Pamela Jones was reading the copyright notices in the UnixWare 7.1.1 source code files...
Groklaw - Santa Cruz Listed Novell as Owning the Copyrights in 1999
How can that be? Are the UnixWare 7.1.1 sources available to the... (1 Reply)
Hello,
I have a problem in my server:
HP ProLiant DL580 G5
My OS is REDHAT 4.6
I have an error when I start the server:
Badness in do_unblank_screen at drivers/char/vt.c:2878
...
Your time source seems to be instable or some driver is hogging interupts
rip __smp_call_function +... (1 Reply)
Hi folks,
I was patching Sun server (SunOS suns121 5.10 Generic_144488-17 sun4v sparc SUNW,Sun-Fire-T200) with the lateset bundle. It was completed with no errors. Server was restarted with shutdown command
(/usr/sbin/shutdown -y -i6 -g0) after patching was complete. However, after that,... (3 Replies)
I was installing Solaris-10 Recommended patch Cluster and it came out without installling all patches. I gave a rebooted and tried installing it again, but it seems some lock or something is prevenventing to install further patches. I am not able to figure out and I am struck in between... (4 Replies)
Discussion started by: solaris_1977
4 Replies
LEARN ABOUT REDHAT
lsdiff
LSDIFF(1)LSDIFF(1)NAME
lsdiff - show which files are modified by a patch
SYNOPSIS
lsdiff [-n] [-p n] [--strip=n] [--addprefix=PREFIX] [-s]
[-i PATTERN] [-x PATTERN] [-v] [file...]
lsdiff {--help | --version | --filter ... | --grep ...}
DESCRIPTION
List the files modified by a patch.
You can use both unified and context format diffs with this program.
OPTIONS -n Display the line number that each patch begins at. If verbose output is requested, each hunk of each patch is listed as well.
For each file that is modified, a line is generated containing the line number of the beginning of the patch, followed by a Tab
character, followed by the name of the file that is modified. If -v is given, following each of these lines will be one line for
each hunk, consisting of a Tab character, the line number that the hunk begins at, another Tab character, the string ``Hunk #'', and
the hunk number (starting at 1).
-p n When matching, ignore the first n components of the pathname.
--strip=n
Remove the first n components of the pathname before displaying it.
--addprefix=PREFIX
Prefix the pathname with PREFIX before displaying it.
-s Show file additions, modifications and removals. A file addition is indicated by a ``+'', a removal by a ``-'', and a modification
by a ``!''.
-i PATTERN
Include only files matching PATTERN.
-x PATTERN
Exclude files matching PATTERN.
-v Verbose output.
--help Display a short usage message.
--version
Display the version number of lsdiff.
--filter
Behave like filterdiff(1) instead.
--grep Behave like grepdiff(1) instead.
SEE ALSO filterdiff(1), grepdiff(1)EXAMPLES
To sort the order of touched files in a patch, you can use:
lsdiff patch | sort -u |
xargs -rn1 filterdiff patch -i
To show only added files in a patch:
lsdiff -s patch | grep '^+' |
cut -c2- | xargs -rn1 filterdiff patch -i
To show the headers of all file hunks:
lsdiff -n patch | (while read n file
do sed -ne "$n,$(($n+1))p" patch
done)
AUTHOR
Tim Waugh <twaugh@redhat.com>.
patchutils 13 May 2002 LSDIFF(1)