Github messages for voidlinux
 help / color / mirror / Atom feed
From: MaMiMa81 <MaMiMa81@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: "depmod: WARNING" after kmod update
Date: Thu, 18 Aug 2022 17:12:39 +0200	[thread overview]
Message-ID: <20220818151239.19vCxhgPCEWBj-RF8tO7GYcA4Jf-fTyrswlPmazjw-w@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38367@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 3891 bytes --]

New comment by MaMiMa81 on void-packages repository

https://github.com/void-linux/void-packages/issues/38367#issuecomment-1219615259

Comment:
@TeusLollo 
> > I managed to boot in the system, by repeatedly entering exit & found the other 2 partitions plus swap also mounted the /media/ directory.
> 
> Would you care to post more info? The fact that system `fstab` was ignored, and partitions were mounted into `/media/` as RO in loopback, would point towards `mkinitcpio` initializing your system as if it were a Live Image. Maybe you have `void-mklive` installed? Maybe there's some other hook at work? Weird.
> 
> Anyway, I'm inclined to believe your problem with `mkinitcpio` was more of a mis-configuration case.


Well wasn't going to stray to much away from the core issue - the dracut depmod warning - but regarding `mkinitcpio` your conclusion may well be right.


Since I did the `mkinitcpio` install I have seen this post here:

[https://reddit.com/r/voidlinux/comments/ql2les/void_console_font/hj07qmo/#c](url)

Specifically @ahesford :

> If you want to use mkinitcpio, we ship a kernel hook to generate the initramfs on kernel upgrades. Just xbps-reconfigure -f linux<X.Y> after installing mkinitcpio. Also, to /etc/default/initramfs-regenerate add INITRAMFS_GENERATOR=mkinitcpio so packages that otherwise trigger initramfs regeneration do the right thing.

While I did `xbps-reconfigure -f linux<X.Y>` I didn't add `INITRAMFS_GENERATOR=mkinitcpio` to `/etc/default/initramfs-regenerate` firstly the file didn't exist & I thought the file `/usr/libexec/xbps-triggers/initramfs-regenerate` had it covered - but on re-reading the file it states that it uses `dracut` by default so it looks like it is necessary to specify `INITRAMFS_GENERATOR=mkinitcpio` at `/etc/default/initramfs-regenerate`. I assume this should be done before `xbps-reconfigure -f linux<X.Y>` & perhaps `xbps-reconfigure -fa` wouldn't hurt actually.
So here I may well of not correctly configured `mkinitcpio` & it lead to the issues I experienced. 

> Maybe you have `void-mklive` installed? Maybe there's some other hook at work?

No I don't have `void-mklive`installed & I am unaware of any other hook at work & from when I checked it appeared that `dracut` was completely uninstalled.

Upon booting as I said it flagged up the issue that the `root` partition was only mounted RO & I was dropped into a rescue console with a message that it was unable to carry out `fsck` on the other partitions (I can't remember whether I stated that the `root` partition had been subjected to `fsck`or not - probably not that's maybe why it was mounted RO).
After a bit of research I booted from a Live Image to fsck the partitions on my HDD & they were all OK. But as I have stated I spent a considerable amount of time trying to sort the issue without success so I just re-installed from a backup.
So it's quite possible that what I have stated above was the issue - maybe @ahesford could add some input here as from what I understand he uses `mkinitcpio` on his systems?


@ahesford 

> Problems with Debians test suite for initramfs-tools are of no consequence here.

OK accept that &

> has anybody demonstrated that these warnings actually lead to a problem with the initramfs image? 

No I haven't - but then again I don't know if it is causing issues I haven't noticed or been subjected to? Or will cause issues going forward.
I have have changes to my system now - initially by downgrading `kmod` to v.29_2 (as it is a similar vintage to `dracut v.53_2`) but subsequently re-upgrading `kmod` to v.30 & amending the `/usr/lib/dracut/dracut-init.sh` file as per posts above - so maybe others may wish to comment here whether or not they have experienced problems?

> Somebody is welcome to PR a fix.

Indeed - but for me - please see my first post in this thread.


  parent reply	other threads:[~2022-08-18 15:12 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-30 10:20 [ISSUE] " Haagen-Dazs
2022-07-30 13:36 ` Haagen-Dazs
2022-08-05 17:52 ` TeusLollo
2022-08-05 17:54 ` TeusLollo
2022-08-05 17:54 ` TeusLollo
2022-08-05 17:54 ` TeusLollo
2022-08-07  2:13 ` Haagen-Dazs
2022-08-07 17:52 ` TeusLollo
2022-08-07 17:52 ` TeusLollo
2022-08-07 17:58 ` TeusLollo
2022-08-07 20:51 ` Haagen-Dazs
2022-08-08  1:34 ` ahesford
2022-08-08  9:12 ` TeusLollo
2022-08-12 13:29 ` MaMiMa81
2022-08-12 13:30 ` MaMiMa81
2022-08-12 13:34 ` MaMiMa81
2022-08-12 14:45 ` MaMiMa81
2022-08-12 14:56 ` MaMiMa81
2022-08-12 16:24 ` TeusLollo
2022-08-17 17:13 ` MaMiMa81
2022-08-17 17:15 ` MaMiMa81
2022-08-17 17:23 ` MaMiMa81
2022-08-17 17:25 ` MaMiMa81
2022-08-17 17:26 ` MaMiMa81
2022-08-17 17:29 ` ahesford
2022-08-17 19:59 ` TeusLollo
2022-08-17 20:00 ` TeusLollo
2022-08-18 15:12 ` MaMiMa81 [this message]
2022-08-22 15:22 ` TeusLollo
2022-08-23 15:49 ` [ISSUE] [CLOSED] " ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220818151239.19vCxhgPCEWBj-RF8tO7GYcA4Jf-fTyrswlPmazjw-w@z \
    --to=mamima81@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).