Hi,

I'm new to the list. I need help :)

I am trying to use aufs with live-initramfs for diskless servers (NFS root).
I've compiled a 2.6.24.4 kernel and now I'm trying to get aufs working.

I compiled aufs built into the kernel.

<*> Another unionfs
*** These options are for 2.6.24.4.node ***
[ ]   Use simplified (fake) nameidata
Maximum number of branches (127)  --->
[*]   Use <sysfs>/fs/aufs
[ ]   Use inotify to detect actions on a branch
*** EXPORTFS and AUFS_EXPORT are disabled ***
[ ]   Aufs as an readonly branch of another aufs
[ ]   Delegate the internal branch access the kernel thread
[*]   Make squashfs branch RR (real readonly) by default
[ ]   splice.patch for sendfile(2) and splice(2)
[*]   lhash.patch for NFS branch
[ ]   sysfs_get_dentry.patch for /sys/fs/aufs
[ ]   Special handling for FUSE-based filesystem
[*]   Debug aufs
[ ]   Compatibility with Unionfs (obsolete)

But when I try to patch the kernel I run into problems.

# cp lhash-2.6.22.patch /usr/src/linux/
# cd /usr/src/linux/
# patch -p1 < lhash-2.6.22.patch

patching file fs/namei.c
Hunk #1 FAILED at 1280.
Hunk #2 succeeded at 2806 (offset 40 lines).
1 out of 2 hunks FAILED -- saving rejects to file fs/namei.c.rej
patching file include/linux/namei.h
Hunk #1 FAILED at 81.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/namei.h.rej

What am I doing wrong? The p1 option is right, isn't it?

Thankyou.
Chris.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

Reply via email to