From a09a6bc31d392f266bcc6125dc5e27c41c0f2d43 Mon Sep 17 00:00:00 2001 From: ad Date: Mon, 5 May 2008 14:43:18 +0000 Subject: [PATCH] The kernel is too large. Reduce size by commenting out eye candy options: {ACPI,EISA,MII,PCI,USB,MCA}VERBOSE Also remove INCLUDE_CONFIG_FILE, because it doesn't make sense in GENERIC. --- sys/arch/i386/conf/GENERIC | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/arch/i386/conf/GENERIC b/sys/arch/i386/conf/GENERIC index 58fe8c5a96f3..eeb485046a88 100644 --- a/sys/arch/i386/conf/GENERIC +++ b/sys/arch/i386/conf/GENERIC @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.893 2008/05/02 15:26:38 ad Exp $ +# $NetBSD: GENERIC,v 1.894 2008/05/05 14:43:18 ad Exp $ # # GENERIC machine description file # @@ -20,9 +20,9 @@ include "arch/i386/conf/std.i386" -options INCLUDE_CONFIG_FILE # embed config file in kernel binary +#options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "GENERIC-$Revision: 1.893 $" +#ident "GENERIC-$Revision: 1.894 $" maxusers 64 # estimated number of users @@ -242,17 +242,17 @@ options IPFILTER_LOOKUP # ippool(8) support # These options enable verbose messages for several subsystems. # Warning, these may compile large string tables into the kernel! -options ACPIVERBOSE # verbose ACPI device autoconfig messages -options EISAVERBOSE # verbose EISA device autoconfig messages -options MIIVERBOSE # verbose PHY autoconfig messages -options PCIVERBOSE # verbose PCI device autoconfig messages +#options ACPIVERBOSE # verbose ACPI device autoconfig messages +#options EISAVERBOSE # verbose EISA device autoconfig messages +#options MIIVERBOSE # verbose PHY autoconfig messages +#options PCIVERBOSE # verbose PCI device autoconfig messages #options PCI_CONFIG_DUMP # verbosely dump PCI config space #options PCMCIAVERBOSE # verbose PCMCIA configuration messages options SCSIVERBOSE # human readable SCSI error messages -options USBVERBOSE # verbose USB device autoconfig messages +#options USBVERBOSE # verbose USB device autoconfig messages #options PNPBIOSVERBOSE # verbose PnP BIOS messages #options PNPBIOSDEBUG # more fulsome PnP BIOS debugging messages -options MCAVERBOSE # verbose MCA device autoconfig messages +#options MCAVERBOSE # verbose MCA device autoconfig messages options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM