Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4811147pxb; Tue, 2 Nov 2021 16:35:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSg5o9dHDTpYTSHb0bTFSeJlipsFzWeVH1RvvyNpn2z46smmPeW68dE/5NDTsrVHTodvpj X-Received: by 2002:a17:907:1693:: with SMTP id hc19mr20268357ejc.396.1635896146895; Tue, 02 Nov 2021 16:35:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635896146; cv=none; d=google.com; s=arc-20160816; b=R7ojR+BSAolMrF/rhvD+YGu5+dMqYl2YXJyvMPxP5Wdy7hd2ZdJTPp/5YiSE5laYRx aVm3kHT7ZlePTLAF6SI2UwdKnyTK1z0tUpTdeQ5VBS0RJANlLVlFwtiGDoVwENJBDzwf thYQpxbAk56leUueKvIBs2MMcOLNCh1LpF8uMIUIRdBjUYyzFFsDNH7DG9sFPYVgb+6V 6kM9Z8oM0hToDF4yb5v/UvWUMTnBboiBrAx8eGwn9BdomuQC3VqsjvrpU6zWFwR0+F7E /HrmRFfCK8sahn1PfTTfsdf69T3sW0X8eCLtYqkuVsp6IcAQDia9+H7fCLduDv4m1VLQ 2IgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:subject :references:in-reply-to:message-id:cc:to:from:dkim-signature:date; bh=EoDfytdV+LSXDNnXqYAA0Tk6wiOd883CujH+OC5GBas=; b=Hc387/0z7BBS8VUe0k3ll2erMFwRBBqj4MCvqPXkf4nvr+cQNbls6qjfQhVK/SuJuU HLUsBFQrR3y3GUnpXi5k3gIQ4WtkbZOQjp8DMf5TyNR6RwEp9G4Ll01JECj6OXcQPSii eugYjiwzbE+WU2ouocFm9CGQg+3QZvTwMAm1aa4J8RrikU3H5/fIUt/7xAF+dg/Gk/fv Ht9Na2OjlMLSdZ3dKJcWzz7g8dDsszzqHHFA0uZEwkccuOBF7bg6m7Y6Ae/KshfvlaFl lDlBL90NSpeudEKSz69ePqj0/4PblRxklZHrM0POkQYsyzM4GKmIABEFZZ/Pz3HMRjWz vDEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@t-8ch.de header.s=mail header.b=IquYBEBh; 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 rh9si620185ejb.634.2021.11.02.16.35.23; Tue, 02 Nov 2021 16:35:46 -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=@t-8ch.de header.s=mail header.b=IquYBEBh; 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 S230258AbhKBXgE (ORCPT + 99 others); Tue, 2 Nov 2021 19:36:04 -0400 Received: from todd.t-8ch.de ([159.69.126.157]:45095 "EHLO todd.t-8ch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbhKBXgD (ORCPT ); Tue, 2 Nov 2021 19:36:03 -0400 Date: Tue, 2 Nov 2021 23:33:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=t-8ch.de; s=mail; t=1635896007; bh=EoDfytdV+LSXDNnXqYAA0Tk6wiOd883CujH+OC5GBas=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=IquYBEBhTXBPDy7frCaGYIJqGtKLZuQ+tsWQKdUr1a2M98cA6+yiEWUhGjTILhtwG fOP8s56lQBrnbyH18VNfzjGTElO3YRWvBxaminNvTFmAo70QuiUpRz2o3Egeuexx16 zX+WtIhN85oWC/FhoLy5BsJ9tIliaBHOrTtT6D7U= From: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh_?= To: Dominique Martinet Cc: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Eric Van Hensbergen , Latchesar Ionkov , "David S. Miller" , Jakub Kicinski , v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <778dfd93-ace5-4cab-9a08-21d279f18c1f@t-8ch.de> In-Reply-To: References: <20211017134611.4330-1-linux@weissschuh.net> <922a4843-c7b0-4cdc-b2a6-33bf089766e4@t-8ch.de> <3e8fcaff-6a2e-4546-87c9-a58146e02e88@t-8ch.de> Subject: Re: [PATCH] net/9p: autoload transport modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: <778dfd93-ace5-4cab-9a08-21d279f18c1f@t-8ch.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nov 3, 2021 00:18:13 Dominique Martinet : > Thomas Wei=C3=9Fschuh wrote on Tue, Nov 02, 2021 at 04:32:21PM +0100: >>> with 9p/9pnet loaded, >>> running "mount -t 9p -o trans=3Dvirtio 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 set= up in general. > > Right, that also didn't work, which matches modprobe not being called > correctly > > >>> 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? > > aha, these two were indeed different from where my modprobe is so it is > a setup problem -- I might have been a little rash with this initrd > setup and modprobe ended up in /bin with path here in /sbin... > > Thanks for the pointer, I saw the code setup an environment with a > full-blown PATH so didn't think of checking if this kind of setting > existed! > All looks in order then :) Does it also work for the split out FD transports? If so, I'll resend that patch in a proper form tomorrow. Thomas