0xdeadc0de panic after plugging in USB CompactFlash reader/writer on 5.0-RELEASE

Brian O'Shea b_oshea at yahoo.com
Fri Jun 6 09:36:49 PDT 2003


Hi Poul-Henning,

--- Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
> In message <20030605132553.GQ3231 at 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 at 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


More information about the freebsd-hackers mailing list