From owner-freebsd-x11@FreeBSD.ORG Tue Jun 1 19:01:43 2010 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E6761065672; Tue, 1 Jun 2010 19:01:43 +0000 (UTC) (envelope-from prvs=1761d99bd0=brian@FreeBSD.org) Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9]) by mx1.freebsd.org (Postfix) with ESMTP id 297808FC13; Tue, 1 Jun 2010 19:01:42 +0000 (UTC) Received: from pd6ml1no-ssvc.prod.shaw.ca ([10.0.153.160]) by pd6mo1no-svcs.prod.shaw.ca with ESMTP; 01 Jun 2010 12:46:41 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=zNANCjgXmV0A:10 a=VphdPIyG4kEA:10 a=ORa4HqFjfvEA:10 a=kj9zAlcOel0A:10 a=MJPcHhXccCG8eBs0us8XwA==:17 a=6I5d2MoRAAAA:8 a=MMwg4So0AAAA:8 a=rS_7Nkk9S9sAx6ob66kA:9 a=hKrZTQ0N5_AkTDehTolDBG3DeGQA:4 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=WJ3hkfHDukgA:10 Received: from unknown (HELO store.lan.Awfulhak.org) ([70.79.162.198]) by pd6ml1no-dmz.prod.shaw.ca with ESMTP; 01 Jun 2010 12:46:40 -0600 Received: from store.lan.Awfulhak.org (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 7FAE1C433B1_C055590B; Tue, 1 Jun 2010 18:46:40 +0000 (GMT) Received: from gw.Awfulhak.org (gw.lan.Awfulhak.org [172.16.0.1]) by store.lan.Awfulhak.org (Sophos Email Appliance) with ESMTP id 11428C460FB_C05558EF; Tue, 1 Jun 2010 18:46:38 +0000 (GMT) Received: from localhost (brian@gw.lan.Awfulhak.org [172.16.0.1]) by gw.Awfulhak.org (8.14.4/8.14.4) with ESMTP id o51IkbnY060072; Tue, 1 Jun 2010 11:46:37 -0700 (PDT) (envelope-from brian@FreeBSD.org) Date: Tue, 1 Jun 2010 11:47:38 -0700 From: Brian Somers To: Robert Noland Message-ID: <20100601114738.4fcecae8@FreeBSD.org> In-Reply-To: <4C0541B1.5000707@FreeBSD.org> References: <20100531011111.22064479@dev.lan.Awfulhak.org> <4C0541B1.5000707@FreeBSD.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: x11@FreeBSD.org Subject: Re: xf86-video-mga patch X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2010 19:01:43 -0000 Hopefully you got my other mail with the attachment. Cheers. On Tue, 01 Jun 2010 12:21:53 -0500, Robert Noland wrote: > > > Brian Somers wrote: > > Hi, > > > > Since upgrading to xorg-7.5 (on -current) my dual-head matrox g450 configuration > > has broken with the following error: > > > > "MGA(0): Unable to map BAR 0. Invalid argument (22)" > > > > This is talked about on various forums and can be fixed with the attached patch. > > > > This patch is a (slightly) modified version of "mga-driver-3.patch" which was against > > the 1.4.9-r1 version of the mga driver. There is a "mga-driver-4.patch" available that > > is against the 1.4.11 version of the mga driver (which we have in the ports tree), but > > it doesn't build on FreeBSD. As my patch works, I'd like to submit it to the tree pending > > any updates from xorg. You can read more about these patches by googling the above > > error message. > > > > BTW, I chose not to merge it with the other mga_driver.c patch as it's easier to pull > > if and when the xorg folks produce an official fix. > > > > So is it ok to submit this as "patch-mga-driver-3"? > > The attachment was stripped. > > robert. > > > > Thanks. > > > -- Brian Somers Don't _EVER_ lose your sense of humour !