>
>
>>hi,
>>
>>On Jul 26, 10:28am, Juer Lee wrote:
>>> Subject: RE: Backup ACLs
>>>
>>> Nathan,
>>>
>>> Oh, yes, I can not find the references in
>>> /usr/include/xfs/platform_defs.h. But I am sure that I appplied
>>> xfs-progs-devel-1.1.3.0-ppc, it seemed that in this version
>>O_DIRECT is
>>> still not defined.
>>
>>Oh, just noticed this - sorry, thought you wrote "1.3.1".
>>You will need a more recent version of xfsprogs-devel -
>>if you are using the CVS tree, the xfsprogs/doc/INSTALL
>>document will help you get there.
>>
>>Having a more recent xfsprogs-devel will also fix this
>>next problem...
>>
>>> /export/xfsdump-1.0.11/dump/util.c:137: undefined reference to
>>> `IRIX_MKDEV'
>>
>>Hope this helps.
>>
>>cheers.
>>
>>--
>>Nathan
>
>
>Thanks.
>I fixed that.
>I am now adding sys_attrctl, after I success, I'll share my happiness
>with all who are helping me. :)
>
>Juer
>
>
News:
It is my first time to look into the kernel code :(
There are some errors when I run 'attr -l juer' --- ' attr_list: Bad
address'. It seemed that the error is occured when calling function
__user_walk(...) ( sys_attrctl --> user_path_walk )
int __user_walk(const char *name, unsigned flags, struct nameidata *nd)
{
char *tmp;
int err;
tmp = getname(name);
err = PTR_ERR(tmp);
/* Debug */
if( err == -14)
printk("Attr Debug 1: Bad address!\n");
if (!IS_ERR(tmp)) {
err = 0;
if (path_init(tmp, flags, nd))
err = path_walk(tmp, nd);
/* Debug */
if( err == -14)
printk("Attr Debug 1: Bad address!\n");
putname(tmp);
}
return err;
}
I saw the error message "Attr Debug 1:Bad address!" when I ran that
command.
Did any expert :) meet this similar problem?
Juer
|