public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* could not open /dev/kvm
@ 2007-04-18 18:29 Benjamin Budts
       [not found] ` <4626638D.8080709-FwLs51Cl57fY4EFHVxF16w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Budts @ 2007-04-18 18:29 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


Hi,

I'm running debian, installed kvm-18 from source, it installed fine...

I have an intel s5000pal motherboard with dual core xeon 64bit, 
virtualization enabled in my bios.

question 1 : is it normal i dont have this file : qemu-system-x86_64 , i 
only have the qemu file in my /bin

kvm and kvm_intel load fine with modprobe without errors or info in dmesg.

toranaga:/usr/src/kvm-18# lsmod
Module                  Size  Used by
kvm_intel              19852  0
kvm                    55128  1 kvm_intel

I did the following :

./qemu-img create -f qcow2 /virtual/test/vtest.img 5G
works out fine...

./qemu . -hda /virtual/test/vtest.img -cdrom /virtual/win_corp.iso -boot 
d -m 512 -no-acpi

gives the following error : could not open /dev/kvm ...

in /proc/misc I found kvm as well :

  62 kvm

but I dont have the /dev/kvm  ... udev is installed though

can someone push me in the right direction please ?  :)

thx !

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

* Re: could not open /dev/kvm
       [not found] ` <4626638D.8080709-FwLs51Cl57fY4EFHVxF16w@public.gmane.org>
@ 2007-04-19  6:09   ` Avi Kivity
       [not found]     ` <462707A0.40907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2007-04-19  6:09 UTC (permalink / raw)
  To: Benjamin Budts; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Benjamin Budts wrote:
> Hi,
>
> I'm running debian, installed kvm-18 from source, it installed fine...
>
> I have an intel s5000pal motherboard with dual core xeon 64bit, 
> virtualization enabled in my bios.
>
> question 1 : is it normal i dont have this file : qemu-system-x86_64 , i 
> only have the qemu file in my /bin
>
> kvm and kvm_intel load fine with modprobe without errors or info in dmesg.
>
> toranaga:/usr/src/kvm-18# lsmod
> Module                  Size  Used by
> kvm_intel              19852  0
> kvm                    55128  1 kvm_intel
>
> I did the following :
>
> ./qemu-img create -f qcow2 /virtual/test/vtest.img 5G
> works out fine...
>
> ./qemu . -hda /virtual/test/vtest.img -cdrom /virtual/win_corp.iso -boot 
> d -m 512 -no-acpi
>
> gives the following error : could not open /dev/kvm ...
>
> in /proc/misc I found kvm as well :
>
>   62 kvm
>
> but I dont have the /dev/kvm  ... udev is installed though
>
> can someone push me in the right direction please ?  :)
>
>   

Is udevd alive?  What does 'pgrep udevd' show?

Does udevtrigger help?

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

* Re: could not open /dev/kvm
       [not found]     ` <462707A0.40907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-04-22  4:00       ` Benjamin Budts
       [not found]         ` <462ADDD7.4080704-rJAIWvhRp0CZIoH1IeqzKA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Budts @ 2007-04-22  4:00 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Benjamin Budts

Hi,

I made an mknod myself now, did a cat of /sys/class/misc/kvm/dev
18 64

and did a
mknod /dev/kvm c 18 64

everything OK now

how come I dont have the /dev automatically ?

udevtrigger didn't help, pgrep udevd showed the pid of udevd... so it 
was alive and kicking.
even recompiled the whole thing with modules loaded and had the same 
problem. recreated it manually with mknod...

i'm running the latest stable debian etch kernel 2.6.20.7

grtZ

Ben


Avi Kivity wrote:
> Benjamin Budts wrote:
>   
>> Hi,
>>
>> I'm running debian, installed kvm-18 from source, it installed fine...
>>
>> I have an intel s5000pal motherboard with dual core xeon 64bit, 
>> virtualization enabled in my bios.
>>
>> question 1 : is it normal i dont have this file : qemu-system-x86_64 , i 
>> only have the qemu file in my /bin
>>
>> kvm and kvm_intel load fine with modprobe without errors or info in dmesg.
>>
>> toranaga:/usr/src/kvm-18# lsmod
>> Module                  Size  Used by
>> kvm_intel              19852  0
>> kvm                    55128  1 kvm_intel
>>
>> I did the following :
>>
>> ./qemu-img create -f qcow2 /virtual/test/vtest.img 5G
>> works out fine...
>>
>> ./qemu . -hda /virtual/test/vtest.img -cdrom /virtual/win_corp.iso -boot 
>> d -m 512 -no-acpi
>>
>> gives the following error : could not open /dev/kvm ...
>>
>> in /proc/misc I found kvm as well :
>>
>>   62 kvm
>>
>> but I dont have the /dev/kvm  ... udev is installed though
>>
>> can someone push me in the right direction please ?  :)
>>
>>   
>>     
>
> Is udevd alive?  What does 'pgrep udevd' show?
>
> Does udevtrigger help?
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

* Re: could not open /dev/kvm
       [not found]         ` <462ADDD7.4080704-rJAIWvhRp0CZIoH1IeqzKA@public.gmane.org>
@ 2007-04-22  9:07           ` Avi Kivity
  0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2007-04-22  9:07 UTC (permalink / raw)
  To: Benjamin Budts; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Benjamin Budts

Benjamin Budts wrote:
> Hi,
>
> I made an mknod myself now, did a cat of /sys/class/misc/kvm/dev
> 18 64
>
> and did a
> mknod /dev/kvm c 18 64
>
> everything OK now
>
> how come I dont have the /dev automatically ?
>
> udevtrigger didn't help, pgrep udevd showed the pid of udevd... so it 
> was alive and kicking.
> even recompiled the whole thing with modules loaded and had the same 
> problem. recreated it manually with mknod...
>
> i'm running the latest stable debian etch kernel 2.6.20.7
>
>   

Sorry, no idea.  Maybe as the debian people?

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

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

end of thread, other threads:[~2007-04-22  9:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-18 18:29 could not open /dev/kvm Benjamin Budts
     [not found] ` <4626638D.8080709-FwLs51Cl57fY4EFHVxF16w@public.gmane.org>
2007-04-19  6:09   ` Avi Kivity
     [not found]     ` <462707A0.40907-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-22  4:00       ` Benjamin Budts
     [not found]         ` <462ADDD7.4080704-rJAIWvhRp0CZIoH1IeqzKA@public.gmane.org>
2007-04-22  9:07           ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox