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] vm86 - DCC probes don't work

To: Rik van Riel <riel@xxxxxxxxxx>
Subject: Re: [Xen-devel] vm86 - DCC probes don't work
From: Jon Smirl <jonsmirl@xxxxxxxxx>
Date: Tue, 22 Feb 2005 17:54:03 -0500
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx, ian.pratt@xxxxxxxxxxxx
Delivery-date: Tue, 22 Feb 2005 22:58:04 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=JHhdke9gW/1vk773CaJFoTNkhIDOAkLe2VJ5RqIfyvFlov+bBLgXSyuR3V/lgZv/ht1yWbcKQk011jvi+33xVeAw0h+69cW++tarQf+8tm9Xg/LZkQ3H7bKeWvjgnYKxJPdUYn84TM3yuixDEhl14MSBpSupLg85MhxoVSvpjdY=
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.61.0502221730520.30519@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D123A21@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0502221730520.30519@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Jon Smirl <jonsmirl@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Tue, 22 Feb 2005 17:31:36 -0500 (EST), Rik van Riel <riel@xxxxxxxxxx> wrote:
> On Tue, 22 Feb 2005, Ian Pratt wrote:
> 
> > > ddcprobe is trying to read hardware I2C buses. On a radeon card these
> > > are part of the mmio address space. Not sure where they appear on the
> > > i915 but it should be easy to find in the source.
> >
> > I suspect the i915 driver is going at the address using __va rather than
> > using isa_bus_to_virt. Please can someone investigate and send a .patch
> > (and feed upstream too).
> 
> Dccprobe is trying to do BIOS calls from vm86 mode.
> 
> I wonder if we're just not mapping certain physical addresses
> into vm86 mode (in domain 0) that the program expects there to
> be ...

Intel has not released the source to the i915 VBIOS. You'll have to
debug it the hard way with breakpoints on the emulation hooks in vm86.
It might be going for ioports instead of pci memory. lspci -v should
tell you all of the hardware on the i915.

I also believe the only way to set a video mode on the i915 is with a
call to the VBIOS. That will probably be broken too.

Radeon hardware would be easier to get running. All of the source for
it is in the X tree.

> 
> --
> "Debugging is twice as hard as writing the code in the first place.
> Therefore, if you write the code as cleverly as possible, you are,
> by definition, not smart enough to debug it." - Brian W. Kernighan
> 


-- 
Jon Smirl
jonsmirl@xxxxxxxxx


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel