Tiny Core Linux

Tiny Core Extensions => TCE Corepure64 => Topic started by: vladfaust2 on May 28, 2019, 12:08:20 PM

Title: kvm extension does not create /dev/kvm on boot
Post by: vladfaust2 on May 28, 2019, 12:08:20 PM
Hello,

I'm trying to install KVM onto Corepure64. I've installed kvm extension, and looks like kernel modules are loaded. This is the output from boot: corepure64 pause showapps tce=sda home=sda:

(https://user-images.githubusercontent.com/7955682/58503425-489cfe00-8191-11e9-8eb9-b14fb509629f.png)

And this is what I got after booting:

(https://user-images.githubusercontent.com/7955682/58503428-4c308500-8191-11e9-9df3-3d28290fc8ba.png)

As you can see, there is no `/dev/kvm`.

I'm running CorePure64-10.0.iso on VirtualBox 6.0.8 on AMD processor with Nested VT-x/AMD-V enabled.

FYI, an Ubuntu-18.04.2-live-server-amd64.iso image run on the same VirtualBox configuration pre-installs kvm and it works flawlessly:

(https://user-images.githubusercontent.com/7955682/58505096-cf9fa580-8194-11e9-8c24-ba0393fc854d.png)

Any help would be highly appreciated!
Title: Re: kvm extension does not create /dev/kvm on boot
Post by: vladfaust2 on May 28, 2019, 12:42:27 PM
For some reason I thought that modprobe -l would list installed modules, but that's not true. lsmod gives better view, confirming that the module isn't loaded at all:

(https://user-images.githubusercontent.com/7955682/58507150-bc430900-8199-11e9-9d85-aeeae79fab25.png)
Title: Re: kvm extension does not create /dev/kvm on boot
Post by: vladfaust2 on May 28, 2019, 12:52:08 PM
Aaand the issue is solved with manual sudo modprobe kvm-amd command!  ::)
Title: Re: kvm extension does not create /dev/kvm on boot
Post by: curaga on May 28, 2019, 11:34:03 PM
Yeah, some modules don't autoload by the kernel. IIRC kvm gets autoloaded when you try to start a VM.