GNU bug report logs - #27636
/dev/kvm went missing on i686, Linux 4.12

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Mon, 10 Jul 2017 05:42:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27636 in the body.
You can then email your comments to 27636 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#27636; Package guix. (Mon, 10 Jul 2017 05:42:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 10 Jul 2017 05:42:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: bug-guix <at> gnu.org
Subject: /dev/kvm went missing on i686, Linux 4.12
Date: Mon, 10 Jul 2017 07:40:51 +0200
Since the update to Linux 4.12 my i686 machine no longer has /dev/kvm.
I ran “modprobe kvm” successfully, and “lsmod” shows “kvm”, but the
device node does not exist.

Running “modprobe kvm-intel” prints:

    modprobe: ERROR: could not insert 'kvm_intel': Input/output error

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to bug-guix <at> gnu.org:
bug#27636; Package guix. (Mon, 10 Jul 2017 15:53:02 GMT) Full text and rfc822 format available.

Message #8 received at 27636 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27636 <at> debbugs.gnu.org
Subject: Re: bug#27636: /dev/kvm went missing on i686, Linux 4.12
Date: Mon, 10 Jul 2017 11:52:45 -0400
[Message part 1 (text/plain, inline)]
On Mon, Jul 10, 2017 at 07:40:51AM +0200, Ricardo Wurmus wrote:
> Since the update to Linux 4.12 my i686 machine no longer has /dev/kvm.
> I ran “modprobe kvm” successfully, and “lsmod” shows “kvm”, but the
> device node does not exist.
> 
> Running “modprobe kvm-intel” prints:
> 
>     modprobe: ERROR: could not insert 'kvm_intel': Input/output error

I see the same thing on x86_64, but also with older kernels (at least
the 4.11 series).
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27636; Package guix. (Mon, 10 Jul 2017 17:30:02 GMT) Full text and rfc822 format available.

Message #11 received at 27636 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27636 <at> debbugs.gnu.org
Subject: Re: bug#27636: /dev/kvm went missing on i686, Linux 4.12
Date: Mon, 10 Jul 2017 13:29:18 -0400
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Since the update to Linux 4.12 my i686 machine no longer has /dev/kvm.
> I ran “modprobe kvm” successfully, and “lsmod” shows “kvm”, but the
> device node does not exist.
>
> Running “modprobe kvm-intel” prints:
>
>     modprobe: ERROR: could not insert 'kvm_intel': Input/output error

Does the kernel message buffer mention anything about "kvm" or "KVM"?

  dmesg | grep -i kvm

      Mark




Information forwarded to bug-guix <at> gnu.org:
bug#27636; Package guix. (Mon, 17 Jul 2017 20:07:01 GMT) Full text and rfc822 format available.

Message #14 received at 27636 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 27636 <at> debbugs.gnu.org
Subject: Re: bug#27636: /dev/kvm went missing on i686, Linux 4.12
Date: Mon, 17 Jul 2017 22:06:09 +0200
Mark H Weaver <mhw <at> netris.org> writes:

> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> Since the update to Linux 4.12 my i686 machine no longer has /dev/kvm.
>> I ran “modprobe kvm” successfully, and “lsmod” shows “kvm”, but the
>> device node does not exist.
>>
>> Running “modprobe kvm-intel” prints:
>>
>>     modprobe: ERROR: could not insert 'kvm_intel': Input/output error
>
> Does the kernel message buffer mention anything about "kvm" or "KVM"?
>
>   dmesg | grep -i kvm

No, there is no mention of “kvm” or “KVM” in the kernel messages.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to bug-guix <at> gnu.org:
bug#27636; Package guix. (Tue, 18 Jul 2017 20:03:02 GMT) Full text and rfc822 format available.

Message #17 received at 27636 <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27636 <at> debbugs.gnu.org
Subject: Re: bug#27636: /dev/kvm went missing on i686, Linux 4.12
Date: Tue, 18 Jul 2017 16:02:06 -0400
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Mark H Weaver <mhw <at> netris.org> writes:
>
>> Ricardo Wurmus <rekado <at> elephly.net> writes:
>>
>>> Since the update to Linux 4.12 my i686 machine no longer has /dev/kvm.
>>> I ran “modprobe kvm” successfully, and “lsmod” shows “kvm”, but the
>>> device node does not exist.
>>>
>>> Running “modprobe kvm-intel” prints:
>>>
>>>     modprobe: ERROR: could not insert 'kvm_intel': Input/output error
>>
>> Does the kernel message buffer mention anything about "kvm" or "KVM"?
>>
>>   dmesg | grep -i kvm
>
> No, there is no mention of “kvm” or “KVM” in the kernel messages.

When you looked for "kvm" or "KVM", did your kernel message buffer still
include the initial boot messages?  The kernel message buffer is of a
fixed size, so eventually the early messages are lost.

The reason I ask is because I did some web searches looking for other
people with the same problem, and what I found was that there was
typically a kernel message at boot time explaining why KVM was disabled.

In my case, on my Thinkpad X200 (which I'm sorry to say is running a
proprietary BIOS for now, because I had to replace the motherboard
recently and haven't yet gotten around to buying the needed clip to
reflash) I see the message "kvm: disabled by bios".

I'm fairly sure that I've seen /dev/kvm on this machine in the past.  It
might be that in earlier versions of Linux, /dev/kvm was created even
when it couldn't be used, and now it's created only conditionally, but
that's only a guess.

I haven't made any changes to the kernel configuration except to add
support for new modules and features as they become available, and as
far as I can see, the relevant KVM options are enabled just as they have
been in the past.

If all else fails, you could try using the 4.9 or 4.4 kernel and see if
that makes any difference.

       Mark




Information forwarded to bug-guix <at> gnu.org:
bug#27636; Package guix. (Tue, 18 Jul 2017 20:10:02 GMT) Full text and rfc822 format available.

Message #20 received at 27636 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 27636 <at> debbugs.gnu.org
Subject: Re: bug#27636: /dev/kvm went missing on i686, Linux 4.12
Date: Tue, 18 Jul 2017 22:09:36 +0200
Mark H Weaver <mhw <at> netris.org> writes:

> When you looked for "kvm" or "KVM", did your kernel message buffer still
> include the initial boot messages?  The kernel message buffer is of a
> fixed size, so eventually the early messages are lost.

I ran it immediately after booting 4.12.

> I'm fairly sure that I've seen /dev/kvm on this machine in the past.  It
> might be that in earlier versions of Linux, /dev/kvm was created even
> when it couldn't be used, and now it's created only conditionally, but
> that's only a guess.

I have seen it in the past as well.  It is only with 4.12 that /dev/kvm
is gone.  I have installed 4.9 on this machine and /dev/kvm exists.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to bug-guix <at> gnu.org:
bug#27636; Package guix. (Sun, 23 Jun 2019 04:14:01 GMT) Full text and rfc822 format available.

Message #23 received at 27636 <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 27636 <at> debbugs.gnu.org
Subject: Re: bug#27636: /dev/kvm went missing on i686, Linux 4.12
Date: Sat, 22 Jun 2019 21:13:37 -0700
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> writes:

> Since the update to Linux 4.12 my i686 machine no longer has /dev/kvm.
> I ran “modprobe kvm” successfully, and “lsmod” shows “kvm”, but the
> device node does not exist.
>
> Running “modprobe kvm-intel” prints:
>
>     modprobe: ERROR: could not insert 'kvm_intel': Input/output error

Is this still an issue for you?

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sun, 22 Mar 2020 20:35:01 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Sun, 22 Mar 2020 20:35:02 GMT) Full text and rfc822 format available.

Message #28 received at 27636-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 27636-done <at> debbugs.gnu.org
Subject: Re: bug#27636: /dev/kvm went missing on i686, Linux 4.12
Date: Sun, 22 Mar 2020 16:34:18 -0400
On Sat, Jun 22, 2019 at 09:13:37PM -0700, Chris Marusich wrote:
> Is this still an issue for you?

Closing due to lack of interest.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 20 Apr 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.