Received: from [140.186.70.92] (port=33811 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P378j-0003Tr-94 for qemu-devel@nongnu.org; Tue, 05 Oct 2010 09:01:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P378P-0004eO-Bp for qemu-devel@nongnu.org; Tue, 05 Oct 2010 09:01:01 -0400 Received: from adelie.canonical.com ([91.189.90.139]:57686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P378P-0004ds-4q for qemu-devel@nongnu.org; Tue, 05 Oct 2010 09:00:45 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1P378O-0007GK-En for ; Tue, 05 Oct 2010 14:00:44 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 6D46B2E805D for ; Tue, 5 Oct 2010 13:00:44 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 05 Oct 2010 12:53:32 -0000 From: Moshroum Sender: bounces@canonical.com References: <20101005124907.5972.17735.malonedeb@palladium.canonical.com> Message-Id: <20101005125332.5647.46830.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 655120] Re: VirtFS EFAULT when accessing not existing files Reply-To: Bug 655120 <655120@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The untar without bz2 (second example) also happens when setting PATH to /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -- = VirtFS EFAULT when accessing not existing files https://bugs.launchpad.net/bugs/655120 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: use as client Debian squeeze i386 with a custom kernel: Linux (none) 2.6.35.5 #3 Thu Sep 23 18:36:02 UTC 2010 i686 GNU/Linux And as host Debian squeeze amd64 Linux asd 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Lin= ux kvm version is: kvm-88-5908-gdd67374 Started the client using: sudo /usr/local/kvm/bin/qemu-system-x86_64 -m 1024 -kernel linux-2.6.35.5.q= emu -drive file=3Droot.img,if=3Dvirtio -net nic,macaddr=3D02:ca:ff:ee:ba:be= ,model=3Dvirtio,vlan=3D1 -net tap,ifname=3Dtap1,vlan=3D1,script=3Dno -virtf= s local,path=3D/host,security_model=3Dmapped,mount_tag=3Dhost -nographic I've done following inside the guest: $ mount -t 9p -o trans=3Dvirtio host /mnt $ ls -l /mnt/not-existing ls: cannot access /mnt/not-existing: Bad address This return code will for example break make or many other tools. $ echo $PATH /mnt/usr/bin:/mnt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin= :/sbin:/bin $ make KERNELDIR=3D/usr/src/linux make: execvp: pwd: Bad address Makefile:54: /Makefile.linux: No such file or directory make: *** No rule to make target `/Makefile.linux'. Stop.