From owner-freebsd-firewire@FreeBSD.ORG Tue Nov 9 14:08:47 2004 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 427C716A4CE for ; Tue, 9 Nov 2004 14:08:47 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id C455743D49 for ; Tue, 9 Nov 2004 14:08:46 +0000 (GMT) (envelope-from tzhuan@gmail.com) Received: by rproxy.gmail.com with SMTP id b11so58881rne for ; Tue, 09 Nov 2004 06:08:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=G+V1u6i4aeHs2F4EMyr3e5J9k6mFTUjNYFK7Dpr7LA2JJaXqpGT4dXBUmiINUm117lDxa2nf7nXRtxAtZSN43VflZqI+cItuO2g4Yv8Ymh3rPamSQQL0USIU39MFl/El+puhBer29FgQ7Re4e/FsTyT1E6Siub1axIa0vqWpkto= Received: by 10.38.165.55 with SMTP id n55mr326819rne; Tue, 09 Nov 2004 06:08:44 -0800 (PST) Received: by 10.38.207.20 with HTTP; Tue, 9 Nov 2004 06:08:44 -0800 (PST) Message-ID: <6a70337104110906085774baae@mail.gmail.com> Date: Tue, 9 Nov 2004 22:08:44 +0800 From: tzhuan To: firewire@freebsd.org In-Reply-To: <87vfcgzagc.wl@tora.nunu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <87wtwyzii3.wl@tora.nunu.org> <6a70337104110601367f99268a@mail.gmail.com> <6a703371041107133122e10da2@mail.gmail.com> <87vfcgzagc.wl@tora.nunu.org> Subject: Re: fwcontrol -R can't work X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: tzhuan List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 14:08:47 -0000 On Mon, 08 Nov 2004 23:23:15 +0900, Hidetoshi Shimokawa wrote: > At Mon, 8 Nov 2004 05:31:35 +0800, > > I repeat the command and get the following error: > > (I press after the previous fwcontrol exit about 1 second) > > > > huan# fwcontrol -R /dev/null > > NTSC > > 0123(108 blocks padded)4(249 blocks padded)fwcontrol: unknown format 0x3b > > huan# fwcontrol -R /dev/null > > NTSC > > 0fwcontrol: read failed: Input/output error > > huan# fwcontrol -R /dev/null > > NTSC > > 0123(33 blocks padded)4(249 blocks padded)fwcontrol: unknown format 0x3b > > huan# fwcontrol -R /dev/null > > NTSC > > 0123fwcontrol: unknown format 0x5 > > huan# fwcontrol -R /dev/null > > NTSC > > 0123(249 blocks padded)fwcontrol: unknown format 0x3b > > huan# fwcontrol -R /dev/null > > NTSC > > 01(0 blocks padded)fwcontrol: unknown format 0x5 > > huan# > > You seem to get only a few frames and lost some packets after that. > Your machine may be too slow to catch up with DV data or some bad hardware > causes packet loss. Oh..... This machine is IBM X30 with P-3m 1.2G, and the firewire chipset is Ricoh R5C552. Is it fast enough fot this work? > > Did you disable witness and other debug options which affect > performace in -current? Yes, I disable all debugging options in kernel and malloc debugging flags in userland. The kernel and world are compiled with -O2. > > > > Sorry that I'm not sure what do you mean? > > > > When I test fwcontrol yesterday and today, there is no other message > > dump (the fwcontrol just show something, exit, then return to prompt) > > , and there is nothing in /var/log/message. > > If your machine cannot catch up with DV data , I expect 'IR DMA overrun ...' > messages in dmesg. I don't find it, this is the dmesg: http://home.so-net.net.tw/recluseh/dmesg