ohci packet size error when logging to sbp2 device

From: Martin Lorenzo <mlorenzo_at_adinet.com.uy>
Date: Thu 16 Sep 2004 - 23:53:52 CEST
Message-ID: <003e01c49c37$a8b4ebe0$010100c0@saeta.net>

Hi,
I'm using a Maxtor 80GB harddrive with gentoo2.4.26-r8 kernel
I got this error when I loaded sbp2.o. dmesg follows:

sbp2: $Rev: 1074 $ Ben Collins
scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
ohci1394_0: Transmit packet size 8 is too big
ieee1394: sbp2: Error logging into SBP-2 device - login timed-out

Finally, the device is not added. Tried with scsi-rescan-bus.sh, no success

I eventually got tired of trying alternatives, and I ended up disabling the offending code in ohci1394.c:

   if (packet->data_size > ohci->max_packet_size) {
           PRINT(KERN_ERR, ohci->id,
                 "Transmit packet size %Zd is too big",
                 packet->data_size);
           return 0;
   }
Now it works fine, but I think this is rather risky workaround.
Any ideas?
Martin

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Fri Sep 17 00:05:51 2004

This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:50 CEST