From: Keir Fraser Subject: Re: xen and agpgart Date: Sun, 05 Sep 2004 06:26:25 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: <20040904203654.GA27317@fog.sekrit.org> Return-path: In-Reply-To: Your message of "Sat, 04 Sep 2004 16:36:54 EDT." <20040904203654.GA27317@fog.sekrit.org> Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Gerald Britton Cc: Keir Fraser , Christian Limpach , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org I've checked in patches for AGPGART and DRM. You'll need to apply them manually if you're having problems (a.k.a. crashes :-) when starting X. To do this: cd linux-2.6.8.1-xen0 ; patch -p1 <../linux-2.6.8.1-patches/*.patch I'm really interested to know (a) if with the patch X works; (b) if not, why not [e.g., crash dump]; (c) if the patch works with Xen, does it also work with native Linux (i.e., have I broken the normal case!). Gerald: my patch has a better chance of working than yours as I also fixed the page-allocation call to definitely return a physically-contiguous extent of memory. If it doesn't then I gues we'll have to see whether anyone with a serial line can help. -- Keir > > I'll fix Xen and Xen/Linux for the problems we've found so far, and > > create patches for the GART and DRM drivers. > > For reference, To get to this point, I've had to revert my changes to the > agp drivers where i changed virt_to_phys() to virt_to_bus(), they're not back > at virt_to_phys() (it fails in the ioremap()'s otherwise). It's possible > I still have something in an inconsistant and broken state, I'll have to take > a closer look at all the code there. > > -- Gerald > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click