All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darryl Dixon <esrever_otua@pythonhacker.is-a-geek.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH]   Re: KQEMU error, unable to get major 254
Date: Fri, 11 Feb 2005 14:41:04 +1300	[thread overview]
Message-ID: <1108086064.5629.8.camel@localhost.localdomain> (raw)
In-Reply-To: <1108084799.5629.3.camel@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1860 bytes --]

I have worked around this temporarily with the following patch:

diff -ru qemu/kqemu/install.sh qemu_major250/kqemu/install.sh
--- qemu/kqemu/install.sh       2005-02-11 11:10:28.000000000 +1300
+++ qemu_major250/kqemu/install.sh      2005-02-11 14:24:04.000000000
+1300
@@ -20,5 +20,5 @@
 # Create the kqemu device. No special priviledge is needed to use
kqemu.
 device="/dev/kqemu"
 rm -f $device
-mknod $device c 254 0
+mknod $device c 250 0
 chmod 666 $device
Only in qemu_major250/kqemu: .kmod.o.cmd
diff -ru qemu/kqemu/kqemu.h qemu_major250/kqemu/kqemu.h
--- qemu/kqemu/kqemu.h  2005-02-11 11:10:28.000000000 +1300
+++ qemu_major250/kqemu/kqemu.h 2005-02-11 14:23:46.000000000 +1300
@@ -1,7 +1,7 @@
 #ifndef KQEMU_H
 #define KQEMU_H

-#define KQEMU_MAJOR 254
+#define KQEMU_MAJOR 250

 #define KQEMU_VERSION 0x010000



Cheers,
D




On Fri, 2005-02-11 at 14:19 +1300, Darryl Dixon wrote:

> Hi Fabrice,
> 
>     I have managed to download the latest cvs and tried it out on
> Fedora Core 3 (kernel 2.6.10).  It seems that for some reason the
> kqemu module is unable to be assigned major device number 254.  Below
> are the errors:
> [root@localhost ~]# modprobe kqemu
> FATAL: Error inserting kqemu
> (/lib/modules/2.6.10-1.760_FC3/misc/kqemu.ko): Device or resource busy
> [root@localhost ~]# tail /var/log/messages
> Feb 11 14:14:07 localhost kernel: QEMU Accelerator Module version
> 1.0.0, Copyright (c) 2005 Fabrice Bellard
> Feb 11 14:14:07 localhost kernel: This is a proprietary product. Read
> the LICENSE file for more information
> Feb 11 14:14:07 localhost kernel: Redistribution of this module is
> prohibited without authorization
> Feb 11 14:14:07 localhost kernel: kqemu: could not get major 254
> 
> 
> Regards,
> -- 
> Darryl Dixon <esrever_otua@pythonhacker.is-a-geek.net>

-- 
Darryl Dixon <esrever_otua@pythonhacker.is-a-geek.net>

[-- Attachment #2: Type: text/html, Size: 3268 bytes --]

  reply	other threads:[~2005-02-11  1:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-11  1:19 [Qemu-devel] KQEMU error, unable to get major 254 Darryl Dixon
2005-02-11  1:41 ` Darryl Dixon [this message]
2005-02-11  1:47 ` Hetz Ben Hamo
  -- strict thread matches above, loose matches on Subject: below --
2005-02-12  0:23 [Qemu-devel] [PATCH] " Jean-Christian de Rivaz
2005-02-12  1:14 ` Paul Brook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1108086064.5629.8.camel@localhost.localdomain \
    --to=esrever_otua@pythonhacker.is-a-geek.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.