kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kvm 76 - open /dev/kvm: No such device or address
@ 2008-10-07 22:54 Matias Aguirre
  2008-10-07 23:15 ` Dor Laor
  2008-10-07 23:17 ` Michael Malone
  0 siblings, 2 replies; 8+ messages in thread
From: Matias Aguirre @ 2008-10-07 22:54 UTC (permalink / raw)
  To: kvm

Hi all,

Im using 2.6.26.5 kernel and slackware-current distribution. I was 
compiled the latest 76 version of kvm and when i run kvm i return this 
error:

open /dev/kvm: No such device or address
Could not initialize KVM, will disable KVM support

The module is already loaded:

# lsmod
Module                  Size  Used by
kvm_intel              33984  0
kvm                   116156  1 kvm_intel
nvidia               6886800  26

And my CPU have VM support.

# cat /proc/cpuinfo | grep vmx
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 
ssse3 cx16 xtpr lahf_lm
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm 
constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 
ssse3 cx16 xtpr lahf_lm

And the file permission:

# dir /dev/kvm
crw-rwxr-- 1 root kvm 250, 0 2008-10-07 18:22 /dev/kvm


Any help?

Thanks



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: kvm 76 - open /dev/kvm: No such device or address
  2008-10-07 22:54 kvm 76 - open /dev/kvm: No such device or address Matias Aguirre
@ 2008-10-07 23:15 ` Dor Laor
  2008-10-08  5:49   ` Matias Aguirre
  2008-10-07 23:17 ` Michael Malone
  1 sibling, 1 reply; 8+ messages in thread
From: Dor Laor @ 2008-10-07 23:15 UTC (permalink / raw)
  To: Matias Aguirre; +Cc: kvm

Matias Aguirre wrote:
> Hi all,
>
> Im using 2.6.26.5 kernel and slackware-current distribution. I was 
> compiled the latest 76 version of kvm and when i run kvm i return this 
> error:
>
> open /dev/kvm: No such device or address
> Could not initialize KVM, will disable KVM support
>
> The module is already loaded:
>
> # lsmod
> Module                  Size  Used by
> kvm_intel              33984  0
> kvm                   116156  1 kvm_intel
> nvidia               6886800  26
>
> And my CPU have VM support.
>
> # cat /proc/cpuinfo | grep vmx
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx 
> lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est 
> tm2 ssse3 cx16 xtpr lahf_lm
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx 
> lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est 
> tm2 ssse3 cx16 xtpr lahf_lm
>
> And the file permission:
>
> # dir /dev/kvm
> crw-rwxr-- 1 root kvm 250, 0 2008-10-07 18:22 /dev/kvm
>
>
> Any help?
>
> Thanks
>
chmod a+wx /dev/kvm will do the trick
Regards, Dor

>
> -- 
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: kvm 76 - open /dev/kvm: No such device or address
  2008-10-07 22:54 kvm 76 - open /dev/kvm: No such device or address Matias Aguirre
  2008-10-07 23:15 ` Dor Laor
@ 2008-10-07 23:17 ` Michael Malone
  2008-10-08  5:51   ` Matias Aguirre
  1 sibling, 1 reply; 8+ messages in thread
From: Michael Malone @ 2008-10-07 23:17 UTC (permalink / raw)
  To: Matias Aguirre; +Cc: kvm

Also, you might want to make sure that the user you're using to run KVM 
has been added to the kvm group and make sure that your X-session has 
been restarted since this change, or it will not have taken effect.

Matias Aguirre wrote:
> Hi all,
>
> Im using 2.6.26.5 kernel and slackware-current distribution. I was 
> compiled the latest 76 version of kvm and when i run kvm i return this 
> error:
>
> open /dev/kvm: No such device or address
> Could not initialize KVM, will disable KVM support
>
> The module is already loaded:
>
> # lsmod
> Module                  Size  Used by
> kvm_intel              33984  0
> kvm                   116156  1 kvm_intel
> nvidia               6886800  26
>
> And my CPU have VM support.
>
> # cat /proc/cpuinfo | grep vmx
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx 
> lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est 
> tm2 ssse3 cx16 xtpr lahf_lm
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx 
> lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est 
> tm2 ssse3 cx16 xtpr lahf_lm
>
> And the file permission:
>
> # dir /dev/kvm
> crw-rwxr-- 1 root kvm 250, 0 2008-10-07 18:22 /dev/kvm
>
>
> Any help?
>
> Thanks
>
>
> -- 
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: kvm 76 - open /dev/kvm: No such device or address
  2008-10-07 23:15 ` Dor Laor
@ 2008-10-08  5:49   ` Matias Aguirre
  2008-10-08  6:58     ` Ryota OZAKI
  0 siblings, 1 reply; 8+ messages in thread
From: Matias Aguirre @ 2008-10-08  5:49 UTC (permalink / raw)
  To: Dor Laor; +Cc: kvm

Dor Laor wrote:
> Matias Aguirre wrote:
>> Hi all,
>>
>> Im using 2.6.26.5 kernel and slackware-current distribution. I was 
>> compiled the latest 76 version of kvm and when i run kvm i return 
>> this error:
>>
>> open /dev/kvm: No such device or address
>> Could not initialize KVM, will disable KVM support
>>
>> The module is already loaded:
>>
>> # lsmod
>> Module                  Size  Used by
>> kvm_intel              33984  0
>> kvm                   116156  1 kvm_intel
>> nvidia               6886800  26
>>
>> And my CPU have VM support.
>>
>> # cat /proc/cpuinfo | grep vmx
>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
>> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm 
>> pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx 
>> smx est tm2 ssse3 cx16 xtpr lahf_lm
>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
>> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm 
>> pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx 
>> smx est tm2 ssse3 cx16 xtpr lahf_lm
>>
>> And the file permission:
>>
>> # dir /dev/kvm
>> crw-rwxr-- 1 root kvm 250, 0 2008-10-07 18:22 /dev/kvm
>>
>>
>> Any help?
>>
>> Thanks
>>
> chmod a+wx /dev/kvm will do the trick
> Regards, Dor
>
# dir kvm
crwxrwxrwx 1 root kvm 250, 0 2008-10-07 18:22 kvm

$ qemu mtwVirtual/slackware.img
open /dev/kvm: No such device or address
Could not initialize KVM, will disable KVM support


Same issue.

Its rarely, before i can work with kvm without problems but suddenly it 
not work any more.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: kvm 76 - open /dev/kvm: No such device or address
  2008-10-07 23:17 ` Michael Malone
@ 2008-10-08  5:51   ` Matias Aguirre
  2008-10-08 19:33     ` Michael Malone
  0 siblings, 1 reply; 8+ messages in thread
From: Matias Aguirre @ 2008-10-08  5:51 UTC (permalink / raw)
  To: Michael Malone; +Cc: kvm


$ groups
audio floppy video cdrom plugdev web kvm

The user have the kvm group. Can be the CPU broke?

Michael Malone wrote:
> Also, you might want to make sure that the user you're using to run 
> KVM has been added to the kvm group and make sure that your X-session 
> has been restarted since this change, or it will not have taken effect.
>
> Matias Aguirre wrote:
>> Hi all,
>>
>> Im using 2.6.26.5 kernel and slackware-current distribution. I was 
>> compiled the latest 76 version of kvm and when i run kvm i return 
>> this error:
>>
>> open /dev/kvm: No such device or address
>> Could not initialize KVM, will disable KVM support
>>
>> The module is already loaded:
>>
>> # lsmod
>> Module                  Size  Used by
>> kvm_intel              33984  0
>> kvm                   116156  1 kvm_intel
>> nvidia               6886800  26
>>
>> And my CPU have VM support.
>>
>> # cat /proc/cpuinfo | grep vmx
>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
>> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm 
>> pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx 
>> smx est tm2 ssse3 cx16 xtpr lahf_lm
>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
>> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm 
>> pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx 
>> smx est tm2 ssse3 cx16 xtpr lahf_lm
>>
>> And the file permission:
>>
>> # dir /dev/kvm
>> crw-rwxr-- 1 root kvm 250, 0 2008-10-07 18:22 /dev/kvm
>>
>>
>> Any help?
>>
>> Thanks
>>
>>
>> -- 
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
> =======================================================================
> This email, including any attachments, is only for the intended
> addressee.  It is subject to copyright, is confidential and may be
> the subject of legal or other privilege, none of which is waived or
> lost by reason of this transmission.
> If the receiver is not the intended addressee, please accept our
> apologies, notify us by return, delete all copies and perform no
> other act on the email.
> Unfortunately, we cannot warrant that the email has not been
> altered or corrupted during transmission.
> =======================================================================


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: kvm 76 - open /dev/kvm: No such device or address
  2008-10-08  5:49   ` Matias Aguirre
@ 2008-10-08  6:58     ` Ryota OZAKI
  2008-10-08  7:03       ` Matias Aguirre
  0 siblings, 1 reply; 8+ messages in thread
From: Ryota OZAKI @ 2008-10-08  6:58 UTC (permalink / raw)
  To: Matias Aguirre; +Cc: kvm

> # dir kvm
> crwxrwxrwx 1 root kvm 250, 0 2008-10-07 18:22 kvm

Strange. /dev/kvm should be a character device has 10 major
and 232 minor numbers. Deleting /dev/kvm and doing
'mknod /dev/kvm c 10 232' would help you.

Regards,
  ozaki-r

2008/10/8 Matias Aguirre <maguirre@matware.com.ar>:
> Dor Laor wrote:
>>
>> Matias Aguirre wrote:
>>>
>>> Hi all,
>>>
>>> Im using 2.6.26.5 kernel and slackware-current distribution. I was
>>> compiled the latest 76 version of kvm and when i run kvm i return this
>>> error:
>>>
>>> open /dev/kvm: No such device or address
>>> Could not initialize KVM, will disable KVM support
>>>
>>> The module is already loaded:
>>>
>>> # lsmod
>>> Module                  Size  Used by
>>> kvm_intel              33984  0
>>> kvm                   116156  1 kvm_intel
>>> nvidia               6886800  26
>>>
>>> And my CPU have VM support.
>>>
>>> # cat /proc/cpuinfo | grep vmx
>>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
>>> constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3
>>> cx16 xtpr lahf_lm
>>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
>>> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
>>> constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx smx est tm2 ssse3
>>> cx16 xtpr lahf_lm
>>>
>>> And the file permission:
>>>
>>> # dir /dev/kvm
>>> crw-rwxr-- 1 root kvm 250, 0 2008-10-07 18:22 /dev/kvm
>>>
>>>
>>> Any help?
>>>
>>> Thanks
>>>
>> chmod a+wx /dev/kvm will do the trick
>> Regards, Dor
>>
> # dir kvm
> crwxrwxrwx 1 root kvm 250, 0 2008-10-07 18:22 kvm
>
> $ qemu mtwVirtual/slackware.img
> open /dev/kvm: No such device or address
> Could not initialize KVM, will disable KVM support
>
>
> Same issue.
>
> Its rarely, before i can work with kvm without problems but suddenly it not
> work any more.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: kvm 76 - open /dev/kvm: No such device or address
  2008-10-08  6:58     ` Ryota OZAKI
@ 2008-10-08  7:03       ` Matias Aguirre
  0 siblings, 0 replies; 8+ messages in thread
From: Matias Aguirre @ 2008-10-08  7:03 UTC (permalink / raw)
  To: Ryota OZAKI; +Cc: kvm

Ryota OZAKI wrote:
>> # dir kvm
>> crwxrwxrwx 1 root kvm 250, 0 2008-10-07 18:22 kvm
>>     
>
> Strange. /dev/kvm should be a character device has 10 major
> and 232 minor numbers. Deleting /dev/kvm and doing
> 'mknod /dev/kvm c 10 232' would help you.
>
> Regards,
>   ozaki-r
>
>   
Its working. Thanks very much guys.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: kvm 76 - open /dev/kvm: No such device or address
  2008-10-08  5:51   ` Matias Aguirre
@ 2008-10-08 19:33     ` Michael Malone
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Malone @ 2008-10-08 19:33 UTC (permalink / raw)
  To: Matias Aguirre; +Cc: kvm

It's unlikely that the CPU is broken, but intel has vmx turned off by 
default, though if that were off, then kvm-intel shouldn't have loaded.  
Check your (main hardware) bios settings and try again.

Matias Aguirre wrote:
>
> $ groups
> audio floppy video cdrom plugdev web kvm
>
> The user have the kvm group. Can be the CPU broke?
>
> Michael Malone wrote:
>> Also, you might want to make sure that the user you're using to run 
>> KVM has been added to the kvm group and make sure that your X-session 
>> has been restarted since this change, or it will not have taken effect.
>>
>> Matias Aguirre wrote:
>>> Hi all,
>>>
>>> Im using 2.6.26.5 kernel and slackware-current distribution. I was 
>>> compiled the latest 76 version of kvm and when i run kvm i return 
>>> this error:
>>>
>>> open /dev/kvm: No such device or address
>>> Could not initialize KVM, will disable KVM support
>>>
>>> The module is already loaded:
>>>
>>> # lsmod
>>> Module                  Size  Used by
>>> kvm_intel              33984  0
>>> kvm                   116156  1 kvm_intel
>>> nvidia               6886800  26
>>>
>>> And my CPU have VM support.
>>>
>>> # cat /proc/cpuinfo | grep vmx
>>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
>>> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm 
>>> pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx 
>>> smx est tm2 ssse3 cx16 xtpr lahf_lm
>>> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
>>> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm 
>>> pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx 
>>> smx est tm2 ssse3 cx16 xtpr lahf_lm
>>>
>>> And the file permission:
>>>
>>> # dir /dev/kvm
>>> crw-rwxr-- 1 root kvm 250, 0 2008-10-07 18:22 /dev/kvm
>>>
>>>
>>> Any help?
>>>
>>> Thanks
>>>
>>>
>>> -- 
>>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>
>> =======================================================================
>> This email, including any attachments, is only for the intended
>> addressee.  It is subject to copyright, is confidential and may be
>> the subject of legal or other privilege, none of which is waived or
>> lost by reason of this transmission.
>> If the receiver is not the intended addressee, please accept our
>> apologies, notify us by return, delete all copies and perform no
>> other act on the email.
>> Unfortunately, we cannot warrant that the email has not been
>> altered or corrupted during transmission.
>> =======================================================================
>


=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-10-08 19:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-07 22:54 kvm 76 - open /dev/kvm: No such device or address Matias Aguirre
2008-10-07 23:15 ` Dor Laor
2008-10-08  5:49   ` Matias Aguirre
2008-10-08  6:58     ` Ryota OZAKI
2008-10-08  7:03       ` Matias Aguirre
2008-10-07 23:17 ` Michael Malone
2008-10-08  5:51   ` Matias Aguirre
2008-10-08 19:33     ` Michael Malone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).