Subject: port-i386/10329: APM_ALLOW_BOGUS_SEGMENTS doesn't map data area right if outside ISA hole
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: netbsd-bugs
Date: 06/08/2000 19:19:10
>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: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 08 19:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: