NetBSD Problem Report #10329

Received: (qmail 11922 invoked from network); 9 Jun 2000 02:19:36 -0000
Message-Id: <200006090219.WAA21527@kolvir.arlington.ma.us>
Date: Thu, 8 Jun 2000 22:19:35 -0400 (EDT)
From: John Kohl <jtk@kolvir.arlington.ma.us>
Reply-To: jtk@kolvir.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: APM_ALLOW_BOGUS_SEGMENTS doesn't map data area right if outside ISA hole
X-Send-Pr-Version: 3.95

>Number:         10329
>Category:       port-i386
>Synopsis:       APM_ALLOW_BOGUS_SEGMENTS doesn't map data area right if outside ISA hole
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 09 02:20:00 +0000 2000
>Closed-Date:    Sat Jul 21 18:01:16 +0000 2018
>Last-Modified:  Sat Jul 21 18:01:16 +0000 2018
>Originator:     John Kohl
>Release:        NetBSD-1.4ZA
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:
	Sources for NetBSD-1.4ZA
System: NetBSD kolvir.arlington.ma.us 1.4X NetBSD 1.4X (KOLVIR) #4: Sun Apr 9 17:56:09 EDT 2000 jtk@kolvir.arlington.ma.us:/usr/u4/sandbox/src/sys/arch/i386/compile/KOLVIR i386

>Description:
The change adding APM_ALLOW_BOGUS_SEGMENTS won't work right if the
physical address specified by the BIOS is not in the ISA memory hole.
The segment is mapped using a virtual address coputed with ISA_HOLE_VADDR()
which won't necessarily work right for other physical addresses.

>How-To-Repeat:

>Fix:
If an address outside the "known good" sections is required, then the
driver must ensure that the physical page is reserved for APM's use, and
arrange/compute a virtual mapping in kernel address space.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 21 Jul 2018 18:01:16 +0000
State-Changed-Why:
The relevant code is long removed. Thanks for the report. Sorry it did not get a response at the time.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.