Jump to content

So I was happily using my virtual gaming rig last week with my windows 10 vm with pci-passthrough gtx 1070 all running on ubuntu server via kvm.

Then I decided to do a release upgrade.

I'm dumb.

 

Now, after several hours of headache, I'm almost back to where I was before. Just one problem:

/lib/modules didn't exist. Which means I have no extra modules, including the kvm module.

 

I got the modules folder created and semi-populated by updating the kernel a bit, but there are still no modules in it besides crypto.

 

How do I get the intel_kvm module back so I can restart my vms??

Build: Intel S2600gz, 2x E5-2670, EVGA SC 1070, Zotac 1060 6GB mini, 48GB Micron 1333mhz ECC DDR3, 2x Intel DPS-750XB 750 watt PSU

https://pcpartpicker.com/user/elerek/saved/3T7D4D

Link to comment
https://linustechtips.com/topic/700692-ubuntu-server-kvm-module-missing/
Share on other sites

Link to post
Share on other sites

I've run update-grub multiple times, qemu-kvm is installed, I manage them from cli with virsh.

Build: Intel S2600gz, 2x E5-2670, EVGA SC 1070, Zotac 1060 6GB mini, 48GB Micron 1333mhz ECC DDR3, 2x Intel DPS-750XB 750 watt PSU

https://pcpartpicker.com/user/elerek/saved/3T7D4D

Link to post
Share on other sites

3 minutes ago, Elerek said:

I've run update-grub multiple times, qemu-kvm is installed, I manage them from cli with virsh.

You have to add the

 intel_iommu=on   

to the grub config file. Did you do that?

 

What error do you get?

Link to post
Share on other sites

the following is in my /etc/default/grub and all my boot options:

GRUB_CMDLINE_LINUX_DEFAULT="nouveau.modset=0 quiet splash intel_iommu=on iommu=pt vfio_iommu_type1.allow_unsafe_interupts=1"

 

 

Build: Intel S2600gz, 2x E5-2670, EVGA SC 1070, Zotac 1060 6GB mini, 48GB Micron 1333mhz ECC DDR3, 2x Intel DPS-750XB 750 watt PSU

https://pcpartpicker.com/user/elerek/saved/3T7D4D

Link to post
Share on other sites

1 minute ago, Elerek said:

the following is in my /etc/default/grub and all my boot options:

GRUB_CMDLINE_LINUX_DEFAULT="nouveau.modset=0 quiet splash intel_iommu=on iommu=pt vfio_iommu_type1.allow_unsafe_interupts=1"

 

 

What happens why you try to start the vm?

 

try reinstalling the qemu-kvm.

Link to post
Share on other sites

Already tried that.

 

Can't try to start the vm because I can't define it:

 

$ virsh define gpu-1.xml
error: Failed to define domain from gpu-1.xml
error: invalid argument: could not find capabilities for domaintype=kvm

Build: Intel S2600gz, 2x E5-2670, EVGA SC 1070, Zotac 1060 6GB mini, 48GB Micron 1333mhz ECC DDR3, 2x Intel DPS-750XB 750 watt PSU

https://pcpartpicker.com/user/elerek/saved/3T7D4D

Link to post
Share on other sites

installing qemu-kvm doesn't install the modules for it :/

Build: Intel S2600gz, 2x E5-2670, EVGA SC 1070, Zotac 1060 6GB mini, 48GB Micron 1333mhz ECC DDR3, 2x Intel DPS-750XB 750 watt PSU

https://pcpartpicker.com/user/elerek/saved/3T7D4D

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×