From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 5 07:06: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 EE41937B407 for ; Thu, 5 Jun 2003 07:06:16 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 893C643FAF for ; Thu, 5 Jun 2003 07:06:13 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h55E68rN040095 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 5 Jun 2003 16:06:10 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h55E66Os042623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Jun 2003 16:06:06 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h55E65io062130; Thu, 5 Jun 2003 16:06:05 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h55E65Ci062129; Thu, 5 Jun 2003 16:06:05 +0200 (CEST) Date: Thu, 5 Jun 2003 16:06:04 +0200 From: Bernd Walter To: Poul-Henning Kamp Message-ID: <20030605140604.GR3231@cicely12.cicely.de> References: <20030605132553.GQ3231@cicely12.cicely.de> <82463.1054819974@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <82463.1054819974@critter.freebsd.dk> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-BETA alpha User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org cc: ticso@cicely.de 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 Reply-To: ticso@cicely.de 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:06:17 -0000 On Thu, Jun 05, 2003 at 03:32:54PM +0200, Poul-Henning Kamp wrote: > In message <20030605132553.GQ3231@cicely12.cicely.de>, Bernd Walter writes: > >On Wed, Jun 04, 2003 at 10:44:53PM -0700, Brian O'Shea wrote: > >> System panics after PQI Travel Flash (USB Compact Flash reader/writer mass > >> storage device) is plugged in. > >> > >> This is 5.0-RELEASE on i386. > > > >Many things have been changed since 5.0. > >Please retry with 5.1-RC1 or wait the few days for 5.1-RELEASE. > > Actually, he probably wants this patch which I just sent to the > QuirkMeister: > > > Index: scsi_da.c > =================================================================== > RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v > retrieving revision 1.143 > diff -u -r1.143 scsi_da.c > --- scsi_da.c 15 May 2003 17:35:35 -0000 1.143 > +++ scsi_da.c 5 Jun 2003 12:47:54 -0000 > @@ -507,6 +507,16 @@ > */ > {T_DIRECT, SIP_MEDIA_REMOVABLE, "OTi", "Flash Disk", "*"}, > /*quirks*/ DA_Q_NO_6_BYTE > + }, > + { > + /* > + * PQI Travel Flash, rev 1.10/2.05, addr 2 > + * General Flash Disk Drive 2.05 > + * Serial Number ST92163-2000 > + */ > + {T_DIRECT, SIP_MEDIA_REMOVABLE, "General Flash Disk Drive", > + "*", "*"}, > + /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE > } > }; Mine works fine without quirks: port 3 addr 3: full speed, power 100 mA, config 1, Travel Flash(0x1307), PQI(0x0483), rev 2.05 [53]cicely13# camcontrol devlist at scbus0 target 0 lun 0 (da0,pass0) at scbus0 target 0 lun 1 (da1,pass1) at scbus0 target 0 lun 2 (da2,pass2) [54]cicely13# uname -a FreeBSD cicely13.cicely.de 5.1-BETA FreeBSD 5.1-BETA #1: Sun May 11 12:58:37 CEST 2003 ticso@cicely5.cicely.de:/var/d9/obj/var/d7/builder/FreeBSD-2003-05-11-cicely13/src/sys/CICELY13 i386 It's possible that the 4 slot version require quirks and share the version number, but things really shouldn't panic without. If they do on -current I'm interested. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de