LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-13-2006, 07:43 AM   #1
anant
Member
 
Registered: Nov 2006
Distribution: Sles 10
Posts: 108

Rep: Reputation: 15
window XP pro on top of XEN -> Error


Hi all
I am trying to install Windows XP pro over fully virtualized Fedora Core 6 with XEN.
After Window xp setup is complete it gives sthe message of rebooting in few seconds and after those few seconds it never restarts. And when i try to start it from Virtual Machine Manager, it gives me error i.e.
Error domain '/root/Desktop/XP_PRO/VM1'. is the domain already running ?
Well i also checked with the command # xm list, it shows only one domain i.e. dom0 as a running and there is no second domain running on it.
I have tried this 3-4 time but getting the same problem. Could any one help me out in this matter?
Thanks
 
Old 12-13-2006, 10:13 AM   #2
anant
Member
 
Registered: Nov 2006
Distribution: Sles 10
Posts: 108

Original Poster
Rep: Reputation: 15
Here are the logs

Debud.log->
Device eth0 does not exist
siocsifname: No such Device
File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 77, in op_create
dominfo = self.xd.domain_create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
line 228,in domain_create
dominfo = XendDomainInfo.create(config)
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 195, in create
vm.initDomain()
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1335, in initDomain
balloon.free(memory + shadow)
File "/usr/lib/python2.4/site-packages/xen/xend/balloon.py",
line 166, in free
raise VmError(
VmError: I need 283252 KiB, but dom0_min_mem is 262144 and shrinking to 262144 KiB would leave only 218580 KiB free.

QEMU.LOG

domid: 1
shared page at pfn:1f3ff, mfn: 4d69
buffered io page at pfn:1f3fd,
mfn: 4d6b
False I/O request ... in-service already: 0, pvalid: 0, port: 0, data: 0, count: 0,
size: 0
Issued domain 1 reboot
Issued domain 1 reboot

XEND.LOG->
XendError: not a valid guest state file: found '3#м#|�P#P#�#|'
[2006-12-13 14:37:13 xend 2409]
ERROR (XendDomain:268) Restore failed
Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 263, in domain_restore_fd

return XendCheckpoint.restore(self, fd)
File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 118, in restore
raise XendError("not a valid guest state file: found '%s'"
%
XendError: not a valid guest state file: found '3#м#|�P#P#�#|'

could any one guess anything out of it?
 
Old 12-14-2006, 03:27 AM   #3
anant
Member
 
Registered: Nov 2006
Distribution: Sles 10
Posts: 108

Original Poster
Rep: Reputation: 15
Any ideas ....?
 
Old 12-14-2006, 03:56 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Quote:
raise VmError(
VmError: I need 283252 KiB, but dom0_min_mem is 262144 and shrinking to 262144 KiB would leave only 218580 KiB free.
what value for dom0_min_mem do you have in /etc/xen/xend-config.sxp ?
what value for dom0_mem do you have in /boot/grub/menu.lst ?
what amount of ram do you have ?

I don't have xen anymore so its pure supposition..

Last edited by nx5000; 12-14-2006 at 04:02 AM.
 
Old 12-14-2006, 05:16 AM   #5
anant
Member
 
Registered: Nov 2006
Distribution: Sles 10
Posts: 108

Original Poster
Rep: Reputation: 15
what value for dom0_min_mem do you have in /etc/xen/xend-config.sxp ?

dom0_min_mem 256

what value for dom0_mem do you have in /boot/grub/menu.lst ?

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6xen)
root (hd0,0)
kernel /xen.gz-2.6.18-1.2798.fc6
module /vmlinuz-2.6.18-1.2798.fc6xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-1.2798.fc6xen.img


what amount of ram do you have ?

1024MB RAM but when i go for cat /mem/info it displays me

[root@localhost ~]# cat /proc/meminfo
MemTotal: 945676 kB
MemFree: 392540 kB
Buffers: 32188 kB
Cached: 326180 kB
SwapCached: 0 kB
Active: 141616 kB
Inactive: 298676 kB
HighTotal: 209684 kB
HighFree: 432 kB
LowTotal: 735992 kB
LowFree: 392108 kB
SwapTotal: 983032 kB
SwapFree: 983032 kB
Dirty: 2080 kB
Writeback: 0 kB
AnonPages: 81844 kB
Mapped: 34896 kB
Slab: 20596 kB
PageTables: 5332 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 1455868 kB
Committed_AS: 377120 kB
VmallocTotal: 114680 kB
VmallocUsed: 5956 kB
VmallocChunk: 108148 kB

AND BELOW ARE xmlist and xminfo ...

[root@localhost ~]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 924 2 r----- 156.8

[root@localhost ~]# xm info
host : localhost.localdomain
release : 2.6.18-1.2798.fc6xen
version : #1 SMP Mon Oct 16 15:11:19 EDT 2006
machine : i686
nr_cpus : 2
nr_nodes : 1
sockets_per_node : 1
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 2128
hw_caps : bfebfbff:20100000:00000000:00000140:0000e3bd:00000000:00000001
total_memory : 1005
free_memory : 62
xen_major : 3
xen_minor : 0
xen_extra : .3-rc3-1.2798.f
xen_caps : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p
xen_pagesize : 4096
platform_params : virt_start=0xf5800000
xen_changeset : unavailable
cc_compiler : gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)
cc_compile_by : brewbuilder
cc_compile_domain : build.redhat.com
cc_compile_date : Mon Oct 16 14:34:31 EDT 2006
xend_config_format : 2

Any clue?

Thanks
 
Old 12-14-2006, 05:51 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Try this:
add dom0_mem=262144 to grub line
and
set dom0_min_mem to 0

or

add dom0_mem=262144 to grub line
and
set dom0_min_mem to 262144
 
Old 12-14-2006, 07:12 AM   #7
anant
Member
 
Registered: Nov 2006
Distribution: Sles 10
Posts: 108

Original Poster
Rep: Reputation: 15
wel are you sure its a command line because when i am entering this command on terminal i.e. "add dom0_mem=262144 to grub line" then it doesnt recognise add and when i enter "set dom0_min_mem to 0" it just doesnt give me any result back. Next line appears to enter command after dt.
 
Old 12-14-2006, 07:17 AM   #8
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Like this:
Quote:
kernel /xen.gz-2.6.18-1.2798.fc6 dom0_mem=262144
in /boot/grub/menu.lst!
 
Old 12-14-2006, 07:47 AM   #9
anant
Member
 
Registered: Nov 2006
Distribution: Sles 10
Posts: 108

Original Poster
Rep: Reputation: 15
aah ok i guess its not possible to ad using terminal.
So i have added dom0_mem=262144 in /boot/grub/menu.lst and saved it ...something like below

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6xen)
root (hd0,0)
kernel /xen.gz-2.6.18-1.2798.fc6 dom0_mem = 262144
module /vmlinuz-2.6.18-1.2798.fc6xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-1.2798.fc6xen.img

Is it right ?
If it is then ill try with the installation again now. Pls let me knw if thats what it is.
i am bit new in thin environment so just want to be sure of what i do ...
Thanks
 
Old 12-14-2006, 08:11 AM   #10
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Yeah it seems correct.
 
Old 12-14-2006, 08:20 AM   #11
anant
Member
 
Registered: Nov 2006
Distribution: Sles 10
Posts: 108

Original Poster
Rep: Reputation: 15
yeah i tried to install win 2003 again but immediatelly after its setup copies files to the window installation folders and it gives message of going for a reboot and then whole VM disappear.
 
Old 12-14-2006, 08:47 AM   #12
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55

No idea man, sorry.
The whole VM disappering, thats not normal at all.

Maybe try to increase that memory parameter and/or in qemu?

I don't know the requirements for installing win2003 in term of memory..


BTW, did you try installing win2003 in qemu without passing by xen?
 
Old 12-18-2006, 05:30 AM   #13
anant
Member
 
Registered: Nov 2006
Distribution: Sles 10
Posts: 108

Original Poster
Rep: Reputation: 15
How much RAM is needed to install windows 2003 as a guest OS over XEN? I have disable SELinux aswell but nothing seems to be working, still getting the same error....
any help guys...
thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command to bring a selected window to the top? crazyjimbo Linux - Software 3 12-03-2006 02:24 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM
keep window on top with xfce sohmc Linux - Software 0 01-15-2006 08:44 PM
Qtella missing tabs at top of window solspin Linux - Software 0 05-12-2003 10:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration