cranston@guru.dec.com (Scott Cranston) (11/20/90)
I wanted to increase the size of the buffer cache to something useful rather than the 30k default. I modified the NR_BUFS and NR_BUF_HASH parameters in config.h to be 320 and 512 (same as for the Intel CPU). The kernel build succeeded after doing a: chmem =200000 /usr/lib/cem chmem =100000 /usr/lib/cv chmem =600000 /usr/bin/rmaker [ I am using the patched rmaker ] Launching the new macboot fails indicating that there was no 'fs' section to load. The output from rmaker seemed to indicate it was there, however the size of the fs resource did seem small. I also tried using a buffer cache definition of 100 and 128...it failed the same way. I have successfully made a new kernel (macboot) using the standard config.h file. I have installed the following patches: memory.c (the second one that Joe Pickert posted) a.out.h nlist.c setup.c cstart.c macboot.c ps.c Help? Scott cranston@decvax.dec.com FYI: List of compiler messages when building a kernel: "(warning) incompatible pointer in =" /usr/src/kernel/wini.c line 129 floppy.c line 130 dmp.c line 191 /usr/src/tools/macboot.c line 129 "(warning) conversion of pointer to int looses accuracy" /usr/src/kernel/system.c line 206 line 616 misc.c line 104 /usr/src/fs/open.c line 57 utility.c line 67 line 68 /usr/src/mm/main.c line 140