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-devel

RE: [Xen-devel] pvops Dom0 graphics doesnt work with Intel i915

To: sanjay kushwaha <sanjay.kushwaha@xxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: RE: [Xen-devel] pvops Dom0 graphics doesnt work with Intel i915
From: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Date: Thu, 7 Oct 2010 15:05:02 -0700
Accept-language: en-US
Acceptlanguage: en-US
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 07 Oct 2010 15:06:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=ofd6F4hN2pp=vmmJu5vfp6kDkVs4MBJw9PLvi@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: <4CA38BFF.8090503@xxxxxxxx> <AANLkTimuorsSSU1TXSbt-0JzA3jV4vzWGugwDn_QaUxr@xxxxxxxxxxxxxx> <AANLkTikvy2BOioYKWUTDuY+jbx5XWp1UpOV2QvCT_TZs@xxxxxxxxxxxxxx> <20101001175710.GA17209@xxxxxxxxxxxx> <AANLkTik6PCDU2wM+=v4XLNO9oK0yeJisagQ9+QG86Yug@xxxxxxxxxxxxxx> <AANLkTikjkhuQpX2tebgsbAwHyJu6YRt1MRt6VQcHCPN_@xxxxxxxxxxxxxx> <20101006201204.GR2804@xxxxxxxxxxx> <AANLkTi=8YPJvYTjn7FMSTV0DyfvCEWzSachxTMPjUJfn@xxxxxxxxxxxxxx> <20101007010729.GA22018@xxxxxxxxxxxx> <AANLkTim4Dw0LtSFVjn+7bR7OXrR7+UgyM6OPzDXwqaD-@xxxxxxxxxxxxxx> <20101007180518.GA11383@xxxxxxxxxxxx> <AANLkTi=ofd6F4hN2pp=vmmJu5vfp6kDkVs4MBJw9PLvi@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActmU7esXyX/VxZSRMiymc0u84aNhAAF2r1Q
Thread-topic: [Xen-devel] pvops Dom0 graphics doesnt work with Intel i915

Sanjay,

 

Have you tried the latest xen-unstable staging tree?  It has a workaround for T410 VT-d graphics issue caused by Lenovo BIOS.  This might be the workaround you need:

 

 http://xenbits.xensource.com/staging/xen-unstable.hg?rev/4beee5779122

 

Allen

 

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of sanjay kushwaha
Sent: Thursday, October 07, 2010 12:13 PM
To: Konrad Rzeszutek Wilk
Cc: Jeremy Fitzhardinge; xen-devel
Subject: Re: [Xen-devel] pvops Dom0 graphics doesnt work with Intel i915

 

Hi Konrad,
Unfortunately T410 doesnt have a serial port and neither does the docking station. I havent had any success with USB-to-Serial port dongles in the past. is there any way to get the serial port output?

Thanks,
Sanjay

On Thu, Oct 7, 2010 at 11:05 AM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:

On Thu, Oct 07, 2010 at 10:36:34AM -0700, sanjay kushwaha wrote:
> Hi Konrad,
> I tried your tree. It created a 2.6.32.15 based pvops kernel but graphics
> with VT-d still doesn't work. when I give iommu=0 on xen kernel command line
> in grub menu, graphics works but with iommu=1 it doesnt work (The whole
> screen is garbage).

Are there any warnings/debug messages in the serial log? Please follow
the PVOPS Wiki on how to enable all the debug options.

>
>
> On Wed, Oct 6, 2010 at 6:07 PM, Konrad Rzeszutek Wilk <
> konrad.wilk@xxxxxxxxxx> wrote:
>
> > On Wed, Oct 06, 2010 at 04:02:51PM -0700, sanjay kushwaha wrote:
> > > Thanks Pasi.
> > >
> > > Hi Konrad,
> > > Could you please let me know how to get these backported drivers as
> > > indicated by Pasi? This is the tree that I have.
> >
> > Just follow the Wiki. Oh, I need to update it.
> >
> > Here do this:
> >
> > git remote add konrad  git://
> > git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git
> >
> > git pull konrad
> > git checkout konrad/devel/next.drm
> >
> > make
> >
> > >
> > > [evans@vwifi0 linux-2.6.32.x]$ git show
> > > commit b297cdac0373625d3cd0e6f2b393570dcf2edba6
> > > Merge: c6cfd01 64392f6
> > > Author: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
> > > Date:   Mon Sep 13 14:27:24 2010 -0700
> > >
> > >     Merge branch 'xen/next' into xen/next-2.6.32
> > >
> > >     * xen/next:
> > >       xen/netfront: Fix another potential race condition
> > >       Revert "xen/netfront: default smartpoll to on"
> > >
> > > [evans@vwifi0 linux-2.6.32.x]$
> > >
> > >
> > > Thanks,
> > > Sanjay
> > >
> > > On Wed, Oct 6, 2010 at 1:12 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
> > >
> > > > On Wed, Oct 06, 2010 at 10:50:57AM -0700, sanjay kushwaha wrote:
> > > > >    Hi,
> > > > >    I have run into more problems now. This time with VT-d.
> > > > >    When I enable VT-d on this laptop, graphics again stops working in
> > > > dom0
> > > > >    with pvops (linux 2.6.32.21). the screen starts showing garbage as
> > > > soon as
> > > > >    it switches into graphics mode.this happens when I boot the pvops
> > > > kernel
> > > > >    both as dom0 and native linux. However, when I try 2.6.33 based
> > pvops
> > > > >    kernel (stable-2.6.33.x) graphics seems to work fine with VT-d
> > when
> > > > >    running native but it doesnt work when running as Dom0.
> > > > >
> > > > >    so now the problem is:
> > > > >
> > > > >    with stable-2.6.32.x: graphics works in Dom0 without Vt-d but not
> > with
> > > > >    VT-d (neither native nor Dom0).
> > > > >    with stable-2.6.33.x: graphics works with VT-d when running native
> > but
> > > > >    doesnt work when running as Dom0 (with or without VT-d).
> > > > >
> > > >
> > > > stable-2.6.33.x is not maintained, and you shouldn't use it.
> > > >
> > > > I think Konrad has a backport of the 2.6.34 drm/dri drivers
> > > > to stable-2.6.32.x somewhere.. that might help.
> > > >
> > > > http://wiki.xensource.com/xenwiki/XenPVOPSDRM
> > > >
> > > > -- Pasi
> > > >
> > > > >    I am experiencing this problem both with Lenovo T410, and Dell
> > > > latitude
> > > > >    E6410.
> > > > >    Has anybody experienced this problem?
> > > > >
> > > > >    Thanks,
> > > > >    Sanjay
> > > > >
> > > > >    On Fri, Oct 1, 2010 at 11:06 AM, sanjay kushwaha
> > > > >    <[1]sanjay.kushwaha@xxxxxxxxx> wrote:
> > > > >
> > > > >      havent tried stable-2.6.32.x on Radeon. It works with nomodeset
> > and
> > > > >      nopat options with stable-2.6.33.x branch.
> > > > >
> > > > >      On Fri, Oct 1, 2010 at 10:57 AM, Konrad Rzeszutek Wilk
> > > > >      <[2]konrad.wilk@xxxxxxxxxx> wrote:
> > > > >
> > > > >        On Fri, Oct 01, 2010 at 10:06:48AM -0700, sanjay kushwaha
> > wrote:
> > > > >        > When I dont use nomodeset option, dom0 boots fine X runs
> > > > properly.
> > > > >        So Fedora
> > > > >        > 13 (X86_64) distro with stable-2.6.32.x pvops kernel and
> > > > >        xen-unstable works
> > > > >        > fine for i915 without nomodeset option.
> > > > >
> > > > >        Good to hear it works for you.
> > > > >
> > > > >        What about your radeon laptop?
> > > > >        >
> > > > >        > Thanks,
> > > > >        > Sanjay
> > > > >        >
> > > > >        > On Wed, Sep 29, 2010 at 3:56 PM, sanjay kushwaha
> > > > >        > <[3]sanjay.kushwaha@xxxxxxxxx>wrote:
> > > > >        >
> > > > >        > > Hi Jeremy,
> > > > >        > > I switched to stable-2.6.32.x branch (which is 2.6.32.21
> > > > based)
> > > > >        but I get
> > > > >        > > the same problem. Attached is the Xorg.0.log file when I
> > > > booted
> > > > >        with
> > > > >        > > nomodeset option.
> > > > >        > >
> > > > >        > > interestingly I did not see any kernel or driver crash
> > > > messages in
> > > > >        the
> > > > >        > > dmesg output. I do see these messages multiple times in
> > > > >        /var/log/messages
> > > > >        > > *
> > > > >        > > Sep 29 15:40:32 vwifi0 gdm-binary[2244]: WARNING:
> > GdmDisplay:
> > > > >        display
> > > > >        > > lasted 0.048984 seconds
> > > > >        > > Sep 29 15:40:32 vwifi0 gdm-binary[2244]: WARNING:
> > > > >        GdmLocalDisplayFactory:
> > > > >        > > maximum number of X display failures reached: check X
> > server
> > > > log
> > > > >        for errors
> > > > >        > > *
> > > > >        > >
> > > > >        > > Thanks,
> > > > >        > > Sanjay
> > > > >        > >
> > > > >        > >
> > > > >        > > On Wed, Sep 29, 2010 at 11:57 AM, Jeremy Fitzhardinge
> > > > >        <[4]jeremy@xxxxxxxx>wrote:
> > > > >        > >
> > > > >        > >>  On 09/29/2010 11:12 AM, sanjay kushwaha wrote:
> > > > >        > >> > Hi Folks,
> > > > >        > >> > I am trying to boot latest xen-unstable on my laptop
> > which
> > > > has
> > > > >        Intel
> > > > >        > >> > i915 graphics. PVOPS dom0 is 2.6.33.6 based (from
> > branch
> > > > >        > >> > xen/stable-2.6.33.x)
> > > > >        > >>
> > > > >        > >> Don't use that branch; it isn't supported (in fact, I
> > deleted
> > > > it
> > > > >        a while
> > > > >        > >> ago).  Use xen/stable-2.6.32.x for now.
> > > > >        > >>
> > > > >        > >>    J
> > > > >        > >>
> > > > >        > >> > and the distro is fedora 13 64-bit. The graphics doesnt
> > > > come up
> > > > >        and it
> > > > >        > >> > seems that i915 driver is crashing multiple times. If I
> > > > boot in
> > > > >        > >> > run-level 3 (without X) dom0 boots fine.
> > > > >        > >> > I tried booting the dom0 kernel with nomodeset and
> > nopat
> > > > >        options
> > > > >        > >> > without any success. I searched on internet and found
> > that
> > > > >        multiple
> > > > >        > >> > people have reported similar problem but I could not
> > find
> > > > any
> > > > >        solution.
> > > > >        > >> >
> > > > >        > >> > Has anybody found a solution or workaround to this
> > problem?
> > > > >        > >> >
> > > > >        > >> > Thanks,
> > > > >        > >> > Sanjay
> > > > >        > >> >
> > > > >        > >> > PS: I have another laptop with same version of xen and
> > > > pvops
> > > > >        dom0 but
> > > > >        > >> > it has ATI radeon graphics card. This laptop boots dom0
> > > > with
> > > > >        graphics
> > > > >        > >> > when I give nomodeset and nopat options (but fails if I
> > > > dont
> > > > >        give
> > > > >        > >> > either of those two options).
> > > > >        > >> >
> > > > >        > >> >
> > > > >        > >> >
> > > > >        > >> > _______________________________________________
> > > > >        > >> > Xen-devel mailing list
> > > > >        > >> > [5]Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > >        > >> > [6]http://lists.xensource.com/xen-devel
> > > > >        > >>
> > > > >        > >>
> > > > >        > >
> > > > >
> > > > >        > _______________________________________________
> > > > >        > Xen-devel mailing list
> > > > >        > [7]Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > >        > [8]http://lists.xensource.com/xen-devel
> > > > >
> > > > >      --
> > > > >      ----------------------
> > > > >      Dr. Sanjay Kumar
> > > > >      Research Scientist
> > > > >      Intel Corporation
> > > > >
> > > > >    --
> > > > >    ----------------------
> > > > >    Dr. Sanjay Kumar
> > > > >    Research Scientist
> > > > >    Intel Corporation
> > > > >
> > > > > References
> > > > >
> > > > >    Visible links
> > > > >    1. mailto:sanjay.kushwaha@xxxxxxxxx
> > > > >    2. mailto:konrad.wilk@xxxxxxxxxx
> > > > >    3. mailto:sanjay.kushwaha@xxxxxxxxx
> > > > >    4. mailto:jeremy@xxxxxxxx
> > > > >    5. mailto:Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > >    6. http://lists.xensource.com/xen-devel
> > > > >    7. mailto:Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > >    8. http://lists.xensource.com/xen-devel
> > > >
> > > > > _______________________________________________
> > > > > Xen-devel mailing list
> > > > > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > > > http://lists.xensource.com/xen-devel
> > > >
> > > >
> > >
> > >
> > > --
> > > ----------------------
> > > Dr. Sanjay Kumar
> > > Research Scientist
> > > Intel Corporation
> >
>
>
>
> --
> ----------------------
> Dr. Sanjay Kumar
> Research Scientist
> Intel Corporation

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




--
----------------------
Dr. Sanjay Kumar
Research Scientist
Intel Corporation

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