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 Kernel
Packages, which is subscribed to linux-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1812176

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

Status in linux-kvm package in Ubuntu:
  New

Bug description:
  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)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to