Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #43319

Re: kvm kern module

From "Bill Cunningham" <nospam@nspam.invalid>
Newsgroups alt.os.linux
Subject Re: kvm kern module
Date 2017-03-12 17:11 -0500
Organization A noiseless patient Spider
Message-ID <oa4dd4$la3$1@dont-email.me> (permalink)
References <oa1af6$7i7$1@dont-email.me> <eijbh3F2a35U1@mid.individual.net> <oa1tmf$2qr$1@dont-email.me> <eikdviF868gU1@mid.individual.net>

Show all headers | View raw


"J.O. Aho" <user@example.net> wrote in message 
news:eikdviF868gU1@mid.individual.net...
> On 03/11/17 23:31, Bill Cunningham wrote:
>> "J.O. Aho" <user@example.net> wrote in message
>> news:eijbh3F2a35U1@mid.individual.net...
>>> On 03/11/17 18:03, Bill Cunningham wrote:
>>>>  On my fedora version I try to run qemu and it says the kvm kernel 
>>>> module
>>>> is mising. Well I try insmod kvm to load kvm.ko and that doesn't work. 
>>>> I
>>>> tried modprobe kvm and that does it. So what is going on? Is kvm.ko not
>>>> on a
>>>> list to be automatically loaded or something?
>>>
>>> What do you mean by not working? That qemu keeps on telling that kvm
>>> kernel module still missing or that you get error when running
>>> modprobe/insmod?
>>>
>>> It can be as simple as you need to load the other part of the kvm
>>> module, which is CPU specific module kvm_amd or kvm_intel depending on
>>> which CPU you have.
>>
>> Mine is AMD
>>
>> qemu-system-x86_64 -enable-kvm -m 1G -kernel ipxe ,
>>
>> It says kvm not found and no kvm kernel module.
>>
>
> You did run 'yum install @virtualization' on your F20?
>
> You can also check that you still have the kernel modules installed in
> your kernel by running the following command:
>
> ls /lib/modules/`uname -r`/kernel/arch/x86/kvm
>
> If you don't have the kernel modules, then reinstall the kernel. As far
> as I know, at least kernel-3.11.10-301.fc20.x86_64.rpm has the two
> needed kernel modules.
>
> If you happen to find the kernel modules, then maybe you have
> blacklisted them, take a look at /etc/modprobe.d/
>
> Also using dmesg can give you some hints:
> modprove kvm_amd ; dmesg | tail
>
> then you will see why the modprobe failed, if there is something going
> wrong when the system tries to load the kernel module, like the hardware
> support is missing.
>
> For AMD you need to have svm support for kvm, check it with the
> following command:
>
> grep --color svm /proc/cpuinfo
>
> if no rows, no support for kvm. Also you may need to enable
> virtualisation in the BIOS, so it's worth to take a look there too
> before giving up.

    Ok I installed the group basic desktop. And rpms called libsvm and 
anything doing with these and their dependancies. Still no svm in the fllags 
section of cpuinfo.
Hum :( I looked at kernel and I believe it said kernel-3.8 or so. But I have 
seen kvm in the system concerning both intel and AMD processors.

Bill

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-11 12:03 -0500
  Re: kvm kern module Marek Novotny <marek.novotny@marspolar.com> - 2017-03-11 11:46 -0600
    Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-11 13:42 -0500
      Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-11 13:43 -0500
      Re: kvm kern module Marek Novotny <marek.novotny@marspolar.com> - 2017-03-11 15:01 -0600
        Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-11 16:52 -0500
        Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-11 17:22 -0500
          Re: kvm kern module Marek Novotny <marek.novotny@marspolar.com> - 2017-03-11 17:02 -0600
            Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-12 14:43 -0500
              Re: kvm kern module Marek Novotny <marek.novotny@marspolar.com> - 2017-03-12 14:49 -0500
  Re: kvm kern module "J.O. Aho" <user@example.net> - 2017-03-11 23:20 +0100
    Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-11 17:31 -0500
      Re: kvm kern module "J.O. Aho" <user@example.net> - 2017-03-12 09:08 +0100
        Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-12 14:48 -0500
        Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-12 17:11 -0500
        Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-12 17:51 -0500
          Re: kvm kern module "J.O. Aho" <user@example.net> - 2017-03-13 07:13 +0100
            Re: kvm kern module "Bill Cunningham" <nospam@nspam.invalid> - 2017-03-13 12:53 -0500

csiph-web