Comment 0 for bug 1812198

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This test will attempt to insert the test_user_copy module, but this module does not exist in KVM kernels:

# modprobe test_user_copy
modprobe: FATAL: Module test_user_copy not found in directory /lib/modules/4.15.0-1028-kvm

The script:
if /sbin/modprobe -q test_user_copy; then
        /sbin/modprobe -q -r test_user_copy
        echo "user_copy: ok"
else
        echo "user_copy: [FAIL]"
        exit 1
fi

This test_user_copy will need the CONFIG_TEST_USER_COPY to be enabled

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 10:57:57 2019
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)