From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 5 07:32:17 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C02737B408 for ; Thu, 5 Jun 2003 07:32:17 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A41243FAF for ; Thu, 5 Jun 2003 07:32:11 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h55EUlnA091371; Thu, 5 Jun 2003 16:30:47 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: ticso@cicely.de From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 05 Jun 2003 16:22:47 +0200." <20030605142247.GT3231@cicely12.cicely.de> Date: Thu, 05 Jun 2003 16:30:47 +0200 Message-ID: <91370.1054823447@critter.freebsd.dk> cc: freebsd-hackers@freebsd.org Subject: Re: 0xdeadc0de panic after plugging in USB CompactFlash reader/writer on 5.0-RELEASE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 14:32:17 -0000 In message <20030605142247.GT3231@cicely12.cicely.de>, Bernd Walter writes: >On Thu, Jun 05, 2003 at 04:10:59PM +0200, Poul-Henning Kamp wrote: >> In message <20030605140604.GR3231@cicely12.cicely.de>, Bernd Walter writes: >> >> >Mine works fine without quirks: >> > port 3 addr 3: full speed, power 100 mA, config 1, Travel Flash(0x1307), PQI(0x0483), rev 2.05 >> >> Mine is: >> >> port 1 addr 2: full speed, power 100 mA, config 1, Travel Flash(0x0001), PQI(0x3538), rev 2.05 > >Is this the 4 slot USB1.1 version? >Mine is an older 3 slot USB1.1 device. > >> I do find it odd, that the quirks are not assigned in the umass code and >> passed to scsi_da some way, that would be much more reliable. > >Considering that we may require quirks for usb-ata converters but see >the drives in scsi_da I agree. >In this case it's not critical - the quirks are not wrong for my >version, just not required. >Nevertheless: Does it panic without quirk or simply don't work? It seems to hang the gadget which blocks the daopen() which holds GEOM's topology lock which makes a lot of things not happen any more. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.