From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49351C11F66 for ; Tue, 29 Jun 2021 09:26:26 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CAC2F61DC5 for ; Tue, 29 Jun 2021 09:26:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CAC2F61DC5 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=laumann.xyz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1lyA0L-00035Z-4z; Tue, 29 Jun 2021 05:26:05 -0400 Received: from out1.migadu.com ([91.121.223.63]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1lyA0G-00035K-U9 for kernelnewbies@kernelnewbies.org; Tue, 29 Jun 2021 05:26:03 -0400 Date: Tue, 29 Jun 2021 11:25:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=laumann.xyz; s=key1; t=1624958758; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kHiaZRsqLG1mcpJVje40OL5qOA2jlW54JX89uI5Jvpw=; b=UnGhY0nRSLTlRDBRsoqdpMXjEngMU2h4K9QtEBNCksBum1uGvU2Q9x97wEBZQG3Gd/gx7c YTIf3HJCn2NdKMilDDEs/FODXfC6wL7FHvpKrGjDrSl6l2jiximQ8mKDFyeSFdrnNnm1qf eyLNI7pHz7EXYMvHk6wBtO1z1YN7TfXrCll/8aDsmzgZr5blqOv+hqM9gyLAVtUKIQD8kE py2pE+ZWtsRL4qFJ3X4UqhxErPF6vW1hgGT/I6wwIaJZZccncYJV9fVRbiNlashWTZyWE+ DVEB+oH2D8HonDfRQTDE4gCakEewbEqyuX9XVaJ+kCWo0bSQY07JHIoqwnBUog== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Thomas Bracht Laumann Jespersen To: Aruna Hewapathirane Subject: Re: Kernel Compile Issue Message-ID: <20210629092556.capmn4vs23iwkbas@sofaking> Mail-Followup-To: Aruna Hewapathirane , Valdis =?utf-8?Q?Kl=C4=93tnieks?= , Dhaval Giani , kernelnewbies References: <20210624102151.c3qbmadsjw4sz6ot@sofaking> <20210624172923.m4qgx7dkwsnhqfol@zillasnegl> <31879.1624576151@turing-police> <73704.1624582297@turing-police> <29442.1624689579@turing-police> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: t@laumann.xyz Cc: kernelnewbies , Valdis =?utf-8?Q?Kl=C4=93tnieks?= , Dhaval Giani X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org > > > Jun 25 10:46:42 debian systemd-modules-load[201]: Failed to find module 'vmhgfs' > > > Jun 25 10:46:42 debian systemd[1]: Failed to start Load Kernel Modules. > > > Jun 25 10:46:42 debian systemd[1]: Unit systemd-modules-load.service entered failed state. > > > > > > Does that make sense to you or anyone ? > > > > For reasons understandable only to systemd, it tried to modprobe vmhgfs and > > didn't find it in the initramfs. What Valdis says: I would expect that you can find a 'vmhgfs.ko' file somewhere in /lib/modules that systemd is trying to load, but can't because it wasn't included in the initramfs. *Goes looking for 'vmhgfs.ko' in package manager* Oh, so the vmhgfs.ko module is installed with open-vm-tools, not virtualbox-modules. TIL. Also it appears that vmhgfs is for VMware, not VirtualBox. > > Does this configuration actually *need* a vmware shared folder in order to boot? > Uh-uh no it does not. > > I guess it is looking for that 'vmhgfs' because I installed VirtualBox. > And something really interesting, I deleted VirtualBox or so I > thought. I recompiled the kernel > and checked, same 'bleeping' error. So reinstall VirtualBox and like > some Voo Doo magic all > my operating systems showed up which tells me Virtual Box keeps its > folder and settings in > your home folder. One lives and learns :-) Just so we're on the same page: This module is for VMware, not VirtualBox. So I wouldn't expect (un)installing VirtualBox would affect this module. > > If so, you'll need to tell your dracut/ mkinitramfs/whatever command to include it. > > If not, you'll need to tell it to not look for it. Exactly. I don't know if/how you do this with systemd, but if you don't need the module at boot, systemd shouldn't be trying to load it. > I am going to keep working on this as and when I have the time I want > to know how to fix this. > We know it is because I installed VirtualBox, now I gotta find a fix :-( Silly idea maybe (because I'm no systemd expert): In OpenRC you can blacklist modules in /etc/modprobe.d. Maybe something like this [0]: echo "blacklist vmhgfs" >> /etc/modprobe.d/vmware Looks like you can even add it as a boot parameter. And I would assume that it works with systemd as well, because Arch Linux uses systemd by default. [0] https://wiki.archlinux.org/title/Kernel_modules#Blacklisting Best of luck! -- Thomas _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies