From owner-freebsd-scsi Fri Nov 30 8:16:41 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 768A737B419 for ; Fri, 30 Nov 2001 08:16:38 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 30 Nov 2001 16:16:37 +0000 (GMT) Date: Fri, 30 Nov 2001 16:16:37 +0000 From: David Malone To: Kenneth Stailey Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: does the Advansys SCSI driver corrupt kernel memory? Message-ID: <20011130161637.A76388@walton.maths.tcd.ie> References: <20011130160841.31277.qmail@web10001.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011130160841.31277.qmail@web10001.mail.yahoo.com>; from kstailey@yahoo.com on Fri, Nov 30, 2001 at 08:08:41AM -0800 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 On Fri, Nov 30, 2001 at 08:08:41AM -0800, Kenneth Stailey wrote: > My system will sometimes panic during startup with page fault in kernel mode. > Even more often than that SIGVTALRM and/or SIGPROF kill programs that have not > set any interval timers. The driver is probably overflowing the kernel stack. Just after FreeBSD 4.4 was released the size of the kernel stack was increased to prevent this type problem. Is there any possibility that you can try removing your fix and then editing /src/sys/i386/include/param.h and change the line which says: #define UPAGES 2 so that upages is 3? If this fixes the problem then we can be fairly sure it is a stack overflow problem with the driver. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message