Date: Thu, 3 Aug 2000 10:12:58 -0700 (PDT) From: boopboopboop@hotmail.com To: freebsd-gnats-submit@FreeBSD.org Subject: kern/20384: Phase errors with Zip650 CD on USB Message-ID: <20000803171258.5D4FB37B547@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 20384 >Category: kern >Synopsis: Phase errors with Zip650 CD on USB >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Aug 03 10:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Dan Conti >Release: 4.1, 4.1RC, 4.0 >Organization: >Environment: FreeBSD 4.1-RC1 FreeBSD 4.1-RC1 #0: Fri Jul 14 22:27:29 GMT 2000 root@deimos.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: With the 3 listed kernels and an Iomega ZipCD 650 USB drive, i get repeated Phase errors. I recompiled with all the debugging for umass and usb turned on, and tracked it to a bogus cmd being sent to the device. it was sending an inquiry (12h) with the correct allocation length (36 bytes) which was succeeding, then sending an inquiry with a bogus allocation length (55 bytes) which caused the phase error. I put a quick hack in umass.c to take all inquiry cmds to the device and remap the allocation length to 36 bytes, which seems to have fixed it. sorry i do not have the time to track down the real source and provide a patch. >How-To-Repeat: Purchase Zip650 CD drive. Apply to USB port. Configure kernel for umass support. Achieve Nirvana. >Fix: I didn't take the time to track down the source of the bogus cmd, i just put a filter in the umass layer before the cmd was sent out so it would be structured properly. FYI the drive seems to behave properly now. I might have backlogs of the debug output, if that would be helpful mail me and i can search for them. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000803171258.5D4FB37B547>