Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How-To: Run WinXP in qemu virtual computer on AMD64
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
reteo
n00b
n00b


Joined: 26 Dec 2004
Posts: 62
Location: Phoenix, Arizona

PostPosted: Wed Dec 13, 2006 5:59 pm    Post subject: Reply with quote

zxy wrote:
I just did emerge --sync. Use flags appeared for
Code:
qemu-softmmu-0.8.2-r1 USE="alsa kqemu sdl"
.
Others have no use flags.
Recompiling from scratch (all of them) and selected gcc3 compiler (it wants it)

kqemu i had to compile with gcc4 otherwise I couldn't load the module.

kqemu module loaded. <--- I checked with lsmod
BUT, when I press ctrl-alt-2 and enter
Code:
info kqemu
it says
Code:
kqemu support: not compiled


So module is loaded, but what does this not compiled mean???


Are you running the AMD64-Specific binary of qemu, or the generic qemu? I found that if you run the AMD64 version of the QEMU binary, the support will be compiled in, because the kqemu module is compiled specifically for the 64-bit version.

Since I'm not at home right now, I am unable to remember the exact binary name, but try typing qemu[tab][tab] and see what appears.

[edit]: The name of the binary is `qemu-system-x86_64` [/edit]
_________________
Lampros Liontos (aka. Reteo Varala)

The Penguin Producer - Tips, tricks, and techniques for producing various forms of media with Linux tools.
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 710
Location: IL

PostPosted: Fri Mar 14, 2008 3:22 pm    Post subject: GETTING error installing Windows 2003 Server Reply with quote

Hi

I have created 5 G .img already and installing windows 2003 server but after typical network settings screen, it shows transferring files and suddenly BSD.

This is the error
Quote:

http://img219.imageshack.us/img219/701/screenshotqemupj5.jpg



I did this before starting installation,

Code:
qemu-img create /nfs/win2003.img 5G
qemu-system-x86_64  -localtime -hda /nfs/win2003.img -cdrom /dev/cdrom -m 512 -kernel-kqemu -boot d


Quote:
lsmod
Module Size Used by
kqemu 163368 0
kvm_intel 23580 0
fglrx 1680092 13


I have windows 2003 Server CD in cdrom-drive and my machine is intel core2 duo with 2 GB ram.

Can some one throw some light , what this error indicate ?
Back to top
View user's profile Send private message
beep
n00b
n00b


Joined: 20 Jan 2005
Posts: 31

PostPosted: Wed Apr 02, 2008 2:24 pm    Post subject: Reply with quote

Hi,

I encounter the same issue here,
Code:
app-emulation/qemu-softmmu-0.9.1-r1  USE="alsa gnutls kqemu sdl" 0 kB

Code:
snow200 ~ #qemu-system-x86_64 -kernel-kqemu
qemu-system-x86_64: invalid option -- '-kernel-kqemu'

And with the regular qemu
Code:
snow200 ~ #qemu -h
QEMU PC emulator version 0.9.1, Copyright (c) 2003-2008 Fabrice Bellard
...
...
...
-kernel-kqemu   enable KQEMU full virtualization (default is user mode only)
...
...


->upengan78
How did you got -kernel-kqemu with qemu-system-x86_64?

Thanks,
::Beppe
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 710
Location: IL

PostPosted: Wed Apr 02, 2008 3:40 pm    Post subject: Reply with quote

Quote:
# eix qemu
[I] app-emulation/kqemu
Available versions: 0.7.2 ~1.3.0_pre5 ~1.3.0_pre7 1.3.0_pre9 1.3.0_pre11 {kernel_linux sdl}
Installed versions: 1.3.0_pre11(14:20:25 03/13/08)(kernel_linux)
Homepage: http://fabrice.bellard.free.fr/qemu/
Description: Multi-platform & multi-targets cpu emulator and dynamic translator kernel fast execution module

[I] app-emulation/qemu
Available versions: 0.9.0 ~0.9.1
Installed versions: 0.9.0(14:19:03 03/13/08)
Homepage: http://fabrice.bellard.free.fr/qemu/
Description: qemu emulator and abi wrapper meta ebuild

[I] app-emulation/qemu-softmmu
Available versions: 0.9.0 0.9.0-r1 0.9.0-r2[1] 0.9.0-r3[1] 0.9.0-r4[1] ~0.9.1 ~0.9.1-r1 {alsa gnutls kqemu sdl}
Installed versions: 0.9.0-r4[?](10:39:47 03/14/08)(alsa kqemu sdl)
Homepage: http://fabrice.bellard.free.fr/qemu/
Description: Multi-platform & multi-targets cpu emulator and dynamic translator

[I] app-emulation/qemu-user
Available versions: 0.9.0 [M]~0.9.1
Installed versions: 0.9.0(14:15:00 03/13/08)
Homepage: http://fabrice.bellard.free.fr/qemu/
Description: Multi-platform & multi-targets cpu emulator and dynamic translator

* app-emulation/qemulator
Available versions: ~*0.5
Homepage: http://qemulator.createweb.de/
Description: a gtk/glade front-end for Qemu


I am now using kvm instead of qemu to install and run windows2003std edition

Already enabled kvm in kernel, then emerge kvm (see following swiches)

eix kvm
Quote:
[I] app-emulation/kvm [1]
Available versions: 41 (~)43 (~)44 (~)45 (~)45-r1 (~)46 (~)47 (~)48 (~)50 (~)51 (~)52 (~)53 (~)53-r1 (~)54 (~)54-r1 (~)54-r2 (~)54-r3 (~)55 (~)55-r1 (~)55-r2 (~)55-r3 (~)56 (~)56-r1 (~)57 (~)58 (~)59 (~)59-r1 (~)60 -61 (~)62 (~)63!m {alsa bios gcc4 gnutls kvm qemu sdl test}
Installed versions: 63!m(11:27:09 03/14/08)(alsa kernel_linux qemu sdl -bios -gcc4 -gnutls -kvm -test)
Homepage: http://kvm.qumranet.com/kvmwiki
Description: KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V)


Quote:
modprobe kvm-intel


FOR INSTALLATION :

Quote:
kvm --no-tap windows.img --install --cdrom /dev/cdrom


FOR RUNNING INSTALLED WINDOWS:
Quote:
kvm -cpu qemu64 -no-acpi -localtime -hda /nfs/win2k3.img -m 512 -boot c



I am using dhcp and I could update windows2003 with service pack2.

Quote:
http://gentoo-wiki.com/Kvm
helped

Thanks
Back to top
View user's profile Send private message
machinelou
Apprentice
Apprentice


Joined: 05 Apr 2003
Posts: 267

PostPosted: Fri Apr 11, 2008 2:27 pm    Post subject: Reply with quote

I haven't tried kvm because my processor doesn't support it. How does using it compare to running windows native?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum