Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 16:16:37 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Kenneth Stailey <kstailey@yahoo.com>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: does the Advansys SCSI driver corrupt kernel memory?
Message-ID:  <20011130161637.A76388@walton.maths.tcd.ie>
In-Reply-To: <20011130160841.31277.qmail@web10001.mail.yahoo.com>; from kstailey@yahoo.com on Fri, Nov 30, 2001 at 08:08:41AM -0800
References:  <20011130160841.31277.qmail@web10001.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011130161637.A76388>