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

Re: [Xen-devel] pci-passthrough and shared interrupts



On Sun, Oct 03, 2010 at 10:12:58AM -0700, Ritu kaur wrote:
>    Hi Pasi,
> 
>    I do have it as dom0_mem=256M, following is my grub.conf....
> 

That's weird..

Can you please paste the full Xen boot logs (from serial console or SOL).

-- Pasi

>    /**********************************************************
>    # grub.conf generated by anaconda
>    #
>    # Note that you do not have to rerun grub after making changes to this
>    file
>    # NOTICE:  You have a /boot partition.  This means that
>    #          all kernel and initrd paths are relative to /boot/, eg.
>    #          root (hd0,0)
>    #          kernel /vmlinuz-version ro root=/dev/mapper/vg_f13-lv_root
>    #          initrd /initrd-[generic-]version.img
>    #boot=/dev/sda
>    default=0
>    timeout=10
>    splashimage=(hd0,0)/grub/splash.xpm.gz
>    #hiddenmenu
>    title Fedora (2.6.34.7-56.fc13.x86_64)
>            root (hd0,0)
>            kernel /vmlinuz-2.6.34.7-56.fc13.x86_64 ro
>    root=/dev/mapper/vg_f13-lv_root rd_LVM_LV=vg_f13/lv_root
>    rd_LVM_LV=vg_f13/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8
>    SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
>            initrd /initramfs-2.6.34.7-56.fc13.x86_64.img
>    title Fedora (2.6.33.3-85.fc13.x86_64)
>            root (hd0,0)
>            kernel /vmlinuz-2.6.33.3-85.fc13.x86_64 ro
>    root=/dev/mapper/vg_f13-lv_root rd_LVM_LV=vg_f13/lv_root
>    rd_LVM_LV=vg_f13/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8
>    SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
>            initrd /initramfs-2.6.33.3-85.fc13.x86_64.img
>    title Fedora Xen 4.0 with Linux 2.6.32.23 pvops dom0
>            root (hd0,0)
>            kernel /xen.gz dom0_mem=256M loglvl=all guest_loglvl=all
>            module /vmlinuz-2.6.32.23 ro root=/dev/mapper/vg_f13-lv_root
>    nomodeset
>            module /initramfs-2.6.32.23.img
>    
> ************************************************************************************************************/
> 
>    Thanks
> 
>    On Sun, Oct 3, 2010 at 9:54 AM, Pasi Kärkkäinen <[1]pasik@xxxxxx> wrote:
> 
>      On Sun, Oct 03, 2010 at 09:41:55AM -0700, Ritu kaur wrote:
>      >    Pasi,
>      >
>      >    Installation/compilation of xen source on fedora core went through
>      fine. I
>      >    am facing an issue when dom0_mem is set to 1024M. During boot I get
>      the
>      >    message
>      >
>      >    /*********************
>      >    Panic on CPU 0
>      >    Not enough RAM for domain 0 allocation
>      >    **********************/
>      >
>      >    Same thing happens when dom0_mem is set to 512M
>      >
>      >    when dom0_mem is set to 256M,  I get following message
>      >
>      >    /***************************
>      >    Panic on CPU 0
>      >    Domain 0 allocation is too small for kernel image
>      >    ****************************/
>      >
>      >    Is 8GB ram mandatory? In my machine it is 2GB ram, inputs
>      appreciated.
>      >
> 
>      It sounds like you wrote the value wrong, ie. you didn't specify 'M' to
>      make it megabytes,
>      so you got kilobytes.. and thus it's too small to fit the dom0 kernel
>      image there.
> 
>      -- Pasi
> 
>      >    Thanks
>      >
>      >    On Sun, Oct 3, 2010 at 9:07 AM, Ritu kaur
>      <[1][2]ritu.kaur.us@[2][3]gmail.com>
>      >    wrote:
>      >
>      >      Thanks Konrad, I checked my old emails(back in March 2010) to see
>      if I
>      >      had tried this combination when I was testing xcp. I did try this
>      >      combination and the problem I had faced was configuration errors
>      due to
>      >      IDE_DISK. I couldn't get past this problem. Snippets below
>      >
>      >      /*********************************************************
>      >      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.
>      >      >
>      >
>       
> ******************************************************************************************************************/
>      >
>      >      On Fri, Oct 1, 2010 at 8:58 AM, Konrad Rzeszutek Wilk
>      >      <[3][4]konrad.wilk@xxxxxxxxxx> wrote:
>      >
>      >        On Fri, Oct 01, 2010 at 08:36:03AM -0700, Ritu kaur wrote:
>      >        > Hi Konrad,
>      >        >
>      >        > Frankly, I am confused. XCP(which is similar to Citrix
>      Xenserver but
>      >        > open-source and newer-kernel) requires DDK to build a kernel
>      image.
>      >        If I
>      >        > understand your suggestion correctly I should be able to
>      >        >
>      >        > 1. Take PVOPS kernel code, compile it in XCP DDK and load it
>      into
>      >        dom0
>      >        > 2. Take PVOPS kernel code, compile it in domU OS and load it
>      into
>      >        domU
>      >        >
>      >        > then, I should be able to get pci-passthrough + shared
>      interrupts
>      >        between
>      >        > devices working correctly?  Please clarify/confirm
>      >
>      >        Yes.
>      >
>      > References
>      >
>      >    Visible links
>      >    1. [5]http://ritu.kaur.us/
>      >    2. [6]http://gmail.com/
>      >    3. mailto:[7]konrad.wilk@xxxxxxxxxx
> 
> References
> 
>    Visible links
>    1. mailto:pasik@xxxxxx
>    2. http://ritu.kaur.us/
>    3. http://gmail.com/
>    4. mailto:konrad.wilk@xxxxxxxxxx
>    5. http://ritu.kaur.us/
>    6. http://gmail.com/
>    7. mailto:konrad.wilk@xxxxxxxxxx

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


 


Rackspace

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