Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 30th November 2006, 13:52
Merc Merc is offline
Junior Member
Join Date: Nov 2006
Location: Chemnitz, Germany
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Xen 3.0.2 /3.0.3 | No Swap in DomU


I have set up Xen 3.0.2 and 3.0.3 using the howto "http://www.howtoforge.com/debian_sarge_xen_3.0.3".

The Dom0-system and the DomU-system are running on Debian 3.1.

So far it works, except for some (minor) problems.

If I use the compiled xen-kernel (the one created with "make world" and "make install"), the host system works fine, no problems at all.

If I use the xen0-kernel, created by using "make linux-2.6-xen0-config CONFIGMODE=menuconfig KERNELS="linux-2.6-xen0"" (step 4.2 in the above mentioned howto), i get some ugly load-problems using the host system.
I.e. copying a file from /dev/hdc1 to /dev/hda4 takes forever, the kjournald takes 99,9% of cpu time (the same happens if I use ftp to copy anything to the host machine).
So working with the xen0-kernel is not possible.

I ran into some problems with my virtual machines.
They start up ok and run without problems as long as I don't do anything that requires a large amount of memory.

The problem: the VM's don't use swap memory. The config file looks like this:


# network
#vif = ['mac=00:00:00:00:00:01' ,'bridge=xenintbr']
vif = ['ip=']
dhcp ="off"

So the VM should be able to use swap.

Output of "cat /proc/partitions" inside the VM:

major minor #blocks name

8 1 1024000 sda1
8 2 512000 sda2

I honestly don't understand why the virtual machines don't use swap at all.

I recently purged hotplug, replacing it with udev, but that didn't change a thing (even compiled a new kernel).

I would appreciate any help.


I searched the xen-source-forum but didn't find a solution to the above mentioned problems.
The swap-problem was mentioned there, but no solution (it was said using udev instead of hotplug would solve the problem, but it didn't, at least not for me).
Reply With Quote
Sponsored Links


Thread Tools
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
Xen question, backup domU rayit HOWTO-Related Questions 2 25th August 2006 17:34
Xen 3.0 and 3Ware 9550sx Z3n HOWTO-Related Questions 1 30th June 2006 00:39
Is it possible to start a domU from Xen 2.x under Xen 3.0? Gurke666 Kernel Questions 1 25th April 2006 17:34

All times are GMT +2. The time now is 23:02.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.