From owner-freebsd-questions@FreeBSD.ORG Sat Jul 19 09:58:29 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 2C8A737B401 for ; Sat, 19 Jul 2003 09:58:29 -0700 (PDT) Received: from barryg.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97D7143FAF for ; Sat, 19 Jul 2003 09:58:28 -0700 (PDT) (envelope-from bill@celestial.com) Received: by barryg.mi.celestial.com (Postfix, from userid 203) id 08247639A9; Sat, 19 Jul 2003 09:58:27 -0700 (PDT) Date: Sat, 19 Jul 2003 09:58:27 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20030719095827.E9979@barryg.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org, Greg Pavelcak References: <20030719113054.GA932@bishop.my.domain> <20030719095452.D9979@barryg.mi.celestial.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030719095452.D9979@barryg.mi.celestial.com>; from freebsd@celestial.com on Sat, Jul 19, 2003 at 09:54:52AM -0700 cc: Greg Pavelcak Subject: Re: USB adn SCSI Device Numbering X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2003 16:58:29 -0000 On Sat, Jul 19, 2003 at 09:54:52AM -0700, Bill Campbell wrote: ... >I asked the same question recently about firewire. You can force the >kernel to use specific devices in the SCSI chain, and the attached diff >with the GENERIC configuration file shows the changes I made to hard code >two SCSI drives on a 4.8STABLE system (this also enables SMP). Sorry: It appears that the mailing list manager stripped off my plain-text attachment. Here it is in-line. --- GENERIC Sun Apr 27 20:41:46 2003 +++ SMP1 Sat Jul 19 09:50:28 2003 @@ -15,11 +15,11 @@ # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # -# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 03:41:46 simokawa Exp $ +# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/03/25 23:35:15 jhb Exp $ machine i386 -cpu I386_CPU -cpu I486_CPU +#cpu I386_CPU +#cpu I486_CPU cpu I586_CPU cpu I686_CPU ident GENERIC @@ -61,11 +61,11 @@ # output. Adds ~215k to driver. # To make an SMP kernel, the next two are needed -#options SMP # Symmetric MultiProcessor Kernel -#options APIC_IO # Symmetric (APIC) I/O +options SMP # Symmetric MultiProcessor Kernel +options APIC_IO # Symmetric (APIC) I/O # To support HyperThreading, HTT is needed in addition to SMP and APIC_IO -#options HTT # HyperThreading Technology +options HTT # HyperThreading Technology device isa device eisa @@ -119,6 +119,11 @@ device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) +# force SCSI to da0 since firewire will bugger it otherwise +device ahc0 at ahc? +device scbus0 at ahc0 +device da0 at scbus0 target 0 unit 0 +device da1 at scbus0 target 1 unit 0 # RAID controllers interfaced to the SCSI subsystem device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ Marijuana will be legal some day, because the many law students who now smoke pot will someday become congressmen and legalize it in order to protect themselves. -- Lenny Bruce