You are not logged in.

#1 2007-07-27 14:11:16

zodmaner
Member
Registered: 2007-07-11
Posts: 653

[SOLVED]Problem with kqemu in 64 bit Arch

I install QEMU and KQEMU according to the instructions on the ArchWiki and QEMU works fine. However, I cannot seems to enable KQEMU. Running 'modprobe kqemu' does nothing and when I look into /etc/rc.d folder, there is no kqemu daemon there.

I'm I missing something? As I have said, I install QEMU and KQEMU according to the article in ArchWiki (with 'pacman -Sy qemu kqemu' command).

Last edited by zodmaner (2007-07-27 20:36:58)

Offline

#2 2007-07-27 17:11:12

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Problem with kqemu in 64 bit Arch

Check out this thread. I don't know it's what you're looking for though:

http://bbs.archlinux.org/viewtopic.php?id=35589

Offline

#3 2007-07-27 18:30:13

RobF
Member
Registered: 2006-10-10
Posts: 157

Re: [SOLVED]Problem with kqemu in 64 bit Arch

kqemu is a kernel module, not a daemon, hence it would not show up in /etc/rc.d/  If it's been properly installed, kqemu.ko would be in /lib/modules/2.6.22-ARCH/misc/.  And after you modprobe kqemu, it should be listed by lsmod.

After you launch an OS image with qemu (with the switch -kernel-kqemu), activate your cursor in the guest OS image window, hit CTRL-ALT-2 (to go back use CTRL-ALT-1), and at the (qemu) prompt enter 'info kqemu'.  Does it say "kqemu support: enabled for user and kernel code"? 

Also, you may want to launch the OS image with the switch -no-kqemu instead of -kernel-kqemu.  If there is a big difference between these two conditions in the speed with which the OS runs, them kqemu is probably working for you.

The MCNLive-Delft ISO (RC1 or final) is a good image to test this with; it works well in qemu, both with kqemu and with kvm.

Launch it somewhat like this:

$ qemu -cdrom /home/joe/MCNLive-Delft-RC1.iso -hda  qemulinux.img -m 256 -boot d -kernel-kqemu

NOTE: All of the above applies to the 32-bit architecture; I don't know how much of this applies to Arch64.

Offline

#4 2007-07-27 20:36:40

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: [SOLVED]Problem with kqemu in 64 bit Arch

Thank you! big_smile I finally got it to work!

Apparently, I got confused and add kqemu to daemons array instate of modules array (silly me tongue ).

Also it seems that there's a problem with kqemu options in QEMU Launcher 64 bit because I can't get kqemu to work when start an image from QEMU Launcher (kqemu work just fine if I use QEMU via command line).

Anyway, problem solved. Thank for helping guys.

Last edited by zodmaner (2007-07-27 20:37:25)

Offline

Board footer

Powered by FluxBB