About this list Date view Thread view Subject view Author view Attachment view

From: Noèl Köthe (noel_at_hostsharing.net)
Date: Fri 20 Jun 2003 - 14:46:19 BST


Hello Herbert,

downloaded 2.4.21 from de.kernel.org and got these messages when
patching (with linux-2.4.21-ctx17-vquota-0.10.diff, hope this is the
right patch when I want to use quota because there its not documented
what -vroot- is for. Because < 2.4.21 kernel have security problems I
dont what to use them):

# patch -p1 <../linux-2.4.21-ctx17-vquota-0.10.diff
patching file Documentation/Configure.help
patching file arch/ia64/ia32/sys_ia32.c
patching file arch/sparc64/kernel/sys_sparc32.c
patching file drivers/block/Config.in
patching file drivers/block/Makefile
patching file drivers/block/vroot.c
patching file drivers/block/vroot.h
patching file fs/Config.in
patching file fs/Makefile
patching file fs/attr.c
patching file fs/binfmt_misc.c
patching file fs/block_dev.c
patching file fs/devpts/inode.c
Hunk #1 FAILED at 183.
Hunk #2 FAILED at 211.
2 out of 2 hunks FAILED -- saving rejects to file fs/devpts/inode.c.rej
patching file fs/devpts/root.c
Hunk #1 FAILED at 68.
Hunk #2 FAILED at 133.
2 out of 2 hunks FAILED -- saving rejects to file fs/devpts/root.c.rej
patching file fs/dquot.c
patching file fs/ext2/ialloc.c
patching file fs/ext2/inode.c
Hunk #1 succeeded at 947 (offset -10 lines).
Hunk #2 succeeded at 1080 (offset -10 lines).
patching file fs/ext2/ioctl.c
patching file fs/ext2/super.c
patching file fs/ext3/ialloc.c
patching file fs/ext3/inode.c
Hunk #1 succeeded at 2100 (offset -9 lines).
Hunk #2 succeeded at 2220 (offset -9 lines).
Hunk #3 succeeded at 2392 (offset -9 lines).
patching file fs/ext3/ioctl.c
patching file fs/ext3/super.c
patching file fs/inode.c
patching file fs/ioctl.c
patching file fs/locks.c
patching file fs/namei.c
Hunk #1 FAILED at 151.
Hunk #2 succeeded at 168 (offset -9 lines).
Hunk #3 succeeded at 869 (offset -9 lines).
1 out of 3 hunks FAILED -- saving rejects to file fs/namei.c.rej
patching file fs/namespace.c
patching file fs/open.c
patching file fs/pipe.c
patching file fs/stat.c
patching file include/asm-alpha/ioctls.h
patching file include/asm-cris/ioctls.h
patching file include/asm-i386/ioctls.h
patching file include/asm-ia64/ioctls.h
patching file include/asm-m68k/ioctls.h
patching file include/asm-sh/ioctls.h
patching file include/asm-sparc/ioctls.h
patching file include/asm-sparc64/ioctls.h
patching file include/linux/capability.h
Hunk #1 succeeded at 279 with fuzz 2 (offset -5 lines).
The next patch would delete the file include/linux/devpts_fs_info.h,
which does not exist! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
patching file include/linux/fs.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
9 out of 9 hunks ignored -- saving rejects to file
include/linux/fs.h.rej
patching file include/linux/major.h
patching file include/linux/quota.h
patching file include/linux/quotaops.h

OK then building it gave me these errors:

make[3]: Leaving directory `/usr/src/linux-2.4.21/fs/devpts'
make[2]: Leaving directory `/usr/src/linux-2.4.21/fs/devpts'
make -C ext2
make[2]: Entering directory `/usr/src/linux-2.4.21/fs/ext2'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.21/fs/ext2'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=balloc -c -o balloc.o balloc.c
In file included from balloc.c:18:
/usr/src/linux-2.4.21/include/linux/quotaops.h: In function `DQUOT_PREALLOC_SPACE_NODIRTY':
/usr/src/linux-2.4.21/include/linux/quotaops.h:67: structure has no member named `alloc_space'
/usr/src/linux-2.4.21/include/linux/quotaops.h:73: warning: implicit declaration of function `inode_add_bytes'
/usr/src/linux-2.4.21/include/linux/quotaops.h: In function `DQUOT_ALLOC_SPACE_NODIRTY':
/usr/src/linux-2.4.21/include/linux/quotaops.h:91: structure has no member named `alloc_space'
/usr/src/linux-2.4.21/include/linux/quotaops.h: In function `DQUOT_FREE_SPACE_NODIRTY':
/usr/src/linux-2.4.21/include/linux/quotaops.h:128: structure has no member named `free_space'
/usr/src/linux-2.4.21/include/linux/quotaops.h:130: warning: implicit declaration of function `inode_sub_bytes'
make[3]: *** [balloc.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21/fs/ext2'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21/fs/ext2'
make[1]: *** [_subdir_ext2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21/fs'
make: *** [_dir_fs] Error 2

You know this?

thx.

-- 
        Noèl Köthe


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 20 Jun 2003 - 14:53:33 BST by hypermail 2.1.3