KQEMU error, unable to get major 254
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,
Signature · 1 line
Darryl Dixon <[email protected]>
I have worked around this temporarily with the following patch:
kqemu/install.sh 2005-02-11 14:24:04.000000000 renamed from kqemu/install.sh 2005-02-11 11:10:28.000000000 +1300 +0 -0
+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
kqemu/kqemu.h 2005-02-11 14:23:46.000000000 +1300 renamed from kqemu/kqemu.h 2005-02-11 11:10:28.000000000 +1300 +1 -1
@@ -1,7 +1,7 @@ #ifndef KQEMU_H #define KQEMU_H -#define KQEMU_MAJOR 254 +#define KQEMU_MAJOR 250 #define KQEMU_VERSION 0x010000
Cheers,
D
Quoted 22 lines · Darryl Dixon
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/messagesFeb 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 254Regards,
Signature · 1 line
Darryl Dixon <[email protected]>
Signature · 1 line
Darryl Dixon <[email protected]>
Earlier in IRC someone mentioned that changing the code to work with major 253 solved this issue...
Can someone tell where do you "officially" can request a major number these days? (if it's possible)..
Thanks,
Hetz
Quoted 29 lines · Darryl Dixon
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/messagesFeb 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 254Regards,
--
Darryl Dixon <[email protected]>
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel