FAILED during patching kernel sources


 
Thread Tools Search this Thread
Operating Systems Linux SuSE FAILED during patching kernel sources
# 1  
Old 07-19-2008
FAILED during patching kernel sources

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.

Sorry for my bad English. Thanks
# 2  
Old 07-19-2008
You've taken the kernel sources supplied by OpenSuse, haven't you? Suse uses a modified kernel und therefore ships modified kernel sources (which have other features, ... - nearly all distributions do this). That's normally no problem.

But when you try to use standard patches they fail, because the patch utility does not find the proper lines in the sources to modify. Even if there's a way to get those sources compiled better don't use them, because the changes can be incompatible with each other.

Better download an unpatched kernel source tarball from kernel.org (which you can use to patch later on).

You could also have a look into your packages, maybe Suse does also ship an unmodified "vanilla" kernel source tree. This one is exactly identical to the standard tree. You could patch this one without problems.

PS: can't see any problems with your English.
# 3  
Old 07-19-2008
Thanks for clarification. Really i've found the kernel sources (version 2.6.26) on official OpenSUSE site.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Solaris 10 patching failed

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

2. UNIX for Dummies Questions & Answers

Question about I/O sources

Hi all, What is the difference between these two comands? sed s/a/b/ <f1 >f2 sed s/a/b/ f1 >f2 Best, santiagorf (3 Replies)
Discussion started by: santiagorf
3 Replies

3. Solaris

Patching failed on Sun T2000

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)
Discussion started by: zulu1
3 Replies

4. Red Hat

kernel panic - Failed back to HPET

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)
Discussion started by: markke
1 Replies

5. Solaris

Kernel and OS patching

Hi, I just want to know, is there any difference between Kernal patching and OS patching in solaris/linux Thanks in advance (1 Reply)
Discussion started by: vks47
1 Replies

6. Solaris

What is Kernel Patching?

Q.) What is KERNEL PATCHING? (0 Replies)
Discussion started by: aparna66
0 Replies

7. News, Links, Events and Announcements

Are the UnixWare 7.1.1 sources available?

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)
Discussion started by: pepinox
1 Replies

8. Linux

Kernel sources/module building

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)
Discussion started by: Brendan Kennedy
0 Replies

9. Linux

kernel: nfs_fhget: iget failed

Hi can you please help what is this error in linux.... How to check and resolve this. thanks (1 Reply)
Discussion started by: kaibiganmi
1 Replies

10. Linux

Kernel sources

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)
Discussion started by: byblyk
1 Replies
Login or Register to Ask a Question