Firewire/sbp2 troubles with Linux 2.6.0

From: Måns Rullgård
Date: Sat Dec 20 2003 - 22:27:04 EST



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

After maybe 30 seconds, reading resumes with a few MB, then stops
again, etc. By setting max_speed=0 to sbp2 limiting the speed the
interval between the stalls becomes longer. Other options seem to
have no effect to this problem.

The hex codes printed vary a bit. Some of the ones I've seen are

0x28 00 03 30 00 11 00 00 10 00
0x28 00 03 37 82 81 00 00 10 00
0x28 00 03 37 a2 89 00 00 10 00
0x28 00 00 00 f0 10 00 00 f8 00
0x28 00 03 65 be 21 00 00 f8 00
0x28 00 03 65 d1 29 00 00 f8 00
0x28 00 03 6f d2 f1 00 00 f8 00
0x28 00 03 74 b5 71 00 00 f8 00
0x28 00 03 76 aa e9 00 00 08 00
0x28 00 03 79 48 b9 00 00 f8 00

Writing to the disk works without any problems, except that the
throughput is only about 10 MB/s.

I'd appreciate if someone could enlighten me about what's going on.
Is there anything I can do to gather more information about the
problem?

--
Måns Rullgård
mru@xxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/