Hi,

I want to use aufs with OpenVZ on CentOS5 system.
So I built aufs module according to following command.

# uname -r
2.6.18-8.1.8.el5.028stab039.1

install kernel source
# wget 
http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab039.1/ovzkernel-devel-2.6.18-8.1.8.el5.028stab039.1.i686.rpm
# rpm -ivh 
http://download.openvz.org/kernel/branches/rhel5-2.6.18/028stab039.1/ovzkernel-devel-2.6.18-8.1.8.el5.028stab039.1.i686.rpm

getting aufs source and apply patch for OpenVZ
the path which is contained in cvs tree cannot be applied
patch's filename is aufs-openvz.patch, and I attatched it in this mail
# cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/aufs co aufs
# cd aufs
# patch -p1 < /tmp/aufs-openvz.patch

make and install aufs module
# make -f local.mk kconfig
# make -f local.mk
# cp aufs.ko /lib/modules/2.6.18-8.1.8.el5.028stab039.1/kernel/fs/aufs/aufs.ko
# depmod -a

And I load aufs module. But I cannon load.
# modprobe aufs
FATAL: Error inserting aufs 
(/lib/modules/2.6.18-8.1.8.el5.028stab039.1/kernel/fs/aufs/aufs.ko): Operation 
not permitted
# dmesg |tail -1
aufs au_sysrq_init:250:modprobe[993]: err -1, sysrq=a

What's wrong about it?

FYI: I can load aufs module and mount on non OpenVZ kernel (2.6.18-92.1.10.el5)

-- 
Mitsuru SHIMAMURA <[EMAIL PROTECTED]>

Attachment: aufs-openvz.patch
Description: Binary data

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Reply via email to