From owner-freebsd-usb@FreeBSD.ORG Sat Nov 27 05:42:08 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1612716A4CE for ; Sat, 27 Nov 2004 05:42:08 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id A581D43D48 for ; Sat, 27 Nov 2004 05:42:07 +0000 (GMT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com ([66.30.114.143]) by comcast.net (sccrmhc12) with ESMTP id <2004112705420601200ih13ce>; Sat, 27 Nov 2004 05:42:07 +0000 Received: from h00609772adf0.ne.client2.attbi.com (localhost [127.0.0.1]) iAR5g4xQ001037 for ; Sat, 27 Nov 2004 00:42:05 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)iAR5g4k6001036 for freebsd-usb@freebsd.org; Sat, 27 Nov 2004 00:42:04 -0500 (EST) (envelope-from rodrigc) Date: Sat, 27 Nov 2004 00:42:04 -0500 From: Craig Rodrigues To: freebsd-usb@freebsd.org Message-ID: <20041127054204.GA1018@crodrigues.org> References: <20041126081322.GA2405@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041126081322.GA2405@crodrigues.org> User-Agent: Mutt/1.4.1i Subject: Re: Toshiba PDR-M4 digital camera hangs system X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2004 05:42:08 -0000 On Fri, Nov 26, 2004 at 03:13:22AM -0500, Craig Rodrigues wrote: > Hi, > > I have a Toshiba PDR-M4 digital camera. > > When I connect the camera via USB cable to my system > running -CURRENT, I get the following console messages: > > umass0: TOSHIBA PDR-M, rev 1.00/1.00, addr 2 > umass0: SCSI over Bulk-Only; quirks = 0x000 > umass0: Get Max Lun not supported (TIMEOUT) > umass:0:0:-1 Attached to scbus0 > > At this point my system is solidly hung, i.e. the system > is unresponsive, and I cannot break into DDB with Ctrl-Alt-ESC. I got a second machine and tried to do some debugging over the serial port. After connecting my Toshiba camera to the system, I started debugging the system at umass_cam_attach(). After tracing for a while, I noticed that things seemed to be hung at on line 342 of usbdi.c: 339 if (!xfer->done) { 340 if (pipe->device->bus->use_polling) 341 panic("usbd_transfer: not done"); 342 tsleep(xfer, PRIBIO, "usbsyn", 0); 343 } Is this related to the tsleep() hack that Scott Mitchell provided for 4.x? -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org