From owner-freebsd-current@FreeBSD.ORG Fri Jan 16 07:04:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE71316A4CE for ; Fri, 16 Jan 2004 07:04:41 -0800 (PST) Received: from cherry2.sanpei.org (j069113.ppp.asahi-net.or.jp [61.213.69.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83B9143D86 for ; Fri, 16 Jan 2004 07:03:56 -0800 (PST) (envelope-from sanpei@cherry2.sanpei.org) Received: from cherry2.sanpei.org (localhost [127.0.0.1]) by cherry2.sanpei.org (8.12.10/8.12.9) with ESMTP id i0GF3oO3049726; Sat, 17 Jan 2004 00:03:50 +0900 (JST) (envelope-from sanpei@cherry2.sanpei.org) Received: (from sanpei@localhost) by cherry2.sanpei.org (8.12.10/8.12.10/Submit) id i0GF3ma8049725; Sat, 17 Jan 2004 00:03:48 +0900 (JST) (envelope-from sanpei) Date: Sat, 17 Jan 2004 00:03:48 +0900 (JST) Message-Id: <200401161503.i0GF3ma8049725@cherry2.sanpei.org> To: yuri@irfu.se From: sanpei@freebsd.org In-Reply-To: Your message of "Thu, 15 Jan 2004 09:58:32 +0100". <40065638.8040206@irfu.se> X-Mailer: mnews [version 1.22] 1999-12/19(Sun) cc: sanpei@sanpei.org cc: freebsd-current@freebsd.org Subject: Re: problem w/ USB cdrom on 5.2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2004 15:04:42 -0000 >> Doug White wrote: >> > On Tue, 13 Jan 2004, Yuri Khotyaintsev wrote: >> > >> > >> >>I cannot use Dell USB cdrom with 5.2-RELEASE. >> >>The same drive works without any problems on 4.9. >> >> >> >>Any clues? Boot log attached. >> > >> > >> > Not much info here ... uhci, some phase error on initializing umass. What >> > messages do you get if you boot up without it attached, then plug it in? >> >> The messages are: >> >> umass0: Dell USB Drive A01, rev 2.00/1.04, addr 2 >> umass0: Get Max Lun not supported (STALLED) >> umass0:1:0:-1: Attached to scbus1 >> umass0: Phase Error, residue = 0 >> (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR >> (probe0:umass-sim0:0:0:0): Retrying Command >> umass0: Phase Error, residue = 0 >> (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR >> (probe0:umass-sim0:0:0:0): Retrying Command >> umass0: Phase Error, residue = 0 >> (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR >> (probe0:umass-sim0:0:0:0): Retrying Command >> umass0: Phase Error, residue = 0 >> (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR >> (probe0:umass-sim0:0:0:0): Retrying Command >> umass0: Phase Error, residue = 0 >> (probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR >> (probe0:umass-sim0:0:0:0): error 5 >> (probe0:umass-sim0:0:0:0): Retries Exausted I have same problem with Panasonic KXL-RW32AN USB CD-RW Drive. with uhci and ohci. (it works on 4-stable...) umass0: GENERIC CDRRW09 USB CD-R/RW drive, rev 2.00/11.10, addr 2 umass0: Phase Error, residue = 95 umass0: Phase Error, residue = 95 umass0: Phase Error, residue = 95 umass0: Phase Error, residue = 95 umass0: Phase Error, residue = 95 I use it on 5-current with below durty patch. Try it. Index: src/sys/dev/usb/umass.c =================================================================== RCS file: /home/ncvs/src/sys/dev/usb/umass.c,v retrieving revision 1.98 diff -u -r1.98 umass.c --- src/sys/dev/usb/umass.c 3 Jan 2004 13:52:44 -0000 1.98 +++ src/sys/dev/usb/umass.c 16 Jan 2004 14:59:37 -0000 @@ -1570,8 +1570,10 @@ printf("%s: Phase Error, residue = %d\n", USBDEVNAME(sc->sc_dev), Residue); +#if 0 /* XXX */ umass_bbb_reset(sc, STATUS_WIRE_FAILED); return; +#endif } else if (sc->transfer_actlen > sc->transfer_datalen) { /* Buffer overrun! Don't let this go by unnoticed */ --- MIHIRA, Sanpei Yoshiro Tokyo, Japan.