From owner-freebsd-current Sat May 22 10:39:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (Postfix) with ESMTP id D268614F3B for ; Sat, 22 May 1999 10:39:16 -0700 (PDT) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.9.2/8.9.1) with ESMTP id LAA08495; Sat, 22 May 1999 11:36:37 -0600 (MDT) (envelope-from gibbs@plutotech.com) Message-Id: <199905221736.LAA08495@pluto.plutotech.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Poul-Henning Kamp Cc: "Justin T. Gibbs" , Mike Smith , current@FreeBSD.ORG Subject: Re: "hanging root device to da0s1a" In-reply-to: Your message of "Sat, 22 May 1999 17:03:19 +0200." <4684.927385399@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 22 May 1999 11:26:38 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >In message <199905192231.QAA09421@narnia.plutotech.com>, "Justin T. Gibbs" wri >t >es: >>In article <199905191637.JAA03111@dingo.cdrom.com> you wrote: >>> I'm not sure why it happens like this; try putting a DELAY() just >>> before we actually set the root device and see if you can put it off. >> >>Why not just spl() protect that printf call so that its output is >>dumped contiguously into the console buffer? > >Am I missing something here ? We shouldn't set the root device until >CAM is done probing, right ? CAM has finished probing at this point, but it holds off on announcing devices until it has all necessary info. The drives may need to be spun up, etc. I believe the printf happens before the device has been opened and CAM blocks in the open until the device is really ready for service. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message