2003-03-05 20:55:21

by Sebastian Zimmermann

[permalink] [raw]
Subject: ieee1394: sbp2: sbp2util_allocate_request_packet

Hello,

I have a problem using an external firewire harddrive. When writing to
the disk (badblocks -w) I get an error message about every minute:

kernel: ieee1394: sbp2: sbp2util_allocate_request_packet - no packets
available!
kernel: ieee1394: sbp2: sbp2util_allocate_write_request_packet failed
kernel: ieee1394: sbp2: aborting sbp2 command
kernel: Write (10) 00 09 51 b4 4a 00 00 fe 00

This by itself is - except for small pauses once and then - no problem.
But when writing much data (dd for 40 GB), it gets worse after some
time:

(log continued)
kernel: ieee1394: sbp2: aborting sbp2 command
kernel: Read (10) 00 08 b3 f2 5a 00 00 fe 00
kernel: ieee1394: sbp2: aborting sbp2 command
kernel: Test Unit Ready 00 00 00 00 00
kernel: ieee1394: sbp2: reset requested
kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
kernel: ieee1394: sbp2: aborting sbp2 command
kernel: Test Unit Ready 00 00 00 00 00
kernel: ieee1394: sbp2: reset requested
kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
kernel: ieee1394: sbp2: aborting sbp2 command
kernel: Test Unit Ready 00 00 00 00 00
kernel: scsi: device set offline - not ready or command retry failed
after bus reset: host 0 channel 0 id 0 lun 0
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 50000
kernel: I/O error: dev 08:02, sector 67838424
kernel: I/O error: dev 08:02, sector 67838426
[...]

I am using kernel.org's 2.4.20 kernel.

Thanks for your help!

Sebastian


2003-03-05 21:11:38

by Ben Collins

[permalink] [raw]
Subject: Re: ieee1394: sbp2: sbp2util_allocate_request_packet

On Wed, Mar 05, 2003 at 10:08:08PM +0100, Sebastian Zimmermann wrote:
> Hello,
>
> I have a problem using an external firewire harddrive. When writing to
> the disk (badblocks -w) I get an error message about every minute:
>
> kernel: ieee1394: sbp2: sbp2util_allocate_request_packet - no packets
> available!
> kernel: ieee1394: sbp2: sbp2util_allocate_write_request_packet failed
> kernel: ieee1394: sbp2: aborting sbp2 command
> kernel: Write (10) 00 09 51 b4 4a 00 00 fe 00
>
> This by itself is - except for small pauses once and then - no problem.
> But when writing much data (dd for 40 GB), it gets worse after some
> time:

This is fixed the patch I send against -pre5. You can use the
branches/linux-2.4 directory in the repo as a direct replacement for
drivers/ieee1394 in fact (http://www.linux1394.org).

--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo - http://www.deqo.com/

2003-03-05 21:29:45

by William Stearns

[permalink] [raw]
Subject: Re: ieee1394: sbp2: sbp2util_allocate_request_packet

Good afternoon, Ben,

On Wed, 5 Mar 2003, Ben Collins wrote:

> On Wed, Mar 05, 2003 at 10:08:08PM +0100, Sebastian Zimmermann wrote:
> > I have a problem using an external firewire harddrive. When writing to
> > the disk (badblocks -w) I get an error message about every minute:
> >
> > kernel: ieee1394: sbp2: sbp2util_allocate_request_packet - no packets
> > available!
> > kernel: ieee1394: sbp2: sbp2util_allocate_write_request_packet failed
> > kernel: ieee1394: sbp2: aborting sbp2 command
> > kernel: Write (10) 00 09 51 b4 4a 00 00 fe 00
> >
> > This by itself is - except for small pauses once and then - no problem.
> > But when writing much data (dd for 40 GB), it gets worse after some
> > time:
>
> This is fixed the patch I send against -pre5. You can use the
> branches/linux-2.4 directory in the repo as a direct replacement for
> drivers/ieee1394 in fact (http://www.linux1394.org).

It looks like the download page
(http://www.linux1394.org/download.html) is out of date:

"See below for how to apply patches.

patch for 2.2.16-2.2.19 (released 2001-05-27)
patch for 2.4.2-2.4.4 (released 2001-05-22)
No patch is needed for newer 2.4 kernels and 2.5. Get
the latest version of this series or use svn."

I couldn't find a branches directory in the nightly tarball
link at http://www.linux1394.org/viewcvs/trunk/?root=Linux+IEEE-1394 .

Obviously I'm doing something wrong. :-)
Is there some page on linux1394 which contains either a tar of the
current 2.4 tree or a the most recent patch against 2.4?
My sincere thanks for all your work and help.
Cheers,
- Bill

---------------------------------------------------------------------------
"Note: This page is best viewed using Ham Explorer 4.0 or better
(if you can can have it) in a resolution of 8x6 folicals, blindfolded
and facing away from the monitor. Preferably with clothes on and a
member of the clergy present."
--------------------------------------------------------------------------
William Stearns ([email protected]). Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at: http://www.stearns.org
Linux articles at: http://www.opensourcedigest.com
--------------------------------------------------------------------------

2003-03-05 22:06:39

by Ben Collins

[permalink] [raw]
Subject: Re: ieee1394: sbp2: sbp2util_allocate_request_packet

> I couldn't find a branches directory in the nightly tarball
> link at http://www.linux1394.org/viewcvs/trunk/?root=Linux+IEEE-1394 .
>
> Obviously I'm doing something wrong. :-)
> Is there some page on linux1394 which contains either a tar of the
> current 2.4 tree or a the most recent patch against 2.4?
> My sincere thanks for all your work and help.

It's viewcvs (or viewsvn in this case). Browse the repo above (trunk
being HEAD). Unlink CVS, SVN stores branches in simple copies. The URL
you want is:

http://www.linux1394.org/viewcvs/branches/linux-2.4/?root=Linux+IEEE-1394


Then click on the tarball link at the bottom.

--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo - http://www.deqo.com/