Matthew Harrell:
> It looks like all the modules loaded after initramfs are like that including
> the ones that were loaded by hal.  I load aufs in the initramfs if I find 
> it and that one's not in the RW partition.  On one of the systems I just 
> removed all of them from the RW partition and haven't had any problems 
> yet (didn't really expect any).  Guess I just keep a cron job around that
> removes any it finds at the moment.
> 
> Since diff shows them to be exactly the same and the timestamps are the 
> same are there any ideas what else I should look at?  Obviously the filesystem
> thinks it's changing them somehowe

Let's make sure where those files came from.
- someone touches .ko and aufs copies it up.
- someone copies .ko into aufs newly.
- flushing aufs psuedo-link copies it up.

If we insert a simple debug print into aufs copy-up function, we will
find out the first case. For instance,

diff --git a/fs/aufs/cpup.c b/fs/aufs/cpup.c
index 900a648..17e1c7a 100644
--- a/fs/aufs/cpup.c
+++ b/fs/aufs/cpup.c
@@ -179,6 +179,7 @@ static int au_do_copy_file(struct file *dst, struct file 
*src, loff_t len,
        /* reduce stack usage */
        struct iattr *ia;
 
+       AuInfo("%.*s\n", AuDLNpair(src->f_dentry));
        zp = page_address(ZERO_PAGE(0));
        if (unlikely(!zp))
                return -ENOMEM; /* possible? */


> BTW these systems are running arm EABI 2.6.21 with the 20090302 aufs patch
> tree.  The OS is Debian Lenny armel

2.6.21??
Is this linux version?


J. R. Okajima

------------------------------------------------------------------------------

Reply via email to