Subject: port-i386/1782: Kernels fail to build with link error.
To: None <gnats-bugs@gnats.netbsd.org, mycroft@NetBSD.ORG, jtc@NetBSD.ORG>
From: Neil J. McRae <neil@demon.net>
List: netbsd-bugs
Date: 11/23/1995 11:49:52
>Number: 1782
>Category: port-i386
>Synopsis: Unless you have aha in kernel config kernels fail to build
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 23 07:05:06 1995
>Last-Modified:
>Originator: Neil J. McRae
>Organization:
Neil J. McRae. Demon Internet
neil@demon.net
NetBSD: Free the daemon in your <a href="http://www.NetBSD.ORG/">computer!</a>
>Release: Today.
>Environment:
System: NetBSD NetBSD.corp.demon.net 1.1_ALPHA NetBSD 1.1_ALPHA (NETBSD) #2: Thu Nov 16 11:26:12 GMT 1995 root@NetBSD:/usr/src/sys/arch/sparc/compile/NETBSD sparc
>Description:
Kernels without aha in the config fail to build.
>How-To-Repeat:
Build a kernel without aha.
>Fix:
Apply this patch:
*** /usr/src/sys/arch/i386/i386/pmap.c Sat Oct 14 02:57:03 1995
--- /sys/arch/i386/i386/pmap.c Thu Nov 23 11:24:44 1995
***************
*** 276,282 ****
* reserve special hunk of memory for use by bus dma as a bounce
* buffer (contiguous virtual *and* physical memory). XXX
*/
! #if NISA > 0
isaphysmem = pmap_steal_memory(DMA_BOUNCE * NBPG);
#endif
--- 276,282 ----
* reserve special hunk of memory for use by bus dma as a bounce
* buffer (contiguous virtual *and* physical memory). XXX
*/
! #if NISADMA > 0
isaphysmem = pmap_steal_memory(DMA_BOUNCE * NBPG);
#endif
>Audit-Trail:
>Unformatted: