From owner-freebsd-questions@FreeBSD.ORG Thu Jun 19 12:53:25 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 2318A37B401 for ; Thu, 19 Jun 2003 12:53:25 -0700 (PDT) Received: from sccrmhc13.attbi.com (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4079E43FA3 for ; Thu, 19 Jun 2003 12:53:24 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[24.147.188.198]) by attbi.com (sccrmhc13) with ESMTP id <2003061919532301600f323te>; Thu, 19 Jun 2003 19:53:23 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h5JJrM1V011106; Thu, 19 Jun 2003 15:53:22 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h5JJrLOu011103; Thu, 19 Jun 2003 15:53:21 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: roland Mathieu References: <20030618162500.GA351@lycurgue.localnet> From: Lowell Gilbert Date: 19 Jun 2003 15:53:20 -0400 In-Reply-To: <20030618162500.GA351@lycurgue.localnet> Message-ID: <44el1pj13j.fsf@be-well.ilk.org> Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: [doc pointer] 2 questions about usb memory stick ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 19:53:25 -0000 roland Mathieu writes: > 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 ? "man send-pr" > 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 :( ) [before 5.x; you didn't mention, so I assume you're using a recent 4.x release] See the LINT file for information on "wiring down" your disk devices.