apport information ** Tags added: apport-collected arm64-image impish raspi-image uec- images
** Description changed: Sorry I'm new to Ubuntu but I have been trying to get microK8s to work on my Raspi Pi4/8Gb for a while now - the instructions are simple enough and I have K8s and Docker running and working on other OS so... But no matter what I try I can't get a stable set of services running. Having investigated this I think the problem could be something to do with this: The microk8s inspect command reports iptables/1.8.7 Failed to initialize nft: Protocol not supported ERROR: Couldn't determine iptables version Following various threads on the internet people suggest checking if iptables is part of the kernel or a module ubuntu@aitu20pi42:~$ grep -i iptables /boot/config-$(uname -r) CONFIG_IP_NF_IPTABLES=m CONFIG_IP6_NF_IPTABLES=m # iptables trigger is under Netfilter config (LED target) So checking if the iptables module is installed / present ubuntu@aitu20pi42:~$ modinfo ip_tables modinfo: ERROR: Module ip_tables not found. ubuntu@aitu20pi42:~$ modprobe ip_tables modprobe: FATAL: Module ip_tables not found in directory /lib/modules/5.13.0-1017-raspi From the package file list and what I have read I would expect to find a file /lib/modules/5.13.0-1017-raspi/kernel/net/ipv4/netfilter/ip_tables.ko But in fact there are only these two modules in /net/ipv4 ubuntu@aitu20pi42:~$ ls /lib/modules/5.13.0-1017-raspi/kernel/net/ipv4 gre.ko udp_tunnel.ko there is no netfilter directory in either /ipv4 or /ipv6 or /bridge ubuntu@aitu20pi42:~$ ls /lib/modules/5.13.0-1017-raspi/kernel/net/ipv6 ip6_tunnel.ko ip6_udp_tunnel.ko tunnel6.ko. While trying to resolve my problem I came across suggestions that said to try reinstalling the linux-modules package (because that's where they are?) so I've tried with linux-modules-5.13.0-1016-raspi and I've just upgraded to linux- modules-5.13.0-1017-raspi to no avail. I also came across this Bug #1942691 https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1942691 and while I appreciate they are missing a different module; rpi-poe-fan, some of what they describe; "I can['t] even find it under the relevant path in /lib/modules." and "If I do not put the module in /etc/initramfs-tools/modules the module will not be there after a reboot (e.g. remove from the filesystem). And this is so for a lot of the other modules. I am booting from iSCSI and even the NFS modules are gone. As far as I know this wasn't the case in previous version." So I'm wondering if these issues are related and my problem is perhaps part of a wider problem? I know my problem originally manifested itself as an issue with microk8s and I'm not convinced that it is solely down to a missing ip_tables modules but I don't think its just a microk8s problem because if I try to do anything with the firewall for example ubuntu@aitu20pi42:~$ sudo ufw status ERROR: Couldn't determine iptables version or ubuntu@aitu20pi42:~$ sudo iptables -P FORWARD ACCEPT iptables/1.8.7 Failed to initialize nft: Protocol not supported I get the same problem but ufw is just a wrapper around iptables and since ufw is installed it seems reasonable to expect that its dependencies are installed also. I'm obviously not a linux expert but I'm not alone in thinking that I should be able to find a whole bunch of *.ko files beneath /lib/modules/**/ or more than I can presently. If you need any more information from me, to investigate this further, then please let me know what commands to run and I'll report back what I find. System info below. ======================================== Welcome to Ubuntu 21.10 (GNU/Linux 5.13.0-1017-raspi aarch64) System load: 1.13 Temperature: 37.0 C Usage of /: 4.7% of 223.19GB Processes: 142 Memory usage: 2% Users logged in: 0 Swap usage: 0% IPv4 address for eth0: 192.168.1.58 ubuntu@aitu20pi42:~$ lsb_release -rd Description: Ubuntu 21.10 Release: 21.10 + --- + ProblemType: Bug + AlsaDevices: + total 0 + crw-rw---- 1 root audio 116, 33 Jan 10 04:08 timer + AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' + ApportVersion: 2.20.11-0ubuntu71 + Architecture: arm64 + ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' + AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/timer'] failed with exit code 1: + CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found. + CasperMD5CheckResult: unknown + DistroRelease: Ubuntu 21.10 + ImageMediaBuild: 20211013 + IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' + Lspci-vt: -[0000:00]---00.0-[01]----00.0 VIA Technologies, Inc. VL805/806 xHCI USB 3.0 Controller + Lsusb: + Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub + Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge + Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub + Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub + Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub + Lsusb-t: + /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=dwc2/1p, 480M + /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M + |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M + /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M + |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M + Package: linux-raspi 5.13.0.1017.22 + PackageArchitecture: arm64 + PciMultimedia: + + ProcEnviron: + TERM=xterm-256color + PATH=(custom, no user) + LANG=en_GB.UTF-8 + SHELL=/bin/bash + ProcFB: + + ProcKernelCmdLine: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:48:D5:14 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 dwc_otg.lpm_enable=-1 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash cgroup_enable=memory cgroup_memory=1 + ProcVersionSignature: Ubuntu 5.13.0-1017.19-raspi 5.13.19 + RelatedPackageVersions: + linux-restricted-modules-5.13.0-1017-raspi N/A + linux-backports-modules-5.13.0-1017-raspi N/A + linux-firmware 1.201.4 + RfKill: Error: [Errno 2] No such file or directory: 'rfkill' + Tags: arm64-image raspi-image impish uec-images + Uname: Linux 5.13.0-1017-raspi aarch64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: N/A + _MarkForUpload: True + acpidump: ** Attachment added: "CurrentDmesg.txt" https://bugs.launchpad.net/bugs/1962053/+attachment/5563762/+files/CurrentDmesg.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1962053 Title: Modules missing from package install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1962053/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs