[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] centos guest domain?



Kent Watsen wrote:

Steven Ellis wrote:

I've been running Centos 4.1 on top of Xen using the provided 2.6 kernel that comes with 2.0.7. Works just fine with Centos4.1 and RHEL4U1.

Which version of Xen are you trying.



Oh, this sounds very encouraging - I'm using the xen that comes with SuSE 9.3, which contains the following xen-related rpms:

   xen-doc-html-2.0.5c-4
   xen-doc-ps-2.0.5c-4
   kernel-xen-nongpl-2.6.11.4-20a
   kernel-xen-2.6.11.4-20a
   xen-doc-pdf-2.0.5c-4
   xen-2.0.5c-4


As you probably already know, CentOS 4.1's kernel's version is 2.6.9-11...

For fun, I tried to boot CentOS as a guest domain using the same config file I used for my SuSE-based guest domain before I moved it into LVM (I have a 2nd drive I'm using just for staging guest domains):

   kernel = "/boot/vmlinuz-xen"
   ramdisk = "/boot/initrd-xen"
   memory = 256
   name = "CentOS"
   vif = [ 'mac=aa:cc:00:00:00:63, bridge=xen-br0' ]
   disk = [ 'phy:hdb1,hdb1,w', 'phy:hdb2,hdb2,w' ]
   netmask="255.255.255.0"
   gateway="10.0.3.1"
   hostname= "centos"
   root = "/dev/hdb1 ro"
   extra = "3"


But launching the guest domain this way led to a kernel panic.

Could you be more specific regarding how you used the "provided 2.6 kernel" - did you copy a file into the guest's filesystem? - which file did you copy?


1. You need to copy the modules for the DomU kernel into the guest filesystem.

2. You probably need an initrd for the guest otherwise it will panic.

3. I'd personally advise using the DomU kernel that comes with the 2.0.7 tar ball as it is closer to the RH released kernel.

STeve

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.