Subject: Re: lots of messages with new snapshot
To: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 03/06/1997 01:36:30
>> I keep getting lots of messages like
>>
>> /netbsd: asc: DMA_OUT, fifo resid 16, len 2908, flags 0x32
>The debug messages REALLY hurt disk write performance. Since around 1.2B
>source code tree, the symptoms has been persisting.
I only just started seeing it.
>I donno why the paticular if-branch is executed in these days, you can
>retain original disk write performance by just commenting out the
>debug statement.
>
> 1. In a file "sys/dev/tc/asc.c", search the debug statement,
> 2. And then rebuild the kernel.
Sounds good to me.
>Note; current set of NetBSD source code sys.tar.gz and include.tar.gz
>does not have a paticular Makefile for the 0301 version of comp.tar.gz
>You need addtional flags;
>
> CFLAGS="-mno-abicalls -mno-half-pic"
>
These are fixed in the tree. You can get a fixed version via sup.
The fix won't show up in the tar files until the tarballs are remade,
which I think happens sometime during weekends.
Here's the fix, for those who can't get it otherwise:
*** Makefile.pmax~ Tue Mar 4 20:13:02 1997
--- Makefile.pmax Tue Mar 4 20:38:35 1997
***************
*** 1,4 ****
! # $NetBSD: Makefile.pmax,v 1.42 1997/02/04 05:08:46 perry Exp $
# Makefile for NetBSD
#
--- 1,4 ----
! # $NetBSD: Makefile.pmax,v 1.43 1997/03/05 04:41:57 jonathan Exp $
# Makefile for NetBSD
#
***************
*** 40,53 ****
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dpmax ${GP}
CWARNFLAGS= -Werror
! CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -N -Ttext 80030000 -e start
STRIPFLAGS= -d
HOSTED_CC= ${CC}
HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
! HOSTED_CFLAGS= ${CFLAGS}
### find out what to use for libkern
.include "$S/lib/libkern/Makefile.inc"
--- 40,53 ----
CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \
-Dpmax ${GP}
CWARNFLAGS= -Werror
! CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} -mno-abicalls -mno-half-pic
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -N -Ttext 80030000 -e start
STRIPFLAGS= -d
HOSTED_CC= ${CC}
HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
! HOSTED_CFLAGS= ${CFLAGS:S/-mno-abicalls//:S/-mno-half-pic//}
### find out what to use for libkern
.include "$S/lib/libkern/Makefile.inc"