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