From: Henry N. <hen...@ar...> - 2010-09-13 23:54:12
|
On 11.09.2010 14:33, Wufu Chen wrote: > Hello All > I successfully build the aufs2 module for colinux 0.7.8RC1 . > (I'm try to run debian squeeze latest live cd(iso) with colinux078 ) > (I had run successfully debian etch live cd(iso) with old colinux , > also announced in this list) > > it works with newly build vmlinux in same machine (ubuntu 10.04 for > aufs2 build) , > but don't work with original vmlinux from colinux.org snapshot > is it the gcc version mismatch? > > [...snip...] > > MODPOST 1 modules > WARNING: "deny_write_access" > [/home/ccwufu/aufs2/aufs2-standalone.git/fs/aufs/aufs.ko] undefined! > WARNING: "do_truncate" > [/home/ccwufu/aufs2/aufs2-standalone.git/fs/aufs/aufs.ko] undefined! > WARNING: "do_splice_from" > [/home/ccwufu/aufs2/aufs2-standalone.git/fs/aufs/aufs.ko] undefined! > WARNING: "cap_file_mmap" > [/home/ccwufu/aufs2/aufs2-standalone.git/fs/aufs/aufs.ko] undefined! > WARNING: "lookup_hash" > [/home/ccwufu/aufs2/aufs2-standalone.git/fs/aufs/aufs.ko] undefined! > WARNING: "do_splice_to" > [/home/ccwufu/aufs2/aufs2-standalone.git/fs/aufs/aufs.ko] undefined! > WARNING: "__lookup_one_len" If you have such warnings, than the module can not load later. The file "aufs2-base.patch" will change something directly in the kernel binary, for example the function "lookup_hash" will make no static. In the other file "aufs2-standalone.patch" the label "lookup_hash" will export for modules now. With such changes the coLinux default vmlinux is not more the same as you need for aufs module loading. There are some more functions, that aufs needs as exported (deny_write_access, __lookup_one_len, vfsmount_lock, ...). If you use default coLinux vmlinux, theses entries does not exist. So you must build the kernel file vmlinux self AND the module. No other way would work. Thank you for your good step details. -- Henry N. |