vGPU: oVirt 4.2.6.1 + GRID K2

Anyone had luck using a GRID K2 for vGPU pass-through? I can't seem to install the driver (367.128-370.28)

There is error to log. Per nVidia instructions, I am trying to install a driver for GRID K2. The driver is "NVIDIA-Linux-x86_64-367.128-grid.run" I get an error message saying "I need to have the gcc-c++ package" It is very possible that I am not doing this correctly.

Il giorno gio 27 set 2018 alle ore 13:23 femi adegoke < ovirt@fateknollogee.com> ha scritto:
Try "yum install gcc-c++" and then try again.
-- SANDRO BONAZZOLA MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f2000000RgRyAAK>

I already tried "yum install gcc-c++" Result is this: # yum install gcc-c++ Loaded plugins: enabled_repos_upload, fastestmirror, imgbased-persist, package_upload, product-id, search-disabled-repos, subscription-manager, vdsmupgrade This system is not registered with an entitlement server. You can use subscription-manager to register. Loading mirror speeds from cached hostfile * ovirt-4.2-epel: mirror.seas.harvard.edu No package gcc-c++ available. Error: Nothing to do Uploading Enabled Repositories Report Loaded plugins: fastestmirror, product-id, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Cannot upload enabled repos report, is this client registered?

Il giorno gio 27 set 2018 alle ore 13:37 femi adegoke < ovirt@fateknollogee.com> ha scritto:
Are you on ovirt-node? If yes you'll need to enable centos repos from /etc/yum.repos.d/
-- SANDRO BONAZZOLA MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f2000000RgRyAAK>

I was not sure if it was ok to enable repos when using oVirt node. The question I still need an answer to is this: "Does GRID K2 work (compatible) in oVirt?"

Il giorno gio 27 set 2018 alle ore 14:01 femi adegoke < ovirt@fateknollogee.com> ha scritto:
See this conversation about K2 on oVirt: https://www.facebook.com/groups/ovirt.openvirtualization/permalink/113687492... If I understand correctly, K2 supports only 2 VMs but should work on oVirt.
-- SANDRO BONAZZOLA MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f2000000RgRyAAK>

When I try yum install gcc-c++, I get this error message at the end. Is it safe to continue trying to install gcc-c++? Error: Package: libstdc++-devel-4.8.5-28.el7.x86_64 (base) Requires: libstdc++(x86-64) = 4.8.5-28.el7 Installed: libstdc++-4.8.5-28.el7_5.1.x86_64 (installed) libstdc++(x86-64) = 4.8.5-28.el7_5.1 Available: libstdc++-4.8.5-28.el7.x86_64 (base) libstdc++(x86-64) = 4.8.5-28.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Il giorno ven 28 set 2018 alle ore 09:45 femi adegoke < ovirt@fateknollogee.com> ha scritto:
When I try yum install gcc-c++, I get this error message at the end. Is it safe to continue trying to install gcc-c++?
You should enable also the updattes repo. the version in base is older thant the one included in oVirt Node
-- SANDRO BONAZZOLA MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f2000000RgRyAAK>

After enabling the update repo, here is the new error: ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.

Il giorno ven 28 set 2018 alle ore 15:57 femi adegoke < ovirt@fateknollogee.com> ha scritto:
I think you need to install kernel-devel and kernel-headers too
-- SANDRO BONAZZOLA MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig> <https://www.redhat.com/en/events/red-hat-open-source-day-italia?sc_cid=701f2000000RgRyAAK>

"kernel-headers-3.10.0-862.11.6.el7.x86_64" was already installed as part of gcc-c++

I installed kernel-devel, new error is: ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release. Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information.
participants (3)
-
femi adegoke
-
Luca 'remix_tj' Lorenzetto
-
Sandro Bonazzola