From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 6 09:36:48 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 EE1A237B401 for ; Fri, 6 Jun 2003 09:36:48 -0700 (PDT) Received: from web10506.mail.yahoo.com (web10506.mail.yahoo.com [216.136.130.156]) by mx1.FreeBSD.org (Postfix) with SMTP id 8A48043FA3 for ; Fri, 6 Jun 2003 09:36:48 -0700 (PDT) (envelope-from b_oshea@yahoo.com) Message-ID: <20030606163648.34510.qmail@web10506.mail.yahoo.com> Received: from [12.210.16.194] by web10506.mail.yahoo.com via HTTP; Fri, 06 Jun 2003 09:36:48 PDT Date: Fri, 6 Jun 2003 09:36:48 -0700 (PDT) From: Brian O'Shea To: Poul-Henning Kamp , ticso@cicely.de In-Reply-To: <82463.1054819974@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Fri, 06 Jun 2003 16:36:49 -0000 Hi Poul-Henning, --- 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: That patch didn't fix it (I get the same panic). I think there must be other significant changes to revision 1.143 of scsi_da.c (5.0-RELEASE has revision 1.117). Amazingly, the patch applied correctly despite some differences in the surrounding lines of code, and the line numbers being off a bit. Anyhow, I'll wait for 5.1 to use my Travel Flash. Thanks again for your help, -brian > > > 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 > } > }; > > > -- > 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. __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com