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] openSUSE in domU on a CentOS dom0

To: "Rakhesh Sasidharan" <rakheshster@xxxxxxxxx>
Subject: Re: [Xen-users] openSUSE in domU on a CentOS dom0
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Fri, 16 Feb 2007 19:29:10 +0530
Cc: Xen list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 16 Feb 2007 05:58:39 -0800
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RZnoV3NMBI5Ob4GG01y5IT7AMD9QM8+C5Y9ECZnbcyGya5VgRzypcgdx9V3fJRyZzF9MmGc68BiHSxYbuk9UFMqQwFv26B81qXLnGNk8sVlWWJD3Me3g5ARMhej79JOUdnr5szwrLSKvn6wf34hTPnSZaTviYjNljxBX3kXACUQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <74bdbced0702160538s675363a1t6f49f29453560bc4@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: <74bdbced0702152337y42eb991fv52961699fac67300@xxxxxxxxxxxxxx> <f58fc26d0702152355s43261de8k91a36fae10d4689d@xxxxxxxxxxxxxx> <74bdbced0702160108y60355cdp646f657695371f01@xxxxxxxxxxxxxx> <f58fc26d0702160127i60cb8790n54a4e9d0444e1926@xxxxxxxxxxxxxx> <74bdbced0702160143p1cfe9a59l7721257627641286@xxxxxxxxxxxxxx> <f58fc26d0702160158i30440bafw51d67783eb7999c3@xxxxxxxxxxxxxx> <74bdbced0702160403r7364e705ja2731d45e814f76@xxxxxxxxxxxxxx> <74bdbced0702160416i1cc94a1ay7ef7a598631a2474@xxxxxxxxxxxxxx> <f58fc26d0702160459y1eefb1b7u88c860929a5c942c@xxxxxxxxxxxxxx> <74bdbced0702160538s675363a1t6f49f29453560bc4@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On 2/16/07, Rakhesh Sasidharan <rakheshster@xxxxxxxxx> wrote:
On 2/16/07, trilok nuwal <tc.nuwal@xxxxxxxxx> wrote:
> ok, change your config file to
>
>  kernel = "/boot/xen/vmlinuz-2.6.18.2-34-xen"
>  ramdisk = "/boot/xen/initrd- 2.6.18.2-34-xen"
>  memory = 256
>  name = "brahma"
>  disk = [ 'phy:/dev/hda8,sda1,w' ]
>  vcpus = 1
>  vif = [ '' ]
>  root = "/dev/sda1 ro"
>  extra = "3"

That's the same changes as what you gave a few mails above, right?
Change the hda8 to sda1. Or is there anything else I missed? If its
the same, I've already done that ...

>  and change yr /etc/fstab  of open suse to below one.  /dev/sda1 is root for
> opensuse domain.
>
>  /dev/sda1             /                       ext3  defaults  1 1
>  none                    /dev/pts                devpts  gid=5,mode=620  0 0
>  none                    /dev/shm                tmpfs   defaults        0 0
>  none                    /proc                   proc    defaults        0 0
>  none                    /sys                    sysfs   defaults        0 0
>
>  Just try it.  i think it would be just fine.

It already is. I made that change too when you asked me to change
things to sda1. Here's how my openSUSE fstab currently looks:

/dev/sda1            /                    ext3       acl,user_xattr        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

It doesn't work.

Any other ideas? I wish I could atleast see what's happening or where
things are going wrong. A console output or something when the
openSUSE machine tries to startup. The log file doesn't make much
sense to me, and except for a few waiting for such and such device
messages I don't see any errors.

Thanks for the user manual link. I've been through that (briefly) as
part of setting these things up.

A question though: now that you mentioned the user manual. I didn't
understand why you said above I must export my host /dev/hda8 as the
guests' /dev/sda1 coz its paravirtualized. Why is it that way? Could
elaborate a bit please or point me to some docs?

this is becuse yr config file map the real physical partition  /dev/hda8 to virtual  /dev/sda1 in yr guest domain.

Thanks for going through with me on this ......... Much appreciated.
Please let me know if there's anything else I should try.

Regards,
Rakhesh

ps. I was just going through the openSUSE boot partition now, looking
for more clues. I note that openSUSE 10.2 ships with Xen 3.0.3 (all
the Xen files in openSUSE mention 3.0.3). Could that be a problem?
(I'd assume the logs would mention something if that were a problem
...)

xend.log showing that yr domain is crashing. How much memory do u have on yr machine ?
and /dev/hda8 is yr root partition or not  for openSuse ?
Could u check xen-hotplug.log logs, if anythg is there.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users