xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: sanjay kushwaha <sanjay.kushwaha@gmail.com>
To: "Kay, Allen M" <allen.m.kay@intel.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	xen-devel <xen-devel@lists.xensource.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: pvops Dom0 graphics doesnt work with Intel i915
Date: Thu, 7 Oct 2010 15:44:25 -0700	[thread overview]
Message-ID: <AANLkTiki_dTRHf8Sni5txXhSCf_k_85VMJDmk=UFc6Rh@mail.gmail.com> (raw)
In-Reply-To: <987664A83D2D224EAE907B061CE93D530163EA9530@orsmsx505.amr.corp.intel.com>


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

Hi Allen,
Indeed I needed this workaround. Now graphics works fine with VT-d with this
xen tree.

Thanks,
Sanjay

On Thu, Oct 7, 2010 at 3:05 PM, Kay, Allen M <allen.m.kay@intel.com> wrote:

>  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@lists.xensource.com [mailto:
> xen-devel-bounces@lists.xensource.com] *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@oracle.com> 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@oracle.com> 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@citrix.com>
> > > > 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@iki.fi>
> 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@gmail.com> 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@oracle.com> 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@gmail.com>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@goop.org>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@lists.xensource.com
> > > > > >        > >> > [6]http://lists.xensource.com/xen-devel
> > > > > >        > >>
> > > > > >        > >>
> > > > > >        > >
> > > > > >
> > > > > >        > _______________________________________________
> > > > > >        > Xen-devel mailing list
> > > > > >        > [7]Xen-devel@lists.xensource.com
> > > > > >        > [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@gmail.com
> > > > > >    2. mailto:konrad.wilk@oracle.com
> > > > > >    3. mailto:sanjay.kushwaha@gmail.com
> > > > > >    4. mailto:jeremy@goop.org
> > > > > >    5. mailto:Xen-devel@lists.xensource.com
> > > > > >    6. http://lists.xensource.com/xen-devel
> > > > > >    7. mailto:Xen-devel@lists.xensource.com
> > > > > >    8. http://lists.xensource.com/xen-devel
> > > > >
> > > > > > _______________________________________________
> > > > > > Xen-devel mailing list
> > > > > > Xen-devel@lists.xensource.com
> > > > > > 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@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>
>
>
> --
> ----------------------
> Dr. Sanjay Kumar
> Research Scientist
> Intel Corporation
>



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

[-- Attachment #1.2: Type: text/html, Size: 19961 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-10-07 22:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-29 18:12 pvops Dom0 graphics doesnt work with Intel i915 sanjay kushwaha
2010-09-29 18:57 ` Jeremy Fitzhardinge
2010-09-29 22:56   ` sanjay kushwaha
2010-10-01 17:06     ` sanjay kushwaha
2010-10-01 17:57       ` Konrad Rzeszutek Wilk
2010-10-01 18:06         ` sanjay kushwaha
2010-10-06 17:50           ` sanjay kushwaha
2010-10-06 20:12             ` Pasi Kärkkäinen
2010-10-06 23:02               ` sanjay kushwaha
2010-10-07  1:07                 ` Konrad Rzeszutek Wilk
2010-10-07 17:36                   ` sanjay kushwaha
2010-10-07 18:05                     ` Konrad Rzeszutek Wilk
2010-10-07 19:12                       ` sanjay kushwaha
2010-10-07 19:33                         ` Pasi Kärkkäinen
2010-10-07 22:05                         ` Kay, Allen M
2010-10-07 22:44                           ` sanjay kushwaha [this message]
2010-11-06 17:21                             ` sanjay kushwaha
2010-11-07  6:22                               ` Kay, Allen M
2010-11-07 18:57                                 ` sanjay kushwaha

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='AANLkTiki_dTRHf8Sni5txXhSCf_k_85VMJDmk=UFc6Rh@mail.gmail.com' \
    --to=sanjay.kushwaha@gmail.com \
    --cc=allen.m.kay@intel.com \
    --cc=jeremy@goop.org \
    --cc=konrad.wilk@oracle.com \
    --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).