From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263620AbTLUS0g (ORCPT ); Sun, 21 Dec 2003 13:26:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263646AbTLUS0g (ORCPT ); Sun, 21 Dec 2003 13:26:36 -0500 Received: from mxfep02.bredband.com ([195.54.107.73]:48005 "EHLO mxfep02.bredband.com") by vger.kernel.org with ESMTP id S263620AbTLUS0e (ORCPT ); Sun, 21 Dec 2003 13:26:34 -0500 To: Ben Collins Cc: linux-kernel@vger.kernel.org Subject: Re: Firewire/sbp2 troubles with Linux 2.6.0 References: <20031221035348.GM6607@phunnypharm.org> <20031221144813.GN6607@phunnypharm.org> From: mru@kth.se (=?iso-8859-1?q?M=E5ns_Rullg=E5rd?=) Date: Sun, 21 Dec 2003 16:58:14 +0100 Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Ben Collins writes: > On Sun, Dec 21, 2003 at 11:42:05AM +0100, M?ns Rullg?rd wrote: >> Ben Collins writes: >> >> > On Sun, Dec 21, 2003 at 04:26:11AM +0100, M?ns Rullg?rd wrote: >> >> >> >> I'm having some trouble connecting a Firewire hard disk box to a >> >> laptop running Linux 2.6.0. The disk is correctly detected when >> >> connected, and can be mounted. The problems start when I try to read >> >> large files from the disk. It will start off reading at about 10 >> >> MB/s, which seems a bit slow for Firewire. The disks I've used are >> >> capable of much more. That's not the real problem, though. After a >> >> little while, sometimes as little as 1 MB, sometimes after about 50 >> >> MB, the reading will stall and this message is printed in the kernel >> >> log: >> >> >> >> ieee1394: sbp2: aborting sbp2 command >> >> 0x28 00 03 6f d2 f1 00 00 f8 00 >> > >> > Please try the code in the repo on linux1394.org. I've done a lot of >> > work to sbp2 since my last sync with Linus. >> >> No difference at all. What I think is strange, is that small reads or >> reading at a slow rate works perfectly. Any further ideas? > > I've seen that before with an old card that I had. I was forced to > either serialize the serial commands in sbp2, or reduce the max speed to > S200. Setting serialize_io=1 seems to help. I managed to read an 800 MB file at 10 MB/s. What's the penalty for setting that? And isn't 10 MB/s a little slow for Firewire? -- Måns Rullgård mru@kth.se