On Wed, Jun 13, 2001 at 10:00:25PM -0500, John Fulmer wrote:
> Jun 13 21:50:16 aucharn kernel: usb-storage: queuecommand() called
> Jun 13 21:50:16 aucharn kernel: usb-storage: *** thread awakened.
> Jun 13 21:50:16 aucharn kernel: usb-storage: Command INQUIRY (6 bytes)
> Jun 13 21:50:16 aucharn kernel: usb-storage: 12 00 00 00 ff 00 23 c1 07 00 00 00
> Jun 13 21:50:16 aucharn kernel: usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0
>LUN 0 L 255 F 128 CL 6
> Jun 13 21:50:16 aucharn kernel: usb-storage: Bulk command transfer result=0
> Jun 13 21:50:16 aucharn kernel: usb-storage: usb_stor_transfer_partial(): xfer 255
>bytes
> Jun 13 21:50:16 aucharn kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred
>36/255
> Jun 13 21:50:16 aucharn kernel: usb-storage: Bulk data transfer result 0x1
> Jun 13 21:50:16 aucharn kernel: usb-storage: Attempting to get CSW...
> Jun 13 21:50:16 aucharn kernel: usb-uhci.c: interrupt, status 3, frame# 1625
> Jun 13 21:50:16 aucharn kernel: usb-storage: clearing endpoint halt for pipe
>0xc0010380
> Jun 13 21:50:16 aucharn kernel: usb-storage: Attempting to get CSW (2nd try)...
> Jun 13 21:50:16 aucharn kernel: usb-storage: Bulk status result = 0
> Jun 13 21:50:16 aucharn kernel: usb-storage: Bulk status partial = 13
> Jun 13 21:50:16 aucharn kernel: usb-storage: Bulk status Sig 0x55425355 T 0x1 R 219
>Stat 0x0
> Jun 13 21:50:16 aucharn kernel: usb-storage: Bulk logical error
Okay, something very strange is going on here...
The message "Bulk logical error" should only get printed if at least one of
the following conditions has been met:
(o) The signature does not equal 0x55425355
(o) The 'partial' is != 13
(o) The Stat is > 2
(o) The 'T' value in the status differs from that of the command
As far as I can tell from these logs, none of those apply, yet the
conditional is getting triggered.
What compiler are you using? Is this a redhat installation and you forgot
to use kgcc?
The only other thing I could suggest is re-parenthising the if() clause, to
be excessively clear about order of operations. But that shouldn't
matter...
Matt
--
Matthew Dharm Home: [EMAIL PROTECTED]
Maintainer, Linux USB Mass Storage Driver
What the hell are you?
-- Pitr to Dust Puppy
User Friendly, 12/3/1997
PGP signature