Subject: kernel sizes
To: None <port-cobalt@netbsd.org>
From: Matthew Luckie <mjl@luckie.org.nz>
List: port-cobalt
Date: 04/25/2003 14:45:12
Hi

For some reason the size of the kernels that i've compiled on my qube
recently are large.  At some stage I had IPv6, nfsserver, and a bunch of
System V stuff in my kernel (for postgresql), but now i've only got
nfsserver and system V and a stripped kernel, which is complained about
when the machine starts.

Apr 21 20:50:01 polyprop savecore: /netbsd: kvm_nlist: bad namelist
Apr 21 20:50:01 polyprop savecore: /netbsd: _dumpdev not in namelist

at http://www.crc.net.nz/polyprop/~mjl/polyprop is my current kernel
configuration.  It is 2626627 bytes in size, greater than the 2500000
limit for this platform.  When stripped it is 2071968 bytes.

The compile options look something like this:

cc  -pipe -EL -G 0 -mno-abicalls -mno-half-pic -msoft-float -ffreestanding
-pipe -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Dcobalt -I.
-I../../../../arch -I../../../.. -nostdinc -DMIPS3 -DMIPS3_5200
-D__NO_SOFT_SERIAL_INTERRUPT -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c
swapnetbsd.c

Any hints?  If I haven't given enough information, please let me know what
to provide.

Thanks

Matthew