From owner-freebsd-scsi Mon Aug 19 14:14:49 2002 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 E206037B401 for ; Mon, 19 Aug 2002 14:14:47 -0700 (PDT) Received: from mail2.lsil.com (mail2.lsil.com [147.145.40.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D47543E4A for ; Mon, 19 Aug 2002 14:14:47 -0700 (PDT) (envelope-from emoore@lsil.com) Received: from mhbs.lsil.com (mhbs [147.145.31.100]) by mail2.lsil.com (8.9.3+Sun/8.9.1) with ESMTP id OAA08677 for ; Mon, 19 Aug 2002 14:14:42 -0700 (PDT) Received: from atl1.se.lsil.com by mhbs.lsil.com with ESMTP for freebsd-scsi@FreeBSD.ORG; Mon, 19 Aug 2002 14:14:37 -0700 Received: by EXA-ATLANTA.se.lsil.com with Internet Mail Service (5.5.2653.19) id ; Mon, 19 Aug 2002 17:14:36 -0400 Message-Id: <0E3FA95632D6D047BA649F95DAB60E5701265CB9@EXA-ATLANTA.se.lsil.com> From: "Moore, Eric Dean" To: freebsd-scsi@FreeBSD.ORG Subject: CAM: splcam/splx question Date: Mon, 19 Aug 2002 17:14:34 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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 We are developing a CAM driver. Im using splcam/splx in hopes of disable interrupts during the xxx_intr (interrupt time). Does this 'spl' API actually disable interrupts? I'm panic inside interrupt time when I have tagged command queuing enabled - and the page fault that occurs states the following: Fatal trap 12:page fault while in kernel mode fault virtual address = fault code = instruction pointer = stack pointer = frame pointer = code statement = base, limit, type, DPL, pres, def32 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = cam Is there some other call ( or spin locks) that actually disables interrupts during critical session of code? Eric Moore LSI Logic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message