qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Rodrigo Vivi" <rodrigo.vivi@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: clfs arm problem
Date: Tue, 27 Feb 2007 14:36:23 -0300	[thread overview]
Message-ID: <bdb0025f0702270936u5acdf56jf7868ed006e3b641@mail.gmail.com> (raw)
In-Reply-To: <bdb0025f0702270542g5ef518e5h4ba5e44e17bb4de0@mail.gmail.com>

Hi all,

I've just noticed that qemu does not has the xxxxat() syscalls support
implemented yet...

Does anyone has a patch that implements these syscalls:

.long sys_openat        /* 295 */
.long sys_mkdirat
.long sys_mknodat
.long sys_fchownat
.long sys_futimesat
.long sys_fstatat64     /* 300 */
.long sys_unlinkat
.long sys_renameat
.long sys_linkat
.long sys_symlinkat
.long sys_readlinkat        /* 305 */
.long sys_fchmodat
.long sys_faccessat

?

Thanks,
Regards
Rodrigo Vivi.


On 2/27/07, Rodrigo Vivi <rodrigo.vivi@gmail.com> wrote:
> Hi all,
>
> I have a system arm from scratch and I'm running a chroot all over
> qemu user mode emulation and getting the following problem:
>
> "Function not implemented" message error when try something recursive...
>
> detailing:
> # creating files
> bash-3.2# mkdir /tmp/dir
> bash-3.2# touch /tmp/dir/file1
> bash-3.2# touch /tmp/dir/file2
> bash-3.2# touch /tmp/dir/file3
>
> # chown and rm command works fine on a simple file
> bash-3.2# chown root:root /tmp/dir/file1
> bash-3.2# rm -rf /tmp/dir/file1
>
> # chown failing in recursive mode:
> bash-3.2# chown -R root:root /tmp/dir/
> /bin/chown: changing ownership of `/tmp/dir/file3': Function not implemented
> /bin/chown: changing ownership of `/tmp/dir/file2': Function not implemented
>
> # rm failing in recursive mode:
> bash-3.2# rm -r /tmp/dir/
> /bin/rm: cannot remove `/tmp/dir//file3': Function not implemented
> /bin/rm: cannot remove `/tmp/dir//file2': Function not implemented
>
> #but when dir are empty rmdir works fine...
> bash-3.2# rm -r /tmp/dir/file*
> bash-3.2# rm -r /tmp/dir/
>
> I could not strace because strace got the same problem:
> bash-3.2# strace rm -r /tmp/dir/
> qemu: Unsupported syscall: 26
> strace: ptrace(PTRACE_TRACEME, ...): Function not implemented
> qemu: Unsupported syscall: 26
> detach: ptrace(PTRACE_DETACH, ...): Function not implemented
> Process 26635 detached
>
> I could recompile rm adding some debug messages and finally discovered
> that the error (at least for rm command) occurs when it call for
> unlinkat syscall...
>
> Does any body has any idea about what can be happening here?
>
> Thanks,
> Rodrigo Vivi.
>

  reply	other threads:[~2007-02-27 17:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 13:42 [Qemu-devel] clfs arm problem Rodrigo Vivi
2007-02-27 17:36 ` Rodrigo Vivi [this message]
2007-02-28 11:44   ` [Qemu-devel] " Pablo Virolainen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bdb0025f0702270936u5acdf56jf7868ed006e3b641@mail.gmail.com \
    --to=rodrigo.vivi@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).