Subject: Re: Problem building 'release' from today's CVS HEAD
To: David Laight <david@l8s.co.uk>
From: James Chacon <jmc@ksu.edu>
List: current-users
Date: 03/11/2005 14:17:18
David Laight wrote:

>On Fri, Mar 11, 2005 at 03:23:44PM +0100, Tom Ivar Helbekkmo wrote:
>  
>
>>all ===> etc/i386/floppies/rescue-tiny
>>#    create  rescue-tiny/boot (from: /usr/local/arena/i386/usr/mdec/boot)
>>#    create  rescue-tiny/netbsd (from: /usr/src/distrib/i386/floppies/instkernel/obj.i386/netbsd-RESCUE_TINY.gz)
>>#    create  rescue-tiny/rescue-tiny1.fs (from: boot USTAR.volsize.4540 netbsd)
>>PAX=/usr/local/tools/bin/nbpax sh /usr/src/distrib/common/buildfloppies.sh  -i "/usr/local/tools/bin/nbinstallboot  -mi386 @IMAGE@ /usr/local/arena/i386/usr/mdec/bootxx_ustarfs"-p  -m 1 -s .fs rescue-tiny 2400 boot USTAR.volsize.4540 netbsd
>>Running instboot: /usr/local/tools/bin/nbinstallboot -mi386 floppy.18877.tar /usr/local/arena/i386/usr/mdec/bootxx_ustarfs
>>buildfloppies.sh: Image is 8192 bytes (8 KB) too big to fit on 1 disk
>>    
>>
>
>I strongly suspect that the recent additions of sysctl stuff to
>IP is to blame.
>
>Sizes from GENERIC_TINY (install_tiny not built yet!)
>	new		  old
>    4036 bus_dma.o	4024 bus_dma.o
>   14297 init_sysctl.o	13237 init_sysctl.o
>    6595 ioconf.o	6598 ioconf.o
>    6062 ip_output.o	6079 ip_output.o
>    2697 raw_ip.o	2480 raw_ip.o
>    5390 tcp_output.o	5400 tcp_output.o
>    1656 tcp_sack.o	1642 tcp_sack.o
>    5500 tcp_usrreq.o	4718 tcp_usrreq.o
>    3346 udp_usrreq.o	3291 udp_usrreq.o
>    1834 uipc_domain.o	874 uipc_domain.o
>    2677 vfs_lookup.o	2662 vfs_lookup.o
>
>  
>
Hmmm...it really should be optional to include most of the sysctl 
framework in kernels. Not only for tiny but just in general on wanting 
to shrink kernels for embedded things.

James