Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2004 00:03:48 +0900 (JST)
From:      sanpei@freebsd.org
To:        yuri@irfu.se
Cc:        freebsd-current@freebsd.org
Subject:   Re: problem w/ USB cdrom on 5.2
Message-ID:  <200401161503.i0GF3ma8049725@cherry2.sanpei.org>
In-Reply-To: Your message of "Thu, 15 Jan 2004 09:58:32 %2B0100". <40065638.8040206@irfu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401161503.i0GF3ma8049725>