Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 11:17:05 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Kenneth Culver <culverk@yumyumyum.org>
Cc:        Trish Lynch <trish@bsdunix.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: FreeBSD panic with umass
Message-ID:  <Pine.BSF.4.21.0301201115030.62414-100000@root.org>
In-Reply-To: <20030120104950.H14658-100000@alpha.yumyumyum.org>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0301201115030.62414-100000>