public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kvm-intel.ko unable to create /dev/kvm
@ 2008-02-11 12:58 gerryw
  2008-02-11 13:09 ` Michael Tokarev
  0 siblings, 1 reply; 5+ messages in thread
From: gerryw @ 2008-02-11 12:58 UTC (permalink / raw)
  To: kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 267 bytes --]

Hello All,

I'm having some trouble with kvm-60. I'm trying to run it from a flash 
(ram disk). When I load kvm-intel.ko, it doesn't create the device file 
/dev/kvm. Can anyone give me a clue to why this might be so. Is the ram 
disk the problem?

Thanks,
-G






 

[-- Attachment #1.2: Type: text/html, Size: 551 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

* Re: kvm-intel.ko unable to create /dev/kvm
  2008-02-11 12:58 gerryw
@ 2008-02-11 13:09 ` Michael Tokarev
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Tokarev @ 2008-02-11 13:09 UTC (permalink / raw)
  To: gerryw; +Cc: kvm-devel

gerryw@compvia.com wrote:
> 
> Hello All,
> 
> I'm having some trouble with kvm-60. I'm trying to run it from a flash
> (ram disk). When I load kvm-intel.ko, it doesn't create the device file
> /dev/kvm. Can anyone give me a clue to why this might be so. Is the ram
> disk the problem?

a kernel module does not create any device files.
On a modern distribution, udev is usually responsible for creating
device nodes based on which actual devices are present on the system
and which drivers are loaded.

Sometimes a distribution does not include udev (or it's optional) -
in this case static /dev layout is used, that is, a fixed set of
device nodes are created during system install.  In this case you
have to create missing nodes manually.

For /dev/kvm, look at /sys/devices/virtual/misc/kvm/dev - that's
a file with major and minor numbers for the device node.  Create
it like this:

 mknod /dev/kvm c major minor

(where major and minor values are taken from the above mentioned
file).

But kvm support should be here in the first place to start with.
If /sys/devices/virtual/misc/kvm is not here, verify that the
module is actually loaded and found necessary hardware support.
Note that kvm may be disabled in BIOS for example.  Also try
never BIOS if it seems to be here but still doesn't work.

/mjt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

* Re: kvm-intel.ko unable to create /dev/kvm
@ 2008-02-11 13:44 gerryw
  2008-02-11 14:24 ` Avi Kivity
  0 siblings, 1 reply; 5+ messages in thread
From: gerryw @ 2008-02-11 13:44 UTC (permalink / raw)
  To: kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 179 bytes --]

Hi,

Thanks for the speedy reply. I looked in all of the places you mentioned, 
but no file. Are the major/minor numbers static. If so, where can I find 
them?

Thanks,
-G






 

[-- Attachment #1.2: Type: text/html, Size: 464 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

* Re: kvm-intel.ko unable to create /dev/kvm
  2008-02-11 13:44 kvm-intel.ko unable to create /dev/kvm gerryw
@ 2008-02-11 14:24 ` Avi Kivity
  0 siblings, 0 replies; 5+ messages in thread
From: Avi Kivity @ 2008-02-11 14:24 UTC (permalink / raw)
  To: gerryw; +Cc: kvm-devel

gerryw@compvia.com wrote:
>
> Hi,
>
> Thanks for the speedy reply. I looked in all of the places you 
> mentioned, but no file. Are the major/minor numbers static. If so, 
> where can I find them?
>

http://www.lanana.org/docs/device-list/devices-2.6+.txt (char major 10, 
minor 232)

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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

* Re: kvm-intel.ko unable to create /dev/kvm
@ 2008-02-11 15:11 gerryw
  0 siblings, 0 replies; 5+ messages in thread
From: gerryw @ 2008-02-11 15:11 UTC (permalink / raw)
  To: kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 47 bytes --]

Hi,

That's the ticket.  Thank You!

-G






 

[-- Attachment #1.2: Type: text/html, Size: 297 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

end of thread, other threads:[~2008-02-11 15:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-11 13:44 kvm-intel.ko unable to create /dev/kvm gerryw
2008-02-11 14:24 ` Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2008-02-11 15:11 gerryw
2008-02-11 12:58 gerryw
2008-02-11 13:09 ` Michael Tokarev

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