Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4366769pxb; Tue, 2 Nov 2021 08:34:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdNPMyu3afzQbRmhZFGFBhwzViB1RYVP7Anz6YJZmbC/tuDI37sJQBOYOh8htMDwCISkuD X-Received: by 2002:a92:d03:: with SMTP id 3mr25980051iln.216.1635867277401; Tue, 02 Nov 2021 08:34:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635867277; cv=none; d=google.com; s=arc-20160816; b=JEk/Om7IvbTnTJZUWPwHdN7hEqclCfoy4bC7CnseUeaO0dMaY9FNoO1LRluCk/DCuW uUGJhndw22O2hXBpMZ+ZwdyushKLGZE64HVEvKGqktuMNOG1U8f93V6Wa4bnKnm+czvK LhLctrFhsKDJFWCCc6cF5XwyJ0SeYtTkGVef79/MRIB+JaCLR/rWmI6nBfh3I1KIZ93V YMQn4GL2dpzQkufxgQnfaX2nYmVLQeGeZKAK+tbFmxy/YgtbsupBPfn1UtCX7IN8pKvX 0jSs/0qtg8LNdoSuTszyy8PktzmXF8ezltGRI2q8OJZCpuvnsO5VAENcztYK7EF2DP4h Tmkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:jabber-id:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=JQVyxc+5e8BLWMhcg3SS37gDBNCEhn9Zd345Nr+JNNE=; b=bY4Up1MWEtb2hUo7RvIlnGicYNn+YUm/S4Gn+5+LrMfpIlgRivKbPItfqP7t/FrvBe CyPVWYh+KQZ6qT/M1L9e/DA4Rla8pTwnY8z9inE2/pQYbOppMfcFr4nrCi8xm+jNchYZ nTJtxBqpG2dvXTqhGYKPJ8/EH4AITA/Djebwpa40m0Rp6Z+Xdau8IuZNTfuxhGS5ZT9p tTwK6gwo/Vvcr25+sFKAQsKNl9RSvndICr+Fwbi4euWSmy85GcvydcGCZ+Qmptw4zKii 4/q7IYhZvhgeStdiNN8h4boCU0H+WDrIhC4LbYiPGrRHwwLcFGf9wxGEG0ba6JFk6Urq SgtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=TT+zHTNU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b17si3995407jal.30.2021.11.02.08.34.23; Tue, 02 Nov 2021 08:34:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=TT+zHTNU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231543AbhKBPe6 (ORCPT + 99 others); Tue, 2 Nov 2021 11:34:58 -0400 Received: from todd.t-8ch.de ([159.69.126.157]:35263 "EHLO todd.t-8ch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230370AbhKBPe5 (ORCPT ); Tue, 2 Nov 2021 11:34:57 -0400 Date: Tue, 2 Nov 2021 16:32:21 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1635867141; bh=5OvMbhfJq7+QGUzOTVZo8+8AZYHPyj8ag6BCpDM1akE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TT+zHTNU+xlgltSeNmmVjhdFBf4vwmViPqgi7i282urMt8n7mTzMU0Oy3TcIKWWys onsXZBYdmGFMobiBlypHRcgCPCNF1Vo6PPX8Zr1ZaJzmIC+uaKkjqLOCD2bte0LeZJ wHnHW8M8b/KnXJkbpmgB67Hoe7cakEGbfNEJhJes= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Dominique Martinet Cc: Eric Van Hensbergen , Latchesar Ionkov , "David S. Miller" , Jakub Kicinski , v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net/9p: autoload transport modules Message-ID: <3e8fcaff-6a2e-4546-87c9-a58146e02e88@t-8ch.de> References: <20211017134611.4330-1-linux@weissschuh.net> <922a4843-c7b0-4cdc-b2a6-33bf089766e4@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Jabber-ID: thomas@t-8ch.de X-Accept: text/plain, text/html;q=0.2, text/*;q=0.1 X-Accept-Language: en-us, en;q=0.8, de-de;q=0.7, de;q=0.6 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-11-02 23:58+0900, Dominique Martinet wrote: > Thomas Weißschuh wrote on Tue, Nov 02, 2021 at 03:49:32PM +0100: > > > I guess it wouldn't hurt to have 9p-tcp 9p-unix and 9p-fd aliases to the > > > 9pnet module, but iirc these transports were more closely tied to the > > > rest of 9pnet than the rest so it might take a while to do and I don't > > > have much time for this right now... > > > I'd rather not prepare for something I'll likely never get onto, so > > > let's do this if there is progress. > > > > > > Of course if you'd like to have a look that'd be more than welcome :-) > > > > If you are still testing anyways, you could also try the attached patch. > > (It requires the autload patch) > > > > It builds fine and I see no reason for it not to work. > > Thanks! I'll give it a spin. > > > I was actually just testing the autoload one and I can't get it to work > on my minimal VM, I guess there's a problem with the usermodhelper call > to load module.. > > with 9p/9pnet loaded, > running "mount -t 9p -o trans=virtio tmp /mnt" > request_module("9p-%s", "virtio") returns -2 (ENOENT) Can you retry without 9p/9pnet loaded and see if they are loaded by the mount process? The same autoloading functionality exists for filesystems using request_module("fs-%s") in fs/filesystems.c If that also doesn't work it would indicate an issue with the kernel setup in general. > Looking at the code it should be running "modprobe -q -- 9p-virtio" > which finds the module just fine, hence my supposition usermodhelper is > not setup correctly > > Do you happen to know what I need to do for it? What is the value of CONFIG_MODPROBE_PATH? And the contents of /proc/sys/kernel/modprobe? > I've run out of time for today but will look tomorrow if you don't know. > > (And since it doesn't apparently work out of the box on these minimal > VMs I think I'll want the trans_fd module split to sit in linux-next > for a bit longer than a few days, so will be next merge window) Sure. Thomas