qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Rodrigo Vivi" <rodrigo.vivi@gmail.com>
To: clfs-support@lists.cross-lfs.org, qemu-devel@nongnu.org,
	Osvaldo Santana <osantana@gmail.com>,
	marcio.macedo@gmail.com
Subject: [Qemu-devel] clfs arm problem
Date: Tue, 27 Feb 2007 10:42:14 -0300	[thread overview]
Message-ID: <bdb0025f0702270542g5ef518e5h4ba5e44e17bb4de0@mail.gmail.com> (raw)

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 13:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-27 13:42 Rodrigo Vivi [this message]
2007-02-27 17:36 ` [Qemu-devel] Re: clfs arm problem Rodrigo Vivi
2007-02-28 11:44   ` 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=bdb0025f0702270542g5ef518e5h4ba5e44e17bb4de0@mail.gmail.com \
    --to=rodrigo.vivi@gmail.com \
    --cc=clfs-support@lists.cross-lfs.org \
    --cc=marcio.macedo@gmail.com \
    --cc=osantana@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).