From owner-freebsd-questions Mon Feb 4 22:38:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id E3B5837B416 for ; Mon, 4 Feb 2002 22:38:51 -0800 (PST) Received: (qmail 1928 invoked by uid 100); 5 Feb 2002 06:38:51 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15455.32251.172602.228021@guru.mired.org> Date: Tue, 5 Feb 2002 00:38:51 -0600 To: beeman@ip21.cvd-r8.rb1.bel.nwlink.com (Roger L. Beeman) Cc: questions@freebsd.org, george@vagner.com Subject: Re: wiring down devices In-Reply-To: <117592435@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.44 (Python 2.2; freebsd-4.5-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Roger L. Beeman types: > "george" wrote: > > > I read the LINT file and tried to remake a kernel > > with wired down devices by adding the line > > > device da0 at scbus0 target 0 lun 0 > > As I read the LINT file, I believe you need two lines: > > # Associate scbus0 with device ahc0 > device scbus0 at ahc0 > # Associate da0 with device scbus0 > device da0 at scbus0 target 0 Note quite. # Associate scbus0 with device ahc0 device scbus0 at ahc0 That's sufficient to get da0 on ahc0, as the scbuses are probed in order, and that changes their order. My kernel also has device scbus in it. I think I had to do that so it would find the second SCSI controller, so it may not be needed if you only have one SCSI bus. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message