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] Xen noob and a destroyDevice error

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen noob and a destroyDevice error
From: "ggerber@xxxxxxxxxxxxx" <ggerber@xxxxxxxxxxxxx>
Date: Tue, 30 Jan 2007 16:56:36 +0200
Delivery-date: Tue, 30 Jan 2007 06:56:33 -0800
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
Hello all

The chaps at XenServer directed me to this mailing list and to my surprise found 2 very recent hits on the error I am receiving.  Is it a bug perhaps?

Jordi logged this:
http://lists.xensource.com/archives/html/xen-users/2007-01/msg01270.html

and Shawn logged this one:
http://lists.xensource.com/archives/html/xen-users/2007-01/msg00892.html

Here is more detail on my problem, please let me know if you have found anything to date.

On following the "Concise instructions for installing a CentOS VM on Xen"
http://mark.foster.cc/wiki/index.php/Centos-4_on_Xen
using a FC6 host and Oracle EL4 guest I am able to create the LVM partition,
bootstrap etc. without any errors however when I attempt to create the VM a
destroyDevice error is given.

So you know I have attempted to boot with the FC6 xen kernel first
(2.6.19-1.2895.fc6xen) and then installed the Red Hat xen kernel
vmlinuz-2.6.16.33-xen_3.0.4.1 by chroot and then rpm -ivh kernel-xen...
I wonder if the kernel is correct!?!

# xm create -c el4-1

gives...

"Using config file "/etc/xen/el4-1".
Error: destroyDevice() takes exactly 3 arguments (2 given)"

"xm list" while "xm create" is running
--------------------------------------
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 1892 2 r----- 2100.2
el4-1 24 96 1 --p--- 0.0


/etc/xen/el4-1 config file:
------------------
[root@localhost mnt]# cat /etc/xen/el4-1
kernel = "/root/boot/vmlinuz-2.6.16.33-xen_3.0.4.1"
# also used FC6: kernel = "/boot/vmlinuz-2.6.19-1.2895.fc6xen"
memory = 96
name = "el4-1"
disk = [ 'phy:/dev/VolGroup01/LogVol01,sdb1,w','phy:/dev/VolGroup01/LogVol02,sdb2,w' ]
dhcp="dhcp"
root = "/dev/sdb1 ro"

guest fstab:
------------
[root@localhost mnt]# cat fstab
/dev/sdb1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sdb2 swap swap defaults 0 0



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>