From owner-freebsd-questions@FreeBSD.ORG Tue Nov 22 23:14:44 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CA0316A41F for ; Tue, 22 Nov 2005 23:14:44 +0000 (GMT) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (chylonia.3miasto.net [213.192.74.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C003743D53 for ; Tue, 22 Nov 2005 23:14:41 +0000 (GMT) (envelope-from wojtek@tensor.3miasto.net) Received: from chylonia.3miasto.net (localhost [127.0.0.1]) by chylonia.3miasto.net (8.13.4/8.13.4) with ESMTP id jAMNEcYp038326 for ; Wed, 23 Nov 2005 00:14:38 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) Received: from localhost (wojtek@localhost) by chylonia.3miasto.net (8.13.4/8.13.4/Submit) with ESMTP id jAMNEbK0038323 for ; Wed, 23 Nov 2005 00:14:37 +0100 (CET) (envelope-from wojtek@tensor.3miasto.net) X-Authentication-Warning: chylonia.3miasto.net: wojtek owned process doing -bs Date: Wed, 23 Nov 2005 00:14:37 +0100 (CET) From: Wojciech Puchar X-X-Sender: wojtek@chylonia.3miasto.net To: freebsd-questions@freebsd.org Message-ID: <20051123001005.E37502@chylonia.3miasto.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: FreeBSD GENERIC kernel&modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2005 23:14:44 -0000 i have no idea why almost EVERYTHING is kld-modularized, and once again in generic kernel. below is my "almost generic" kernel taking 4 times less space, the only difference is that some modules have to be loaded at boot (by loader.conf). wouldn't it be better for true "generic kernel"? just install by default loader.conf that loads almost everything, and then in most cases just deleting some lines will be enough instead of recompiling! my loader.conf and kernel config below: autoboot_delay="2" if_fxp_load="YES" geom_gpt="YES" atapci_load="YES" atadisk_load="YES" random_load="YES" fdc_load="YES" sio_load="YES" puc_load="YES" atapicd_load="YES" cam_load="YES" atapicam_load="YES" if_tun_load="YES" nfsserver_load="YES" sysvshm_load="YES" sysvsem_load="YES" sysvmsg_load="YES" usb_load="YES" umass_load="YES" linux_load="YES" and my kernel. ident SMP-686 options SMP # Symmetric MultiProcessor Kernel machine i386 cpu I686_CPU #options SCHED_ULE # ULE scheduler options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options QUOTA options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=2000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC device pci device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device sc # Pseudo devices. device loop # Network loopback device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter