Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Installing kernel sources

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
TJA
Posts: 15
Joined: 2010-04-05 21:33

Installing kernel sources

#1 Post by TJA »

Hello,
i am not new to Debian and used to use commands like "apt-get install <package>", "apt-get update", "apt-get upgrade" and "apt-cache search <string>" regulary.

But i never understood those Debian programs and the Debian package system with it´s numerous programs and way to install things and work on software and configurations ...

Now, i just wanted to do something that i thought to be realy easy.

Get the source of an existing package.

And despite spending over 3 hours - including reading the man-pages of commands - i cannot find a way!

This frustrates me to no end and finally, i subscribed here to get help.

What i want to do?

Two things:

dpkg --get-selections | grep openvz
linux-image-2.6-openvz-amd64 install
linux-image-2.6.26-2-openvz-amd64 install

I already don´t understand why i have two such packages installed ...

I would like to download the source of my kernel:

apt-get source linux-image-2.6.26-2-openvz-amd64

This downloaded linux-2.6_2.6.26-21lenny4.dsc, linux-2.6_2.6.26.orig.tar.gz and linux-2.6_2.6.26-21lenny4.diff.gz

Then, i wanted to patch this - having found no explanation, i did:

cd linux
patch < ../linux-2.6_2.6.26-21lenny4.diff

That seemed to patch the kernel ...

But i am not sure - there are new files like this now_

[...]
Only in linux-2.6-2.6.26: xenctrl-capabilities.patch
Only in linux-2.6-2.6.26: xenctrl.patch
Only in linux-2.6-2.6.26: xenctrl-privcmd.patch
[...]

So, how can download the complete Debian kernel source?
And what do i need to be able to complile it?
And - HOW to just list all available sources and search in them?!?

I found lots of webpages where tools like "make-kpkg" are used, which i do not understand again ...

Under SuSE, i could just select the package from a list, say "make oldconfig install modules modules_install" and be ready ...

Under Debian, i just find no way ...

Can anybody PLEASE help me?

Thank you very much :)
Frustrated about this, i triied to find newer source - but could not find a way to

User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Re: Installing kernel sources

#2 Post by mzilikazi »

I build kernels the Debian way. While that link isn't specific to the version you want to build the procedure is universal. You don't need to build in /usr/src - in fact you don't need to link your source to 'linux' either.

Sorry - I know nothing about openvz
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: Installing kernel sources

#3 Post by bugsbunny »

Not sure if this really belongs under "beginners questions" :)

Normally if I want to compile a kernel I'll start with vanilla sources from kernel.org. However, you can use the sorces that you downloaded..

apt-get <package> downloads the packge components (normally composed of dsc, diff.gz, and orig.tar.gz files), expands the orig.tar.gz file, then applies the patch file (the diff) (should be statements to this effect in the terminal as it does it's thing). So there is no reason to apply the patch again (in fact that should give you an error).

For example, I just tried this with tilda:

Code: Select all

apt-get source tilda
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Need to get 316kB of source archives.
Get:1 http://ftp.egr.msu.edu testing/main tilda 0.09.6-2 (dsc) [1,124B]
Get:2 http://ftp.egr.msu.edu testing/main tilda 0.09.6-2 (tar) [308kB]
Get:3 http://ftp.egr.msu.edu testing/main tilda 0.09.6-2 (diff) [7,463B]
Fetched 316kB in 1s (228kB/s)
dpkg-source: info: extracting tilda in tilda-0.09.6
dpkg-source: info: unpacking tilda_0.09.6.orig.tar.gz
dpkg-source: info: applying tilda_0.09.6-2.diff.gz
You see the last line talking about applying the patch file.

So apt-get source does, indeed, get the full source for a given package.
I already don´t understand why i have two such packages installed
Well you have a generic package installed (linux-image-2.6-openvz-amd64), which depends on a specific version of the 2.6 kernel. In this case linux-image-2.6.26-2-openvz-amd64. The generic package will depend on the latest version of the 2.6 kernel available in the Debian repository, so will automatically get any upgrades that may be introduced into your Debian version (if you're running stable you won't get updates from unstable).

TJA
Posts: 15
Joined: 2010-04-05 21:33

Re: Installing kernel sources

#4 Post by TJA »

Thank you very, very much!

After your help, i was able to download, configure and install the kernel!

Still, i find no way to *search* for source code ...

"apt-get source <package>" requires a known package name - what can i do if i just want to list all available source-code?

TJA
Posts: 15
Joined: 2010-04-05 21:33

Re: Installing kernel sources

#5 Post by TJA »

Sadly, this did not work :(

The kernel did run, but it could not run OpenVZ ...

root@beta:/usr/src/linux-2.6-2.6.26# find . -type f -name Makefile -exec grep CONFIG_VZ {} \; -print

So, there just IS not openvz support in that kernel :-/

Something is still wrong and i sadly have no idea what ...


User avatar
mzilikazi
Forum Account
Forum Account
Posts: 3282
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Re: Installing kernel sources

#7 Post by mzilikazi »

TJA wrote:Still, i find no way to *search* for source code ...

Code: Select all

apt-cache search <something>
All packages have their source available.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G

TJA
Posts: 15
Joined: 2010-04-05 21:33

Re: Installing kernel sources

#8 Post by TJA »

mzilikazi wrote:
TJA wrote:Still, i find no way to *search* for source code ...

Code: Select all

apt-cache search <something>
All packages have their source available.

Code: Select all

root@beta:/usr/src# dpkg --get-selections | grep openvz
linux-image-2.6-openvz-amd64                    install
linux-image-2.6.26-2-openvz-amd64               install

Code: Select all

root@beta:/usr/src# apt-get source linux-image-2.6-openvz-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 20.0kB of source archives.
Get:1 http://ftp.de.debian.org lenny/main linux-latest-2.6 17+lenny1 (dsc) [5210B]
Get:2 http://ftp.de.debian.org lenny/main linux-latest-2.6 17+lenny1 (tar) [14.8kB]
Fetched 20.0kB in 0s (77.1kB/s)
gpg: Signature made Fri 27 Mar 2009 07:43:31 PM CET using DSA key ID 19A42D19
gpg: Can't check signature: public key not found
dpkg-source: extracting linux-latest-2.6 in linux-latest-2.6-17+lenny1
dpkg-source: info: unpacking linux-latest-2.6_17+lenny1.tar.gz
So, this does seem to be something old ...

Code: Select all

root@beta:/usr/src# \rm -rf *2.6*17*
root@beta:/usr/src# apt-get source linux-image-2.6.26-2-openvz-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 69.6MB of source archives.
Get:1 http://security.debian.org lenny/updates/main linux-2.6 2.6.26-21lenny4 (dsc) [5778B]
Get:2 http://security.debian.org lenny/updates/main linux-2.6 2.6.26-21lenny4 (tar) [61.8MB]
Get:3 http://security.debian.org lenny/updates/main linux-2.6 2.6.26-21lenny4 (diff) [7769kB]
Fetched 69.6MB in 29s (2370kB/s)
gpg: Signature made Tue 09 Mar 2010 10:33:09 PM CET using DSA key ID 19A42D19
gpg: Can't check signature: public key not found
dpkg-source: extracting linux-2.6 in linux-2.6-2.6.26
dpkg-source: info: unpacking linux-2.6_2.6.26.orig.tar.gz
dpkg-source: info: applying linux-2.6_2.6.26-21lenny4.diff.gz
That worked!

BUT, it does not contain OpenVZ - it seems just to be the base vanilla kernel:

Code: Select all

make allyesconfig
grep -i vz .config
-> no output

And therefor, not all packages seem to come with their own source!

And this is my question :)

How can i get the source of "linux-image-2.6.26-2-openvz-amd64"?

I just cannot find a way and this is quite frustrating :-|
Last edited by TJA on 2010-04-06 15:56, edited 2 times in total.

TJA
Posts: 15
Joined: 2010-04-05 21:33

Re: Installing kernel sources

#9 Post by TJA »

I read that already days before ... and sadly, i cannot say that it seems to work:

It says: "Since kernel 2.6.29 the patch is now included in Debian kernel source. Run only the following and ignore references to the patch further down this page"

Code: Select all

root@beta:/usr/src/linux# apt-get install kernel-package linux-source-2.6 libncurses5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
kernel-package is already the newest version.
Package linux-source-2.6 is a virtual package provided by:
  linux-source-2.6.26 2.6.26-21lenny4
You should explicitly select one to install.
E: Package linux-source-2.6 has no installation candidate
So, that just points me to "linux-source-2.6.26 2.6.26-21lenny4", which i does not seem to be a OpenVZ kernel.

I also had a look at those lines in the HOWTO:

# ../kernel-patches/all/apply/openvz
# make menuconfig

But there is not "kernel-patches/all/apply/openvz" in my system - nowhere ...
And i cannot find a way to get this.

And menuconfig does not show any OpenVZ stuff too.

TJA
Posts: 15
Joined: 2010-04-05 21:33

Re: Installing kernel sources

#10 Post by TJA »

What i finally want to say is, that there are sure people who know how to get, configure, build and install a kernel (for example build an own openvz kernel) for Debian Lenny.

But the documentation does NOT allow people who are new to the system to do this ...

The docs are just not complete or maybe assume certain knowledge.

I realy tried, but could not do this so far - and i read lots and lots of pages!

TJA
Posts: 15
Joined: 2010-04-05 21:33

Re: Installing kernel sources

#11 Post by TJA »

As i still need a new kernel, i continued to try:

Code: Select all

root@beta:/usr/src/linux# find . -name openvz -ls
737358   16 drwxr-xr-x   2 root     root        16384 Apr  6 18:36 ./debian/patches/features/all/openvz
737345    4 drwxr-xr-x   2 root     root         4096 Apr  6 18:36 ./debian/config/i386/openvz
737320    4 drwxr-xr-x   2 root     root         4096 Apr  6 18:36 ./debian/config/amd64/openvz
So, there ARE OpenVZ things in that source ...

Code: Select all

root@beta:/usr/src/linux# ls ./debian/config/i386/openvz ./debian/config/amd64/openvz
./debian/config/i386/openvz:
total 4
-rw-r--r-- 1 root root 86 2010-04-06 18:36 defines

./debian/config/amd64/openvz:
total 4
-rw-r--r-- 1 root root 25 2010-04-06 18:36 defines
And lots of stuff here:

Code: Select all

root@beta:/usr/src/linux/debian/patches/features/all/openvz# ls
total 2560
-rw-r--r-- 1 root root     955 2010-04-06 18:36 simfs-getatts-fix-oops-on-NULL-mnt.patch
-rw-r--r-- 1 root root     538 2010-04-06 18:36 remove-TIF_ABI-bit.patch
-rw-r--r-- 1 root root 2290479 2010-04-06 18:36 openvz.patch
-rw-r--r-- 1 root root    3885 2010-04-06 18:36 netlink-fix-conntrack-oops.patch
-rw-r--r-- 1 root root    3627 2010-04-06 18:36 fix-wrong-size-of-ub0_percpu.patch
-rw-r--r-- 1 root root    1445 2010-04-06 18:36 cpt-revert-check-on-sk_reuse-gt-one.patch
-rw-r--r-- 1 root root     865 2010-04-06 18:36 0086-pidns-pi-futex-pid-check-fixup.patch
-rw-r--r-- 1 root root     750 2010-04-06 18:36 0085-net-avoid-double-free-on-net-gen-pointer-on-error.patch
-rw-r--r-- 1 root root    1067 2010-04-06 18:36 0084-net-bridge-process-skbs-has-been-already-substituted.patch
-rw-r--r-- 1 root root    2150 2010-04-06 18:36 0082-ve-show-task-s-vpid-and-veid-even-inside-a-containe.patch
-rw-r--r-- 1 root root    1044 2010-04-06 18:36 0081-ubc-uncharging-too-much-for-TCPSNDBUF.patch
-rw-r--r-- 1 root root    1130 2010-04-06 18:36 0079-ptrace-ban-ptracing-of-a-container-init-from-inside.patch
-rw-r--r-- 1 root root    1088 2010-04-06 18:36 0078-VE-fix-idle-time-accounting.patch
-rw-r--r-- 1 root root    5255 2010-04-06 18:36 0077-cfq-revalidate-cached-async-queue.patch
-rw-r--r-- 1 root root    1105 2010-04-06 18:36 0076-cfq-link-cfq_bc_data-without-bc-io-sched.patch
-rw-r--r-- 1 root root    1664 2010-04-06 18:36 0075-bc-fix-permissions-on-proc-bc.patch
-rw-r--r-- 1 root root    1160 2010-04-06 18:36 0074-NETLINK-disable-netns-broadcast-filtering.patch
-rw-r--r-- 1 root root    1001 2010-04-06 18:36 0073-pidns-zap-ve-process-only-when-killing-ve-s-init-pi.patch
-rw-r--r-- 1 root root    1239 2010-04-06 18:36 0072-pidns-lost-task-debug-print-uses-wrong-prototype.patch
-rw-r--r-- 1 root root    1172 2010-04-06 18:36 0070-pidns-update-leader_pid-at-pidns-attach.patch
-rw-r--r-- 1 root root    1937 2010-04-06 18:36 0067-autofs4-fix-ia32-compat-mode.patch
-rw-r--r-- 1 root root    1784 2010-04-06 18:36 0066-Free-skb-nf_bridge-in-veth_xmit-and-venet_xmit.patch
-rw-r--r-- 1 root root    1238 2010-04-06 18:36 0065-Fix-broken-permissions-for-Unix98-pty.patch
-rw-r--r-- 1 root root    1118 2010-04-06 18:36 0064-net-NETIF_F_VIRTUAL-intersects-with-NETIF_F_LRO.patch
-rw-r--r-- 1 root root     964 2010-04-06 18:36 0063-bridge-don-t-leak-master-device-on-brctl-addif.patch
-rw-r--r-- 1 root root    1127 2010-04-06 18:36 0060-nfs-use-kthread_run_ve-to-start-lockd.patch
-rw-r--r-- 1 root root     946 2010-04-06 18:36 0059-Don-t-dereference-NULL-tsk-mm-in-ve_move_task.patch
-rw-r--r-- 1 root root    4768 2010-04-06 18:36 0058-Add-kthread_create_ve-and-kthread_run_ve-functio.patch
-rw-r--r-- 1 root root    1996 2010-04-06 18:36 0057-Add-do_ve_enter_hook.patch
-rw-r--r-- 1 root root     999 2010-04-06 18:36 0056-nfs-Fix-nfs_match_client.patch
-rw-r--r-- 1 root root    5542 2010-04-06 18:36 0054-ve-sanitize-capability-checks-for-namespaces-creati.patch
-rw-r--r-- 1 root root    4119 2010-04-06 18:36 0052-ms-fix-inotify-umount.patch
-rw-r--r-- 1 root root    1100 2010-04-06 18:36 0051-NFS-NFS-super-blocks-in-different-VEs-should-be-dif.patch
-rw-r--r-- 1 root root    2518 2010-04-06 18:36 0050-nfs-Fix-access-to-freed-memory.patch
-rw-r--r-- 1 root root    1345 2010-04-06 18:36 0049-cpt-Make-the-proper-check-for-sigmask.patch
-rw-r--r-- 1 root root    2387 2010-04-06 18:36 0048-netfilter-Add-check-to-the-nat-hooks.patch
-rw-r--r-- 1 root root    5235 2010-04-06 18:36 0047-netfilter-Fix-NULL-dereference-in-nf_nat_setup_info.patch
-rw-r--r-- 1 root root     799 2010-04-06 18:36 0046-netns-enable-cross-ve-Unix-sockets.patch
-rw-r--r-- 1 root root    1042 2010-04-06 18:36 0045-Correct-per-process-capabilities-bounding-set-in-CT.patch
-rw-r--r-- 1 root root    2054 2010-04-06 18:36 0044-vzwdog-walk-through-the-block-devices-list-properly.patch
-rw-r--r-- 1 root root    2092 2010-04-06 18:36 0043-net-set-ve-context-when-init-exit-method-is-called.patch
-rw-r--r-- 1 root root     773 2010-04-06 18:36 0042-netns-fix-net_generic-array-leak.patch
-rw-r--r-- 1 root root    2921 2010-04-06 18:36 0042-iptables-setup-init-iptables-mask-before-net-initia.patch
-rw-r--r-- 1 root root     975 2010-04-06 18:36 0041-Adjust-VE-before-call-netdev_unregister_kobject-netd.patch
-rw-r--r-- 1 root root    4012 2010-04-06 18:36 0040-Simplify-call-__dev_change_net_namespace-by-remove.patch
-rw-r--r-- 1 root root    1476 2010-04-06 18:36 0034-netfilter-call-nf_register_hooks-from-VE0-context-o.patch
-rw-r--r-- 1 root root    1525 2010-04-06 18:36 0033-netfilter-NAT-assign-nf_nat_seq_adjust_hook-from-V.patch
-rw-r--r-- 1 root root    4263 2010-04-06 18:36 0031-Add-VE-features-for-sit-and-ipip-devices.patch
-rw-r--r-- 1 root root    1239 2010-04-06 18:36 0029-conntrack-adjust-context-during-freeing.patch
-rw-r--r-- 1 root root    2898 2010-04-06 18:36 0028-conntrack-fix-oops-in-nf_ct_frag6_gather.patch
-rw-r--r-- 1 root root     738 2010-04-06 18:36 0027-Fix-erratum-that-causes-memory-corruption.patch
-rw-r--r-- 1 root root    6779 2010-04-06 18:36 0026-ct-Move-_nf_conntrack_l3proto_ipv6-to-net-namespace.patch
-rw-r--r-- 1 root root    4516 2010-04-06 18:36 0025-conntrack-Allocate-free-ve_nf_conntrack_l3proto_ipv.patch
-rw-r--r-- 1 root root    2530 2010-04-06 18:36 0024-conntrack-prevent-call-nf_register_hooks-from-VE.patch
-rw-r--r-- 1 root root    2897 2010-04-06 18:36 0023-conntrack-prevent-call-register_pernet_subsys-fro.patch
-rw-r--r-- 1 root root    4165 2010-04-06 18:36 0022-conntrack-prevent-double-allocate-free-of-protos.patch
-rw-r--r-- 1 root root     894 2010-04-06 18:36 0021-autofs-fix-default-pgrp-vnr.patch
-rw-r--r-- 1 root root    4258 2010-04-06 18:36 0020-autofs4-pidns-friendly-oz_mode.patch
-rw-r--r-- 1 root root    1300 2010-04-06 18:36 0018-nfs-add-missed-ve_nfs.h-file.patch
-rw-r--r-- 1 root root    1570 2010-04-06 18:36 0017-cpt-bump-image-version-to-VERSION_26.patch
-rw-r--r-- 1 root root   36737 2010-04-06 18:36 0016-nfs-fix-nfs-clinet-in-VE-finally.patch
-rw-r--r-- 1 root root     918 2010-04-06 18:36 0015--UB-Double-free-for-UDP-socket.patch

Instead of ONE patch, it seems, there are 63 patches!!!
:-O

But how to apply them?
Is that even the right stuff at all?

TJA
Posts: 15
Joined: 2010-04-05 21:33

Re: Installing kernel sources

#12 Post by TJA »

Neither

for i in debian/patches/features/all/openvz/* ; do patch -p 1 < ${i} ; done

nor

for i in debian/patches/features/all/openvz/* ; do patch < ${i} ; done

worked ...

TJA
Posts: 15
Joined: 2010-04-05 21:33

Re: Installing kernel sources

#13 Post by TJA »

Despite the fact, that all 63 files are called "*.patch", only one seems to be a patch - but a broken patch:

Code: Select all

root@beta:/usr/src/linux# patch -p 1 < debian/patches/features/all/openvz/openvz.patch
patching file COPYING.SWsoft
patching file Makefile
Hunk #2 succeeded at 340 with fuzz 2.
patching file arch/arm/kernel/smp.c
patching file arch/ia64/Kconfig
patching file arch/ia64/ia32/binfmt_elf32.c
patching file arch/ia64/kernel/entry.S
patching file arch/ia64/kernel/fsys.S
patching file arch/ia64/kernel/head.S
patching file arch/ia64/kernel/ia64_ksyms.c
patching file arch/ia64/kernel/mca.c
patching file arch/ia64/kernel/perfmon.c
patching file arch/ia64/kernel/process.c
patching file arch/ia64/kernel/ptrace.c
patching file arch/ia64/kernel/signal.c
patching file arch/ia64/kernel/time.c
patching file arch/ia64/kernel/unaligned.c
patching file arch/ia64/mm/fault.c
patching file arch/ia64/mm/init.c
patching file arch/powerpc/Kconfig
patching file arch/powerpc/kernel/misc_32.S
patching file arch/powerpc/kernel/misc_64.S
patching file arch/powerpc/kernel/process.c
patching file arch/powerpc/kernel/systbl.S
patching file arch/powerpc/mm/fault.c
patching file arch/powerpc/mm/init_64.c
patching file arch/powerpc/mm/pgtable_32.c
patching file arch/powerpc/platforms/cell/spu_callbacks.c
patching file arch/ppc/Kconfig
patching file arch/ppc/kernel/misc.S
patching file arch/ppc/mm/fault.c
patching file arch/ppc/mm/pgtable.c
patching file arch/s390/Kconfig
patching file arch/s390/kernel/smp.c
patching file arch/sh/kernel/process_64.c
patching file arch/sparc64/Kconfig
patching file arch/sparc64/kernel/process.c
patching file arch/sparc64/kernel/systbls.S
patching file arch/sparc64/kernel/traps.c
patching file arch/x86/Kconfig
patching file arch/x86/ia32/ia32entry.S
patching file arch/x86/ia32/sys_ia32.c
patching file arch/x86/kernel/entry_32.S
patching file arch/x86/kernel/entry_64.S
patching file arch/x86/kernel/ldt.c
patching file arch/x86/kernel/nmi_32.c
patching file arch/x86/kernel/nmi_64.c
patching file arch/x86/kernel/process_32.c
patching file arch/x86/kernel/process_64.c
patching file arch/x86/kernel/ptrace.c
patching file arch/x86/kernel/setup64.c
patching file arch/x86/kernel/signal_32.c
patching file arch/x86/kernel/signal_64.c
patching file arch/x86/kernel/smp.c
patching file arch/x86/kernel/smpboot.c
patching file arch/x86/kernel/syscall_table_32.S
patching file arch/x86/kernel/tlb_32.c
patching file arch/x86/kernel/tlb_64.c
patching file arch/x86/kernel/traps_32.c
patching file arch/x86/kernel/traps_64.c
patching file arch/x86/kernel/tsc_sync.c
patching file arch/x86/kernel/x8664_ksyms_64.c
patching file arch/x86/mm/fault.c
patching file arch/x86/mm/hugetlbpage.c
patching file arch/x86/mm/init_64.c
patching file arch/x86/mm/pgtable.c
patching file arch/x86/mm/pgtable_32.c
patching file arch/x86/vdso/vdso32-setup.c
patching file arch/x86/vdso/vma.c
patching file block/cfq-iosched.c
patching file block/elevator.c
patching file block/genhd.c
patching file drivers/base/class.c
patching file drivers/base/core.c
patching file drivers/char/keyboard.c
patching file drivers/char/pty.c
patching file drivers/char/sysrq.c
patching file drivers/char/tty_io.c
patching file drivers/net/Makefile
patching file drivers/net/loopback.c
patching file drivers/net/open_vznet.c
patching file drivers/net/tun.c
patching file drivers/net/venet_core.c
patching file drivers/net/vzethdev.c
patching file fs/Kconfig
patching file fs/Makefile
patching file fs/aio.c
patching file fs/autofs/init.c
patching file fs/autofs/root.c
patching file fs/autofs4/init.c
patching file fs/autofs4/root.c
patching file fs/autofs4/waitq.c
patching file fs/binfmt_aout.c
patching file fs/binfmt_elf.c
patching file fs/block_dev.c
patching file fs/buffer.c
patching file fs/char_dev.c
patching file fs/compat.c
patching file fs/dcache.c
patching file fs/devpts/inode.c
patching file fs/direct-io.c
patching file fs/dquot.c
patching file fs/eventpoll.c
patching file fs/exec.c
Hunk #8 FAILED at 758.
Hunk #10 FAILED at 993.
2 out of 13 hunks FAILED -- saving rejects to file fs/exec.c.rej
patching file fs/ext2/namei.c
patching file fs/ext2/super.c
patching file fs/ext3/ioctl.c
patching file fs/ext3/namei.c
patching file fs/ext3/super.c
patching file fs/ext4/ioctl.c
patching file fs/fcntl.c
Hunk #1 succeeded at 181 with fuzz 2.
patching file fs/file.c
patching file fs/file_table.c
patching file fs/filesystems.c
patching file fs/fuse/control.c
patching file fs/fuse/fuse_i.h
patching file fs/fuse/inode.c
patching file fs/inode.c
patching file fs/inotify.c
Hunk #3 succeeded at 106 (offset -14 lines).
Hunk #4 succeeded at 467 (offset -21 lines).
Hunk #5 succeeded at 609 (offset -133 lines).
Hunk #6 succeeded at 638 (offset -133 lines).
Hunk #7 succeeded at 663 (offset -133 lines).
patching file fs/inotify_user.c
Hunk #7 succeeded at 598 with fuzz 2.
patching file fs/ioprio.c
patching file fs/locks.c
patching file fs/namei.c
patching file fs/namespace.c
patching file fs/open.c
Hunk #10 succeeded at 750 with fuzz 2 (offset 7 lines).
Hunk #13 succeeded at 1158 with fuzz 2 (offset -3 lines).
patching file fs/partitions/check.c
patching file fs/pipe.c
patching file fs/proc/array.c
patching file fs/proc/base.c
patching file fs/proc/generic.c
patching file fs/proc/inode.c
patching file fs/proc/internal.h
patching file fs/proc/kmsg.c
patching file fs/proc/proc_misc.c
patching file fs/proc/proc_net.c
patching file fs/proc/proc_sysctl.c
patching file fs/proc/proc_tty.c
patching file fs/proc/root.c
patching file fs/quota.c
patching file fs/read_write.c
Hunk #2 FAILED at 352.
1 out of 8 hunks FAILED -- saving rejects to file fs/read_write.c.rej
patching file fs/reiserfs/namei.c
patching file fs/select.c
Hunk #5 succeeded at 729 with fuzz 2 (offset -1 lines).
patching file fs/seq_file.c
patching file fs/simfs.c
patching file fs/smbfs/sock.c
patching file fs/stat.c
patching file fs/super.c
Hunk #4 FAILED at 535.
1 out of 7 hunks FAILED -- saving rejects to file fs/super.c.rej
patching file fs/sync.c
Hunk #2 succeeded at 40 with fuzz 2.
patching file fs/sysfs/bin.c
patching file fs/sysfs/dir.c
patching file fs/sysfs/file.c
patching file fs/sysfs/group.c
patching file fs/sysfs/inode.c
patching file fs/sysfs/mount.c
patching file fs/sysfs/symlink.c
patching file fs/sysfs/sysfs.h
patching file fs/vzdq_file.c
patching file fs/vzdq_mgmt.c
patching file fs/vzdq_ops.c
patching file fs/vzdq_tree.c
patching file fs/vzdq_ugid.c
patching file fs/vzdquot.c
patching file include/asm-ia64/mman.h
patching file include/asm-ia64/pgalloc.h
patching file include/asm-ia64/processor.h
patching file include/asm-ia64/timex.h
patching file include/asm-ia64/unistd.h
patching file include/asm-powerpc/mman.h
patching file include/asm-powerpc/pgalloc-64.h
patching file include/asm-powerpc/systbl.h
patching file include/asm-powerpc/unistd.h
patching file include/asm-sparc64/mman.h
patching file include/asm-sparc64/pgalloc.h
patching file include/asm-sparc64/thread_info.h
patching file include/asm-sparc64/unistd.h
patching file include/asm-x86/elf.h
patching file include/asm-x86/mman.h
patching file include/asm-x86/nmi.h
patching file include/asm-x86/pgalloc.h
patching file include/asm-x86/processor.h
patching file include/asm-x86/thread_info_32.h
patching file include/asm-x86/thread_info_64.h
patching file include/asm-x86/tsc.h
patching file include/asm-x86/unistd_32.h
patching file include/asm-x86/unistd_64.h
patching file include/asm-x86/vdso.h
patching file include/bc/beancounter.h
patching file include/bc/dcache.h
patching file include/bc/dcache_op.h
patching file include/bc/debug.h
patching file include/bc/decl.h
patching file include/bc/hash.h
patching file include/bc/io_acct.h
patching file include/bc/io_prio.h
patching file include/bc/kmem.h
patching file include/bc/misc.h
patching file include/bc/net.h
patching file include/bc/oom_kill.h
patching file include/bc/proc.h
patching file include/bc/rss_pages.h
patching file include/bc/sock.h
patching file include/bc/sock_orphan.h
patching file include/bc/statd.h
patching file include/bc/task.h
patching file include/bc/tcp.h
patching file include/bc/vmpages.h
patching file include/linux/aio.h
patching file include/linux/capability.h
patching file include/linux/cfq-iosched.h
patching file include/linux/compat.h
patching file include/linux/cpt_image.h
patching file include/linux/cpt_ioctl.h
patching file include/linux/dcache.h
patching file include/linux/device.h
patching file include/linux/devpts_fs.h
patching file include/linux/elevator.h
patching file include/linux/elf.h
patching file include/linux/eventpoll.h
patching file include/linux/fairsched.h
patching file include/linux/faudit.h
patching file include/linux/fs.h
patching file include/linux/futex.h
patching file include/linux/gfp.h
patching file include/linux/hardirq.h
patching file include/linux/hrtimer.h
patching file include/linux/if_bridge.h
patching file include/linux/if_tun.h
patching file include/linux/if_vlan.h
patching file include/linux/init_task.h
patching file include/linux/inotify.h
Hunk #4 succeeded at 133 with fuzz 2 (offset -2 lines).
Hunk #5 succeeded at 262 (offset -2 lines).
patching file include/linux/ioprio.h
patching file include/linux/ipc.h
patching file include/linux/kdev_t.h
patching file include/linux/kernel.h
patching file include/linux/kobject.h
patching file include/linux/major.h
patching file include/linux/mm.h
patching file include/linux/mm_types.h
patching file include/linux/mman.h
patching file include/linux/mnt_namespace.h
patching file include/linux/mount.h
patching file include/linux/msg.h
patching file include/linux/namei.h
patching file include/linux/netdevice.h
patching file include/linux/netfilter.h
patching file include/linux/netfilter/x_tables.h
patching file include/linux/netfilter/xt_hashlimit.h
patching file include/linux/netfilter_ipv4/ipt_recent.h
patching file include/linux/nfcalls.h
patching file include/linux/notifier.h
patching file include/linux/nsproxy.h
patching file include/linux/page-flags.h
Hunk #1 FAILED at 157.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/page-flags.h.rej
patching file include/linux/percpu.h
patching file include/linux/pid.h
patching file include/linux/pid_namespace.h
patching file include/linux/poll.h
patching file include/linux/proc_fs.h
patching file include/linux/quota.h
patching file include/linux/quotaops.h
patching file include/linux/rmap.h
patching file include/linux/sched.h
Hunk #8 succeeded at 1345 (offset -2 lines).
Hunk #9 succeeded at 1531 with fuzz 2 (offset -8 lines).
Hunk #10 succeeded at 1584 (offset -8 lines).
patching file include/linux/sem.h
patching file include/linux/shm.h
patching file include/linux/shmem_fs.h
patching file include/linux/signal.h
patching file include/linux/skbuff.h
patching file include/linux/slab.h
patching file include/linux/slab_def.h
patching file include/linux/slub_def.h
patching file include/linux/smp.h
patching file include/linux/socket.h
patching file include/linux/swap.h
patching file include/linux/sysctl.h
patching file include/linux/sysfs.h
patching file include/linux/task_io_accounting_ops.h
patching file include/linux/tty.h
patching file include/linux/tty_driver.h
patching file include/linux/types.h
patching file include/linux/utsname.h
patching file include/linux/ve.h
patching file include/linux/ve_proto.h
patching file include/linux/ve_task.h
patching file include/linux/veip.h
patching file include/linux/venet.h
patching file include/linux/veprintk.h
patching file include/linux/veth.h
patching file include/linux/virtinfo.h
patching file include/linux/virtinfoscp.h
patching file include/linux/vmalloc.h
patching file include/linux/vmstat.h
patching file include/linux/vzcalluser.h
patching file include/linux/vzctl.h
patching file include/linux/vzctl_quota.h
patching file include/linux/vzctl_venet.h
patching file include/linux/vzctl_veth.h
patching file include/linux/vzdq_tree.h
patching file include/linux/vzevent.h
patching file include/linux/vziptable_defs.h
patching file include/linux/vzquota.h
patching file include/linux/vzquota_qlnk.h
patching file include/linux/vzratelimit.h
patching file include/linux/vzstat.h
patching file include/net/addrconf.h
patching file include/net/af_unix.h
Hunk #1 FAILED at 10.
1 out of 1 hunk FAILED -- saving rejects to file include/net/af_unix.h.rej
patching file include/net/fib_rules.h
patching file include/net/flow.h
patching file include/net/icmp.h
patching file include/net/inet6_hashtables.h
patching file include/net/inet_frag.h
patching file include/net/inet_hashtables.h
patching file include/net/inet_sock.h
patching file include/net/inet_timewait_sock.h
patching file include/net/ip.h
patching file include/net/ip6_fib.h
patching file include/net/ipv6.h
patching file include/net/net_namespace.h
patching file include/net/netfilter/ipv4/nf_conntrack_ipv4.h
patching file include/net/netfilter/nf_conntrack.h
patching file include/net/netfilter/nf_conntrack_core.h
patching file include/net/netfilter/nf_conntrack_ecache.h
patching file include/net/netfilter/nf_conntrack_expect.h
patching file include/net/netfilter/nf_conntrack_l3proto.h
patching file include/net/netfilter/nf_conntrack_l4proto.h
patching file include/net/netfilter/nf_nat.h
patching file include/net/netfilter/nf_nat_rule.h
patching file include/net/netlink_sock.h
patching file include/net/netns/ipv4.h
patching file include/net/netns/ipv6.h
patching file include/net/route.h
patching file include/net/sock.h
patching file include/net/tcp.h
patching file include/net/udp.h
patching file init/Kconfig
patching file init/calibrate.c
patching file init/main.c
patching file init/version.c
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file init/version.c.rej
patching file ipc/ipc_sysctl.c
patching file ipc/msg.c
patching file ipc/msgutil.c
patching file ipc/sem.c
patching file ipc/shm.c
Hunk #5 FAILED at 326.
1 out of 11 hunks FAILED -- saving rejects to file ipc/shm.c.rej
patching file ipc/util.c
patching file ipc/util.h
patching file kernel/Kconfig.openvz
patching file kernel/Makefile
patching file kernel/audit.c
patching file kernel/auditfilter.c
patching file kernel/bc/Kconfig
patching file kernel/bc/Makefile
patching file kernel/bc/beancounter.c
patching file kernel/bc/dcache.c
patching file kernel/bc/io_acct.c
patching file kernel/bc/io_prio.c
patching file kernel/bc/kmem.c
patching file kernel/bc/misc.c
patching file kernel/bc/net.c
patching file kernel/bc/oom_kill.c
patching file kernel/bc/proc.c
patching file kernel/bc/rss_pages.c
patching file kernel/bc/statd.c
patching file kernel/bc/sys.c
patching file kernel/bc/vm_pages.c
patching file kernel/capability.c
patching file kernel/cgroup.c
patching file kernel/cgroup_lite.c
patching file kernel/compat.c
patching file kernel/cpt/Makefile
patching file kernel/cpt/cpt_conntrack.c
patching file kernel/cpt/cpt_context.c
patching file kernel/cpt/cpt_context.h
patching file kernel/cpt/cpt_dump.c
patching file kernel/cpt/cpt_dump.h
patching file kernel/cpt/cpt_epoll.c
patching file kernel/cpt/cpt_exports.c
patching file kernel/cpt/cpt_files.c
patching file kernel/cpt/cpt_files.h
patching file kernel/cpt/cpt_fsmagic.h
patching file kernel/cpt/cpt_inotify.c
patching file kernel/cpt/cpt_kernel.c
patching file kernel/cpt/cpt_kernel.h
patching file kernel/cpt/cpt_mm.c
patching file kernel/cpt/cpt_mm.h
patching file kernel/cpt/cpt_net.c
patching file kernel/cpt/cpt_net.h
patching file kernel/cpt/cpt_obj.c
patching file kernel/cpt/cpt_obj.h
patching file kernel/cpt/cpt_proc.c
patching file kernel/cpt/cpt_process.c
patching file kernel/cpt/cpt_process.h
patching file kernel/cpt/cpt_socket.c
patching file kernel/cpt/cpt_socket.h
patching file kernel/cpt/cpt_socket_in.c
patching file kernel/cpt/cpt_syscalls.h
patching file kernel/cpt/cpt_sysvipc.c
patching file kernel/cpt/cpt_tty.c
patching file kernel/cpt/cpt_ubc.c
patching file kernel/cpt/cpt_ubc.h
patching file kernel/cpt/cpt_x8664.S
patching file kernel/cpt/rst_conntrack.c
patching file kernel/cpt/rst_context.c
patching file kernel/cpt/rst_epoll.c
patching file kernel/cpt/rst_files.c
patching file kernel/cpt/rst_inotify.c
patching file kernel/cpt/rst_mm.c
patching file kernel/cpt/rst_net.c
patching file kernel/cpt/rst_proc.c
patching file kernel/cpt/rst_process.c
patching file kernel/cpt/rst_socket.c
patching file kernel/cpt/rst_socket_in.c
patching file kernel/cpt/rst_sysvipc.c
patching file kernel/cpt/rst_tty.c
patching file kernel/cpt/rst_ubc.c
patching file kernel/cpt/rst_undump.c
patching file kernel/cpu.c
patching file kernel/exit.c
patching file kernel/fairsched.c
patching file kernel/fork.c
patching file kernel/futex.c
patching file kernel/hrtimer.c
patching file kernel/kmod.c
patching file kernel/kprobes.c
patching file kernel/lockdep.c
patching file kernel/module.c
patching file kernel/nsproxy.c
patching file kernel/pid.c
patching file kernel/pid_namespace.c
patching file kernel/posix-timers.c
Hunk #4 FAILED at 303.
1 out of 6 hunks FAILED -- saving rejects to file kernel/posix-timers.c.rej
patching file kernel/power/process.c
patching file kernel/printk.c
patching file kernel/ptrace.c
patching file kernel/sched.c
patching file kernel/sched_debug.c
patching file kernel/signal.c
Hunk #12 FAILED at 1183.
1 out of 18 hunks FAILED -- saving rejects to file kernel/signal.c.rej
patching file kernel/softirq.c
patching file kernel/softlockup.c
patching file kernel/sys.c
Hunk #8 FAILED at 986.
1 out of 12 hunks FAILED -- saving rejects to file kernel/sys.c.rej
patching file kernel/sys_ni.c
patching file kernel/sysctl.c
patching file kernel/taskstats.c
patching file kernel/time.c
patching file kernel/time/timekeeping.c
patching file kernel/timer.c
patching file kernel/user.c
patching file kernel/utsname_sysctl.c
patching file kernel/ve/Makefile
patching file kernel/ve/hooks.c
patching file kernel/ve/ve.c
patching file kernel/ve/vecalls.c
patching file kernel/ve/veowner.c
patching file kernel/ve/vzdev.c
patching file kernel/ve/vzevent.c
patching file kernel/ve/vzwdog.c
patching file lib/Kconfig.debug
patching file lib/kobject_uevent.c
patching file mm/filemap.c
patching file mm/filemap_xip.c
patching file mm/fremap.c
patching file mm/memory.c
patching file mm/mempool.c
patching file mm/mlock.c
Hunk #4 FAILED at 84.
Hunk #5 succeeded at 173 with fuzz 2 (offset 2 lines).
1 out of 6 hunks FAILED -- saving rejects to file mm/mlock.c.rej
patching file mm/mmap.c
patching file mm/mmzone.c
patching file mm/mprotect.c
patching file mm/mremap.c
Hunk #4 FAILED at 448.
1 out of 4 hunks FAILED -- saving rejects to file mm/mremap.c.rej
patching file mm/oom_kill.c
patching file mm/page-writeback.c
patching file mm/page_alloc.c
patching file mm/rmap.c
patching file mm/shmem.c
patching file mm/slab.c
patching file mm/slub.c
patching file mm/swap.c
patching file mm/swap_state.c
patching file mm/swapfile.c
patching file mm/truncate.c
patching file mm/vmalloc.c
patching file mm/vmscan.c
patching file mm/vmstat.c
patching file net/8021q/vlan.c
patching file net/8021q/vlan_dev.c
patching file net/Kconfig
patching file net/bridge/br.c
patching file net/bridge/br_device.c
patching file net/bridge/br_forward.c
patching file net/bridge/br_if.c
patching file net/bridge/br_input.c
patching file net/bridge/br_ioctl.c
patching file net/bridge/br_netlink.c
patching file net/bridge/br_notify.c
patching file net/bridge/br_private.h
patching file net/bridge/br_stp_bpdu.c
patching file net/bridge/br_sysfs_br.c
patching file net/core/datagram.c
patching file net/core/dev.c
Hunk #14 FAILED at 3994.
Hunk #16 FAILED at 4036.
2 out of 25 hunks FAILED -- saving rejects to file net/core/dev.c.rej
patching file net/core/dst.c
patching file net/core/ethtool.c
patching file net/core/fib_rules.c
patching file net/core/filter.c
patching file net/core/neighbour.c
patching file net/core/net-sysfs.c
patching file net/core/net_namespace.c
patching file net/core/rtnetlink.c
patching file net/core/scm.c
Hunk #4 succeeded at 285 with fuzz 2.
patching file net/core/skbuff.c
patching file net/core/sock.c
patching file net/core/stream.c
patching file net/dccp/ipv6.c
patching file net/dccp/minisocks.c
patching file net/decnet/dn_rules.c
patching file net/decnet/netfilter/dn_rtmsg.c
patching file net/ipv4/af_inet.c
patching file net/ipv4/arp.c
patching file net/ipv4/devinet.c
patching file net/ipv4/fib_frontend.c
patching file net/ipv4/fib_hash.c
patching file net/ipv4/fib_rules.c
patching file net/ipv4/fib_trie.c
patching file net/ipv4/igmp.c
patching file net/ipv4/inet_connection_sock.c
patching file net/ipv4/inet_diag.c
patching file net/ipv4/inet_fragment.c
patching file net/ipv4/inet_hashtables.c
patching file net/ipv4/inet_timewait_sock.c
patching file net/ipv4/ip_forward.c
patching file net/ipv4/ip_fragment.c
patching file net/ipv4/ip_input.c
patching file net/ipv4/ip_output.c
patching file net/ipv4/ipconfig.c
patching file net/ipv4/ipmr.c
patching file net/ipv4/ipvs/ip_vs_conn.c
patching file net/ipv4/ipvs/ip_vs_sync.c
patching file net/ipv4/netfilter/ip_queue.c
patching file net/ipv4/netfilter/ip_tables.c
patching file net/ipv4/netfilter/ipt_CLUSTERIP.c
patching file net/ipv4/netfilter/ipt_LOG.c
patching file net/ipv4/netfilter/ipt_MASQUERADE.c
patching file net/ipv4/netfilter/ipt_REDIRECT.c
patching file net/ipv4/netfilter/ipt_REJECT.c
patching file net/ipv4/netfilter/ipt_recent.c
patching file net/ipv4/netfilter/iptable_filter.c
patching file net/ipv4/netfilter/iptable_mangle.c
patching file net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
patching file net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
patching file net/ipv4/netfilter/nf_conntrack_proto_icmp.c
patching file net/ipv4/netfilter/nf_nat_core.c
patching file net/ipv4/netfilter/nf_nat_rule.c
patching file net/ipv4/netfilter/nf_nat_standalone.c
patching file net/ipv4/proc.c
patching file net/ipv4/route.c
patching file net/ipv4/sysctl_net_ipv4.c
patching file net/ipv4/tcp.c
patching file net/ipv4/tcp_input.c
patching file net/ipv4/tcp_ipv4.c
patching file net/ipv4/tcp_minisocks.c
patching file net/ipv4/tcp_output.c
patching file net/ipv4/tcp_timer.c
patching file net/ipv4/udp.c
patching file net/ipv6/addrconf.c
patching file net/ipv6/af_inet6.c
patching file net/ipv6/inet6_hashtables.c
patching file net/ipv6/ip6_fib.c
patching file net/ipv6/ip6_output.c
patching file net/ipv6/mcast.c
patching file net/ipv6/netfilter/ip6_queue.c
patching file net/ipv6/netfilter/ip6_tables.c
patching file net/ipv6/netfilter/ip6table_filter.c
patching file net/ipv6/netfilter/ip6table_mangle.c
patching file net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
patching file net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
patching file net/ipv6/netfilter/nf_conntrack_reasm.c
patching file net/ipv6/proc.c
patching file net/ipv6/reassembly.c
patching file net/ipv6/route.c
patching file net/ipv6/tcp_ipv6.c
patching file net/ipv6/udp.c
patching file net/ipv6/xfrm6_policy.c
patching file net/netfilter/core.c
patching file net/netfilter/nf_conntrack_core.c
patching file net/netfilter/nf_conntrack_ecache.c
patching file net/netfilter/nf_conntrack_expect.c
patching file net/netfilter/nf_conntrack_helper.c
patching file net/netfilter/nf_conntrack_netlink.c
patching file net/netfilter/nf_conntrack_proto.c
patching file net/netfilter/nf_conntrack_proto_generic.c
patching file net/netfilter/nf_conntrack_proto_tcp.c
patching file net/netfilter/nf_conntrack_proto_udp.c
patching file net/netfilter/nf_conntrack_standalone.c
patching file net/netfilter/nf_sockopt.c
patching file net/netfilter/nfnetlink.c
patching file net/netfilter/nfnetlink_queue.c
patching file net/netfilter/x_tables.c
patching file net/netfilter/xt_DSCP.c
patching file net/netfilter/xt_MARK.c
patching file net/netfilter/xt_TCPMSS.c
patching file net/netfilter/xt_hashlimit.c
patching file net/netfilter/xt_limit.c
patching file net/netlink/af_netlink.c
patching file net/netlink/attr.c
patching file net/netlink/genetlink.c
patching file net/packet/af_packet.c
patching file net/sched/sch_cbq.c
patching file net/sched/sch_generic.c
patching file net/sched/sch_teql.c
patching file net/socket.c
patching file net/sunrpc/sched.c
patching file net/sunrpc/svcsock.c
patching file net/unix/af_unix.c
patching file net/unix/garbage.c
Hunk #1 FAILED at 81.
1 out of 2 hunks FAILED -- saving rejects to file net/unix/garbage.c.rej
patching file net/xfrm/xfrm_policy.c
patching file net/xfrm/xfrm_user.c
patching file security/Kconfig
patching file security/commoncap.c
patching file security/device_cgroup.c
patching file security/selinux/Kconfig
patching file security/selinux/hooks.c
patching file arch/x86/kernel/i387.c
patching file fs/proc/base.c
patching file fs/proc/root.c
patching file kernel/cpt/cpt_mm.c
patching file kernel/cpt/cpt_net.c
patching file kernel/cpt/cpt_process.c
patching file kernel/cpt/rst_mm.c
patching file kernel/cpt/rst_net.c
patching file kernel/cpt/rst_process.c
patching file kernel/cpt/rst_socket.c
patching file mm/mmap.c
patching file mm/slab.c
patching file net/ipv4/sysctl_net_ipv4.c
patching file net/ipv4/tcp_ipv4.c
patching file net/ipv4/igmp.c
patching file kernel/cpt/cpt_net.c
patching file net/netfilter/nf_conntrack_core.c
patching file net/netfilter/nf_conntrack_proto.c
patching file net/netfilter/nf_conntrack_proto_generic.c
patching file kernel/sched.c
patching file include/bc/net.h
patching file kernel/bc/net.c
patching file net/ipv4/tcp_output.c
patching file net/ipv4/tcp_ipv4.c
patching file net/ipv6/tcp_ipv6.c
This part did not work:

Code: Select all

Hunk #8 FAILED at 758.
Hunk #10 FAILED at 993.
2 out of 13 hunks FAILED -- saving rejects to file fs/exec.c.rej
Hunk #2 FAILED at 352.
1 out of 8 hunks FAILED -- saving rejects to file fs/read_write.c.rej
Hunk #4 FAILED at 535.
1 out of 7 hunks FAILED -- saving rejects to file fs/super.c.rej
Hunk #1 FAILED at 157.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/page-flags.h.rej
Hunk #1 FAILED at 10.
1 out of 1 hunk FAILED -- saving rejects to file include/net/af_unix.h.rej
Hunk #1 FAILED at 33.
1 out of 1 hunk FAILED -- saving rejects to file init/version.c.rej
Hunk #5 FAILED at 326.
1 out of 11 hunks FAILED -- saving rejects to file ipc/shm.c.rej
Hunk #4 FAILED at 303.
1 out of 6 hunks FAILED -- saving rejects to file kernel/posix-timers.c.rej
Hunk #12 FAILED at 1183.
1 out of 18 hunks FAILED -- saving rejects to file kernel/signal.c.rej
Hunk #8 FAILED at 986.
1 out of 12 hunks FAILED -- saving rejects to file kernel/sys.c.rej
Hunk #4 FAILED at 84.
1 out of 6 hunks FAILED -- saving rejects to file mm/mlock.c.rej
Hunk #4 FAILED at 448.
1 out of 4 hunks FAILED -- saving rejects to file mm/mremap.c.rej
Hunk #14 FAILED at 3994.
Hunk #16 FAILED at 4036.
2 out of 25 hunks FAILED -- saving rejects to file net/core/dev.c.rej
Hunk #1 FAILED at 81.
1 out of 2 hunks FAILED -- saving rejects to file net/unix/garbage.c.rej
That is more than frustrating.
So short before success ... :-|

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: Installing kernel sources

#14 Post by bugsbunny »

To get a definitive answer I suggest you post a message to the debian kernel mailing list: Debian Mailing Lists -- Index for debian-kernel.

You don't need to be subscribed, just mention that you should be cc'd on any response.

TJA
Posts: 15
Joined: 2010-04-05 21:33

Re: Installing kernel sources

#15 Post by TJA »

Thank you!

:)

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: Installing kernel sources

#16 Post by bugsbunny »

Interesting discussion on the kernel list :) They did actually answer your question.
See 4.2 Rebuilding an official Debian kernel package That's the kernel-handbook and mentions the featureset option that you apparently need to find.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Installing kernel sources

#17 Post by stevepusser »

The linux source tarball should be exactly the kernel the patches are meant for. Also source of errors may be the source is not exactly the source they are meant for--that is, using Debian source when the vanilla source is needed, or visa-versa...and possibly you may need the original vanilla source, not a dot release. The first 2.6.33 kernel source tarball, for example, not the 2.6.33.2 one.
MX Linux packager and developer

Post Reply