Re: 2.4.20 USB storage (SCSI emulation)

Matthew Dharm (mdharm-kernel@one-eyed-alien.net)
Mon, 20 Jan 2003 17:18:29 -0800


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-5758-1043112013-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 20, 2003 at 04:41:32PM -0800, Peter Nome wrote:
>=20
> Booting 2.4.20 (Debian sid official release 5) with an Archos Jukebox Rec=
order 20, a=20
> USB storage device running a SCSI emulation with the ISD200 driver, produ=
ces a host=20
> of messages in the log, but it works fine. I'm getting Bad target number=
and an=20
> apparently failed "Attempting to get CSW" -- any ideas what's going on? W=
hat I DON'T=20
> get is a message telling me where the device is, as I should and used to =
-- e.g.,=20
> "Detected scsi disk sda at scsi1, channel 0, id 0, lun 0". However, mount=
ing=20
> /dev/sda1 works:
>=20
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> SCSI device sda: 39070080 512-byte hdwr sectors (20004 MB)
> sda:<7>usb-storage: queuecommand() called
> sda1
>=20
> In sum, two minor bugs: the queuecommand() is fruitlessly trying to do so=
mething,=20
> and the user is not informed where the device is placed.

To answer, the SCSI layer should tell you where it is. In 2.5.x (in a few
more days, hopefully), devfs will tell you this.

As for queuecommand() trying to do something, this is all normal. It's
showing you that it is properly throwing away things that don't make sense
for a USB device like this. Turn off debugging if you don't like it.

Matt

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

THEY CASTRATED MY QUAKE BITS! I WANT THEM BACK!!!!
-- Greg
User Friendly, 3/27/1998

--=_courier-5758-1043112013-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+LJ/lIjReC7bSPZARAi3SAKDWL9bK0xcIx52vmpk3g8AKRbCuZgCgytwY
eSwcOAZOrtLwGwGmUoH4FkA=
=KZez
-----END PGP SIGNATURE-----

--=_courier-5758-1043112013-0001-2--