From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 09:37:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EBD537B401 for ; Wed, 18 Jun 2003 09:37:21 -0700 (PDT) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8889743FBD for ; Wed, 18 Jun 2003 09:37:20 -0700 (PDT) (envelope-from roland.mathieu@online.fr) Received: from lycurgue.localnet (dijon-1-a7-62-147-69-148.dial.proxad.net [62.147.69.148]) by postfix4-1.free.fr (Postfix) with ESMTP id 6BEFC3F470 for ; Wed, 18 Jun 2003 18:37:18 +0200 (CEST) Received: from lycurgue.localnet (localhost.localnet [127.0.0.1]) by lycurgue.localnet (8.12.6/8.12.6) with ESMTP id h5IGP0gY000709 for ; Wed, 18 Jun 2003 18:25:00 +0200 (CEST) (envelope-from roland@lycurgue.localnet) Received: (from roland@localhost) by lycurgue.localnet (8.12.6/8.12.6/Submit) id h5IGP03Y000708 for freebsd-questions@freebsd.org; Wed, 18 Jun 2003 18:25:00 +0200 (CEST) Date: Wed, 18 Jun 2003 18:25:00 +0200 From: roland Mathieu To: freebsd-questions@freebsd.org Message-ID: <20030618162500.GA351@lycurgue.localnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: 2 questions about usb memory stick ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 16:37:21 -0000 I've got a 128MB usb memory stick (pmi memory). It works very well since I've modified file /usr/src/sys/cam/scsi/scsi_da.c by adding lines: { /* * Pmi / 128MB */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic*", "USB Flash Disk*", "*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, in the da_quirk_table structure. First question : who contact to add definitively these lines to scsi_da.c ? Second question: if memory stick is plugged when my computer boots up it is detected before my scsi disks. how to avoid that ? ( I must unplug it if I want my computer to boot because da0 is normally used by the first scsi disk :( ) Any suggestions are welcome! Thanks, roland.