From owner-freebsd-scsi Tue Feb 25 20: 7:22 2003 Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFB7037B401 for ; Tue, 25 Feb 2003 20:07:21 -0800 (PST) Received: from mx.sanda.gr.jp (net.sanda.gr.jp [202.216.236.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83E2843F3F for ; Tue, 25 Feb 2003 20:07:20 -0800 (PST) (envelope-from non@ever.sanda.gr.jp) Received: from oliv.ever.sanda.gr.jp (oliv [10.93.63.4]) by mx.sanda.gr.jp (8.11.6/3.7W) with ESMTP id h1Q47JV80952 for ; Wed, 26 Feb 2003 13:07:19 +0900 (JST) Received: from localhost (localhost.ever.sanda.gr.jp [127.0.0.1]) by oliv.ever.sanda.gr.jp (8.12.6/8.12.6) with ESMTP id h1Q47LGP004103 for ; Wed, 26 Feb 2003 13:07:22 +0900 (JST) (envelope-from non@ever.sanda.gr.jp) To: freebsd-scsi@freebsd.org Subject: Re: call scan_bus in interrupt context. In-Reply-To: References: X-Mailer: Mew version 1.94.2 on Emacs 19.34 / Mule 2.3 =?iso-2022-jp?B?KBskQkt2RSYyVhsoQik=?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20030226130721S.non@ever.sanda.gr.jp> Date: Wed, 26 Feb 2003 13:07:21 +0900 From: non@ever.sanda.gr.jp X-Dispatcher: imput version 20000228(IM140) Lines: 10 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From: Hidetoshi Shimokawa Date: Wed, 26 Feb 2003 12:43:26 +0900 > I have a question about XPT_SCAN_BUS in CAM. > I need to initiate a bus scan from a interrupt context but xpt_alloc_ccb() > failed because it calls malloc with M_WAITOK. > (kernel panics if you compile it with INVARIANTS in 4-stable) Does scsi_low_rescan_bus_cam() in sys/cam/scsi/scsi_low.c help ? // Noriaki Mitsunaga // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message