Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 1999 04:03:21 -0700 (PDT)
From:      "Jordan K. Hubbard" <jkh@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/dpt dpt_control.c
Message-ID:  <199905111103.EAA72879@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <mtaylor@cybernet.com>
  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




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