Date: Wed, 6 Jul 2005 20:26:53 -0400 From: Louis LeBlanc <FreeBSD@keyslapper.net> To: FreeBSD Questions <freebsd-questions@FreeBSD.org> Subject: USB drive errors (USB 2.0 and memory drive) Message-ID: <20050707002653.GB1063@keyslapper.net>
next in thread | raw e-mail | index | archive | help
--KFztAG8eRSV9hGtP Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Well, I've been in a config debug mood lately, so I'm going to go after one more issue. Rather, I'm gonna ask for help here, since I can't find the solution online. This has been happening since I managed to get ehci working without causing the kernel to freak out. I'm running 5.4 RELEASE p1 (upgrading to p4 later on tonight). The problem happens when I plug in either of my USB key devices (one being a PNY USB Disk, the other a little iPod Shuffle). I am using both ehci and ohci drivers, and AFAICT, the problem only happens with USB2.0 devices. The problem shows up in /var/log/messages as follows: Jul 6 19:41:31 keyslapper kernel: umass0: PNY USB DISK 20X, rev 2.00/1.00,= addr 2 Jul 6 19:41:32 keyslapper kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 6 19:41:32 keyslapper kernel: da0: < USB DISK 20X PMAP> Removable Dire= ct Access SCSI-0 device=20 Jul 6 19:41:32 keyslapper kernel: da0: 40.000MB/s transfers Jul 6 19:41:32 keyslapper kernel: da0: 962MB (1970176 512 byte sectors: 64= H 32S/T 962C) Jul 6 19:41:32 keyslapper kernel: umass0: Phase Error, residue =3D 0 Jul 6 19:41:32 keyslapper kernel: (da0:umass-sim0:0:0:0): Synchronize cach= e failed, status =3D=3D 0x4, scsi status =3D=3D 0x0 The last two lines repeat 16 or 17 times. When I try to mount these, I have no problems. No errors, and everything appears to work fine. I can move files, edit directly on the disk, whatever. So, these messages are an indication of something wierd somewhere, I just don't know if it's purely cosmetic, or if there's really something wrong and my resume is going to get eaten one of these days. I've googled for these messages, and found a lot of reports of the same problem (with few variations), but no solutions or suggestions. I tracked this error message to /usr/src/sys/cam/scsi/scsi_da.c, but I'm not sure exactly where this happens in the device initialization yet (just a quick skim through the code and no understanding of the underlying architecture or USB specs yet). Anyone have any idea? TIA Lou --=20 Louis LeBlanc FreeBSD-at-keyslapper-DOT-net Fully Funded Hobbyist, KeySlapper Extrordinaire :) Please send off-list email to: leblanc at keyslapper d.t net Key fingerprint =3D C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 BASIC, n.: A programming language. Related to certain social diseases in that those who have it will not admit it in polite company. --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCzHbNr4Wi/oDI2aIRAkgYAJ0X5vJvf+9oI6+oMKx65njTmhbwSgCgjO53 EZt1dO6+NoNtE0dzInM+tkA= =BqHb -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050707002653.GB1063>