From owner-freebsd-bugs@FreeBSD.ORG Sun Jun 17 01:50:02 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C393C16A469 for ; Sun, 17 Jun 2007 01:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id A2B1E13C4B7 for ; Sun, 17 Jun 2007 01:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5H1o2Qh034904 for ; Sun, 17 Jun 2007 01:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5H1o2Dh034903; Sun, 17 Jun 2007 01:50:02 GMT (envelope-from gnats) Resent-Date: Sun, 17 Jun 2007 01:50:02 GMT Resent-Message-Id: <200706170150.l5H1o2Dh034903@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dieter Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCEE016A41F for ; Sun, 17 Jun 2007 01:45:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id BCD7513C44B for ; Sun, 17 Jun 2007 01:45:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5H1jpVw082653 for ; Sun, 17 Jun 2007 01:45:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l5H1jpZU082652; Sun, 17 Jun 2007 01:45:51 GMT (envelope-from nobody) Message-Id: <200706170145.l5H1jpZU082652@www.freebsd.org> Date: Sun, 17 Jun 2007 01:45:51 GMT From: Dieter To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/113785: dropouts when playing DV on firewire X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 01:50:02 -0000 >Number: 113785 >Category: kern >Synopsis: dropouts when playing DV on firewire >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 17 01:50:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dieter >Release: 6.2 >Organization: >Environment: FreeBSD 6.2-RELEASE amd64 >Description: FreeBSD 6.2 AMD64 nforce4 ultra VIA VT6307 firewire controller (onboard) NEC uPD72871/2 firewire controller (on PCI card) Canon DV camcorder fwohci0: port 0xa800-0xa87f mem 0xfdffe000-0xfdffe7ff irq 11 at device 6.0 on pci1 fwohci1: mem 0xfdeff000-0xfdefffff irq 12 at device 8.0 on pci2 Using the VIA controller, "fwcontrol -R" works okay. But "fwcontrol -S" does not work correctly. It plays for roughly 1.5 seconds, then both the audio and video drop out for a moment. This repeats over and over at regular intervals. No error messages appear in dmesg or syslog. Perhaps a flow control or buffering problem causing the camcorder to run out of data? Using the NEC firewire controller, it acts the same as the VIA controller if the camcorder is powered up with FreeBSD already running. If I reboot FreeBSD, and power up the camcorder while FreeBSD is not running (e.g. firmware or boot loader), then "fwcontrol -S" works fine. This workaround does not work with the VIA controller. Leaving the camcorder on and rebooting FreeBSD does not change anything, If it was working it remains working, if it was not working it remains not working. "fwcontrol -r" does not help. There must be something different sent to the camera when "hot plugging" (actually just powering up, not plugging/unplugging) verses booting. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: