WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Debian DomU not properly mounting swap

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Debian DomU not properly mounting swap
From: Daniel Lang <dlang@xxxxxxxxxx>
Date: Thu, 04 May 2006 14:11:20 -0400
Delivery-date: Thu, 04 May 2006 11:11:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.2 (X11/20060501)
I am running Xen 3.0.1 with Gentoo for Dom0 and when I create a DomU with Debian, the kernel or system does not seem to recognize the volume I have created for swap on the DomU and will not mount it during boot or after.

here is the disk section of the xen config for the DomU:

disk = [ 'phy:xen-disks/disk-root,hda1,w','phy:xen-disks/disk-swap,hda2,w' ]


When the DomU is created, the volume is recognized and assigned to /dev/hda2. From the xend.log:

['root', '/dev/hda1 ro'], ['args', '3']]], ['device', ['vbd', ['uname', 'phy:xen-disks/disk-root'], ['dev', 'hda1'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:xen-disks/disk-swap'], ['dev', 'hda2'], ['mode', 'w']]], ['device', ['vif']]])

However, during the boot up sequence, the following error messages occur on the console:

VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 136k freed
INIT: version 2.86 booting
Will now activate swap.
swapon on /dev/hda2
swapon: cannot stat /dev/hda2: No such file or directory
* Swap activation failed with error code 255.
...
Will now mount local filesystems.
* Mounting proc filesystems failed with error code 32.
mount: none already mounted or /dev/pts busy
mount: according to mtab, devpts is already mounted on /dev/pts
none on /dev/shm type tmpfs (rw)
mount: none already mounted or /sys busy
mount: according to mtab, sysfs is already mounted on /sys
* Mounting local filesystems failed with error code 96.
Will now activate swapfile swap.
Done activating swapfile swap.


I do not have this problem when creating DomUs with Gentoo or Fedora Core. Could the problem reside with the Debian hotplug subsystem? I have reviewed the Xen 3.0/Debian howto at http://www.howtoforge.com/perfect_setup_xen3_debian but I cannot find anything in the howto mentioning this problem.

Any ideas on what might be causing the problem, or suggestions on where to look for the cause of the problem. Nothing is standing out in xend.log, and no output into the xend-debug.log

Thank you for any help or suggestions you might offer.

Dan Lang
--
Daniel Lang

Systems Administrator
SevenL Networks
416.642.1234 - Office
1.866.639.5123 - Toll Free

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>