Received: from eggs.gnu.org ([2001:4830:134:3::10]:33727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4gIa-0002eN-Jx for qemu-devel@nongnu.org; Wed, 31 Jul 2013 19:59:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4gIU-0005NS-Jj for qemu-devel@nongnu.org; Wed, 31 Jul 2013 19:59:20 -0400 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:44019 helo=brightrain.aerifal.cx) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4gIU-0005NM-Dq for qemu-devel@nongnu.org; Wed, 31 Jul 2013 19:59:14 -0400 Date: Wed, 31 Jul 2013 19:25:26 -0400 Message-ID: <20130731232526.GA19080@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline From: Rich Felker Subject: [Qemu-devel] qemu virtfs 9p not working on arm? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , "Aneesh Kumar K.V" , Paul Brook Hi, I'm not sure whether this is a kernel problem or a qemu problem (or even a user problem). The folks on OFTC #qemu suggested I email the list and relevant section maintainers so that's what I'm doing -- hope it's okay. I'm trying to boot qemu-system-arm with rootfs on 9p, and experiencing the following error: | 9pnet: Installing 9P2000 support | 9pnet_virtio: probe of virtio0 failed with error -2 | VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 4 | rtc-pl031 dev:e8: setting system clock to 2013-07-31 22:56:25 UTC (1375311385) | 9pnet_virtio: no channels available | VFS: Cannot open root device "root" or unknown-block(0,0): error -2 | Please append a correct "root=" boot option; here are the available partitions: | 0b00 1048575 sr0 driver: sr | Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) That looks like ENOENT during the probe to me, but I can't find where in the kernel source it's coming from. My configuration is: -append "root=root rw rootflags=rw,trans=virtio,version=9p2000.L -rootfstype=9p" -fsdev local,id=root,path=$(pwd)/root,security_model=none -device virtio-9p-pci,fsdev=root,mount_tag=root and this same configuration seems to work on x86. The kernels I'm using are from the latest Aboriginal Linux images (3.10) and /proc/config.gz seems to show that all the 9p/virtfs options are enabled. Attempting to mount the filesystem after booting also fails with: | 9pnet_virtio: no channels available | mount: mounting root on /mnt/ failed: No such file or directory I have not tested other targets. Finally, my version of qemu is 1.5.1 from the Debian packages. Rich