Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6764272rwl; Wed, 22 Mar 2023 15:35:26 -0700 (PDT) X-Google-Smtp-Source: AK7set/TDeh8443kL3P9qiA8GXG/OZ4V5MBJkaV+D5d3NguwM88mzp8q4VlwzTPsl8/3vtPUL6af X-Received: by 2002:aa7:9f45:0:b0:590:921d:5740 with SMTP id h5-20020aa79f45000000b00590921d5740mr4159471pfr.13.1679524526082; Wed, 22 Mar 2023 15:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679524526; cv=none; d=google.com; s=arc-20160816; b=ApkUsGmuBtZbnq4OPKudY5e+xMlDqg51/uMxT5Yx1hXSQOUQUZz/6WK5za62rz9oGK sfA134bwirvrDVouUH8ohHTSQJrliacTQSigaaDvEumqDjoeWfWkpIKtNWmpHiSAK+rG oQNpmGKDObGROxswg7N1rMUMLhqvFcrOLAeNIfnSj3QcjQAAG6aQhsRlfo0HofytiLtO ImE2qXqOBxhnBF3+dHp8NQ2HQGyDlPA5qvjGd9y6XMR/FqO3cfbrJLPyueO+o8xwc3QK s+kHagc21bltcdDkuRE4opR6hCX+jHE/Px76vAMrxsjFYd+aOd8NoUUUAp9Okr2ZlQA2 TUvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Y18HpSiK9r4CIVZcGz/4BaB0bggYzqBPYlKsvJvl+es=; b=Tn9W8aNUW+arFlBAN6uVxnF98M/ARGPq+CM4zrvGcK808ZUxzy3DFZwjzRNSNJGlKs dTsag7rnPkcWtm0en2tWyZuW1/pzGLHdInzxM4e0I3DY5oryIRbRwbcRfsx0PNQivxj7 qUluz5x1+lPKtr3n6hM7RLxHqRemZZ3lBHJDAo6iJQWrcjeS5PMQoTeqihdA5DKw59vB rj6o/mhVFHL583E0c0txi5C3KNiy+q5ZKXhsBnAcDPmsjksVhTFy3S1XAI8aGlCjxpzl 0CvFAPVWK4/rWMZzQWqWxsxeKlIRP07Qo4in090cLym+NUglmOeVclX6BJI2uQvBkAc2 0guA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=IifB+Ozp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h3-20020a056a00230300b0060bfd9834adsi17677141pfh.212.2023.03.22.15.35.13; Wed, 22 Mar 2023 15:35:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=IifB+Ozp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229691AbjCVWcL (ORCPT + 99 others); Wed, 22 Mar 2023 18:32:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229487AbjCVWcK (ORCPT ); Wed, 22 Mar 2023 18:32:10 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F038109; Wed, 22 Mar 2023 15:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Y18HpSiK9r4CIVZcGz/4BaB0bggYzqBPYlKsvJvl+es=; b=IifB+OzpXgXxmiuDlLET67Z3UM 1QM6QUa0h8F2sLCSGjfa0acgk4Tyy8jfxBbAY6LliDeFrIgiFHwzr1EqZlE/WjfSPHoEJz0MhQalb d4AwwtLlgnOQmfKYcFyIrExrIg/ArPkZ9O+FuL9bzsMM3gHj6sg+deubfTmQbUINIqmzOfjelV2zI HZ/BZwsQhlQ9iSL7KHINbvtWZ+CenTjwJySoA0DHPtcGXS3R2l7KcjhK5ChINU/7DoBdHMnJDc5v7 0cu1lMNL03MXloC6aWoerjuFyi7LjsIfEn0s9XTqIY+bbyR50a7CiW+IXWYNt2XRicuuc2UmHjGcN qxYYAg7Q==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pf6zv-00018h-11; Wed, 22 Mar 2023 22:31:59 +0000 Date: Wed, 22 Mar 2023 15:31:59 -0700 From: Luis Chamberlain To: Lucas De Marchi , Vincenzo Palazzo Cc: Petr Mladek , Petr Pavlu , Prarit Bhargava , Vegard Nossum , Borislav Petkov , NeilBrown , Goldwyn Rodrigues , david@redhat.com, mwilck@suse.com, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Lucas De Marchi , Ben Hutchings , Adam Manzanares Subject: Re: [PATCH v2] module: Don't wait for GOING modules Message-ID: References: <20221205103557.18363-1-petr.pavlu@suse.com> <79aad139-5305-1081-8a84-42ef3763d4f4@suse.com> <20230312062505.man5h4oo6mjbiov6@ldmartin-desk2.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230312062505.man5h4oo6mjbiov6@ldmartin-desk2.lan> Sender: Luis Chamberlain X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 11, 2023 at 10:25:05PM -0800, Lucas De Marchi wrote: > On Sat, Jan 21, 2023 at 02:40:20PM -0800, Luis Chamberlain wrote: > > On Thu, Jan 19, 2023 at 04:58:53PM -0800, Luis Chamberlain wrote: > > > On Thu, Jan 19, 2023 at 04:51:27PM -0800, Luis Chamberlain wrote: > > > > On Thu, Jan 19, 2023 at 04:47:05PM +0100, Petr Mladek wrote: > > > > > Yes, the -EINVAL error is strange. It is returned also in > > > > > kernel/module/main.c on few locations. But neither of them > > > > > looks like a good candidate. > > > > > > > > OK I updated to next-20230119 and I don't see the issue now. > > > > Odd. It could have been an issue with next-20221207 which I was > > > > on before. > > > > > > > > I'll run some more test and if nothing fails I'll send the fix > > > > to Linux for rc5. > > > > > > Jeesh it just occured to me the difference, which I'll have to > > > test next, for next-20221207 I had enabled module compression > > > on kdevops with zstd. > > > > > > You can see the issues on kdevops git log with that... and I finally > > > disabled it and the kmod test issue is gone. So it could be that > > > but I just am ending my day so will check tomorrow if that was it. > > > But if someone else beats me then great. > > > > > > With kdevops it should be a matter of just enabling zstd as I > > > just bumped support for next-20230119 and that has module decompression > > > disabled. > > > > So indeed, my suspcions were correct. There is one bug with > > compression on debian: > > > > - gzip compressed modules don't end up in the initramfs > > > > There is a generic upstream kmod bug: > > > > - modprobe --show-depends won't grok compressed modules so initramfs > > tools that use this as Debian likely are not getting module dependencies > > installed in their initramfs > > are you sure you have the relevant compression setting enabled > in kmod? > > $ kmod --version > kmod version 30 > +ZSTD +XZ +ZLIB +LIBCRYPTO -EXPERIMENTAL Debian has: kmod version 30 +ZSTD +XZ -ZLIB +LIBCRYPTO -EXPERIMENTAL > $ modprobe --show-depends ext4 > insmod /lib/modules/6.1.12-1-MANJARO/kernel/fs/jbd2/jbd2.ko.zst insmod > /lib/modules/6.1.12-1-MANJARO/kernel/fs/mbcache.ko.zst insmod > /lib/modules/6.1.12-1-MANJARO/kernel/lib/crc16.ko.zst insmod > /lib/modules/6.1.12-1-MANJARO/kernel/arch/x86/crypto/crc32c-intel.ko.zst > insmod /lib/modules/6.1.12-1-MANJARO/kernel/crypto/crc32c_generic.ko.zst > insmod /lib/modules/6.1.12-1-MANJARO/kernel/fs/ext4/ext4.ko.zst Perhaps this was related to the above gzip issue in debian then. I'm hoping will have a bit more time than me to verify. Luis