public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: mru@kth.se (Måns Rullgård)
To: Ben Collins <bcollins@debian.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Firewire/sbp2 troubles with Linux 2.6.0
Date: Sun, 21 Dec 2003 16:58:14 +0100	[thread overview]
Message-ID: <yw1xn09mkvs9.fsf@ford.guide> (raw)
In-Reply-To: 20031221144813.GN6607@phunnypharm.org

Ben Collins <bcollins@debian.org> writes:

> On Sun, Dec 21, 2003 at 11:42:05AM +0100, M?ns Rullg?rd wrote:
>> Ben Collins <bcollins@debian.org> 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

  reply	other threads:[~2003-12-21 18:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-21  3:26 Firewire/sbp2 troubles with Linux 2.6.0 Måns Rullgård
2003-12-21  3:53 ` Ben Collins
2003-12-21 10:42   ` Måns Rullgård
2003-12-21 14:48     ` Ben Collins
2003-12-21 15:58       ` Måns Rullgård [this message]
2003-12-21 18:31         ` Ben Collins
2003-12-21 19:09           ` Måns Rullgård
2003-12-21 18:48             ` Ben Collins
2003-12-21 19:34               ` Måns Rullgård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yw1xn09mkvs9.fsf@ford.guide \
    --to=mru@kth.se \
    --cc=bcollins@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox