Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Aug 2009 22:24:46 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: USB umass device not working on -current
Message-ID:  <4A7F308E.3050601@omnilan.de>
In-Reply-To: <200908091520.46786.hselasky@c2i.net>
References:  <4A7EA0A7.1000507@omnilan.de> <200908091520.46786.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig6F8B7F92380F97AA43990F9B
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable

Hans Petter Selasky schrieb am 09.08.2009 15:20 (localtime):
=2E..
> Can you try attaching at FULL speed?
>=20
> sysctl hw.usb.ehci.no_hs=3D1

Thanks for your quick response!

Here's what I get with high-speed disabled:
Aug  9 22:15:35 titan root: Unknown USB device: vendor 0x04e8 product=20
0x5050 bus uhub1
Aug  9 22:15:35 titan kernel: ugen1.2: <Samsung> at usbus1
Aug  9 22:15:36 titan kernel: umass1: <Internal Device> on usbus1
Aug  9 22:15:36 titan kernel: umass1:  SCSI over Bulk-Only; quirks =3D 0x=
0110
Aug  9 22:15:40 titan kernel: umass1:umass_init_shuttle: Shuttle init=20
returned 0x0000
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action:=20
11:-1:-1:XPT_PATH_INQ:.
Aug  9 22:15:41 titan kernel: umass1:11:1:-1: Attached to scbus11
Aug  9 22:15:41 titan kernel: umass1:umass_cam_rescan: scbus11: scanning =

for 11:1:-1
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action:=20
11:-1:-1:XPT_PATH_INQ:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action: 11:0:0:XPT_PATH_IN=
Q:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action: 11:0:0:XPT_PATH_IN=
Q:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action:=20
11:0:0:XPT_GET_TRAN_SETTINGS:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action:=20
11:0:0:XPT_SET_TRAN_SETTINGS:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action: 11:0:0:XPT_PATH_IN=
Q:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action: 11:0:0:XPT_PATH_IN=
Q:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action:=20
11:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/36b data/18b sense
Aug  9 22:15:41 titan kernel: umass1:umass_attach: Attach=20
finishedumass1:umass_bbb_dump_cbw: CBW 1: cmd =3D 6b (0x120000002400),=20
data =3D 36b, lun =3D 0, dir =3D in
Aug  9 22:15:41 titan kernel:
Aug  9 22:15:41 titan kernel: umass1:umass_transfer_start: transfer=20
index =3D 4
Aug  9 22:15:41 titan kernel: umass1:umass_t_bbb_data_read_callback:=20
max_bulk=3D131072, data_rem=3D36
Aug  9 22:15:41 titan kernel: umass1:umass_t_bbb_data_read_callback:=20
max_bulk=3D131072, data_rem=3D0
Aug  9 22:15:41 titan kernel: umass1:umass_transfer_start: transfer=20
index =3D 8
Aug  9 22:15:41 titan kernel: umass1:umass_bbb_dump_csw: CSW 1: sig =3D=20
0x53425355 (valid), tag =3D 0x00000001, res =3D 0, status =3D 0x00 (good)=

Aug  9 22:15:41 titan kernel: umass1:umass_cam_action:=20
11:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/56b data/18b sense
Aug  9 22:15:41 titan kernel: umass1:umass_bbb_dump_cbw: CBW 2: cmd =3D 6=
b=20
(0x120000003800), data =3D 56b, lun =3D 0, dir =3D in
Aug  9 22:15:41 titan kernel: umass1:umass_transfer_start: transfer=20
index =3D 4
Aug  9 22:15:41 titan kernel: umass1:umass_t_bbb_data_read_callback:=20
max_bulk=3D131072, data_rem=3D56
Aug  9 22:15:41 titan kernel: umass1:umass_t_bbb_data_read_callback:=20
max_bulk=3D131072, data_rem=3D0
Aug  9 22:15:41 titan kernel: umass1:umass_transfer_start: transfer=20
index =3D 8
Aug  9 22:15:41 titan kernel: umass1:umass_bbb_dump_csw: CSW 2: sig =3D=20
0x53425355 (valid), tag =3D 0x00000002, res =3D 0, status =3D 0x00 (good)=

Aug  9 22:15:41 titan kernel: umass1:umass_cam_action: 11:0:0:XPT_PATH_IN=
Q:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action: 11:0:0:XPT_PATH_IN=
Q:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action:=20
11:0:0:XPT_GET_TRAN_SETTINGS:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action:=20
11:0:0:XPT_SET_TRAN_SETTINGS:.
Aug  9 22:15:41 titan kernel: umass1:umass_cam_action:=20
11:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/255b data/18b sense
Aug  9 22:15:41 titan kernel: umass1:umass_bbb_dump_cbw: CBW 3: cmd =3D 6=
b=20
(0x12010000ff00), data =3D 255b, lun =3D 0, dir =3D in
Aug  9 22:15:41 titan kernel: umass1:umass_transfer_start: transfer=20
index =3D 4
Aug  9 22:15:41 titan kernel: umass1:umass_t_bbb_data_read_callback:=20
max_bulk=3D131072, data_rem=3D255
Aug  9 22:15:41 titan kernel: umass1:umass_transfer_start: transfer=20
index =3D 5
Aug  9 22:15:46 titan kernel: umass1:umass_tr_error: transfer error,=20
USB_ERR_TIMEOUT -> reset
Aug  9 22:15:46 titan kernel: umass1:umass_cam_action:=20
11:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/255b data/18b sense
Aug  9 22:15:46 titan kernel: umass1:umass_t_bbb_reset1_callback: BBB res=
et!
Aug  9 22:15:47 titan kernel: umass1:umass_tr_error: transfer error,=20
USB_ERR_STALLED -> reset
Aug  9 22:15:47 titan kernel: umass1:umass_cam_action:=20
11:0:0:XPT_SCSI_IO: cmd: 0x12, flags: 0x40, 6b cmd/255b data/18b sense
Aug  9 22:15:47 titan kernel: umass1:umass_t_bbb_reset1_callback: BBB res=
et!

> Another idea is that your device does not support certain SCSI commands=
, and=20
> will crash upon any non-support command.

Hmm, if I remember correctly there was some quirk file with devices that =

need special treatment. Is it still the same? Maybe there has been an=20
entry for my player which got lost. Or should the new code auto-detect=20
such devices? How's redmond treating such devices? Needless to say that=20
the player doesn't crash on windows, nor does windows crash ;)

Thanks,

-Harry


--------------enig6F8B7F92380F97AA43990F9B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkp/MJQACgkQLDqVQ9VXb8j5swCeKy3q1RhsFsXG3vOKS5SBHO4R
VH8AoIaZyXJq55mom1mImX2mnctLMEdQ
=rQEO
-----END PGP SIGNATURE-----

--------------enig6F8B7F92380F97AA43990F9B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A7F308E.3050601>