Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I recently put QEMU on my computer running Mandriva 2006, which was probably one of the easiest installs I've ever done (I used the pre-compiled binaries). Once I installed the program, it was quite simple for me to make a blank image file, and then once I was able to get my hands on a bootable copy of XP, installing XP into the image went well. However, when I tried to get the Accelerator module for QEMU, thats when I started to run into problems. After unpacking the source, I ran ./configure in the terminal as root, and here is the resulting output:
[crashsystems@localhost kqemu-1.3.0pre9]$ su
[root@localhost kqemu-1.3.0pre9]# ./configure
Could not find kernel includes in /lib/modules or /usr/src/linux - cannot build the kqemu module
Source path /home/crashsystems/Temp/qemu/kqemu-1.3.0pre9
C compiler gcc
Host C compiler gcc
host CPU i386
./configure: line 344: test: =: unary operator expected
FYI my kernel is 2.6.12-12. I read in the documentation that some older kernels can have problems with the module, but I also read in the same place that if you have a 2.6 kernel, that all the necessary kernel modules should be fine. I'm hoping that this won't mean I have to re-compile my kernel. If anyone has some advice, it would be greatly appreciated. Thanks for you help.
After spending an insane amount of time working on this, I was finaly able to find a copy of my kernel source with the kernel-headers needed to make the configure script work. So I hopped onto the termenal, su to root, then went into the kqemu dir and ran the configure script, then make and make install, and all that worked smoothly. However, when I ran qemu to open my winxp image, this is what happend.
[root@localhost qemu]# qemu winxp.img
Version mismatch between kqemu module and qemu (00010100 00010300) - disabling kqemu use
Thanks for your help in getting me this far. If you have any ideas how to fix this, that would be great.
i'm kind of a newbie and i didn't find the kernel-headers for my suse 10.1. i'd like to run qemu at the faster rate it should, so could anyone please give me some hints about where i could find those headers?
Last edited by sindbad1900; 10-20-2006 at 03:21 PM.
I don't have that distro, so I'm not sure where you would find them. However, the first place I would check is your install cd. If you don't find it there, you can post a question about it in the suse distro sub-forum, and you could also check the suse website.
i thought to myself: every header used for the compilation of the kernel is in ... the kernel source. there's even a package called like that on the dvd.
now i have the same problem as you. i'm looking for a newer qemu now, it should do the trick
btw u should get a newer qemu (mine is newer than yours anyway)
Last edited by sindbad1900; 10-21-2006 at 04:19 AM.