From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKiKc-0002fs-3l for qemu-devel@nongnu.org; Fri, 22 Aug 2014 02:28:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKiKV-00074F-JX for qemu-devel@nongnu.org; Fri, 22 Aug 2014 02:28:14 -0400 Received: from sainfoin-out.extra.cea.fr ([132.167.192.145]:49142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKiKV-00073R-A4 for qemu-devel@nongnu.org; Fri, 22 Aug 2014 02:28:07 -0400 Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id s7M6S0uT009870 for ; Fri, 22 Aug 2014 08:28:00 +0200 Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 250BB202AE5 for ; Fri, 22 Aug 2014 08:31:21 +0200 (CEST) Received: from muguet2.intra.cea.fr (muguet2.intra.cea.fr [132.166.192.7]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 19D4A200C9E for ; Fri, 22 Aug 2014 08:31:21 +0200 (CEST) Received: from zia.cdc.esteban.ctsi (out.dam.intra.cea.fr [132.165.76.10]) by muguet2.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with SMTP id s7M6S0hK013155 for ; Fri, 22 Aug 2014 08:28:00 +0200 Date: Fri, 22 Aug 2014 08:27:44 +0200 From: Dominique Martinet Message-ID: <20140822062744.GA12382@u-barrelet> References: <5293718E.4090508@gentoo.org> <53F64DA2.3060308@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline In-Reply-To: <53F64DA2.3060308@codeaurora.org> Subject: Re: [Qemu-devel] [V9fs-developer] QEMU dies on any attempt to load a Linux kernel module when using a 9P rootfs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christopher Covington Cc: Richard Yao , qemu-devel@nongnu.org, agraf@suse.de, kernel@gentoo.org, v9fs-developer@lists.sourceforge.net, virtualization@lists.linux-foundation.org Hi, Christopher Covington wrote on Thu, Aug 21, 2014 at 03:50:58PM -0400: > With my 3.15.0+ kernel, qemu-system-x86_64 substituted for qemu-kvm, and the > path changed from your arguments I get: > > 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) > Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS > rel-1.7.5-0-ge51488c-20140602_164612-nilsson.home.kraxel.org 04/01/2014 I'm pretty sure that's the same problem that's been reported a few times here, could you try again after cherry-picking this commit: commit f15844e0777fec936f87a87f97394f83911dacd3 Author: Dominique Martinet Date: Wed May 21 10:02:12 2014 +0200 9P: fix return value in v9fs_fid_xattr_set v9fs_fid_xattr_set is supposed to return 0 on success. This corrects the behaviour introduced in commit bdd5c28dcb8330b9074404cc92a0b83aae5606a "9p: fix return value in case in v9fs_fid_xattr_set()" (The function returns a negative error on error, as expected) Signed-off-by: Dominique Martinet Signed-off-by: Eric Van Hensbergen It has gotten in in v3.16-rc1, so your 3.15.0+ proably doesn't have it. Cheers, -- Dominique