From: Bruno Cesar Ribas Subject: virtio-9p error Date: Thu, 26 Aug 2010 01:39:37 -0300 Message-ID: <20100826043937.GA2777@c3sl.ufpr.br> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 To: kvm@vger.kernel.org Return-path: Received: from mx.c3sl.ufpr.br ([200.17.202.3]:56339 "EHLO urquell.c3sl.ufpr.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751831Ab0HZEjl (ORCPT ); Thu, 26 Aug 2010 00:39:41 -0400 Received: from localhost (unknown [189.34.89.138]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ribas) by urquell.c3sl.ufpr.br (Postfix) with ESMTPSA id F0030200C0C30 for ; Thu, 26 Aug 2010 01:39:36 -0300 (BRT) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Hi, Every time I try to rsync something to my 9p fs mounted I get the following message on guest kernel: 8<-------------------- [ 45.866789] 9pnet_virtio virtio2: requests:id 0 is not a head! 8<-------------------- I'm "sending" the FS with the following argument via qemu-kvm (commit head 422476cc422 of August 12): -virtfs local,path=/home/outras/montecristo,mount_tag=home,security_model=passthrough And I'm mounting on the guest with: mount -t 9p -o trans=virtio home /home My guest is running kernel 2.6.34. After I start the rsync (a second later) i get the message i showed above and the the virtio fs crashes and i have to reboot the virtual machine. Another 'interesting' thing is that the filesystem wont show in 'df'. But appears correct in /proc/mounts 8<-------------------- montecristo-nova:/home# mount|tail -1 home on /home type 9p (rw,sync,dirsync,relatime,trans=virtio) 8<-------------------- Here is a little of my rsync output: 8<-------------------- montecristo-nova:/home# cd nobackup/ montecristo-nova:/home/nobackup# rsync -aHx --progress xadrezlivre:/ xadrezlivre/ receiving incremental file list rsync: symlink "/home/nobackup/xadrezlivre/cdrom" -> "media/cdrom" failed: No such file or directory (2) rsync: symlink "/home/nobackup/xadrezlivre/initrd.img" -> "boot/initrd.img-2.6.26-1-486" failed: No such file or directory (2) rsync: symlink "/home/nobackup/xadrezlivre/initrd.img.old" -> "boot/initrd.img-2.6.18-6-486" failed: No such file or directory (2) rsync: symlink "/home/nobackup/xadrezlivre/vmlinuz" -> "boot/vmlinuz-2.6.26-1-486" failed: No such file or directory (2) rsync: symlink "/home/nobackup/xadrezlivre/vmlinuz.old" -> "boot/vmlinuz-2.6.18-6-486" failed: No such file or directory (2) rsync: symlink "/home/nobackup/xadrezlivre/bin/nc" -> "/etc/alternatives/nc" failed: No such file or directory (2) rsync: symlink "/home/nobackup/xadrezlivre/bin/netcat" -> "/etc/alternatives/netcat" failed: No such file or directory (2) rsync: symlink "/home/nobackup/xadrezlivre/bin/pidof" -> "../sbin/killall5" failed: No such file or directory (2) rsync: symlink "/home/nobackup/xadrezlivre/bin/rnano" -> "nano" failed: No such file or directory (2) 8<-------------------- If anyone knows what it is or what else should I send to understand better the problem, please tell me Thanks in advance -- Bruno Ribas - ribas@c3sl.ufpr.br http://www.inf.ufpr.br/ribas C3SL: http://www.c3sl.ufpr.br