Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: linux emulation: listxattr



In article <20120713094314.GB72066%trav.math.uni-bonn.de@localhost>,
Edgar Fuß  <ef%math.uni-bonn.de@localhost> wrote:
>Thanks for looking into this.
>
>EF> Does anyone feel like adding a (maybe dummy) implementation for it?
>I've found a workaround: setting "skipacl yes" and "skipaclupdatecheck yes"
>in dsm.opt helps. You don't easily find that in the TSM documentation
>because it always speaks of "extended attributes"---only that command's
>description doesn't, but says "ACL".
>
>CZ> It returns EOPNOTSUP currently, isn't that enough?
>I'm confused as to what it returns. Looks like it returns 38 (or -38?);
>in Penguinish, that would be ENOSYS; however, kdump says ,,too many 
>processes''.
>
>CZ> Do you have a ktrace of it?
>Sure:
>  3856   5630 dsmc     CALL  stat64(0x865fc30,0xfa9c24cc)
>  3856   5630 dsmc     NAMI  "/emul/linux32/tsm-filespace"
>  3856   5630 dsmc     RET   stat64 0
>  3856   5630 dsmc     CALL  #232 (unimplemented listxattr)
>  3856   5630 dsmc     RET   #232 (unimplemented listxattr) -1 errno -38
>Too many processes
>  3856   5630 dsmc     CALL  time(0)
>  3856   5630 dsmc     RET   time 1342032513/0x4ffdca81
>  3856   5630 dsmc     CALL  netbsd32_write(3,0xfa9bf7b0,0x86)
>  3856   5630 dsmc     GIO   fd 3 wrote 134 bytes
>       "11.07.2012 20:48:33 ANS1587W Unable to read extended attributes
>for /tsm-filespace due to errno: 38, reason: Func\
>        tion not implemented\n"
>  3856   5630 dsmc     RET   netbsd32_write 134/0x86
>  3856   5630 dsmc     CALL  netbsd32_write(1,0xfbfdd000,0x72)
>  3856   5630 dsmc     GIO   fd 1 wrote 114 bytes
>       "ANS1587W Unable to read extended attributes for /tsm-filespace
>due to errno: 38, reason: Function not implemented\
>        \n"
>  3856   5630 dsmc     RET   netbsd32_write 114/0x72
>  3856   5630 dsmc     CALL  time(0)
>  3856   5630 dsmc     RET   time 1342032513/0x4ffdca81
>  3856   5630 dsmc     CALL  netbsd32_write(3,0xfa9bf770,0x62)
>  3856   5630 dsmc     GIO   fd 3 wrote 98 bytes
>       "11.07.2012 20:48:33 ANS0361I DIAG: TransErrno: Unexpected error
>from getXattrListSize, errno = 38\n"
>  3856   5630 dsmc     RET   netbsd32_write 98/0x62


Ah, i386 binary. cvs update and try now...

christos




Home | Main Index | Thread Index | Old Index