From owner-cvs-all Thu May 6 7:16:21 1999 Delivered-To: cvs-all@freebsd.org Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (Postfix) with ESMTP id EB34214CDF; Thu, 6 May 1999 07:16:14 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (Postfix) with ESMTP id CA5DD1F69; Thu, 6 May 1999 22:16:07 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Nick Hibma Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys kernel.h In-reply-to: Your message of "Thu, 06 May 1999 15:56:04 +0200." Date: Thu, 06 May 1999 22:16:07 +0800 From: Peter Wemm Message-Id: <19990506141612.CA5DD1F69@spinner.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Nick Hibma wrote: > > Hm, that shouldn't be, they should be polling while the attach of the > root hub is being done. > > Any pointers on where you found the problem? I didn't get a crashdump, and the machine with USB doesn't have a serial console.. The traceback was well off the screen, but it died in a tsleep() from one of the usb routines in the middle of probe/attach. Anyway, tsleep() used to work because curproc was set to &proc0 very early, and the idle context was viable then, which meant that it did a spl0() for the halt and woke up on clock or hardware interrupts... (!) Hmm.. if I'm interpreting that right, we were breaking the splhigh() around the configure process and have been for a while... I'll revert here and see exactly where it's happening.. > Nick > > > On Thu, 6 May 1999, Peter Wemm wrote: > > > peter 1999/05/06 06:42:27 PDT > > > > Modified files: > > sys/sys kernel.h > > Log: > > Move the proc0 init before the driver probe/attach etc since machdep.c > > doesn't set curproc anymore, and certain drivers like to tsleep() during > > probes, usb for example. Cheers, -Peter -- Peter Wemm Netplex Consulting "No coffee, No workee!" :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message