From owner-freebsd-stable@FreeBSD.ORG Fri Jun 24 12:50:51 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D449B16A41C for ; Fri, 24 Jun 2005 12:50:51 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from mail.onlinefix.de (mail2-out.titan-networks.de [217.140.72.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A04A43D53 for ; Fri, 24 Jun 2005 12:50:50 +0000 (GMT) (envelope-from sw@gegenunendlich.de) Received: from kyuzo.dunkelkammer.void ([217.140.77.242]) (authenticated bits=0) by mail.onlinefix.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j5OColdk029151 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 24 Jun 2005 14:50:48 +0200 Received: by kyuzo.dunkelkammer.void (Postfix, from userid 1002) id 9B73139B1; Fri, 24 Jun 2005 14:50:46 +0200 (CEST) Date: Fri, 24 Jun 2005 14:50:46 +0200 From: Stefan Walter To: freebsd-stable@freebsd.org Message-ID: <20050624125046.GA915@kyuzo.dunkelkammer.void> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline Organization: Infinity Approximation Task Force X-PGP-key: http://www.gegenunendlich.de/swalter-rsa.asc X-PGP-fingerprint: 85D8 6A49 22C7 6CD9 B011 5D6A 5691 111B 12B9 E0B3 User-Agent: Mutt/1.5.9i Subject: EHCI: mtools stuck in state 'physrd' or panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2005 12:50:51 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I just updated to this morning's RELENG_5 and thought I'd give USB 2.0 a try to speed up data exchange with my USB sticks. The controller is correctly identified, it seems: ehci0: mem 0xdbfdf700-0xdbfdf7ff irq 3 at d= evice 16.3 on pci0 When plugging in a USB stick, it is correctly identified, too: umass0: USB Flash Disk, rev 2.00/2.00, addr 2 da2 at umass-sim0 bus 0 target 0 lun 0 da2: < USB BAR 2.00> Removable Direct Access SCSI-2 device=20 da2: 40.000MB/s transfers da2: 124MB (255744 512 byte sectors: 64H 32S/T 124C) I can also list the content of the FAT filesystem with mtools' mdir command. When trying to copy a file from the stick to a local filesystem, however, mcopy is almost immediately stuck in state "physrd" (according to top(1)) after copying a varying number of bytes (between 100 and 2200 KB is what I've seen so far). I cannot kill the mtools process, but pulling out the USB stick helps - it panics after a few times of doing that, though. I thought it might have to do with IRQ sharing first, but according to "vmstat -i" and dmesg, ehci0 doesn't share its IRQ with anything else. I know that the ehci(4) man page says the driver is not finished and quite buggy, but that doesn't mean I shouldn't report a problem, right? ;) Any ideas? Stefan --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iQGVAwUBQrwBplaRERsSueCzAQKbWgv/SHWcV+HF2WudzQ6ZJiP+91QriPPsjW2t abwAXhg/QMg/qKsL42sVrrI7qyKJIgIxrLYf3mheROTWnXWiD3TBFANSAi0BFbkl IEOWuxer+OxUstZzKZUBAY0prhSSHV7gCgcIT5UKdbNjQtkOX5Jm2NJI4yOwZc4B ffrh4th/u1KxdUUMtcABYIW+vH+MF+ezzX9F9O9VfASeBd3Djw2in/NCpXbeuXwd XSAg02coLyGCN5FUTZ3TQIMi1Cmu7qSuwV1VZCKidUHoJH5mNbFfijzO0gSB64gI eMqEHVqpaqaJHP1RZu37A01CX8JmR4VgkLhIUCu/NYMk0ZADLKySS76rNHv57YVH Z9+lGT/qB2vZKTeojWtUor3mtZX+Ytwr+PoSe/OQQSkY1rrdchgXwP4FMdpq9lqI KzKHXSOjgdZ3UhTzedM/Z9jAFLfr5HOBcWynBBcYhnM7lNiOAhVdclBTJQDG6I6U sCIgCkmCJXk0sMCd0WFBQEnsRCFMRixh =FfAs -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--