Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #245830 > unrolled thread

What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)

Started byOttavio Caruso <ottavio2006-usenet2012@yahoo.com>
First post2022-03-03 11:30 +0100
Last post2022-05-01 01:10 +0200
Articles 6 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12:  /etc/initramfs-tools/conf.d/local.conf: z3fold: not found) Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> - 2022-03-03 11:30 +0100
    Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs:  12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found) Greg Wooledge <greg@wooledge.org> - 2022-03-03 13:30 +0100
      Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs:  12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found) Michael Lange <klappnase@freenet.de> - 2022-03-04 08:40 +0100
        Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs:  12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found) Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> - 2022-03-04 11:50 +0100
          Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs:  12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found) Henrique de Moraes Holschuh <hmh@debian.org> - 2022-04-22 15:20 +0200
            Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found) Dekks Herton <dekkzz78@gmail.com> - 2022-05-01 01:10 +0200

#245830 — What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)

FromOttavio Caruso <ottavio2006-usenet2012@yahoo.com>
Date2022-03-03 11:30 +0100
SubjectWhat is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)
Message-ID<DWQSB-5yPL-3@gated-at.bofh.it>
Hi,


$ uname -a
Linux e130 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 
GNU/Linux

$ free -m
               total        used        free      shared  buff/cache 
available
Mem:           1771        1121         117         280         532 
     159
Swap:          8278

$ cat debian_version
10.2


One of my memory slots has died and I can only use one mem stick, that 
is 2 GB in total.

I was following this guide:
https://easylinuxtipsproject.blogspot.com/p/speed-mint.html#ID1.2

So I added:

# cat /etc/initramfs-tools/conf.d/local.conf
# List of modules that you want to include in your initramfs.
# They will be loaded at boot time in the order below.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
z3fold
lz4

Then:

# update-initramfs -u

And I get error:

/usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: 
z3fold: not found


Where do I find z3fold and do I need it?

Thanks


-- 
Ottavio Caruso

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

[toc] | [next] | [standalone]


#245833 — Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)

FromGreg Wooledge <greg@wooledge.org>
Date2022-03-03 13:30 +0100
SubjectRe: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)
Message-ID<DWSKJ-5A7z-1@gated-at.bofh.it>
In reply to#245830
On Thu, Mar 03, 2022 at 10:21:45AM +0000, Ottavio Caruso wrote:
> I was following this guide:
> https://easylinuxtipsproject.blogspot.com/p/speed-mint.html#ID1.2
> 
> So I added:
> 
> # cat /etc/initramfs-tools/conf.d/local.conf
> # List of modules that you want to include in your initramfs.
> # They will be loaded at boot time in the order below.
> #
> # Syntax: module_name [args ...]
> #
> # You must run update-initramfs(8) to effect this change.
> #
> # Examples:
> #
> # raid1
> # sd_mod
> z3fold
> lz4
> 
> Then:
> 
> # update-initramfs -u
> 
> And I get error:
> 
> /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold:
> not found

Well, as your file says, this is supposed to be a kernel module.  On my
system, I have this:

unicorn:~$ locate z3fold
/lib/modules/5.10.0-10-amd64/kernel/mm/z3fold.ko
/lib/modules/5.10.0-11-amd64/kernel/mm/z3fold.ko

However, you're running an oldstable (buster, Debian 10) kernel.  I don't
know whether buster's kernels have this module.

The dangers of following a guide that's written for a *different* operating
system (Mint in this case) is that some or all of it might not apply
to *your* operating system.  This is especially true when you're not on
the current stable release of your operating system.

[toc] | [prev] | [next] | [standalone]


#245861 — Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)

FromMichael Lange <klappnase@freenet.de>
Date2022-03-04 08:40 +0100
SubjectRe: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)
Message-ID<DXaHD-5Lns-1@gated-at.bofh.it>
In reply to#245833
Hi,

On Thu, 3 Mar 2022 07:25:01 -0500
Greg Wooledge <greg@wooledge.org> wrote:

(...)
> > /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf:
> > z3fold: not found
> 
> Well, as your file says, this is supposed to be a kernel module.  On my
> system, I have this:
> 
> unicorn:~$ locate z3fold
> /lib/modules/5.10.0-10-amd64/kernel/mm/z3fold.ko
> /lib/modules/5.10.0-11-amd64/kernel/mm/z3fold.ko
> 
> However, you're running an oldstable (buster, Debian 10) kernel.  I
> don't know whether buster's kernels have this module.

they do:

$ locate z3fold
/lib/modules/4.19.0-17-amd64/kernel/mm/z3fold.ko
/lib/modules/4.19.0-18-amd64/kernel/mm/z3fold.ko

Have a nice day,

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Insults are effective only where emotion is present.
		-- Spock, "Who Mourns for Adonais?"  stardate 3468.1

[toc] | [prev] | [next] | [standalone]


#245865 — Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)

FromOttavio Caruso <ottavio2006-usenet2012@yahoo.com>
Date2022-03-04 11:50 +0100
SubjectRe: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)
Message-ID<DXdFw-5N8p-9@gated-at.bofh.it>
In reply to#245861
On 04/03/2022 07:32, Michael Lange wrote:
> Hi,
> 
> On Thu, 3 Mar 2022 07:25:01 -0500
> Greg Wooledge <greg@wooledge.org> wrote:
> 
> (...)
>>> /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf:
>>> z3fold: not found
>>
>> Well, as your file says, this is supposed to be a kernel module.  On my
>> system, I have this:
>>
>> unicorn:~$ locate z3fold
>> /lib/modules/5.10.0-10-amd64/kernel/mm/z3fold.ko
>> /lib/modules/5.10.0-11-amd64/kernel/mm/z3fold.ko
>>
>> However, you're running an oldstable (buster, Debian 10) kernel.  I
>> don't know whether buster's kernels have this module.
> 
> they do:
> 
> $ locate z3fold
> /lib/modules/4.19.0-17-amd64/kernel/mm/z3fold.ko
> /lib/modules/4.19.0-18-amd64/kernel/mm/z3fold.ko
> 


So, I do have it:

~$ sudo find /lib/modules/ -iname "*z3fold*"
/lib/modules/4.19.0-17-amd64/kernel/mm/z3fold.ko
/lib/modules/4.19.0-14-amd64/kernel/mm/z3fold.ko
/lib/modules/4.19.0-8-amd64/kernel/mm/z3fold.ko


Then why doesn't it load up?


-- 
Ottavio Caruso

[toc] | [prev] | [next] | [standalone]


#247454 — Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)

FromHenrique de Moraes Holschuh <hmh@debian.org>
Date2022-04-22 15:20 +0200
SubjectRe: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)
Message-ID<Ef1mx-arvM-1@gated-at.bofh.it>
In reply to#245865
On Fri, 04 Mar 2022, Ottavio Caruso wrote:
> ~$ sudo find /lib/modules/ -iname "*z3fold*"
> /lib/modules/4.19.0-17-amd64/kernel/mm/z3fold.ko
> /lib/modules/4.19.0-14-amd64/kernel/mm/z3fold.ko
> /lib/modules/4.19.0-8-amd64/kernel/mm/z3fold.ko
> 
> 
> Then why doesn't it load up?

update-initramfs -u -v, and check the debug output.  Maybe it will have
a hint on what failed.

-- 
  Henrique Holschuh

[toc] | [prev] | [next] | [standalone]


#247772 — Re: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)

FromDekks Herton <dekkzz78@gmail.com>
Date2022-05-01 01:10 +0200
SubjectRe: What is z3fold and do I need it? (error: /usr/sbin/mkinitramfs: 12: /etc/initramfs-tools/conf.d/local.conf: z3fold: not found)
Message-ID<Ei4nT-cjq0-5@gated-at.bofh.it>
In reply to#247454
z3fold a choice for zsap compressor module, normally if your seeing a
problem you need to add z3fold to initramfs modules file and rebuild.

see https://baronhk.wordpress.com/2021/10/03/setting-up-zswap-in-debian-11-gnu-linux/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web