From owner-freebsd-scsi Thu May 8 14:21:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA20445 for freebsd-scsi-outgoing; Thu, 8 May 1997 14:21:31 -0700 (PDT) Received: from sendero.i-connect.net (sendero-ppp.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id OAA20433 for ; Thu, 8 May 1997 14:21:26 -0700 (PDT) Received: (qmail 29737 invoked by uid 1000); 8 May 1997 20:58:07 -0000 Message-ID: X-Mailer: XFMail 1.1-alpha [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 08 May 1997 13:15:10 -0700 (PDT) Organization: iConnect Corp. From: Simon Shapiro To: The Code Warrior Subject: Re: Privileged Instruction Fault... Cc: FreeBSD-Hackers@FreeBSD.ORG, FreeBSD-SCSI@FreeBSD.ORG, Michael Smith Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi The Code Warrior; On 08-May-97 you wrote: > > > On Wed, 7 May 1997, Simon Shapiro wrote: > > > > > Hi Michael Smith; On 08-May-97 you wrote: > > > Simon Shapiro stands accused of saying: > > > > > > > > Fatal trap 12: page fault while in kernel mode > > > > > > > > Fault address 0x41 > > > > > > Forgot to mention; check your structure definitions for members with > > > an offset of 0x41, though I expect you know all this... > > > > Yes, but part of the reason for discussing this publicly is for others, > even > > more naive that I am to not repeat my mistakes :-) > > > > ... > > > Could be just a coincidence but could it have something to do with the > fact that 0x41 is the address in memory of the Letter 'A'? > > -Jon Yes, Thank you. This is when I knew it was a stack problem. The DPT controller identifies many of its control packets by putting ``EATA'' somewhere in the packet. The fact that this ends up as a pointer is the clue. What we need is (I am sure we have it, but I do not know) a way to control stack size (from the config file?), or monitor its size vs. allocated size. Simon