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

Re: [Xen-users] Installing CentOS 4.3 Guest OS

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Installing CentOS 4.3 Guest OS
From: "Demetri Mouratis" <dmourati.xen.users@xxxxxxxxx>
Date: Thu, 25 May 2006 08:14:11 -0700
Delivery-date: Thu, 25 May 2006 08:15:06 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y/TOuxzPboBrG71fuJRiKu0Vbdh4i/nl7V5q/Sv6pyQu2bst7U4zkqey4yp/Wk4nh/xqt8P7ANd9PT21Fpa5eWo1/mPqijQMkA5U3F8GTHVhSBmbFIKF+I2jR6fNWTr3OeV0fn54oaYn0eLEhqdR4I2FtT098EnovAgULy59iIY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <579c6fd30605250710o35b94de7t4ae280cbf8001ddd@xxxxxxxxxxxxxx>
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>
References: <95a854510605241740u1fa84b22u9db779d6a1ef4b75@xxxxxxxxxxxxxx> <579c6fd30605250710o35b94de7t4ae280cbf8001ddd@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for the replies.  I agree the problem is not a CentOS problem
per se.  I've started my Xen experimentation with Fedora Core 5 which
provides a script to setup domU's for you so this is my first attempt
to go from scratch and it has been difficult to find good docs out
there.

[root@db4 ~]# mount -o loop /home/xen/xendomain2 /mnt/disk/
[root@db4 ~]# chroot /mnt/disk/
bash-3.00# ls
bin   dev  home    lib         media  mnt  proc  sbin     srv  tmp  var
boot  etc  initrd  lost+found  misc   opt  root  selinux  sys  usr

That works just fine.

The /var/log/xend.log is below.

I didn't copy any xenU kernel modules into domU. What exactly is required there?

Modprobe loop didn't seem to help.

[2006-05-25 10:10:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:179)
XendDomainInfo.create(['vm', ['name', 'xendomain2'], ['memory',
'256'], ['vcpus', 1], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.16-1.2122_FC5xenU'], ['root', '/dev/sda1'],
['args', 'ro selinux=0 3']]], ['device', ['vbd', ['uname',
'file:/home/xen/xendomain2'], ['dev', 'sda1'], ['mode', 'w']]]])
[2006-05-25 10:10:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:285)
parseConfig: config is ['vm', ['name', 'xendomain2'], ['memory',
'256'], ['vcpus', 1], ['image', ['linux', ['kernel',
'/boot/vmlinuz-2.6.16-1.2122_FC5xenU'], ['root', '/dev/sda1'],
['args', 'ro selinux=0 3']]], ['device', ['vbd', ['uname',
'file:/home/xen/xendomain2'], ['dev', 'sda1'], ['mode', 'w']]]]
[2006-05-25 10:10:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:381)
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash':
None, 'on_reboot': None, 'image': ['linux', ['kernel',
'/boot/vmlinuz-2.6.16-1.2122_FC5xenU'], ['root', '/dev/sda1'],
['args', 'ro selinux=0 3']], 'on_poweroff': None, 'cpus': None,
'name': 'xendomain2', 'backend': [], 'vcpus': 1, 'cpu_weight': None,
'features': None, 'vcpu_avail': None, 'memory': 256, 'device':
[('vbd', ['vbd', ['uname', 'file:/home/xen/xendomain2'], ['dev',
'sda1'], ['mode', 'w']])], 'bootloader': None, 'cpu': None, 'maxmem':
None}
[2006-05-25 10:10:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:1169)
XendDomainInfo.construct: None 0
[2006-05-25 10:10:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:1201)
XendDomainInfo.initDomain: 33 1.0
[2006-05-25 10:10:47 xend] DEBUG (balloon:126) Balloon: free 1252;
need 257; done.
[2006-05-25 10:10:47 xend] INFO (image:133) buildDomain os=linux dom=33 vcpus=1
[2006-05-25 10:10:47 xend] DEBUG (image:171) dom            = 33
[2006-05-25 10:10:47 xend] DEBUG (image:172) image          =
/boot/vmlinuz-2.6.16-1.2122_FC5xenU
[2006-05-25 10:10:47 xend] DEBUG (image:173) store_evtchn   = 1
[2006-05-25 10:10:47 xend] DEBUG (image:174) console_evtchn = 2
[2006-05-25 10:10:47 xend] DEBUG (image:175) cmdline        =
root=/dev/sda1 ro selinux=0 3
[2006-05-25 10:10:47 xend] DEBUG (image:176) ramdisk        =
[2006-05-25 10:10:47 xend] DEBUG (image:177) vcpus          = 1
[2006-05-25 10:10:47 xend] DEBUG (image:178) features       =
[2006-05-25 10:10:47 xend] DEBUG (DevController:103) DevController:
writing {'virtual-device': '2049', 'backend-id': '0', 'state': '1',
'backend': '/local/domain/0/backend/vbd/33/2049'} to
/local/domain/33/device/vbd/2049.
[2006-05-25 10:10:47 xend] DEBUG (DevController:105) DevController:
writing {'domain': 'xendomain2', 'frontend':
'/local/domain/33/device/vbd/2049', 'dev': 'sda1', 'state': '1',
'params': '/home/xen/xendomain2', 'mode': 'w', 'frontend-id': '33',
'type': 'file'} to /local/domain/0/backend/vbd/33/2049.
[2006-05-25 10:10:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:673)
Storing VM details: {'ssidref': '0', 'uuid':
'714aa89f-5039-d77f-f1a7-62978ab41ee8', 'on_reboot': 'restart',
'start_time': '1148577047.2', 'on_poweroff': 'destroy', 'name':
'xendomain2', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256',
'on_crash': 'restart', 'image': "(linux (kernel
/boot/vmlinuz-2.6.16-1.2122_FC5xenU) (root /dev/sda1) (args 'ro
selinux=0 3'))", 'maxmem': '256'}
[2006-05-25 10:10:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:698)
Storing domain details: {'console/ring-ref': '370492', 'console/port':
'2', 'name': 'xendomain2', 'console/limit': '1048576', 'vm':
'/vm/714aa89f-5039-d77f-f1a7-62978ab41ee8', 'domid': '33',
'cpu/0/availability': 'online', 'memory/target': '262144',
'store/ring-ref': '370493', 'store/port': '1'}
[2006-05-25 10:10:47 xend.XendDomainInfo] DEBUG (XendDomainInfo:882)
XendDomainInfo.handleShutdownWatch
[2006-05-25 10:10:47 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-05-25 10:10:47 xend] DEBUG (DevController:132) Waiting for devices usb.
[2006-05-25 10:10:47 xend] DEBUG (DevController:132) Waiting for devices vbd.
[2006-05-25 10:10:47 xend] DEBUG (DevController:138) Waiting for 2049.
[2006-05-25 10:10:47 xend] DEBUG (DevController:403)
hotplugStatusCallback
/local/domain/0/backend/vbd/33/2049/hotplug-status.
[2006-05-25 10:10:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:1343)
XendDomainInfo.destroy: domid=33
[2006-05-25 10:10:57 xend.XendDomainInfo] DEBUG (XendDomainInfo:1351)
XendDomainInfo.destroyDomain(33)

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

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