From owner-freebsd-firewire@FreeBSD.ORG Fri Jun 27 10:56:12 2003 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 3D27637B404 for ; Fri, 27 Jun 2003 10:56:12 -0700 (PDT) Received: from internal.mail.uk.tiscali.com (internal.mail.uk.tiscali.com [212.74.96.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DBBA43FE3 for ; Fri, 27 Jun 2003 10:56:11 -0700 (PDT) (envelope-from b.candler@pobox.com) Received: from [212.74.113.66] (helo=vaio.linnet.org) by internal.mail.uk.tiscali.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.12) id 19VxSC-0004Ct-00; Fri, 27 Jun 2003 18:56:09 +0100 Received: from brian by vaio.linnet.org with local (Exim 4.20) id 19VxTO-000GC6-MB; Fri, 27 Jun 2003 18:57:22 +0100 Date: Fri, 27 Jun 2003 18:57:22 +0100 From: Brian Candler To: Hidetoshi Shimokawa Message-ID: <20030627175722.GA62233@uk.tiscali.com> References: <20030627101841.GA60838@uk.tiscali.com> <20030627110317.GA60951@uk.tiscali.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: freebsd-firewire@freebsd.org Subject: Re: Firewire resets/performance problems X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Vendors pre-release coordination List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 17:56:12 -0000 On Sat, Jun 28, 2003 at 02:35:12AM +0900, Hidetoshi Shimokawa wrote: > > My system also has a SCSI card with a couple of CD-ROMs on it, so that's > > scbus0 and the firewire is scbus1. > > > > I just tried removing the SCSI card and the firewire is zooming along (8MB > > per second!) > > > > This may or may not be a red herring - perhaps it's just the fact that I did > > a reboot - but is it possible that something is wrongly assuming the device > > to be on scbus0 when it's on scbus1 ? > > > > Regards, > > > > Bran. > > I thinks there is no difference between scbus0 and scbus1 at CAM > layer. I suspect you have problem in PCI bus and removing the SCSI card > hides the problem. > > You can easily exchange scbus 0 and 1 without removing the card by > adding the following line into the kernel config file. > > device scbus0 at sbp0 Cheers. I have actually done some further reboots, with the SCSI card in place, and it's intermittent. Sometimes when I boot everything works fine; sometimes when I boot, and then attach the iPod, I get what appears to be an infinite loop of: fwohci0: BUS reset fwohci0: node_id = 0xc800ffc0, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) (logged once per second). In that case it never gets as far as making detecting da0 and making it available. I did a hard power-cycle of the machine, without unplugging any cards, and it worked after that. So now my best guess is that there's something in the Lucent chipset which is not getting properly initialised. It seems to work more often than it doesn't, and it works really well when it does. Regards, Brian.