From owner-freebsd-current Mon Jan 20 11:17:16 2003 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 E9A5B37B401 for ; Mon, 20 Jan 2003 11:17:14 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 0406843F18 for ; Mon, 20 Jan 2003 11:17:10 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 62701 invoked by uid 1000); 20 Jan 2003 19:17:05 -0000 Date: Mon, 20 Jan 2003 11:17:05 -0800 (PST) From: Nate Lawson To: Kenneth Culver Cc: Trish Lynch , freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD panic with umass In-Reply-To: <20030120104950.H14658-100000@alpha.yumyumyum.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 20 Jan 2003, Kenneth Culver wrote: > > > Hi, > > > I just tried to use a Genesys Logic USB Compact Flash card reader, > > > and the following messages come up, followed by a panic: > > > > > > Jan 19 19:41:30 kenshin kernel: umass0: Genesys Logic USB Storage Device, > > > rev 1. > > > 10/1.13, addr 2 > > > Jan 19 19:41:30 kenshin kernel: umass0: Get Max Lun not supported > > > (STALLED) > > > Jan 19 19:41:30 kenshin kernel: umass0: BBB reset failed, IOERROR > > > Jan 19 19:41:30 kenshin kernel: umass0: BBB bulk-in clear stall failed, > > > IOERROR > > > Jan 19 19:41:30 kenshin kernel: umass0: BBB bulk-out clear stall failed, > > > IOERROR > > > > > > After this, FreeBSD panics. I havn't had time to get a full backtrace, but > > > I'll send that once I get it. In the mean-time, is there any fix for the > > > error I'm getting? > > > I think I know what the problem is. Basically a lot of devices have > problems with I guess the 6 byte commands... if you look in scsi_da.c you > can find several "quirks" entries. I'm working on figuring out what to put > for my vendor and product id's in order to add the quirk for my device. To start, copy a quirk entry and wildcard a lot: "Genesys*", "*", "*" Then do camcontrol inquiry daX and change the quirk to be more specific. Backtrace would be useful since you shouldn't be getting a panic. At the worst, your usb reader just wouldn't work. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message