From owner-freebsd-current@FreeBSD.ORG Mon Jan 19 01:45:30 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 4324716A4CE; Mon, 19 Jan 2004 01:45:30 -0800 (PST) Received: from sponsa.its.uu.se (sponsa.its.uu.se [130.238.7.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E052043D46; Mon, 19 Jan 2004 01:45:26 -0800 (PST) (envelope-from yuri@irfu.se) Received: by sponsa.its.uu.se (Postfix, from userid 213) id AD16147B9; Mon, 19 Jan 2004 10:45:25 +0100 (MEZ) Received: from sponsa.its.uu.se(127.0.0.1) by sponsa.its.uu.se via virus-scan id s43384; Mon, 19 Jan 04 10:45:09 +0100 Received: from irfu.se (jazz.irfu.se [130.238.30.195]) by sponsa.its.uu.se (Postfix) with ESMTP id 8726F4084; Mon, 19 Jan 2004 10:45:09 +0100 (MEZ) Message-ID: <400BA759.8020903@irfu.se> Date: Mon, 19 Jan 2004 10:46:01 +0100 From: Yuri Khotyaintsev Organization: Swedish Inst. of Space Physics User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; uk-UA; rv:1.5) Gecko/20030925 X-Accept-Language: uk-UA, uk, ru, sv MIME-Version: 1.0 To: sanpei@freebsd.org References: <200401161503.i0GF3ma8049725@cherry2.sanpei.org> In-Reply-To: <200401161503.i0GF3ma8049725@cherry2.sanpei.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 19 Jan 2004 09:45:30 -0000 Thank you! Your patch fixes the problem for me. Yuri sanpei@freebsd.org wrote: >>>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. > > -- Yuri Khotyaintsev, PhD Swedish Institute of Space Physics, http://www.cluster.irfu.se/yuri Uppsala Division (IRF-U) http://ovt.irfu.se