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

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jun 5 06:34:31 PDT 2003


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:


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.


More information about the freebsd-hackers mailing list