Score:0

lsmod looks suspiciously equal and wrong

cn flag

After having an issue with snap which is not able to mount into /tmp/... I came to this issue where loop module should be loaded.

$ sudo modprobe loop
modprobe: FATAL: Module loop not found in directory /lib/modules/5.4.0

and lsmod finally shows

Module                  Size  Used by
nf_tables_arp           4242  -2
xt_hashlimit            4242  -2
nf_conntrack_sane       4242  -2
nf_conntrack_sip        4242  -2
nf_conntrack_h323       4242  -2
nf_conntrack_snmp       4242  -2
nf_conntrack_tftp       4242  -2
nf_conntrack_pptp       4242  -2
nf_conntrack_proto_gre     4242  -2 nf_conntrack_pptp
ts_kmp                  4242  -2
nf_conntrack_amanda     4242  -2
kpatch_cumulative_134_0_r1     4242  -2
ip6t_MASQUERADE         4242  -2
nf_nat_masquerade_ipv6     4242  -2 ip6t_MASQUERADE
nls_utf8                4242  -2
isofs                   4242  -2
loop                    4242  -2
nft_limit               4242  -2
vhost_vsock             4242  -2
vmw_vsock_virtio_transport_common     4242  -2 vhost_vsock
vsock                   4242  -2 vmw_vsock_virtio_transport_common,vhost_vsock
xt_mark                 4242  -2
openvswitch             4242  -2
raw_diag                4242  -2
nbd                     4242  -2
xt_connlimit            4242  -2
xt_owner                4242  -2
xt_NFLOG                4242  -2
xt_physdev              4242  -2
nft_reject_inet         4242  -2
nft_reject              4242  -2 nft_reject_inet
nft_meta                4242  -2
nft_ct                  4242  -2
nft_hash                4242  -2
nft_rbtree              4242  -2
nf_tables_inet          4242  -2
nft_chain_nat_ipv6      4242  -2
[...]

and also this here should not be there.

[...]
drm                     4242  -2 ast,ttm,drm_kms_helper
libkmod: ERROR ../libkmod/libkmod-module.c:1941 kmod_module_get_holders: could not open '/sys/module/libata/holders': No such file or directory
libata                    -2  -2
pps_core                4242  -2 ptp
[...]

I have a kind of a feeling that something is wrong here. And I also sense that there are multiple issues.

EDIT: The installation is a providers image:

 $ uname -a
Linux x.y.z 5.4.0 #1 SMP Fri Nov 20 21:47:55 MSK 2020 x86_64 x86_64 x86_64 GNU/Linux
$ apt-cache policy linux-image-generic
linux-image-generic:
  Installed: (none)
  Candidate: 5.4.0.89.93
  Version table:
     5.4.0.89.93 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     5.4.0.26.32 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

so maybe I should invest my time in installing Ubuntu from scratch?

muru avatar
us flag
Are you on a VPS or something? Add the output of `uname -a` and `apt-cache policy linux-image-generic` please (or whichever kernel package you're using, if not `generic`)
da-chiller avatar
cn flag
Indeed it's a VPS. Is there general problem with that and ```snap``` ?
muru avatar
us flag
Well, depending on the virtualization method used, your instance might not have its own kernel - it might be using the host system's, so you wouldn't be able to do anything that affects kernel settings. That in turn might cause problems with enabling container-based systems like snaps.
da-chiller avatar
cn flag
The hoster support just responded. But it would be possible in my special case to install from a different image where kernel settings would be available!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.