xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ritu kaur <ritu.kaur.us@gmail.com>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: xen-devel@lists.xensource.com
Subject: Re: domU guest for xcp 0.1.1
Date: Tue, 6 Apr 2010 06:31:13 -0700	[thread overview]
Message-ID: <l2h29b32d341004060631v5e8447d6h98acea18b461f32@mail.gmail.com> (raw)
In-Reply-To: <20100406060337.GQ1878@reaktio.net>


[-- Attachment #1.1: Type: text/plain, Size: 5914 bytes --]

Thanks Pasi. When will new xcp with 2.6.32 kernel be released?

Replies inline...

On Mon, Apr 5, 2010 at 11:03 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:

> On Mon, Apr 05, 2010 at 09:00:59PM -0700, Ritu kaur wrote:
> >    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.
> >
>
> Did you install the modules after you compiled the kernel?
> Did you run "depmod -a <kernelversion>" ?
>
>
yes I have done it and still the same problem.


> >    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
> >
>
> You can't modules from a different kernel version!!!
>
>
I understand that. Just want to check what additional problems arise.


> >    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
> >
>
> Looks like you didn't install the modules from the new kernel.
>

I have installed modules via "make modules_install" and depmod as well.


>
> >    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
> >    ...
> >
>
> XCP default kernel is 2.6.27. You're trying to use 2.6.32.
> There might have been changes between the kernel versions.
>
> >    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
> >    [1]
> 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
> >
>
> If ide-disk module is not used/required anymore in 2.6.32, then you should
> remove it from /etc/modprobe.conf so that mkinitrd doesn't try to include
> it!
>
> (replace it with the proper new module name).
>
> >    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
> >
>
> "Invalid module format" means it's from a different kernel and cannot be
> used with this kernel.
>
> >    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.
> >
>
> Install for example Fedora 12, or any other distro that has 2.6.32 kernel
> as a default, and check which modules are used for your hardware,
> then replace "ide-disk" in modprobe.conf with the actual module.
>

Will look into it.

Thanks

>
> -- Pasi
>
>
> >    Thanks
> >
> >    On Mon, Apr 5, 2010 at 10:00 AM, Konrad Rzeszutek Wilk
> >    <[2]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 <[3]jeremy.fitzhardinge@citrix.com>
> >      Date:   Thu Apr 1 14:24:30 2010 -0700
> >
> > References
> >
> >    Visible links
> >    1.
> http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.10-pvops-dom0-xen-stable-x86_32
> >    2. mailto:konrad.wilk@oracle.com
> >    3. mailto:jeremy.fitzhardinge@citrix.com
>
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>

[-- Attachment #1.2: Type: text/html, Size: 8700 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

  reply	other threads:[~2010-04-06 13:31 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 17:10 domU guest for xcp 0.1.1 Ritu kaur
2010-03-12 17:51 ` Pasi Kärkkäinen
2010-03-13  1:51   ` Ritu kaur
2010-03-13 11:18     ` Pasi Kärkkäinen
2010-03-13 16:09       ` Ritu kaur
2010-03-13 16:41         ` Pasi Kärkkäinen
2010-03-14  1:43           ` Ritu kaur
2010-03-14  9:04             ` pvops xen/master and xen/stable domU kernel compilation errors Pasi Kärkkäinen
2010-03-14 11:15             ` domU guest for xcp 0.1.1 Sander Eikelenboom
2010-03-14 20:29               ` Ritu kaur
2010-03-14 20:52                 ` Sander Eikelenboom
2010-03-15  1:40                   ` Ritu kaur
2010-03-15  3:30                     ` Ritu kaur
2010-03-15  8:44                       ` Ian Campbell
2010-03-15 13:42                         ` Ritu kaur
2010-03-15 13:44                           ` Ian Campbell
2010-03-15 13:46                             ` Ritu kaur
2010-03-16  2:04                               ` Ritu kaur
2010-03-16  7:37                                 ` Ian Campbell
2010-03-16 15:23                                   ` Pasi Kärkkäinen
2010-03-16 23:25                                     ` Ritu kaur
2010-03-17 18:44                                       ` Ritu kaur
2010-03-18  9:17                                         ` Ian Campbell
2010-03-18 13:43                                           ` Ritu kaur
2010-03-18 14:11                                             ` Ian Campbell
2010-03-18 14:23                                               ` Ritu kaur
2010-03-18 14:27                                                 ` Ian Campbell
2010-03-18 14:32                                                   ` Ian Campbell
2010-03-18 14:39                                               ` Konrad Rzeszutek Wilk
2010-03-18 15:28                                                 ` Ritu kaur
2010-03-18 16:26                                                   ` Konrad Rzeszutek Wilk
2010-03-19 15:27                                                     ` Ritu kaur
2010-03-21  1:50                                                       ` Ritu kaur
2010-03-21 17:22                                                         ` Ritu kaur
2010-03-21 18:41                                                           ` Pasi Kärkkäinen
2010-03-21 21:21                                                             ` Ritu kaur
2010-03-22  8:58                                                               ` Pasi Kärkkäinen
2010-03-22 21:02                                                                 ` Ritu kaur
2010-03-22 21:09                                                                   ` Pasi Kärkkäinen
2010-03-23 20:21                                                                     ` Ritu kaur
2010-03-26 19:11                                                                       ` Ritu kaur
2010-03-27 18:28                                                                         ` Ritu kaur
2010-03-27 18:43                                                                           ` Pasi Kärkkäinen
2010-03-28  1:32                                                                             ` Ritu kaur
2010-03-28  3:21                                                                               ` Ritu kaur
2010-03-28 11:34                                                                                 ` Pasi Kärkkäinen
2010-03-28 11:55                                                                                   ` Pasi Kärkkäinen
2010-03-31  0:28                                                                                     ` Ritu kaur
2010-03-31  1:07                                                                                       ` Ritu kaur
2010-03-31  6:30                                                                                         ` Pasi Kärkkäinen
2010-03-31 13:15                                                                                           ` Ritu kaur
2010-03-31 13:42                                                                                             ` Konrad Rzeszutek Wilk
2010-03-31 13:55                                                                                               ` Ritu kaur
2010-03-31 14:39                                                                                                 ` Pasi Kärkkäinen
2010-03-31 21:10                                                                                                   ` Ritu kaur
2010-04-01 12:48                                                                                                     ` Ritu kaur
2010-04-05 14:10                                                                                                       ` Ritu kaur
2010-04-05 17:00                                                                                                         ` Konrad Rzeszutek Wilk
2010-04-06  4:00                                                                                                           ` Ritu kaur
2010-04-06  6:03                                                                                                             ` Pasi Kärkkäinen
2010-04-06 13:31                                                                                                               ` Ritu kaur [this message]
2010-04-09 15:53                                                                                                                 ` Ritu kaur
2010-04-11 17:11                                                                                                                   ` Ritu kaur
2010-04-12 14:04                                                                                                                     ` Konrad Rzeszutek Wilk
2010-04-12 22:14                                                                                                                       ` Ritu kaur
2010-04-13  8:34                                                                                                                         ` Ian Campbell
2010-04-13 22:06                                                                                                                           ` Ritu kaur
2010-04-14  8:48                                                                                                                             ` Ian Campbell
2010-03-28 11:33                                                                               ` Pasi Kärkkäinen
2010-03-31 23:23                                   ` Ritu kaur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=l2h29b32d341004060631v5e8447d6h98acea18b461f32@mail.gmail.com \
    --to=ritu.kaur.us@gmail.com \
    --cc=pasik@iki.fi \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).