Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2003 10:09:27 +0200
From:      Robert =?unknown-8bit?Q?Blacqui=E8re?= <freebsd-current@guldan.demon.nl>
To:        current@freebsd.org
Subject:   USB 2.0 ehci umass problems
Message-ID:  <20030812080927.GA61386@bombur.guldan.demon.nl>

next in thread | raw e-mail | index | archive | help

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,


I've a usb 2.0 disc enclosure for 2.5 inch disk. It works great using
the standard usb stuff (1.x), but fails to use ehci (2.0).=20

When i plug the usb 2.0 device i get the following output=20

( hw.usb.ehci.debug=3D2 hw.usb.ohci.debug=3D2 )

Aug 12 11:39:04 bifur kernel: ehci_pcd: change=3D0x02
Aug 12 11:39:05 bifur kernel: ehci after reset, status=3D0x00001005
Aug 12 11:39:05 bifur kernel: ehci port 1 reset, status =3D 0x00001005
Aug 12 11:39:05 bifur kernel: usbd_new_device bus=3D0xc405d800 port=3D1 dep=
th=3D1 speed=3D3
Aug 12 11:39:05 bifur kernel: ehci_open: pipe=3D0xc46d7600, addr=3D0, endpt=
=3D0 (1)
Aug 12 11:39:05 bifur kernel: ehci_alloc_sqtd_chain: start len=3D8
Aug 12 11:39:05 bifur kernel: ehci_alloc_sqtd_chain: start len=3D2
Aug 12 11:39:05 bifur kernel: ehci_alloc_sqtd_chain: start len=3D8
Aug 12 11:39:10 bifur kernel: ehci_timeout: exfer=3D0xc3ffd500
Aug 12 11:39:10 bifur kernel: usbd_dump_pipe: pipe=3D0xc46d7600
Aug 12 11:39:10 bifur kernel: usbd_dump_iface: iface=3D0
Aug 12 11:39:10 bifur kernel: usbd_dump_device: dev=3D0xc46d7800
Aug 12 11:39:10 bifur kernel: bus=3D0xc405d800 default_pipe=3D0xc46d7600
Aug 12 11:39:10 bifur kernel: address=3D0 config=3D0 depth=3D1 speed=3D3 se=
lf_powered=3D0 power=3D0 langid=3D-1
Aug 12 11:39:10 bifur kernel: usbd_dump_endpoint: endp=3D0xc46d7824
Aug 12 11:39:10 bifur kernel: edesc=3D0xc46d782c refcnt=3D1
Aug 12 11:39:10 bifur kernel: bEndpointAddress=3D0x00
Aug 12 11:39:10 bifur kernel: (usbd_dump_pipe:)
Aug 12 11:39:10 bifur kernel: refcnt=3D1 running=3D1 aborting=3D0
Aug 12 11:39:10 bifur kernel: intrxfer=3D0, repeat=3D0, interval=3D-1
Aug 12 11:39:10 bifur kernel: ehci_timeout_task: xfer=3D0xc3ffd500
Aug 12 11:39:10 bifur kernel: ehci_abort_xfer: xfer=3D0xc3ffd500 pipe=3D0xc=
46d7600
Aug 12 11:39:10 bifur kernel: ehci_sync_hc: cmd=3D0x00080061 sts=3D0x0000a0=
00
Aug 12 11:39:10 bifur kernel: ehci_intr1: door bell
Aug 12 11:39:10 bifur kernel: ehci_sync_hc: cmd=3D0x00080021 sts=3D0x0000a0=
00
Aug 12 11:39:10 bifur kernel: ehci_idone: aborted xfer=3D0xc3ffd500
Aug 12 11:39:10 bifur kernel: ehci_abort_xfer: no hit
Aug 12 11:39:10 bifur kernel: ehci_alloc_sqtd_chain: start len=3D8
Aug 12 11:39:10 bifur kernel: ehci_alloc_sqtd_chain: start len=3D2
Aug 12 11:39:10 bifur kernel: usbd_new_device: addr=3D2, getting first desc=
 failed
Aug 12 11:39:10 bifur kernel: usbd_remove_device: 0xc46d7800
Aug 12 11:39:10 bifur kernel: ehci_device_ctrl_close: pipe=3D0xc46d7600
Aug 12 11:39:10 bifur kernel: ehci_sync_hc: cmd=3D0x00080061 sts=3D0x000080=
00
Aug 12 11:39:10 bifur kernel: ehci_intr1: door bell
Aug 12 11:39:10 bifur kernel: ehci_sync_hc: cmd=3D0x00080021 sts=3D0x000080=
00
Aug 12 11:39:10 bifur kernel: uhub_explore: usb_new_device failed, error=3D=
STALLED
Aug 12 11:39:10 bifur kernel: uhub2: device problem, disabling port 1

Is there some hints or patches available to get this working?

with usb 1.x output no debug...

Aug  8 11:14:09 bifur kernel: umass0: Acer Labs USB 2.0 Storage Device, rev=
 2.00/1.03, addr 3
Aug  8 11:14:10 bifur kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Aug  8 11:14:10 bifur kernel: da0: <USB 2.0 Storage Device 0100> Fixed Dire=
ct Access SCSI-0 device=20
Aug  8 11:14:10 bifur kernel: da0: 1.000MB/s transfers
Aug  8 11:14:10 bifur kernel: da0: 19077MB (39070080 512 byte sectors: 255H=
 63S/T 2432C)

And works ofcourse.

Robert

--=20
Microsoft: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
OpenBSD: He guys you left some holes out there!

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAj84oLcACgkQ1ODVtOXCG4hUwwCdGGjVC3F2RMWnWg6NvfdV8aBP
N4IAoJiqz3JtWIU3ByktK6w8S3mBtiU2
=TQk7
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--



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