Received: from [140.186.70.92] (port=51372 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEKaO-0005Oz-Hu for qemu-devel@nongnu.org; Fri, 05 Nov 2010 07:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PEKaD-0002VC-03 for qemu-devel@nongnu.org; Fri, 05 Nov 2010 07:36:00 -0400 Received: from adelie.canonical.com ([91.189.90.139]:54716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PEKaC-0002V8-OL for qemu-devel@nongnu.org; Fri, 05 Nov 2010 07:35:48 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1PEKaA-0001tv-I4 for ; Fri, 05 Nov 2010 11:35:46 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 8A4E02E80EF for ; Fri, 5 Nov 2010 11:35:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 05 Nov 2010 11:27:35 -0000 From: Moshroum Sender: bounces@canonical.com References: <20101005124907.5972.17735.malonedeb@palladium.canonical.com> Message-Id: <20101105112736.22147.87859.malone@soybean.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 Yes, it is a lot better... now only the complete machine crashes when accessing the 9p.L mounted directory {{{ virtio-9p.c:3448: submit_pdu: Assertion `!(handler =3D=3D ((void *)0))' fai= led. }}} -- = 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: =C2=A0use 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,version=3D9p2000.L host /mnt $ ls -l /mnt/not-existing ls: cannot access /mnt/not-existing: Bad address This does not happen when not using 9p2000.L $ mount -t 9p -o trans=3Dvirtio host /mnt $ ls -l /mnt/not-existing ls: cannot access /mnt/not-existing: No such file or directory 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.