Received: from eggs.gnu.org ([140.186.70.92]:52012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVOJc-0006PB-C2 for qemu-devel@nongnu.org; Tue, 29 Nov 2011 09:05:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVOJW-0006T9-B4 for qemu-devel@nongnu.org; Tue, 29 Nov 2011 09:05:44 -0500 Received: from indium.canonical.com ([91.189.90.7]:58043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVOJW-0006T5-6x for qemu-devel@nongnu.org; Tue, 29 Nov 2011 09:05:38 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RVOJV-0006oS-7r for ; Tue, 29 Nov 2011 14:05:37 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 396B52E8147 for ; Tue, 29 Nov 2011 14:05:37 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 29 Nov 2011 13:57:48 -0000 From: Avishay Traeger <897193@bugs.launchpad.net> Sender: bounces@canonical.com References: <20111128122433.14324.27427.malonedeb@gac.canonical.com> Message-Id: <20111129135748.22306.56267.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 897193] Re: virtfs: kernel compile fails Reply-To: Bug 897193 <897193@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I am running qemu as root. The output from strace for the command that you requested shows that this i= s the problem: rename(".tmpconfig.h", "include/generated/autoconf.h") =3D -1 ENOENT (No su= ch file or directory) The command fails because the directory 'include/generated' doesn't exist because I ran only the command you mentioned, and not 'make'. So I attached the output for: strace -f make &> /tmp/strace.out Hope that helps, and thanks! ** Attachment added: "strace output for make" https://bugs.launchpad.net/qemu/+bug/897193/+attachment/2612472/+files/s= trace.out -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/897193 Title: virtfs: kernel compile fails Status in QEMU: New Bug description: I am trying to compile a kernel under virtfs, and am getting an error. The error does not occur when compiling outside of the virtfs mount. Both guest and host are running the 3.0.4 kernel. QEMU is latest from git: bc75c9e50d308b2ec6623a40179c5cdc84b63dae QEMU command line: /usr/local/bin/qemu-system-x86_64 -nographic -boot c -m 1024 -machine typ= e=3Dpc,accel=3Dkvm -drive file=3D/root/hdd1.img,if=3Dvirtio -drive file=3D/= root/test1.img,if=3Dvirtio -drive file=3D/root/test2.img,if=3Dvirtio -virtf= s local,path=3D/mnt/virtfs,security_model=3Dnone,mount_tag=3Dvirtfs -net ni= c,model=3Dvirtio,macaddr=3DDE:AD:BE:EF:AA:BB -net tap,ifname=3Dqtap0,script= =3Dno virtfs line in /etc/fstab: virtfs /mnt/virtfs 9p defaults,noauto,t= rans=3Dvirtio 0 0 Steps to reproduce and output: [root@guest linux-3.0.4]# make mrproper CLEAN scripts/basic CLEAN scripts/kconfig CLEAN include/config include/generated CLEAN .config .config.old [root@guest linux-3.0.4]# make defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf *** Default configuration is based on 'x86_64_defconfig' # # configuration written to .config # [root@guest linux-3.0.4]# make scripts/kconfig/conf --silentoldconfig Kconfig *** Error during update of the configuration. make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make: *** No rule to make target `include/config/auto.conf', needed by `i= nclude/config/kernel.release'. Stop. = Please let me know if you need any other information. Thanks! To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/897193/+subscriptions