Public bug reported: I am running a virtual sever at Hetzner who provides a very slim preconfigured installation.
zram-config was not installed so I ran ``` apt install zram-config ``` which installed it without any dependencies. after I started the service with ``` systemctl start zram-config.service ``` I got the following error message in journal: ``` Sep 07 10:53:00 Valheim-Server systemd[1]: Starting Initializes zram swaping... Sep 07 10:53:00 Valheim-Server init-zram-swapping[747]: modprobe: FATAL: Module zram not found in directory /lib/modules/5.15.0-83-generic Sep 07 10:53:00 Valheim-Server init-zram-swapping[745]: /usr/bin/init-zram-swapping: 10: cannot create /sys/block/zram0/disksize: Directory nonexistent Sep 07 10:53:00 Valheim-Server init-zram-swapping[756]: mkswap: cannot open /dev/zram0: No such file or directory Sep 07 10:53:00 Valheim-Server init-zram-swapping[758]: swapon: cannot open /dev/zram0: No such file or directory ``` I tried to locate zram.ko, but it was missing, so I tried to find out with ``` dkpg -S zram.ko ``` which package contained it: linux-modules-extra-5.15.0-83-generic After I manually installed that specific package, zram started working with ``` systemctl restart zram-config.service ``` I know, this might be a corner-case, but I found at least two other posts with the same problem in a very short time. Now my question. Would it be possible to add linux-modules-extra-xxxx- generic as a dependency zo zram-config, since it is not useable without it? ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-5.15.0-83-generic 5.15.0-83.92 ProcVersionSignature: Ubuntu 5.15.0-83.92-generic 5.15.116 Uname: Linux 5.15.0-83-generic x86_64 AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Sep 7 10:52 seq crw-rw---- 1 root audio 116, 33 Sep 7 10:52 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A CasperMD5CheckResult: unknown CloudArchitecture: x86_64 CloudID: hetzner CloudName: hetzner CloudPlatform: hetzner CloudSubPlatform: metadata (http://169.254.169.254/hetzner/v1/metadata) Date: Thu Sep 7 11:15:24 2023 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Lsusb-t: /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M MachineType: Hetzner vServer PciMultimedia: ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 virtio_gpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-83-generic root=UUID=35547664-ba55-4fc4-8762-754c30e132f0 ro consoleblank=0 systemd.show_status=true console=tty1 console=ttyS0 RelatedPackageVersions: linux-restricted-modules-5.15.0-83-generic N/A linux-backports-modules-5.15.0-83-generic N/A linux-firmware 20220329.git681281e4-0ubuntu3.18 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/11/2017 dmi.bios.release: 1.0 dmi.bios.vendor: Hetzner dmi.bios.version: 20171111 dmi.board.name: Standard PC (Q35 + ICH9, 2009) dmi.board.vendor: KVM dmi.board.version: pc-q35-6.2 dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: NotSpecified dmi.modalias: dmi:bvnHetzner:bvr20171111:bd11/11/2017:br1.0:svnHetzner:pnvServer:pvr20171111:rvnKVM:rnStandardPC(Q35+ICH9,2009):rvrpc-q35-6.2:cvnQEMU:ct1:cvrNotSpecified:skuTM: dmi.product.family: Hetzner_vServer dmi.product.name: vServer dmi.product.sku: TM dmi.product.version: 20171111 dmi.sys.vendor: Hetzner ** Affects: linux (Ubuntu) Importance: Undecided Status: Confirmed ** Tags: amd64 apport-bug jammy uec-images -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2034699 Title: zram-config has a missing dependency on linux-modules-extra-xxxx- generic Status in linux package in Ubuntu: Confirmed Bug description: I am running a virtual sever at Hetzner who provides a very slim preconfigured installation. zram-config was not installed so I ran ``` apt install zram-config ``` which installed it without any dependencies. after I started the service with ``` systemctl start zram-config.service ``` I got the following error message in journal: ``` Sep 07 10:53:00 Valheim-Server systemd[1]: Starting Initializes zram swaping... Sep 07 10:53:00 Valheim-Server init-zram-swapping[747]: modprobe: FATAL: Module zram not found in directory /lib/modules/5.15.0-83-generic Sep 07 10:53:00 Valheim-Server init-zram-swapping[745]: /usr/bin/init-zram-swapping: 10: cannot create /sys/block/zram0/disksize: Directory nonexistent Sep 07 10:53:00 Valheim-Server init-zram-swapping[756]: mkswap: cannot open /dev/zram0: No such file or directory Sep 07 10:53:00 Valheim-Server init-zram-swapping[758]: swapon: cannot open /dev/zram0: No such file or directory ``` I tried to locate zram.ko, but it was missing, so I tried to find out with ``` dkpg -S zram.ko ``` which package contained it: linux-modules-extra-5.15.0-83-generic After I manually installed that specific package, zram started working with ``` systemctl restart zram-config.service ``` I know, this might be a corner-case, but I found at least two other posts with the same problem in a very short time. Now my question. Would it be possible to add linux-modules-extra-xxxx- generic as a dependency zo zram-config, since it is not useable without it? ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-5.15.0-83-generic 5.15.0-83.92 ProcVersionSignature: Ubuntu 5.15.0-83.92-generic 5.15.116 Uname: Linux 5.15.0-83-generic x86_64 AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Sep 7 10:52 seq crw-rw---- 1 root audio 116, 33 Sep 7 10:52 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A CasperMD5CheckResult: unknown CloudArchitecture: x86_64 CloudID: hetzner CloudName: hetzner CloudPlatform: hetzner CloudSubPlatform: metadata (http://169.254.169.254/hetzner/v1/metadata) Date: Thu Sep 7 11:15:24 2023 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Lsusb-t: /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M MachineType: Hetzner vServer PciMultimedia: ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 virtio_gpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-83-generic root=UUID=35547664-ba55-4fc4-8762-754c30e132f0 ro consoleblank=0 systemd.show_status=true console=tty1 console=ttyS0 RelatedPackageVersions: linux-restricted-modules-5.15.0-83-generic N/A linux-backports-modules-5.15.0-83-generic N/A linux-firmware 20220329.git681281e4-0ubuntu3.18 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/11/2017 dmi.bios.release: 1.0 dmi.bios.vendor: Hetzner dmi.bios.version: 20171111 dmi.board.name: Standard PC (Q35 + ICH9, 2009) dmi.board.vendor: KVM dmi.board.version: pc-q35-6.2 dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: NotSpecified dmi.modalias: dmi:bvnHetzner:bvr20171111:bd11/11/2017:br1.0:svnHetzner:pnvServer:pvr20171111:rvnKVM:rnStandardPC(Q35+ICH9,2009):rvrpc-q35-6.2:cvnQEMU:ct1:cvrNotSpecified:skuTM: dmi.product.family: Hetzner_vServer dmi.product.name: vServer dmi.product.sku: TM dmi.product.version: 20171111 dmi.sys.vendor: Hetzner To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2034699/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp