LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-23-2007, 05:07 AM   #1
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Issue with Patching 2.6.19 to 2.6.19.2


Hey,
I had the linux 2.6.18 kernel source. I downloaded and installed the 2.6.19 patch which worked fine. Then I downloaded the 2.6.19.2 patch from ( http://www.kernel.org/pub/linux/kern....6.19.1-2.bz2). When I try to install the patch ,it gives me some errors. Can you please point out how I can fix the errors?

Slackware 11 on 2.6.18 Kernel running KDE
gcc version 3.4.6
GNU Make 3.81

#at the linux source directory
Quote:
bash-3.1$ patch -p1 < ../patch-2.6.19.1-2
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file arch/arm/kernel/calls.S
patching file arch/i386/kernel/apm.c
patching file arch/i386/kernel/process.c
patching file arch/i386/kernel/smpboot.c
patching file arch/ia64/kernel/process.c
patching file arch/sparc/kernel/ioport.c
patching file arch/sparc64/kernel/isa.c
patching file arch/sparc64/mm/init.c
patching file arch/x86_64/kernel/process.c
patching file arch/x86_64/kernel/setup.c
patching file crypto/sha512.c
patching file drivers/acpi/processor_idle.c
patching file drivers/ata/libata- core.c
patching file drivers/block/aoe/aoecmd.c
patching file drivers/block/cciss.c
patching file drivers/char/mem.c
patching file drivers/connector/cn_proc.c
patching file drivers/i2c/chips/ds1337.c
patching file drivers/ieee1394/ohci1394.c
patching file drivers/infiniband/ulp/srp/ib_srp.c
patching file drivers/infiniband/ulp/srp/ib_srp.h
patching file drivers/md/Kconfig
patching file drivers/media/dvb/dvb-core/dvb_net.c
patching file drivers/media/dvb/frontends/lgdt330x.c
patching file drivers/media/video/cx88/cx88-cards.c
patching file drivers/media/video/tuner-simple.c
patching file drivers/media/video/tuner-types.c
patching file drivers/net/bonding/bond_main.c
patching file drivers/net/smc911x.c
patching file drivers/net/wireless/zd1211rw/zd_ieee80211.h
patching file drivers/net/wireless/zd1211rw/zd_mac.c
patching file drivers/net/wireless/zd1211rw/zd_mac.h
patching file drivers/net/wireless/zd1211rw/zd_usb.c
patching file drivers/net/wireless/zd1211rw/zd_usb.h
patching file drivers/scsi/scsi_lib.c
patching file drivers/usb/net/asix.c
patching file fs/cramfs/inode.c
patching file fs/ext2/dir.c
patching file fs/ext3/dir.c
patching file fs/ext3/namei.c
patching file fs/ramfs/file-mmu.c
patching file fs/ramfs/file-nommu.c
patching file include/asm-arm/unistd.h
patching file include/linux/libata.h
patching file include/linux/net.h
patching file include/media/cx2341x.h
patching file kernel/sched.c
patching file mm/memory.c
patching file mm/mincore.c
patching file mm/oom_kill.c
patching file mm/page-writeback.c
patching file mm/rmap.c
patching file mm/shmem.c
patching file mm/vmscan.c
patching file net/bluetooth/cmtp/capi.c
patching file net/bridge/netfilter/ebtables.c
Hunk #1 FAILED at 575.
Hunk #2 succeeded at 613 (offset -12 lines).
1 out of 2 hunks FAILED -- saving rejects to file net/bridge/netfilter/ebtables.c.rej
patching file net/core/pktgen.c
patching file net/ieee80211/softmac/ieee80211softmac_assoc.c
patching file net/ieee80211/softmac/ieee80211softmac_auth.c
patching file net/ieee80211/softmac/ieee80211softmac_priv.h
patching file net/ieee80211/softmac/ieee80211softmac_wx.c
patching file net/ipv4/devinet.c
patching file net/ipv4/udp.c
patching file net/ipv6/addrconf.c
patching file net/netlabel/netlabel_cipso_v4.c
patching file scripts/Kbuild.include
patching file sound/sparc/cs4231.c
bash-3.1$ head -n 5 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 19
EXTRAVERSION =
NAME=Avast! A bilge rat!
------------------------------------------------------------

I know this is a pretty NOOB question but will be really grateful if you helped me out. Thanks.
I am on Slackware 11 with KDE .
gcc version 3.4.6
GNU Make 3.81
 
Old 01-23-2007, 05:31 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Why not clicking on the main page?

http://kernel.org/pub/linux/kernel/v...h-2.6.19.2.bz2

From 18 to 19 apply .19 patch on 18
From 19 to 19.2 apply .19.2 on 19
And as an example (2.6.x.y are not incrental)
From 19.2 to 19.3, revert patch from .19.2 to .19 and then apply .19.3 on 19
 
Old 01-23-2007, 08:09 AM   #3
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
sorry I thought the incr patch 1-2 was correct patch.
 
Old 01-23-2007, 08:16 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Don't need to be sorry
Tell us if it works
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Patching 2.6 Biotachyonic Linux - Laptop and Netbook 2 08-24-2005 10:04 PM
Patching bong.mau Mandriva 4 04-25-2004 03:12 PM
patching ybaws Linux - Software 3 04-02-2004 04:52 PM
Patching Straterra Slackware 18 03-17-2004 12:58 PM
patching janu Linux - Software 1 01-06-2003 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration