From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HM2av-0006xN-C9 for qemu-devel@nongnu.org; Tue, 27 Feb 2007 08:42:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HM2au-0006wz-Oo for qemu-devel@nongnu.org; Tue, 27 Feb 2007 08:42:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HM2au-0006ws-D0 for qemu-devel@nongnu.org; Tue, 27 Feb 2007 08:42:16 -0500 Received: from qb-out-0506.google.com ([72.14.204.235]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HM2au-0001VI-3Q for qemu-devel@nongnu.org; Tue, 27 Feb 2007 08:42:16 -0500 Received: by qb-out-0506.google.com with SMTP id p32so1009891qba for ; Tue, 27 Feb 2007 05:42:15 -0800 (PST) Message-ID: Date: Tue, 27 Feb 2007 10:42:14 -0300 From: "Rodrigo Vivi" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] clfs arm problem Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: clfs-support@lists.cross-lfs.org, qemu-devel@nongnu.org, Osvaldo Santana , marcio.macedo@gmail.com 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.