I've reproduced this with the 4.15 linux-kvm kernel. I'm not sure why
it's doing this, though:

  ubuntu@sec-bionic-amd64:~$ sudo cat /proc/modules
  kvm_intel 200704 - - Live 0x0000000000000000
  pata_acpi 12288 - - Live 0x0000000000000000
  ubuntu@sec-bionic-amd64:~$ cat /proc/version_signature
  Ubuntu 4.15.0-1004.4-kvm 4.15.15

with the regular 4.15 kernel, on the same host:

  ubuntu@sec-bionic-amd64:~$ cat /proc/version_signature
  Ubuntu 4.15.0-15.16-generic 4.15.15
  ubuntu@sec-bionic-amd64:~$ sudo head -5 /proc/modules
  nf_conntrack_netlink 40960 0 - Live 0xffffffffc05bb000
  nf_conntrack 131072 1 nf_conntrack_netlink, Live 0xffffffffc058d000
  libcrc32c 16384 1 nf_conntrack, Live 0xffffffffc0556000
  nfnetlink 16384 6 nf_conntrack_netlink, Live 0xffffffffc054d000
  snd_hda_codec_generic 73728 1 - Live 0xffffffffc0538000

Digging around in /sys/modules, it looks like the
/proc/modules/MODULE/sections/ tree isn't present in linux-kvm, which is
indicating that CONFIG_KALLSYMS is not set. I *think* this is the
difference that is causing the /proc/modules addresses to always be
zero, at least in the 4.15 kernel, but I haven't tracked down codepaths
enough to ensure that's the case.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1764980

Title:
  test_095_kernel_symbols_missing_proc_modules failed with 4.15 KVM
  kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/1764980/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to