Public bug reported:

The psock_tpacket in the net test from ubuntu_kernel_selftests failed with B-KVM
$ sudo ./psock_tpacket 
test: TPACKET_V1 with PACKET_RX_RING open: No such file or directory

Look into the code, it seems that this file not found error is caused by
the attempt to access /proc/kallsyms in test_kernel_bit_width():

static int test_kernel_bit_width(void)
{
        char in[512], *ptr;
        int num = 0, fd;
        ssize_t ret;

        fd = open("/proc/kallsyms", O_RDONLY);
        if (fd == -1) {
                perror("open");
                exit(1);
        }

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1028-kvm 4.15.0-1028.28
ProcVersionSignature: User Name 4.15.0-1028.28-kvm 4.15.18
Uname: Linux 4.15.0-1028-kvm x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Thu Jan 17 08:05:47 2019
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: linux-kvm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic uec-images

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

Title:
  psock_tpacket from the net test in ubuntu_kernel_selftests fail on
  B-KVM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1812176/+subscriptions

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

Reply via email to