From owner-freebsd-current Tue Sep 30 06:57:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA26395 for current-outgoing; Tue, 30 Sep 1997 06:57:12 -0700 (PDT) Received: from pluto.plutotech.com (root@mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA26386 for ; Tue, 30 Sep 1997 06:57:08 -0700 (PDT) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.5/8.8.5) with ESMTP id HAA05978; Tue, 30 Sep 1997 07:57:07 -0600 (MDT) Message-Id: <199709301357.HAA05978@pluto.plutotech.com> To: Julian Elischer cc: current@FreeBSD.ORG Subject: Re: buf struct & scsi disk IO availability. In-reply-to: Your message of "Mon, 29 Sep 1997 21:40:57 PDT." <343082D9.41C67EA6@whistle.com> Date: Tue, 30 Sep 1997 07:56:40 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >2/ Jason, if I use the disk as a direct result of the scsi_attach() Are you talking to me? 8-) >If this is not the case, I have a work-around which would be to queue >further configuration to occur at some later time (but before >mounting root), but it wouldn't be so clean. > >julian All I/O to the SCSI system should be postponed until interrupt services are available. This was why I added the "interrupt driven configuration hooks". Your hook will be called before the root and dump device are configured and the boot will only continue once you remove your hook. Look in sys/kern/subr_autoconf.c for details. -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================