Error Inserting Kqemu
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System (Koji) Official Spins FedoraForum.org > Fedora 23/24 > Using Fedora Problem with Buidling Modules - Kqemu and VirtualBox FedoraForum Search User Name Remember Me? Password Forgot Password? Join Us! Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum. Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show Posts Tag Search Advanced Search Go to Page... Thread Tools Search this Thread Display Modes #1 24th April 2007, 02:38 PM DigitalMan Offline Registered User Join Date: Apr 2007 Posts: 5 Problem with Buidling Modules - Kqemu and VirtualBox Hi, I've tried and successfully compiled both the kqemu module and the VirtualBox module. However, neither one of them will load. They give me the following error: Error inserting kqemu (/lib/modules/2.6.18-1.2798.fc6/misc/kqemu.ko): Invalid module format and Error inserting vboxdrv (/lib/modules/2.6.18-1.2798.fc6/misc/vboxdrv.ko): Invalid module format and /var/log/messages contains the following: kqemu: version magic '2.6.18-1.2798.fc6 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1' should be '2.6.18-1.2798.fc6 SMP mod_unload 586 REGPARM 4KSTACKS gcc-4.1' vboxdrv: version magic '2.6.18-1.2798.fc6 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1' should be '2.6.18-1.2798.fc6 SMP mod_unload 586 REGPARM 4KSTACKS gcc-4.1' The only difference I can see from above is the 686 vs. 586. Any ideas? Thanks for your help. PS. The output of `uname -a` is: [root@server ~]# uname -a Linux server 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 athlon i386 GNU/Linux and cat /proc/version: [root@server ~]# cat /proc/version Linux version 2.6.18-1.2798.fc6 (brewbuilder@hs20-bc2-3.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 14:54:20 EDT 2006 This is the default kernel installed. DigitalMan View Public Profile Find all posts by DigitalMan #2 24th April 2007, 02:59 PM Seve Offline Retired Community Manager Join Date: Oct 2004 Location: The GTA, Ontario, Canada Age: 58 Posts: 12,371 Hello: Just a thought Are you sure you have an i686 kernel installed and not an i586 ? This may or may not be the problem, dunno? Fedora Core 6 - Common Bugs and Known
Posts: 4,863 How to use KQemu? Uhh... What's all the stuff about disk images in the help file? Is it possible to just *use* this program like Dosemu or DOSbox, or do I have to do all sorts of bizarre stuff to do anything with it? Offline #2 2005-07-26 23:22:23 deficite Member From: Augusta, GA Registered: 2005-06-02 Posts: 693 Re: How to use KQemu? There's a page in the wiki for it. You need to make a disk image to use qemu, but I usually set up a loopback device and I can write and read to it just like it was a drive on my computer. Offline http://forums.fedoraforum.org/showthread.php?t=153715 #3 2005-07-26 23:50:20 Gullible Jones Member Registered: 2004-12-29 Posts: 4,863 Re: How to use KQemu? D'oh, forgot to look in the wiki. Thanks. :oops: Offline #4 2005-07-28 21:37:00 giorgosc61 Member From: Athens, Greece Registered: 2005-05-27 Posts: 140 Re: How to use KQemu? I have made the pacakge kqemu from AUR and when I: [root@myhost qemu]# modprobe kqemu I get FATAL: Error inserting kqemu (/lib/modules/2.6.12-cko2-swsusp2/misc/kqemu.ko): Unknown symbol in module, or unknown https://bbs.archlinux.org/viewtopic.php?id=14124 parameter (see dmesg) Also the PKGBUILDS from Wiki do not makepkg. Why? What could be the problem? Powered by Arch Linux Offline #5 2005-07-28 22:48:59 deficite Member From: Augusta, GA Registered: 2005-06-02 Posts: 693 Re: How to use KQemu? What is your output from the PKGBUILDs on the Wiki? I'm the last person to touch the PKGBUILD on there when I added the stuff for kqemu and it worked fine back then. Offline #6 2005-07-29 01:48:49 Gullible Jones Member Registered: 2004-12-29 Posts: 4,863 Re: How to use KQemu? Judging from what happened to DTW's cedega-cvs PKGBUILD, the one in the wiki is probably messed up from the recent migration. Offline #7 2005-07-29 07:16:54 Mr Green Forum Fellow From: U.K. Registered: 2003-12-21 Posts: 5,761 Re: How to use KQemu? http://wiki2.archlinux.org/index.php/cvscedegaCheck out here ... new version to follow Mr Green Offline #8 2005-07-29 08:10:10 giorgosc61 Member From: Athens, Greece Registered: 2005-05-27 Posts: 140 Re: How to use KQemu? If I use the PKGBUILD and configure.patch from the WIKI it doesn't makepkg at all.Here is what I get:==> Starting build().../usr/bin/makepkg: line 560: build: command not found==> ERROR: Build Failed. Aborting... :?: Powered by Arch Linux Offline #9 2005-07-30 01:59:22 deficite Member From: Augusta, GA Registered: 2005-06-02 Posts: 693 Re: How to use KQemu
use ATrpms myself. When you try to install it, with the line "modprobe kqemu", you might get this error: FATAL: Error inserting kqemu (/lib/modules/2.6.24.3-34.fc8/updates/kernel/kqemu.ko): Invalid module format All you need http://verens.com/2008/03/25/error-loading-kqemu/ to do to fix this is to open the kqemu.ko file with Vim (or a lesser text editor if you will), and replace the string ‘586' with ‘686' then save and retry. Share this:Click to share on https://lists.nongnu.org/archive/html/qemu-devel/2005-02/msg00132.html Google+ (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on LinkedIn (Opens in new window)Like this:Like Loading... linux ← laptop cooler terry error inserting pratchett new book? → 3 Comments. Fabio April 12, 2008 at 5:11 pm Hi, in my fedoracore 8 the file is not a txt file… so I can not edit it. Can you help us? Kae Verens April 12, 2008 at 10:04 pm Fabio - yeah, sorry I didn't make that clear - the file is the actual binary module. You need to edit the actual binary file and replace the string 586 with error inserting kqemu 686 (be careful not to change anything else) then save the file. with something like vim, you can search for the string easily (/586), or you can just replace it immediately (:%s/586/686/g) Fabio April 14, 2008 at 8:48 am Great Kae, the workaround works fine in my fc8. I did not edit a compiled file since lot of years 🙂 do you know why it's such a kind of problem in a fedora distro where I hope the rpm are all very tested?!!??! Bye FAbio RSS Feed Recent Posts quick method to clone a MySQL database front right top corner back top corners putting the box together building a new 3D printer Search by Tags! accident bank of ireland bets bmx coins css drink electronics fckeditor firefox gauss gun htaccess ie8 insecure javascript letter recognition magic maths math tricks microsoft monaghan monaghan coder dojo neural net neural network php robot xhtml Archives May 2016 March 2016 July 2015 June 2015 May 2015 November 2014 September 2014 August 2014 June 2014 March 2014 January 2014 June 2013 May 2013 March 2013 February 2013 December 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 March 2012 November 2011 October 2011 August 2011 June 2011 March 2011 February 2011 December 2010 November 2010 October 2010 September
error, unable to get major 254 Date: Fri, 11 Feb 2005 14:41:04 +1300 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: address@hidden ~]# modprobe kqemu FATAL: Error inserting kqemu (/lib/modules/2.6.10-1.760_FC3/misc/kqemu.ko): Device or resource busy address@hidden ~]# 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
-- Darryl Dixon reply via email to [Prev in Thread] Current Thread [Next in Thread] [Qemu-devel] KQEMU error, unable to get major 254, Darryl Dixon, 2005/02/10 [Qemu-devel