Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th December 2006, 05:45 AM
LaughingBoy's Avatar
LaughingBoy Offline
Registered User
 
Join Date: Oct 2005
Location: Adelaide, SA, Australia
Posts: 74
Unhappy Xen on FC6 : virt-install and virt-manager unable to create new guest

I'm having fun banging my head against the proverbial wall with Xen at the moment. Following instructions from here and running :
Code:
virt-install
I end up with the following error message:
Quote:
Starting install...
libvir: Xen Daemon error : POST operation failed: (xend.err "Error creating domain: (12, 'Cannot allocate memory')")
Failed to create domain elmo4
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 396, in ?
main()
File "/usr/sbin/virt-install", line 360, in main
dom = guest.start_install(conscb)
File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 355, in start_install
self.domain = self.conn.createLinux(cxml, 0)
File "/usr/lib/python2.4/site-packages/libvirt.py", line 329, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err "Error creating domain: (12, 'Cannot allocate memory')")
After following another suggestion, I tried
Code:
virt-manager
This yielded a briefer (but similar) error message saying:
Quote:
ERROR: virDomainCreateLinux() failed POST operation failed: (xend.err "Error creating domain: (12, 'Cannot allocate memory')")
I'm running as root, and the system has 2GB of RAM.
It's an Athlon X2 5000+ and I only allocated 512MB for the quest RAM (via console, but 500 via GUI - accepting defaults).

Is someone able to help me sort this one out?

Yes, I was running as root for this to determine if that was why it couldn't allocate memory...

Code:
[root@localhost Data]# uname -r -s -v -p -i
Linux 2.6.18-1.2849.fc6xen #1 SMP Fri Nov 10 13:56:52 EST 2006 athlon i386
__________________

MSI K9N SLI Platinum
Athlon64 5600+
2GB DDR2-800
MSI NX8600GT

Plus other stuff... I'll fix this later! Is there an official site sig maker?

Last edited by LaughingBoy; 12th December 2006 at 05:49 AM. Reason: Privacy.
Reply With Quote
  #2  
Old 12th December 2006, 06:15 AM
LaughingBoy's Avatar
LaughingBoy Offline
Registered User
 
Join Date: Oct 2005
Location: Adelaide, SA, Australia
Posts: 74
Thumbs down More info:

As a follow up - I've tried setting "Maximum Memory" and "Initial Memory" both to all sorts of values down to as low as 50MB with the same problem:
Quote:
libvir: Xen Daemon error : POST operation failed: (xend.err "Error creating domain: (12, 'Cannot allocate memory')")
Failed to create domain test
These were all created using the "simple file" storage space solution, and allocating anywhere between 100MB and 10GB.

What other "allocation of memory" could it be referring to ??

Helf!

(Attached is the dmesg from the Xen startup)
Attached Files
File Type: txt xm_dmesg.txt (6.0 KB, 153 views)
__________________

MSI K9N SLI Platinum
Athlon64 5600+
2GB DDR2-800
MSI NX8600GT

Plus other stuff... I'll fix this later! Is there an official site sig maker?
Reply With Quote
  #3  
Old 12th December 2006, 07:59 AM
LaughingBoy's Avatar
LaughingBoy Offline
Registered User
 
Join Date: Oct 2005
Location: Adelaide, SA, Australia
Posts: 74
Thumbs up Problem fixed?

For some strange reason the problem has gone away after a reboot. I was unsure what would have changed, as I've rebooted into this kernel at least three times this week.

But, after a quick read of a message on the mailing list (who uses them now-a-days anyhow?) It was able to (attempt to) boot up a Vista RC2 image.

It Blue-Screened mind you, with:
Quote:
Originally Posted by Vista BSOD
*** STOP: 0X0000005C (0X00003000, 0X00000001, 0X00000008, 0X00000000)
Nothing else was on the screen... weird.

Unsure what a 5C BSOD means... any help with that? I'll try another version of Windows while I await an answer.
__________________

MSI K9N SLI Platinum
Athlon64 5600+
2GB DDR2-800
MSI NX8600GT

Plus other stuff... I'll fix this later! Is there an official site sig maker?
Reply With Quote
  #4  
Old 12th December 2006, 08:26 AM
LaughingBoy's Avatar
LaughingBoy Offline
Registered User
 
Join Date: Oct 2005
Location: Adelaide, SA, Australia
Posts: 74
Unhappy More problems!

I managed to get it to begin the installation of an XP setup, but when I came back from a coffee while it was "copying files" the VM has gone.
Does anyone know how to get it back? I tried to use the virt-manager to "restore" the saved machine by selecting the file chosen as the VM's image, but I get the following:
Quote:
Originally Posted by virt-manager
libvir: Xen Daemon error : POST operation failed: (xend.err 'Restore failed')
libvir: error : library call virDomainRestore failed, possibly not supported
Is that a Xen bug?
I also get:
Quote:
Originally Posted by virt-manager
Error restoring domain '/usr/local/data/xp.img'. Is the domain already running?
The virt-manager GUI only shows the Domain-0 - nothing else. <confused>

I tried to re-install XP in a new VM, and it gets all the way to "You must now reboot inside 15 seconds...", reboots and BAM - window / VM gone. How do I get it back?

More help, please?
__________________

MSI K9N SLI Platinum
Athlon64 5600+
2GB DDR2-800
MSI NX8600GT

Plus other stuff... I'll fix this later! Is there an official site sig maker?

Last edited by LaughingBoy; 12th December 2006 at 08:34 AM. Reason: Adding more information
Reply With Quote
  #5  
Old 12th December 2006, 05:37 PM
pjfg
Guest
 
Posts: n/a
The virt-manager GUI seems buggy in my experience. What did you name your VM? There should be a config file in /etc/xen, so try:

xm create your-vm-name
Reply With Quote
  #6  
Old 12th December 2006, 09:05 PM
LaughingBoy's Avatar
LaughingBoy Offline
Registered User
 
Join Date: Oct 2005
Location: Adelaide, SA, Australia
Posts: 74
I tried that, and it started up ... kinda. It showed in the GUI that it was "running", so I tried to attach to it, and all I got was a black screen.

I shut it down, and tried again with a different screen using "create" (Is that just silly using that keyword?), and I found the same thing... just a black screen. Nothing happened.

Then... any further attempts would result in a Error 12 - Cannot allocate memory. If this is a bug, do I file it under Xen kernel, virt-manager, xm, what? :-/

I just wanted to run a copy of Windows under FC6...
__________________

MSI K9N SLI Platinum
Athlon64 5600+
2GB DDR2-800
MSI NX8600GT

Plus other stuff... I'll fix this later! Is there an official site sig maker?
Reply With Quote
  #7  
Old 13th December 2006, 12:08 AM
LaughingBoy's Avatar
LaughingBoy Offline
Registered User
 
Join Date: Oct 2005
Location: Adelaide, SA, Australia
Posts: 74
Unhappy

I rebooted again this morning, hoping that might solve another problem, but now I get extremely unreliable use from virt-manager (see attached).

"Starting" the VMs from the console (xm create) starts them (apparently) but I never see anything after that. running virt-manager, I select "Open" and ... well... I get a black window.

Ideas people... I need ideas! How do I get this to work?!
Attached Thumbnails
Click image for larger version

Name:	virt-manager_problem.png
Views:	250
Size:	103.3 KB
ID:	10757  
__________________

MSI K9N SLI Platinum
Athlon64 5600+
2GB DDR2-800
MSI NX8600GT

Plus other stuff... I'll fix this later! Is there an official site sig maker?
Reply With Quote
  #8  
Old 30th December 2006, 06:51 AM
cctjon Offline
Registered User
 
Join Date: Dec 2005
Posts: 6
Same issue with Dell XPS 400 and Pentium D 950 with VT. The initial file copy goes fine, then the reboot, which means shutdown in this case. When I do the "xm create vmname" I too see the system start in vm manager but the console is blacked out? Eventually, the cpu utilization of the vm goes to 0% so I am pretty sure it is stalling out. This stuff has a long way to go to be ready for prime time. I downloaded the actual XenSource Distro tonight. I am going to try that and see if same issue happens in the next day or so and will report back. If it does not, then we can only assume this is a Fedora 6 specific problem ( could be 5 too? anyone tried FC5?)
Reply With Quote
  #9  
Old 12th January 2007, 10:22 AM
a_cecere Offline
Registered User
 
Join Date: Jan 2007
Location: Milano (IT)
Posts: 2
de-active SELinux
Reply With Quote
  #10  
Old 12th January 2007, 11:46 AM
LaughingBoy's Avatar
LaughingBoy Offline
Registered User
 
Join Date: Oct 2005
Location: Adelaide, SA, Australia
Posts: 74
Arrow Thanks, but no cigar...

Quote:
Originally Posted by a_cecere
de-active SELinux
Hi a_cecere, thanks for your suggestion. I didn't think of that, but I'm reasonably sure I don't bother turning it on by default anymore. That is to say, on any new system I install, I don't bother enabling SELinux, because of the problems that it's introduced. They may have fixed a lot recently, but I don't require it at work.

Because I adopted this approach, I'm reasonably sure it's not the cause. I can't verify this until Monday when I'm back at work, though.

L.B.
__________________

MSI K9N SLI Platinum
Athlon64 5600+
2GB DDR2-800
MSI NX8600GT

Plus other stuff... I'll fix this later! Is there an official site sig maker?
Reply With Quote
  #11  
Old 15th March 2007, 07:10 AM
LaughingBoy's Avatar
LaughingBoy Offline
Registered User
 
Join Date: Oct 2005
Location: Adelaide, SA, Australia
Posts: 74
selinux was indeed off :
Code:
[root@localhost ~]# getenforce
Disabled
It turns out it was a bug in Xen somewhere, and has been fixed as of version 3.0.3-6.fc6

Hope this helps anyone else following this thread.
__________________

MSI K9N SLI Platinum
Athlon64 5600+
2GB DDR2-800
MSI NX8600GT

Plus other stuff... I'll fix this later! Is there an official site sig maker?
Reply With Quote
Reply

Tags
create, fc6, guest, unable, virtinstall, virtmanager, xen

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound from Vista guest of virt-manager? amturnip Using Fedora 17 31st March 2010 04:55 PM
Adding Debian SPARC guest in virt-manager on Fedora 11 fader Using Fedora 0 21st June 2009 08:22 PM
virt-manager : Black screen on guest sujoykroy Using Fedora 4 30th June 2008 06:00 AM
How can I install FC9 with virt-manager deepc Using Fedora 2 20th May 2008 08:03 AM
install a xen machine using virt manager??? extendedping Installation and Live Media 2 23rd November 2007 01:56 AM


Current GMT-time: 16:38 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat