From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ritu kaur Subject: Re: domU guest for xcp 0.1.1 Date: Mon, 5 Apr 2010 21:00:59 -0700 Message-ID: References: <20100331063035.GI1878@reaktio.net> <20100331134210.GD28074@phenom.dumpdata.com> <20100331143913.GL1878@reaktio.net> <20100405170013.GA16921@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1628084635==" Return-path: In-Reply-To: <20100405170013.GA16921@phenom.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1628084635== Content-Type: multipart/alternative; boundary=000e0cd1052247db660483897eaf --000e0cd1052247db660483897eaf Content-Type: text/plain; charset=ISO-8859-1 Thanks Konrad. I downloaded new code and still doesn't work(albeit different problem). I will enumerate them below (Please note 1, 2 and 3 are seen with old xen/next as well). What seemed simple testing of pci passthrough via config changes doesn't seem to be the case. 1. mkinitrd doesn't work in xcp ddk. I get below errors mkinitrd -f ./initrd-2.6.32.ing 2.6.32 modinfo: could not find module ide-disk No module ide-disk found for kernel 2.6.32, aborting. I copied ide-disk.ko from /lib/modules/2.6.27.42-0.1.1.xs0.1.1.737.1065xen/kernel/drivers/ide/ide-disk.ko(just to check what other errors arise from mkinitrd in xcp ddk), I get mkinitrd -f ./initrd-2.6.32.ing 2.6.32 modinfo: could not find module ide-disk modinfo: could not find module dm-mem-cache modinfo: could not find module dm-message modinfo: could not find module dm-raid45 2. Looked into .config I have(generated via make menuconfig) and there isn't anything on IDEDISK. I cross checked config file that comes with xcp source code it has ... CONFIG_BLK_DEV_IDEDISK=m CONFIG_IDEDISK_MULTI_MODE=y ... I copied above configs into my .config and when I run make(it asks some IDE config related questions ) and these configs are deleted after that. I have tried all options "y/n/m" to the questions and same result. 3. I downloaded .config file from http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.10-pvops-dom0-xen-stable-x86_32 there isn't IDEDISK config in it either and in addition "make tar-pkg" doesn't work with this .config file. I get following errors DEPMOD 2.6.32 /bin/sh: line 1: 3341 Killed /sbin/depmod -ae -F System.map -b /root/kernel/linux-2.6.32/tar-install 2.6.32 make[3]: *** [_modinst_post] Error 137 make[2]: *** [sub-make] Error 2 make[1]: *** [tar-pkg] Error 2 make: *** [tar-pkg] Error 2 4. I tried with the vmlinuz and initrd image built from "2" above(I know initrd image is not correct, I just wanted to try) and I get [0.000000] ERROR: Unable to locate IOAPIC for GSI 2 [0.000000] ERROR: Unable to locate IOAPIC for GSI 9 [0.000000] ERROR: Unable to locate IOAPIC for GSI 2 [0.000000] ERROR: Unable to locate IOAPIC for GSI 9 [0.493572] registering netback Red Hat nash version 5.1.19.6 starting einsmod: error inserting 'lib/ide-disk.ko': -1 Invalid module format indmos: error inserting '/lib/dm-region-hash.ko': -1 File Exists mount: could not fine filesystem '/dev/root' setuproot: moving /dev failed: No such file or directory setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory switchroot: mount failed: No such file or directory [0.905987] Kernel panic - not syncing: Attempted to kill init! Let me know how to proceed on this. Thanks On Mon, Apr 5, 2010 at 10:00 AM, Konrad Rzeszutek Wilk < konrad.wilk@oracle.com> wrote: > On Mon, Apr 05, 2010 at 07:10:22AM -0700, Ritu kaur wrote: > > Hello, > > > > Any inputs folks on xen debugs provided? dom0 crashes when xen/next > kernel > > > What you are hitting should have been fixed a week ago. Are you up to > the latest in xen/next? Did you do 'git pull' ? Do you see this as the > latest when you do 'git log | head': > > > > git log | head -5 > commit 900f6d725874ca97c21cdc5a2c4e05bd62db4e86 > Merge: f2530fa 89689b1 > Author: Jeremy Fitzhardinge > Date: Thu Apr 1 14:24:30 2010 -0700 > > --000e0cd1052247db660483897eaf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Konrad.

I downloaded new code and still doesn't work(alb= eit different problem). I will enumerate them below

(Please note 1, = 2 and 3 are seen with old xen/next as well). What seemed simple testing of = pci passthrough via config changes doesn't seem to be the case.

1. mkinitrd doesn't work in xcp ddk. I get below errors

mkin= itrd -f ./initrd-2.6.32.ing 2.6.32
modinfo: could not find module ide-di= sk
No module ide-disk found for kernel 2.6.32, aborting.

I copied= ide-disk.ko from /lib/modules/2.6.27.42-0.1.1.xs0.1.1.737.1065xen/kernel/d= rivers/ide/ide-disk.ko(just to check what other errors arise from mkinitrd = in xcp ddk), I get

mkinitrd -f ./initrd-2.6.32.ing 2.6.32
modinfo: could not find modul= e ide-disk
modinfo: could not find module dm-mem-cache
modinfo: could= not find module dm-message
modinfo: could not find module dm-raid45

2. Looked into .config I have(generated via make menuconfig) and there = isn't anything on IDEDISK. I cross checked config file that comes with = xcp source code it has
...
CONFIG_BLK_DEV_IDEDISK=3Dm
CONFIG_IDEDI= SK_MULTI_MODE=3Dy
...

I copied above configs into my .config and when I run make(it as= ks some IDE config related questions ) and these configs are deleted after = that. I have tried all options "y/n/m" to the questions and same = result.

3. I downloaded .config file from http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.10-pvo= ps-dom0-xen-stable-x86_32

there isn't IDEDISK config in it either and in addition "make = tar-pkg" doesn't work with this .config file. I get following erro= rs

DEPMOD=A0 2.6.32


/bin/sh: line 1:=A0 3341 Killed=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /sbin/depmod -ae -F System.ma= p -b /root/kernel/linux-2.6.32/tar-install 2.6.32
make[3]: *** [_modinst_post] Error 137
make[2]: *** [sub-make] Error 2make[1]: *** [tar-pkg] Error 2
make: *** [tar-pkg] Error 2

4. I= tried with the vmlinuz and initrd image built from "2" above(I k= now initrd image is not correct, I just wanted to try) and I get

[0.000000] ERROR: Unable to locate IOAPIC for GSI 2
[0.000000] ERROR= : Unable to locate IOAPIC for GSI 9
[0.000000] ERROR: Unable to locate I= OAPIC for GSI 2
[0.000000] ERROR: Unable to locate IOAPIC for GSI 9
[0.493572] registering netback
Red Hat nash version 5.1.19.6 startingeinsmod: error inserting 'lib/ide-disk.ko': -1 Invalid module form= at
indmos: error inserting '/lib/dm-region-hash.ko': -1 File Exi= sts
mount: could not fine filesystem '/dev/root'
setuproot: moving /= dev failed: No such file or directory
setuproot: error mounting /proc: N= o such file or directory
setuproot: error mounting /sys: No such file or= directory
switchroot: mount failed: No such file or directory
[0.905987] Kernel p= anic - not syncing: Attempted to kill init!

Let me know how to proce= ed on this.

Thanks


On Mon, Apr 5, 2010 at 10:00 AM, Konrad Rzeszutek Wilk &l= t;konrad.wilk@oracle.com><= /span> wrote:
On Mon, Apr 05, 2010 at 07:10:22AM -0700, Ritu kaur wrote= :
> Hello,
>
> Any inputs folks on xen debugs provided? dom0 crashes when =A0xen/next= kernel


What you are hitting should have be= en fixed a week ago. Are you up to
the latest in xen/next? Did you do 'git pull' ? Do you see this as = the
latest when you do 'git log | head':



=A0git log | head -5
commit 900f6d725874ca97c21cdc5a2c4e05bd62db4e86
Merge: f2530fa 89689b1
Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Date: =A0 Thu Apr 1 14:24:30 2010 -0700


--000e0cd1052247db660483897eaf-- --===============1628084635== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1628084635==--