From owner-freebsd-alpha Sun Nov 12 8:37:35 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id A7F9937B4C5 for ; Sun, 12 Nov 2000 08:37:32 -0800 (PST) Received: from mail.cicely.de (cicely.de [194.231.9.142]) by mail.du.gtn.com (8.11.0.Beta3/8.11.0.Beta3) with ESMTP id eACGbLj20015 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK) for ; Sun, 12 Nov 2000 17:37:28 +0100 (MET) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0.Beta1/8.11.0.Beta1) with ESMTP id eACGbAf11514 for ; Sun, 12 Nov 2000 17:37:12 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.0/8.9.2) id eACGbAp05884 for freebsd-alpha@freebsd.org; Sun, 12 Nov 2000 17:37:10 +0100 (CET) (envelope-from ticso) Date: Sun, 12 Nov 2000 17:37:09 +0100 From: Bernd Walter To: freebsd-alpha@freebsd.org Subject: AST and ithread question Message-ID: <20001112173709.B5667@cicely8.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As far as I underderstood an AST is needed for context switching. An AST can only happen before returning to user-mode. Which process is running in user-mode during kernel initialisation. How can the context switched to an scsi-controller ithread during the first scsi-probe? I can see that there are getting clock swi scheduled and processed. after the 15 second period after scsi-reset I see from one or more controllers an interrupt and the connected ithread is set to the run-queue. No ithread including the clock is running after that. The clock is still geting scheduled. I tried to remove this AST limitation but this doesn't work as the kernel hangs during clock initialisation. I also tried to reduce it to gd_intr_nested_level==0 Possibly the console output from KTR changes the situation as I'm running on a 9600 seriel. Does anyone know how I can change this to a higher rate? If neccesary I will add some sio devices to separate kernel and SRM output. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message