Skip to contentSkip to conversation

kvm 76 - open /dev/kvm: No such device or address

DISCUSSION Matias Aguirre 4 participants 8 messages Oct 7, 2008 – Oct 8, 2008 KVM

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 23 lines · Matias Aguirre

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:

Quoted 8 lines
# 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

Quoted 5 lines
Signature · 4 lines
-- 
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 28 lines · Dor Laor
Quoted 27 lines · Matias Aguirre

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
Quoted 7 lines
Quoted 4 lines

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.

#3 lore raw
Quoted 2 lines
# 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 <[email protected]>:

Quoted 63 lines
Quoted 38 lines · Dor Laor
Quoted 36 lines · Matias Aguirre

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
Quoted 7 lines
Quoted 4 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 4 lines · Ryota OZAKI
Quoted 3 lines
# dir kvm
crwxrwxrwx 1 root kvm 250, 0 2008-10-07 18:22 kvm
Quoted 8 lines

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.

#5 lore raw
In reply to Matias Aguirre

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.

Quoted 23 lines · Matias Aguirre

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:

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

Any help?

Thanks

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
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.
=======================================================================

#6 lore raw
$ groups
audio floppy video cdrom plugdev web kvm

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

Quoted 52 lines · Michael Malone

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.

Quoted 23 lines · Matias Aguirre

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:

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

Any help?

Thanks

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
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.
=======================================================================

#7 lore raw

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.

Quoted 60 lines · Matias Aguirre
$ groups
audio floppy video cdrom plugdev web kvm

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

Quoted 52 lines · Michael Malone

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.

Quoted 23 lines · Matias Aguirre

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:

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

Any help?

Thanks

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
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.
=======================================================================