From owner-freebsd-hackers Thu Apr 8 7:13:15 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (unknown [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 8E96A159FC; Thu, 8 Apr 1999 07:13:05 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com ([204.68.178.225]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id IAA25199; Thu, 8 Apr 1999 08:11:00 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <370CAA37.3645E2B9@softweyr.com> Date: Thu, 08 Apr 1999 07:08:08 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Roger Hardiman Cc: hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: Bt848 corruption since upgrading to 3.1. Has DMA code changed? References: <370CB2DC.709E7CEA@cs.strath.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Roger Hardiman wrote: > > Hi, > > Several people (including Luigi) have reported that video capture with > the bt848 driver is not working right since they upgraded from 2.2.6 or > 2.2.8 to 3.1-release > > Luigi and I noticed the problem in VIC (lots of horizontal lines in the > image) and others have rpeorted FXTV problems. > > It looks like a DMA problem. The DMA is either timing out or the bus > mastering is failing or the DMA transfer data is getting corrupted. > > Nothing has changed in the bt848 driver in this area since 2.2.x and I > tested with the vic from 2.2.6 a.out format pkg_add. > It looks like something has changed in the kernel's PCI bus setup code. > > > Does anyone know what is different in the 3.x kernel (compared to the > 2.2.x kernel) which could be causing this corruption. Does the driver explicitly turn on PCI bus mastering on the card? The PCI initialization code no longer does this. This change bit the fxp driver on some machines where the BIOS doesn't initialize bus mastering on the card. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message