Skip to contentSkip to conversation

ieee1394: sbp2: sbp2util_allocate_request_packet

DISCUSSION Sebastian Zimmermann 3 participants 4 messages Mar 5, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Sebastian Zimmermann

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

Quoted 3 lines

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 (www.linux1394.org).

Signature · 4 lines
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/
#2 lore raw

Good afternoon, Ben,

Quoted 10 lines · Ben Collins
Quoted 9 lines · Sebastian Zimmermann

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

Quoted 7 lines
Quoted 3 lines

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 (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
--------------------------------------------------------------------------

#3 lore raw
Quoted 7 lines

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.

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