Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: zswap compressor lz4 not available  (gelezen 285 keer)

zswap compressor lz4 not available
« Gepost op: 2024/03/11, 16:32:21 »
Ik heb volgens de webstek van Pjotr de wijziging inzake advies voor swapneiging (swappiness) gedaan en ik krijg bij het opstarten het onderstaande.
Wat kan ik hier aan doen om het weer werkend te krijgen?
https://imgur.com/a/lnbIA5S
« Laatst bewerkt op: 2024/03/11, 16:34:32 door Mustangman1966 »
Ubuntu 22.04 pc 64 bit  en Ubuntu Server 22.04 met Nextcloud 27

Offline Pjotr

  • Lid
    • Makkelijke Linuxtips
Re: zswap compressor lz4 not available
« Reactie #1 Gepost op: 2024/03/11, 16:45:12 »
Wat zegt:
inxi -Fxxxpmrz

Re: zswap compressor lz4 not available
« Reactie #2 Gepost op: 2024/03/11, 16:47:46 »
Wat zegt:
inxi -Fxxxpmrz
Dit:
System:
  Kernel: 6.5.0-17-generic x86_64 bits: 64 compiler: N/A Desktop: GNOME 42.9
    tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0
    Distro: Ubuntu 22.04.4 LTS (Jammy Jellyfish)
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A
    serial: <superuser required>
  Mobo: ASUSTeK model: H87-PRO v: Rev X.0x serial: <superuser required>
    BIOS: American Megatrends v: 2104 date: 10/28/2014
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: Discharging
Memory:
  RAM: total: 15.55 GiB used: 6.95 GiB (44.7%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: quad core model: Intel Core i5-4670 bits: 64 type: MCP
    smt: <unsupported> arch: Haswell rev: 3 cache: L1: 256 KiB L2: 1024 KiB
    L3: 6 MiB
  Speed (MHz): avg: 2013 high: 3392 min/max: 800/3800 cores: 1: 3392
    2: 2094 3: 1278 4: 1291 bogomips: 27137
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GK107 [GeForce GTX 650] vendor: ASUSTeK driver: nvidia
    v: 470.239.06 pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:0fc6 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 compositor: gnome-shell driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 2560x1024 s-dpi: 95 s-size: 684x271mm (26.9x10.7")
    s-diag: 736mm (29")
  Monitor-1: DVI-D-0 pos: primary,left res: 1280x1024 hz: 60 dpi: 96
    size: 338x270mm (13.3x10.6") diag: 433mm (17")
  Monitor-2: VGA-0 pos: primary,right res: 1280x1024 hz: 60 dpi: 96
    size: 338x270mm (13.3x10.6") diag: 433mm (17")
  OpenGL: renderer: NVIDIA GeForce GTX 650/PCIe/SSE2
    v: 4.6.0 NVIDIA 470.239.06 direct render: Yes
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  Device-2: NVIDIA GK107 HDMI Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0e1b
    class-ID: 0403
  Sound Server-1: ALSA v: k6.5.0-17-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK H81M-C driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.82 TiB used: 287.63 GiB (15.4%)
  ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-08M2NA0
    size: 931.51 GiB speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: GPT
  ID-2: /dev/sdb vendor: Western Digital model: WD10EZEX-08M2NA0
    size: 931.51 GiB speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: 1A01 scheme: MBR
Partition:
  ID-1: / size: 915.32 GiB used: 287.63 GiB (31.4%) fs: ext4 dev: /dev/sda3
  ID-2: /boot/efi size: 512 MiB used: 6.1 MiB (1.2%) fs: vfat
    dev: /dev/sda2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 35 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 10%
Repos:
  Packages: 2373 apt: 2309 flatpak: 35 snap: 29
  Active apt repos in: /etc/apt/sources.list
    1: deb http://nl.archive.ubuntu.com/ubuntu/ jammy main restricted
    2: deb http://nl.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
    3: deb http://nl.archive.ubuntu.com/ubuntu/ jammy universe
    4: deb http://nl.archive.ubuntu.com/ubuntu/ jammy-updates universe
    5: deb http://nl.archive.ubuntu.com/ubuntu/ jammy multiverse
    6: deb http://nl.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
    7: deb http://nl.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
    8: deb http://security.ubuntu.com/ubuntu jammy-security main restricted
    9: deb http://security.ubuntu.com/ubuntu jammy-security universe
    10: deb http://security.ubuntu.com/ubuntu jammy-security multiverse
  Active apt repos in: /etc/apt/sources.list.d/appimagelauncher-team-ubuntu-stable-jammy.list
    1: deb https://ppa.launchpadcontent.net/appimagelauncher-team/stable/ubuntu/ jammy main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/insync.list
    1: deb http://apt.insync.io/ubuntu jammy non-free contrib
  Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
  Active apt repos in: /etc/apt/sources.list.d/opera-stable.list
    1: deb https://deb.opera.com/opera-stable/ stable non-free
  Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
    1: deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
    1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/ubuntu-esm-apps.list
    1: deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-security main
    2: deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates main
  Active apt repos in: /etc/apt/sources.list.d/ubuntu-esm-infra.list
    1: deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main
    2: deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates main
Info:
  Processes: 334 Uptime: 37m wakeups: 2 Init: systemd v: 249 runlevel: 5
  Compilers: gcc: 11.4.0 alt: 11/12 Shell: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.13
Ubuntu 22.04 pc 64 bit  en Ubuntu Server 22.04 met Nextcloud 27

Offline bart85

  • Lid
Re: zswap compressor lz4 not available
« Reactie #3 Gepost op: 2024/03/11, 16:49:46 »
sudo apt-get -y install lz4
Dit ben je nodig
Je leert maar mooi over weg gaan met de commandline. Geen grafische toepassingen voor systeembeheer.
You can never make a system 100% secure unless you unplug the machine from all networks, turn it off, lock it in a safe, smother it in concrete and never use it.

Re: zswap compressor lz4 not available
« Reactie #4 Gepost op: 2024/03/11, 16:57:14 »
sudo apt-get -y install lz4
Dit ben je nodig
Als ik dat heb gedaan, wat moet er dan gebeuren, want dit alleen na een reboot helpt niet.
Ubuntu 22.04 pc 64 bit  en Ubuntu Server 22.04 met Nextcloud 27

Offline Pjotr

  • Lid
    • Makkelijke Linuxtips
Re: zswap compressor lz4 not available
« Reactie #5 Gepost op: 2024/03/11, 17:05:08 »
Je moet waarschijnlijk lz4 ook nog even toevoegen aan /etc/initramfs-tools/modules:
# 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

Gevolgd door:
sudo update-initramfs -u
Wel raar, hoor.... Verschilt Ubuntu 22.04 hierin dan van Linux Mint 21.x?  ???

Betreft het misschien een opgewaardeerde Ubuntu, die oorspronkelijk 20.04 was?
« Laatst bewerkt op: 2024/03/11, 17:21:11 door Pjotr »

Re: zswap compressor lz4 not available
« Reactie #6 Gepost op: 2024/03/11, 17:21:05 »
Je moet waarschijnlijk lz4 ook nog even toevoegen aan /etc/initramfs-tools/modules:
# 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

Gevolgd door:
sudo update-initramfs -u
Wel raar, hoor.... Verschilt Ubuntu 22.04 hierin dan van Linux Mint 21.x?  ???

Het is zeker raar.
Maar het heeft gewerkt, bedankt voor de hulp.
Ubuntu 22.04 pc 64 bit  en Ubuntu Server 22.04 met Nextcloud 27

Offline Pjotr

  • Lid
    • Makkelijke Linuxtips
Re: zswap compressor lz4 not available
« Reactie #7 Gepost op: 2024/03/11, 17:22:01 »
Het is zeker raar.
Maar het heeft gewerkt, bedankt voor de hulp.

Graag gedaan.  :)

Betreft het misschien een naar 22.04 opgewaardeerde Ubuntu 20.04?

Re: zswap compressor lz4 not available
« Reactie #8 Gepost op: 2024/03/11, 17:24:41 »

[/quote]

Graag gedaan.  :)

Betreft het misschien een naar 22.04 opgewaardeerde Ubuntu 20.04?
[/quote]
Dat niet een schone installatie.
Ubuntu 22.04 pc 64 bit  en Ubuntu Server 22.04 met Nextcloud 27

Offline Pjotr

  • Lid
    • Makkelijke Linuxtips
Re: zswap compressor lz4 not available
« Reactie #9 Gepost op: 2024/03/11, 17:29:01 »
Dat niet een schone installatie.

Tja, dan hebben we hier blijkbaar toch een verschil met Mint 21.x te pakken. Merkwaardig, want zo diep "onder de motorkap" vind je eigenlijk nooit verschillen tussen Ubuntu LTS en de Mint die daarop is gebouwd.

Afijn, ik zal de Ubuntu-handleiding hierop aanpassen...