[Bug 1967593] Re: kernel modules going missing after reboot
Matthieu Clemenceau
1967593 at bugs.launchpad.net
Thu Apr 7 15:16:01 UTC 2022
** Tags added: fr-2225
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1967593
Title:
kernel modules going missing after reboot
Status in cloud-initramfs-tools package in Ubuntu:
Confirmed
Status in linux-kvm package in Ubuntu:
New
Status in linux-lowlatency package in Ubuntu:
New
Status in ubuntu-meta package in Ubuntu:
New
Bug description:
EDIT: There are no accurate results in the package search, but it is
for the kernel shown below Linux 5.15.0-23-generic x86_64. Also for
the low latency kernel and other versions 5.4, 5.13, 5.14, 5.17. So it
is not kernel specific. It must be a problem with configuration, but
reinstalling doesnt fix it.
EDIT2: it turns out this is caused by the cloud-initramfs-copymods
package mounting over modules locations. Removed it and reinstalled
kernel modules package (extras didnt seem necessary, but probably
prudent too).
This affects several different kernels I've tried in 22.04.
This post basically sums it up:
https://unix.stackexchange.com/questions/405146/removed-lib-modules-folder-after-every-reboot
detailed answer: https://unix.stackexchange.com/a/499580/346155
And this one from upgrading from 20.04 to 22.04:
https://askubuntu.com/questions/1400470/kernel-module-not-getting-installed-after-upgrade
Basically, for some reason the kernel modules are being mounted over
after reboot.
My image was built on top of a cloud-init image, but removing the recommeded package "cloud-initramfs-copymods" that mounts over modules didnt work for me. Adding the snd_hda_intel module to the boot config /etc/initramfs-tools/modules did fix my issue for this module. But how many others will not be available?
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: user 2189 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
DistroRelease: Ubuntu 22.04
IwConfig:
lo no wireless extensions.
enp1s0 no wireless extensions.
virbr0 no wireless extensions.
Lsusb:
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
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Lsusb-t:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
Package: linux (not installed)
ProcFB: 0 virtio_gpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-23-generic root=UUID=5d51cbd2-a1de-48f6-b8b6-00709c787fa0 ro
ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
RelatedPackageVersions:
linux-restricted-modules-5.15.0-23-generic N/A
linux-backports-modules-5.15.0-23-generic N/A
linux-firmware 20220329.git681281e4-0ubuntu1
RfKill:
Tags: jammy uec-images
Uname: Linux 5.15.0-23-generic x86_64
UpgradeStatus: Upgraded to jammy on 2022-04-01 (1 days ago)
UserGroups: libvirt sudo
WifiSyslog:
_MarkForUpload: True
dmi.bios.date: 04/01/2014
dmi.bios.release: 0.0
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.13.0-1ubuntu1.1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-4.2
dmi.modalias: dmi:bvnSeaBIOS:bvr1.13.0-1ubuntu1.1:bd04/01/2014:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-4.2:cvnQEMU:ct1:cvrpc-q35-4.2:sku:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-4.2
dmi.sys.vendor: QEMU
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: user 2189 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
DistroRelease: Ubuntu 22.04
IwConfig:
lo no wireless extensions.
enp1s0 no wireless extensions.
virbr0 no wireless extensions.
Lsusb:
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
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Lsusb-t:
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
Package: linux (not installed)
ProcFB: 0 virtio_gpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-23-generic root=UUID=5d51cbd2-a1de-48f6-b8b6-00709c787fa0 ro
ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
RelatedPackageVersions:
linux-restricted-modules-5.15.0-23-generic N/A
linux-backports-modules-5.15.0-23-generic N/A
linux-firmware 20220329.git681281e4-0ubuntu1
RfKill:
Tags: jammy uec-images
Uname: Linux 5.15.0-23-generic x86_64
UpgradeStatus: Upgraded to jammy on 2022-04-01 (1 days ago)
UserGroups: libvirt sudo
WifiSyslog:
_MarkForUpload: True
dmi.bios.date: 04/01/2014
dmi.bios.release: 0.0
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.13.0-1ubuntu1.1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-4.2
dmi.modalias: dmi:bvnSeaBIOS:bvr1.13.0-1ubuntu1.1:bd04/01/2014:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-4.2:cvnQEMU:ct1:cvrpc-q35-4.2:sku:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-4.2
dmi.sys.vendor: QEMU
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1967593/+subscriptions
More information about the foundations-bugs
mailing list