Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2005 19:36:04 +0200
From:      Stefan Walter <sw@gegenunendlich.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: usb/82660: EHCI: I/O stuck in state 'physrd'/panic
Message-ID:  <20050706173604.GA812@kyuzo.dunkelkammer.void>
In-Reply-To: <200507041918.47258.hselasky@c2i.net>
References:  <20050626091628.775DD3A1D@kyuzo.dunkelkammer.void> <200507021553.49043.hselasky@c2i.net> <20050703075632.GA937@kyuzo.dunkelkammer.void> <200507041918.47258.hselasky@c2i.net>

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

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

Hans Petter Selasky, 04.07.05, 19:18h CEST:

> > http://www.gegenunendlich.de/stuff/ehci/umass-messages-complete-transfe=
r.bz2
>=20
> To me it seems that there is something wrong with your flash disk. Though=
 it=20
> can be that the "CBW" structure is not initialized correctly, but I am no=
t=20
> the right person to tell about that. At least your flash disk takes the "=
CBW"=20
> command, but times out on the following BULK-in transfer.

I don't think it's the USB stick, as the device works fine with ehci at my
notebook (Intel chipset). Furthermore, I could now reproduce the problem
with an external USB HD enclosure, too.

> I'm not sure if it helps, but the compiler might be messing with the hard=
ware=20
> structures:
>=20
> In /sys/dev/usb/umass.c
>=20
> change all:
>=20
> typedef xxxx {
>=20
> } xxxx;
>=20
> into:
>=20
> typedef xxxx {
>=20
> } __packed xxxx;

That didn't change anything, either, unfortunately.

> What options are you compiling the kernel with? Have you got INVARIANTS=
=20
> enabled?

Here's the list of options from the kernel configuration:

options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_ACL			#Support for access control lists
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MD_ROOT			#MD is a potential root device
options 	NFSCLIENT		#Network Filesystem Client
options 	NFSSERVER		#Network Filesystem Server
options 	NFS_ROOT		#NFS usable as root device, requires NFSCLIENT
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		#Pseudo-filesystem framework
options		LINPROCFS		#linux-like procfs
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options		COMPAT_LINUX		#Linux ABI emulation
options 	SCSI_DELAY=3D5000		#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options		SCHED_4BSD
options		PREEMPTION
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options		GEOM_BDE
options 	ATA_STATIC_ID		#Static device numbering
options		VESA
options		MAXCONS=3D12
options		SC_DFLT_FONT
makeoptions	SC_DFLT_FONT=3Diso
options		SC_DISABLE_REBOOT
options		SC_PIXEL_MODE
options         IPSEC                   #IP security
options         IPSEC_ESP               #IP security (crypto; define w/ IPS=
EC)
options		USB_DEBUG	# Debugging USB
options		SMBFS
options		NETSMB                  #SMB/CIFS requester
options		NETSMBCRYPTO            #encrypted password support for SMB
options		LIBMCHAIN               #mbuf management library
options		LIBICONV
options		MSGBUF_SIZE=3D40960

I didn't have INVARIANTS enabled, but added it now. I didn't see any
change, though. Do you want another log? ;)

CFLAGS has been set to "-O -pipe" all the time, by the way.

Thank you for your help so far,
Stefan

--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iQGVAwUBQswWhFaRERsSueCzAQI2aQv/RJCRIL8mxLEaEo9fsMR3Awx+sQ/ORiBD
iItlhEZygt4gI1iAMmxIdo80dzshZdeBsI73xHg3Ia7/7oNrKzJ3fpIZMwn1hJyJ
eB9KYyNtcln9IZ2+F3fMlvMS09cb1dR3iq/SUf9R21Tc8bLqCgJuyjFhO+jAwZQn
EXWv4xEk6HyGa88j7+8VYp79nXouMdkKKW/SM6mrcB2r4IO+S4i6NlFMLc2EH6YA
dmZw/bEHJqMHsUpIrjU2L6z84fp0jT5E5rqOtm/lJ1xGhWnPa8wsYURFELbtUUur
gTH3LinmLPNJPTUwyI/0yNvVi1wOSNZKH9KPGVrXMk+t+jYH2/lvC4cdpdv1mRJh
GN1K8PFzIHYnUj5fWuRqV/rUf3TLERZnO9iKd16jAkd5ntpnJYNl2HLsZs7wbLSO
bzqqvpOSEbX4bt3UamaTHaf9Z88kA5p9Z4blEqGLHnhbGtUtwIBVTtMwxshxfF0z
G0YwkbF7nkox0R8puqCu49kQv84jvs/p
=8hW1
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--



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