Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4335308ybp; Mon, 14 Oct 2019 03:03:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyoZFUxx+aOoracZlysfOlpA2ucU7o9soMotywBYH3qDgWaYWsD+RB6R9o5+Oyuz46sIlLP X-Received: by 2002:a17:906:553:: with SMTP id k19mr27637950eja.102.1571047412786; Mon, 14 Oct 2019 03:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571047412; cv=none; d=google.com; s=arc-20160816; b=Ai0oBzPYgxx5aEkaKDm/p04NmaCiDn0X0yO5UtP2MKQe+f6hwZaPEhEkGX6l7EoYAz HcNJRfUQg4+k/D1wNTWKIwFqkZ0uiO1ywOzMQSMHUPGU+iFDAqsrHSYqwemRKr6Fzxjb ygCZGbbrBDCPR5HnizMbv6Nzsg6IHdEpBxnHWEPB7omzEZteqji2626cJpZGLZtHbPd3 R+NbRCLClsO97Dzu1NR5hAEFOMmd10+Y6Bd7Jcmbfnl5FJlv/t/czhZ8qkI0C7PwuEDh 45p5062+bT7OnEls+CQRVbW6apTMW8DP98XkKFuuplT3LfO5UdMvktjgKSTAghbXs+K2 RJKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=B6Amz5WFDxCKcFmZdt0PM9WLPvHlU7akOVYcKnFWI3g=; b=EsFtTYi3Ks5v+9meFTta3/CBaApNMw+XqB5dR//YrrMaWQ7vAEzyrE7ScePuBTFvx0 rJhBZtYN8BChy0sLqOfb/QcGYC1gQ2ROftdUDvoSmIelOFubh7gR1uduUQMyHWp+opQ+ 6x5c//NPq6ake5vcdziUaWzq4kszJfuouSUxyqtYO4lXqLhgHUnJHiY72qRUSJ1LPik0 afzvTEhVcR3hWnRYJXu6pbYzCN/4/fEh3Z1ftFx+rtKRt13B6lCZDsZJ7Y+BQNVDjQiF bdISyCsqB2tLDmcWr0K1pcFC3cgjQalhVsJ2t1y31s3LbTbweshWrCV1kW/1wDeTEeqh O7Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NVz7Y6ta; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si11960007edj.220.2019.10.14.03.03.07; Mon, 14 Oct 2019 03:03:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=NVz7Y6ta; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731344AbfJNKBt (ORCPT + 99 others); Mon, 14 Oct 2019 06:01:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:48400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731119AbfJNKBt (ORCPT ); Mon, 14 Oct 2019 06:01:49 -0400 Received: from linux-8ccs (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5694B207FF; Mon, 14 Oct 2019 10:01:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1571047308; bh=5/ai+ZkvHjPIjd1PVgKpi0YTLpokodIIj+K2mhHp4YA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NVz7Y6tapstbkQM25HzES+ADj09TP/Wp4jPgVg7IZZYXW2LhEsDj9+r3eKt3paaCV Ih9eCLs7Gq+SGaX4h/UQwdm06+AALQ1VJW++lAnAIEkJnPc12mxWxAuuPXa8UtC5xN nL2EnUEkQYAhSRYJ5yOYlWlr8V9FdXSIE3lFfVy8= Date: Mon, 14 Oct 2019 12:01:44 +0200 From: Jessica Yu To: Heiner Kallweit Cc: Luis Chamberlain , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli Subject: Re: Module loading problem since 5.3 Message-ID: <20191014100143.GA6525@linux-8ccs> References: <8132cf72-0ae1-48ae-51fb-1a01cf00c693@gmail.com> <875eecfb-618a-4989-3b9f-f8272b8d3746@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <875eecfb-618a-4989-3b9f-f8272b8d3746@gmail.com> X-OS: Linux linux-8ccs 4.12.14-lp150.12.28-default x86_64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +++ Heiner Kallweit [11/10/19 21:26 +0200]: >On 10.10.2019 19:15, Luis Chamberlain wrote: >> >> >> On Thu, Oct 10, 2019, 6:50 PM Heiner Kallweit > wrote: >> >> ? ?MODULE_SOFTDEP("pre: realtek") >> >> Are you aware of any current issues with module loading >> that could cause this problem? >> >> >> Nope. But then again I was not aware of MODULE_SOFTDEP(). I'd encourage an extension to lib/kmod.c or something similar which stress tests this. One way that comes to mind to test this is to allow a new tests case which loads two drives which co depend on each other using this macro. That'll surely blow things up fast. That is, the current kmod tests uses request_module() or get_fs_type(), you'd want a new test case with this added using then two new dummy test drivers with the macro dependency. >> >> If you want to resolve this using a more tested path, you could have request_module() be used as that is currently tested. Perhaps a test patch for that can rule out if it's the macro magic which is the issue. >> >> ? Luis >> >Maybe issue is related to a bug in introduction of symbol namespaces, see here: >https://lkml.org/lkml/2019/10/11/659 If you're running into depmod and module loading issues with kernels >=5.3-rc1, it's likely due to the namespaces patchset and we're working on getting all the kinks fixed. Could you please ask the bug reporter to try the latest -rc kernel with these set of fixes applied on top? https://lore.kernel.org/linux-modules/20191010151443.7399-1-maennich@google.com/ They fix a known depmod issue caused by our __ksymtab naming scheme, which is being reverted in favor of extracting the namespace from __kstrtabns and __ksymtab_strings. These fixes will be in by -rc4. Thanks, Jessica