qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] kqemu NOT working with devfs
@ 2005-02-11  7:18 Jens Arm
  2005-02-11 11:35 ` Martin Moeller
  2005-02-11 12:08 ` Hetz Ben Hamo
  0 siblings, 2 replies; 6+ messages in thread
From: Jens Arm @ 2005-02-11  7:18 UTC (permalink / raw)
  To: qemu-devel

Hi

If I load the module I get:

kqemu: module license 'unspecified' taints kernel.
QEMU Accelerator Module version 1.0.0, Copyright (c) 2005 Fabrice Bellard
This is a proprietary product. Read the LICENSE file for more information
Redistribution of this module is prohibited without authorization
kqemu: could not get major 254

Problem is:

[root@tux root]# ll /dev/.devfsd 
crw-------    1 root     root     254,   0 Jan  1  1970 /dev/.devfsd

The 254 is used by devfs :(


If I start now qemu I get: 
warning: could not create temporary file in '/dev/shm'.

Must I change the dir /dev/shm so that a normal user can write?

Jens

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

* Re: [Qemu-devel] kqemu NOT working with devfs
  2005-02-11  7:18 [Qemu-devel] kqemu NOT working with devfs Jens Arm
@ 2005-02-11 11:35 ` Martin Moeller
  2005-02-11 13:12   ` Pavel Janík
  2005-02-11 12:08 ` Hetz Ben Hamo
  1 sibling, 1 reply; 6+ messages in thread
From: Martin Moeller @ 2005-02-11 11:35 UTC (permalink / raw)
  To: qemu-devel

Fredag 11 februar 2005 08:18 skrev Jens Arm:
> Hi
>
[...]
> Problem is:
>
> [root@tux root]# ll /dev/.devfsd
> crw-------    1 root     root     254,   0 Jan  1  1970 /dev/.devfsd
>
> The 254 is used by devfs :(
It seems to be in use on SUSE LINUX 9.2 as well:

crw-------   1 root   root    254,   0 2004-10-02 10:38 ipmi0

/Martin.

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

* Re: [Qemu-devel] kqemu NOT working with devfs
  2005-02-11  7:18 [Qemu-devel] kqemu NOT working with devfs Jens Arm
  2005-02-11 11:35 ` Martin Moeller
@ 2005-02-11 12:08 ` Hetz Ben Hamo
  1 sibling, 0 replies; 6+ messages in thread
From: Hetz Ben Hamo @ 2005-02-11 12:08 UTC (permalink / raw)
  To: qemu-devel

Jens,

Look at the mailing list - someone already submitted a patch which
changes the major number 254 to something other (some people use 253,
other - 250)...

Thanks,
Hetz


On Fri, 11 Feb 2005 08:18:33 +0100, Jens Arm <Jens.Arm@gmx.de> wrote:
> Hi
> 
> If I load the module I get:
> 
> kqemu: module license 'unspecified' taints kernel.
> QEMU Accelerator Module version 1.0.0, Copyright (c) 2005 Fabrice Bellard
> This is a proprietary product. Read the LICENSE file for more information
> Redistribution of this module is prohibited without authorization
> kqemu: could not get major 254
> 
> Problem is:
> 
> [root@tux root]# ll /dev/.devfsd
> crw-------    1 root     root     254,   0 Jan  1  1970 /dev/.devfsd
> 
> The 254 is used by devfs :(
> 
> If I start now qemu I get:
> warning: could not create temporary file in '/dev/shm'.
> 
> Must I change the dir /dev/shm so that a normal user can write?
> 
> Jens
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

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

* Re: [Qemu-devel] kqemu NOT working with devfs
  2005-02-11 11:35 ` Martin Moeller
@ 2005-02-11 13:12   ` Pavel Janík
  2005-02-11 16:37     ` Martin Moeller
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Janík @ 2005-02-11 13:12 UTC (permalink / raw)
  To: qemu-devel

   From: Martin Moeller <martin@liga.dk>
   Date: Fri, 11 Feb 2005 12:35:25 +0100

   > It seems to be in use on SUSE LINUX 9.2 as well:
   > 
   > crw-------   1 root   root    254,   0 2004-10-02 10:38 ipmi0

This only means that if you actually use IPMI, your tools will communicate
with kernel using character device with major 254.

If you do not use IPMI and thus do not have kernel modules loaded, you are
OK. Please verify by:

cat /proc/devices

in section "Character device:" if major 254 is already in use. On my
system, e.g.:

Character devices:
...
254 pcmcia
-- 
Pavel Janík

I forgot that in Linux the GUI isn't part of the OS but patched on 
top of it with duck-tape :-)
                  -- Waldo Bastian <bastian@kde.org>

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

* Re: [Qemu-devel] kqemu NOT working with devfs
  2005-02-11 13:12   ` Pavel Janík
@ 2005-02-11 16:37     ` Martin Moeller
  2005-02-11 20:27       ` Pavel Janík
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Moeller @ 2005-02-11 16:37 UTC (permalink / raw)
  To: qemu-devel

Fredag 11 februar 2005 14:12 skrev Pavel Janík:
>    From: Martin Moeller <martin@liga.dk>
>    Date: Fri, 11 Feb 2005 12:35:25 +0100
>
>    > It seems to be in use on SUSE LINUX 9.2 as well:
>    >
>    > crw-------   1 root   root    254,   0 2004-10-02 10:38 ipmi0
>
> This only means that if you actually use IPMI, your tools will communicate
> with kernel using character device with major 254.
>
> If you do not use IPMI and thus do not have kernel modules loaded, you are
> OK. Please verify by:
>
> cat /proc/devices
>
> in section "Character device:" if major 254 is already in use. On my
> system, e.g.:
>
> Character devices:
> ...
> 254 pcmcia
It says:

martin:/tmp # cat /proc/devices | grep 254
254 mdp

I doubt I'm using IPMI as such, but wouldn't there be a conflict if I had two 
device nodes of the same major and minor number?

I used the '250' patch and am quite happily installing Debian Sarge in a KQemu 
Qemu at the moment...

/Martin.

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

* Re: [Qemu-devel] kqemu NOT working with devfs
  2005-02-11 16:37     ` Martin Moeller
@ 2005-02-11 20:27       ` Pavel Janík
  0 siblings, 0 replies; 6+ messages in thread
From: Pavel Janík @ 2005-02-11 20:27 UTC (permalink / raw)
  To: qemu-devel

   From: Martin Moeller <martin@liga.dk>
   Date: Fri, 11 Feb 2005 17:37:28 +0100

   > I doubt I'm using IPMI as such, but wouldn't there be a conflict if
   > I had two device nodes of the same major and minor number?

No. Only the first one used from { IPMI, kqemu } will work though ;-)

   > I used the '250' patch and am quite happily installing Debian Sarge in
   > a KQemu Qemu at the moment...

Great!
-- 
Pavel Janík

I don't deal with that (in fact, I *couldn't*, because
of the asinine BK license.)
                  -- H. Peter Anvin about BK snapshots

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

end of thread, other threads:[~2005-02-11 20:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-11  7:18 [Qemu-devel] kqemu NOT working with devfs Jens Arm
2005-02-11 11:35 ` Martin Moeller
2005-02-11 13:12   ` Pavel Janík
2005-02-11 16:37     ` Martin Moeller
2005-02-11 20:27       ` Pavel Janík
2005-02-11 12:08 ` Hetz Ben Hamo

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).