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-devel] Xen Dom U kernel

To: kishore kumar <bodkekumar@xxxxxxxxx>
Subject: Re: [Xen-devel] Xen Dom U kernel
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Thu, 22 Apr 2010 21:36:31 -0400
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Apr 2010 18:38:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <o2p9f975f341004221715uf26ef83dl37e9c5e8e4332e54@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100421014530.GA14527@xxxxxxxxxxxxxxxxxxx> <k2p9f975f341004221131g8a3f265t25aa80369ef4c520@xxxxxxxxxxxxxx> <20100422195317.GK1878@xxxxxxxxxxx> <i2v9f975f341004221308ub54fd9eds440b33a641d533dd@xxxxxxxxxxxxxx> <20100422202521.GL1878@xxxxxxxxxxx> <s2u9f975f341004221339kb171c41ey8f5f3efc24280a2c@xxxxxxxxxxxxxx> <20100422204841.GM1878@xxxxxxxxxxx> <t2h9f975f341004221435wf57e2f1ak8e3d2c06377ac11c@xxxxxxxxxxxxxx> <20100422214731.GA4087@xxxxxxxxxxxxxxxxxxx> <o2p9f975f341004221715uf26ef83dl37e9c5e8e4332e54@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.19 (2009-01-05)
On Thu, Apr 22, 2010 at 05:15:35PM -0700, kishore kumar wrote:
> I am using RHEL5.
> 
> and I have below too in my .config.
> 
> CONFIG_SYSFS_DEPRECATED=y
> CONFIG_SYSFS_DEPRECATED_V2=y

Good. Where did you come up with the .config file? Did you use the same
one as the Dom0?

> My /etc/modprobe.conf has the following
> 
> alias scsi_hostadapter ahci
> alias eth2 ixgbe
> alias eth3 ixgbe
> 
> Do I need to add the below lines in /etc/modprobe.conf ??

Those are when you migrate your Dom0 from 2.6.18 to 2.6.31. Let me
make that specific in the Wiki.
.. snip..

> Could you please let me know what exactly needs to be done?  I could not get
> much out of it?

I can't tell you step-by-step what to do. What I can do is give pointers
of where to look.

1). Do you have the filesystem for you DomU compiled in?

2). Can you edit mkinitrd so it doesn't use the 'setquiet' option. That
will give you more debug data. Run mkinitrd to recreate the initrd
image.

4). Does you guest configuration file have an 'extra' and 'root'? Try
for right now to only have the root, and make sure it is minimal. So for
example:
root="/dev/VolGroup01/LogVol00 ro"

5). You do have CONFIG_BLK_DEV_INITRD=y set right?

> Thank You.
> 
> On Thu, Apr 22, 2010 at 2:47 PM, Konrad Rzeszutek Wilk <
> konrad.wilk@xxxxxxxxxx> wrote:
> 
> > On Thu, Apr 22, 2010 at 02:35:04PM -0700, kishore kumar wrote:
> > > OK.
> > > what could be the reason for my domU creation is failing here?
> >
> > Hmm, Are you using a RHEL5/CentOS based userspace to build the initrd
> > image?
> >
> > If you are please take a look at this:
> > http://wiki.xensource.com/xenwiki/2.6.18-to-2.6.31-and-higher
> >
> > >
> > > Mounting proc filesystem
> > > Mounting sysfs filesystem
> > > Creating /dev
> > > Creating initial device nodes
> > > Setting up hotplug.
> > > Creating block device nodes.
> > > Scanning and configuring dmraid supported devices
> > > Scanning logical volumes
> > > Reading all physical volumes. This may take a while...
> > > Found volume group "VolGroup01" using metadata type lvm2
> > > lvm used greatest stack depth: 4912 bytes left
> > > Activating logical volumes
> > > 2 logical volume(s) in volume group "VolGroup01" now active
> > > Trying to resume from /dev/VolGroup01/LogVol01
> > > No suspend signature on swap, not resuming.
> > > Creating root device.
> > > Mounting root filesystem.
> > > mount: could not find filesystem '/dev/root'
> > > Setting up other filesystems.
> > > Setting up new root fs
> > > setuproot: moving /dev failed: No such file or directory

Uhh. 
> > > no fstab.sys, mounting internal defaults

That is weird. The 'Creating root device' usually sets the /etc/fstab
file

> > > setuproot: error mounting /proc: No such file or directory
> > > setuproot: error mounting /sys: No such file or directory
> > > Switching to new root and running init.
> > > unmounting old /dev
> > > unmounting old /proc
> > > unmounting old /sys
> > > switchroot: mount failed: No such file or directory
> > > Kernel panic - not syncing: Attempted to kill init!
> > > Pid: 1, comm: init Not tainted 2.6.33 #3
> > > Call Trace:
> > > [<ffffffff810513fa>] panic+0xa5/0x171
> > > [<ffffffff81006891>] ? xen_force_evtchn_callback+0xd/0xf
> > > [<ffffffff8148ce94>] ? _raw_write_unlock_irq+0x30/0x3b
> > > [<ffffffff8107ecb8>] ? trace_hardirqs_on_caller+0x110/0x134
> > > [<ffffffff8107ece9>] ? trace_hardirqs_on+0xd/0xf
> > > [<ffffffff8148ce9b>] ? _raw_write_unlock_irq+0x37/0x3b
> > > [<ffffffff81054b0c>] do_exit+0x7c/0x6f5
> > > [<ffffffff8107189f>] ? up_read+0x2b/0x2f
> > > [<ffffffff81055221>] sys_exit_group+0x0/0x1b
> > > [<ffffffff81055238>] sys_exit_group+0x17/0x1b
> > > [<ffffffff81009cf2>] system_call_fastpath+0x16/0x1b
> >

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

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