public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Andries.Brouwer@cwi.nl
Cc: James.Bottomley@steeleye.com, alan@lxorguk.ukuu.org.uk,
	greg@kroah.com, linux-scsi@vger.kernel.org,
	linux-usb-devel@lists.sourceforge.net, mike@hingston.demon.co.uk,
	torvalds@transmeta.com, usb-storage@one-eyed-alien.net
Subject: Re: [usb-storage] Re: PATCH: exclude certain commands from emulated SCSI hosts
Date: Tue, 22 Apr 2003 11:50:17 -0700	[thread overview]
Message-ID: <20030422115017.B31829@one-eyed-alien.net> (raw)
In-Reply-To: <UTC200304221722.h3MHMBL16595.aeb@smtp.cwi.nl>; from Andries.Brouwer@cwi.nl on Tue, Apr 22, 2003 at 07:22:11PM +0200

[-- Attachment #1: Type: text/plain, Size: 2326 bytes --]

On Tue, Apr 22, 2003 at 07:22:11PM +0200, Andries.Brouwer@cwi.nl wrote:
> Then we get the second bugzilla report. Interesting.
> It fails in precisely the same way as the first one:
> 
> Apr  9 17:34:55 lemon: SCSI device sda: 126848 512-byte hdwr sectors (65 MB)
> Apr  9 17:34:55 lemon: usb-storage: queuecommand() called
> Apr  9 17:34:55 lemon: usb-storage: *** thread awakened.
> Apr  9 17:34:55 lemon: usb-storage: Command MODE_SENSE (6 bytes)
> Apr  9 17:34:55 lemon: usb-storage:  1a 00 3f 00 04 00
> Apr  9 17:34:55 lemon: usb-storage: Invoking Mode Translation
> Apr  9 17:34:55 lemon: usb-storage: usb_stor_ctrl_transfer(): rq=00 rqtype=21 value=0000 index=00 len=12
> Apr  9 17:34:55 lemon: usb-storage: Status code 0; transferred 12/12
> Apr  9 17:34:55 lemon: usb-storage: -- transfer complete
> Apr  9 17:34:55 lemon: usb-storage: Call to usb_stor_ctrl_transfer() returned 0
> Apr  9 17:34:55 lemon: usb-storage: usb_stor_bulk_transfer_buf(): xfer 4 bytes
> Apr  9 17:34:55 lemon: usb-storage: Status code -75; transferred 4/4
> Apr  9 17:34:55 lemon: usb-storage: -- unknown error
> Apr  9 17:34:55 lemon: usb-storage: CB data stage result is 0x3
> Apr  9 17:34:55 lemon: usb-storage: -- transport indicates error, resetting
> Apr  9 17:34:55 lemon: usb-storage: CB_reset() called
> Apr  9 17:35:11 lemon modprobe: FATAL: Module /dev/tts/64 not found. 
> Apr  9 17:35:15 lemon: drivers/usb/core/message.c: usb_control/bulk_msg: timeout
> Apr  9 17:35:25 lemon: usb-storage: command_abort() called
> Apr  9 17:35:25 lemon: usb-storage: usb_stor_abort_transport called
> 
> But here the additional information is:
> It was working fine under 2.4.* but under 2.5.66/67 it hangs.
> 
> Is there a problem with MODE_SENSE? But 2.4 also does this MODE_SENSE.
> A first step is perhaps finding out what the * is for.

2.4 does a MODE_SENSE, but does it differently.

> Which 2.4 versions are known to work correctly?

That depends on the particular device in question.

> [And is there a verbose usb-storage log on a successful 2.4?]

Yes.

Matt

-- 
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.net 
Maintainer, Linux USB Mass Storage Driver

Umm, these aren't the droids you're looking for.
					-- Bill Gates
User Friendly, 11/14/1998

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  parent reply	other threads:[~2003-04-22 18:38 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-22 17:22 [usb-storage] Re: PATCH: exclude certain commands from emulated SCSI hosts Andries.Brouwer
2003-04-22 17:34 ` Mike Bursell
2003-04-22 17:37 ` James Bottomley
2003-04-22 18:13   ` Alan Stern
2003-04-22 18:50 ` Matthew Dharm [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-22 18:44 [usb-storage] " Andries.Brouwer
2003-04-22 17:38 Andries.Brouwer
2003-04-22 18:23 ` Alan Stern
2003-04-22 17:08 Andries.Brouwer
2003-04-22  1:09 Andries.Brouwer
2003-04-22  1:17 ` Matthew Dharm
2003-04-22 14:31   ` Alan Cox
2003-04-22 15:36     ` Matthew Dharm
2003-04-22 16:07     ` James Bottomley
2003-04-09 15:15 Pat LaVarre
2003-04-09 15:08 Pat LaVarre
2003-04-08 13:29 Pat LaVarre
2003-04-09  7:45 ` Douglas Gilbert
2003-03-24 19:16 Pat LaVarre
2003-03-24 20:20 ` Matthew Dharm
2003-03-24 18:17 Pat LaVarre
2003-03-24 18:19 ` Jens Axboe
2003-03-23  7:31 Matthew Dharm
2003-03-23  7:39 ` Linus Torvalds
2003-03-23 18:13   ` [usb-storage] " Matthew Dharm
2003-03-24  1:05     ` Douglas Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030422115017.B31829@one-eyed-alien.net \
    --to=mdharm-scsi@one-eyed-alien.net \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=James.Bottomley@steeleye.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=greg@kroah.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=mike@hingston.demon.co.uk \
    --cc=torvalds@transmeta.com \
    --cc=usb-storage@one-eyed-alien.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox