tisja...@verizon.net:
> I am sorry about the format of my messages. I have modified it, but it does 
> not seem to take.  If you still cannot see this message well again, I will 
> switch to a different mail app. 

Thank you, now I can read easily.


> To clarify things:
>
> Rhel 6.1 kernel 2.6.32-131.21 with aufs2-standalone.tree-32-20100621 in which 
> the mount.aufs is a shell script <- works well
> Rhel 6.2 kernel 2.6.32-220.13 with aufs2-standalone.tree-32-20100621 kernel 
> panics at the mount.aufs command RIP statfs_by_dentry
> Rhel 6.3 kernel 2.6.32-279 with aufs2.1-standalone.tree-32-20110801 fails on 
> the open(/dev/tty) as indicated in the strace

Is your mount.aufs a shell script?
That is very strange. For aufs2 and later, mount.aufs is written in C, so
it should be a binary. Actually it was a shell script in aufs1 era.
I am afraid your mount.aufs is TOO OLD.

I'd suggest you to use the correct version of aufs2-util.
You can get them via GIT. See http://aufs.sf.net in detail.
But I have to warn you. As you might know, aufs2.x for linux-2.6.32 is
obsoleted now.


> The C runtime environment is the same on all.
> Mount.aufs is statically linked for Rhel 6.3.

??
I am a little confused.
Do you mean mount.aufs on your Rhel 6.3 is a C program?
Then comparing the behavioud of it on 6.1 and 6.3 never mean anything.

Anyway I'd suggest you to create /dev/tty on your 6.3 first.
(But I am not sure it will solve all problems since you may meet another
issue)


> ccl:warnings being treated as errors
> fs/aufs/super.c: In function au_statfs_sum
> fs/aufs/super.c:325: error: passing argument 1 of vfs_statfs from 
> incompatible pointer type
> include/linux/fs.h:1867: note: expected struct path * but argument is of type 
> struct dentry *
>
> This same error is also in super.c function aufs.statfs.
>
> This is the fs.h header file:
> Rhel 6.1 kernel: linux/include/linux/fs.h:extern int vfs_statfs(struct dentry 
> *, struct kstatfs *);
> Rhel 6.3 kernel: linux/include/linux/fs.h:extern int vfs_statfs(struct path 
> *, struct kstatfs *);

It means Rhel 6.3 kernel has backported things from later kernel, and
the interfaces changed.
As you now, all aufs releases are for linux-x.y.0. Aufs2.x-32 is for
linux-2.6.32.0.
If you want to build aufs for Rhel 6.3 kernel, then you need to backport
things from aufs sources for linux-2.6.33 and later.


J. R. Okajima

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Reply via email to