From owner-freebsd-bugs Thu Aug 3 10:20: 4 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5748837B5B9 for ; Thu, 3 Aug 2000 10:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA09284; Thu, 3 Aug 2000 10:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 5D4FB37B547; Thu, 3 Aug 2000 10:12:58 -0700 (PDT) Message-Id: <20000803171258.5D4FB37B547@hub.freebsd.org> Date: Thu, 3 Aug 2000 10:12:58 -0700 (PDT) From: boopboopboop@hotmail.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/20384: Phase errors with Zip650 CD on USB Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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