From owner-cvs-all Tue May 11 4: 3:24 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D183515017; Tue, 11 May 1999 04:03:21 -0700 (PDT) (envelope-from jkh@FreeBSD.org) Received: (from jkh@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA72879; Tue, 11 May 1999 04:03:21 -0700 (PDT) (envelope-from jkh@FreeBSD.org) Message-Id: <199905111103.EAA72879@freefall.freebsd.org> From: "Jordan K. Hubbard" Date: Tue, 11 May 1999 04:03:21 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/dpt dpt_control.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jkh 1999/05/11 04:03:21 PDT Modified files: sys/dev/dpt dpt_control.c Log: During probe, the page lockdown code in dpt_control.c does some bad math: it does not handle page-boundary conditions, and will not end up mapping all of the requested addresses. This will cause a panic: page fault during probe on some systems. I have a machine that will panic every time (when using the dpt driver) on kernel probe when there are 5 drives installed. When there are 4 drives, it is fine. Fix is to always allocate/deallocate an extra page. There is also a bonus splx() fix on an early error return. Submitted by: Mark J. Taylor PR: 9367 Revision Changes Path 1.11 +4 -2 src/sys/dev/dpt/dpt_control.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message