|
Blue Forest http://www.lslnet.com at 20:18 on April 6, 2006
FreeBSD 4.9 core compiler FreeBSD core Compiler 4.9 (installed within vmware workstation 4.05)
Released on Apr 22 2004 : zif, 01:17 AM
Remove the isa/scsi/usb/raid support.
Only support 586/686, and Hyper-Threading support 双cpu;
Vmware already installed -tools;
An article dir orders alias.
#
# GENERIC -- Generic Kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files :
#
# Http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# If you 've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# Latest information.
#
# An exhaustive list of options and more detailed explanations of the
# Lines is also present in the device. /LINT Configuration file. If you are
# In doubt as to the purpose or necessity of a line, check first in Lint.
#
# $FreeBSD : Src/sys/i386/conf/GENERIC, v 1.246.2.54 2003/04/28 03:41:46 simokawa Exp $
Machine from beginning for the i386
#cpu I386_CPU
#cpu I486_CPU
#cpu I586_CPU
Cpu I686_CPU
Ident GENERIC
Maxusers 0
#makeoptions DEBUG=-g #Build Kernel with gdb (1) Debug symbols
#options MATH_EMULATE #Support for x87 emulation
Options INET #InterNETworking
#options INET6 #IPv6 communications protocols
Fast Filesystem options FFS #Berkeley
Options FFS_ROOT #FFS usable as root device [keep this!]
FFS soft updates support options SOFTUPDATES #Enable
#Improve Performance on big directories options UFS_DIRHASH
Filesystem options MFS #Memory
#MD Is a potential root device options MD_ROOT
#options NFS #Network Filesystem
#options NFS_ROOT #NFS usable as root device, NFS required
Filesystem options MSDOSFS #MSDOS
#ISO 9660 Filesystem options CD9660
Options CD9660_ROOT #CD-ROM usable as root, CD9660 required
#Process Filesystem options PROCFS
Options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
SCSI_DELAY=5000 #Delay options (in ms) before probing SCSI
#Allow Users to grab the console options UCONSOLE
Options USERCONFIG #boot-c editor
#visual Boot - c editor options VISUAL_USERCONFIG
#options KTRACE #ktrace (1) support
#SYSV-style Shared memory options SYSVSHM
Options SYSVMSG #SYSV-style message queues
Options SYSVSEM #SYSV-style semaphores
P1003_1B real-time extensions options P1003_1B #Posix
Options _KPOSIX_PRIORITY_SCHEDULING
#Rate Limit bad replies options ICMP_BANDLIM
Options KBD_INSTALL_CDEV # install a CDEV entry in /dev
Options AHC_REG_PRETTY_PRINT # Print register bitfields in Killing
# Output. Adds ~128k to driver.
Options AHD_REG_PRETTY_PRINT # Print register bitfields in Killing
# Output. Adds ~215k to driver.
# To make an SMP Kernel, the next two are needed
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
# To support HyperThreading, HTT is needed in addition to SMP and APIC_IO
#options HTT # HyperThreading Technology
Device isa
Device eisa
Pci device
Floppy drives #
Device fdc0 at isa? port IO_FD1 irq 6 drq 2
Device fd0 at fdc0 drive 0
#device Fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its YE Data PCMCIA CFTD.
# Not specified 't use the above line for fdc0 but the following one :
#device Fdc0
# ATA and ATAPI devices
IO_WD1 irq 14 port device ata0 at isa?
IO_WD2 irq 15 port device ata1 at isa?
Device-Quds
Device atadisk # ATA disk drives
Atapicd # ATAPI device CDROM drives
#device Atapifd # ATAPI drives CFTD
#device Atapist # ATAPI tape drives
ATA_STATIC_ID #Static device numbering options
# SCSI Controllers
#device Ahb # EISA AHA1742 family
#device Ahc # AHA2940 and onboard AIC7xxx devices
#device Ahd # AHA39320/29320 and onboard AIC79xx devices
#device Amd # AMD 53C974 (Tekram DC-390 (T))
#device Isp # Qlogic family
#device Mpt # LSI-Logic MPT/Fusion
#device Ncr # NCR/Symbios Logic
#device Sym # NCR/Symbios Logic (newer chipsets)
#options SYM_SETUP_LP_PROBE_MAP=0x40
# Allow ncr to attach legacy NCR devices when
# Both sym and ncr are configured
#device Adv0 at isa?
#device Intermediates
#device Bt0 at isa?
#device Aha0 at isa?
#device Aic0 at isa?
#device Ncv # NCR 53C500
#device Nsp # Workbit Ninja SCSI-3
#device Unpaid # TMC 18C30/18C50
# SCSI peripherals
#device Scbus # SCSI bus (required)
#device Da # Direct Access (disks)
#device Sa # Sequential Access (tape etc)
CD # cd #device
#device Pass # Passthrough device (direct SCSI access)
# RAID controllers interfaced to the SCSI subsystem
#device Asr # DPT SmartRAID V, VI and devaluation SCSI RAID
#device Assemblies # DPT Smartcache-See Lint for options!
#device Iir # Intel Integrated RAID
#device Mly # Mylex AcceleRAID/eXtremeRAID
#device Ciss # Compaq SmartRAID 5 * series
# RAID controllers
#device Aac # devaluation FSA RAID, Dell PERC2/PERC3
#device Aacp # SCSI passthrough for aac (requires CAM)
#device Ida # Compaq Smart RAID
Addameer # AMI MegaRAID #device
#device Mlx # Mylex DAC960 family
#device Twe # 3ware Escalade
# Atkbdc0 controls both the PS/2 keyboard and the mouse
Isa? port device atkbdc0 at IO_KBD
Irq 1 flags 0x1 device atkbd0 at atkbdc?
Atkbdc? irq device psm0 at 12
Device vga0 at isa?
# Splash screen/screen saver
Pseudo-device splash
# Syscons is the default console driver, resembling an SCO console
Sc0 at isa? flags 0x100 device
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device Vt0 at isa?
#options XSERVER # support for X server on a EDTA console
#options FAT_CURSOR # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options PCVT_SCANSET=2 # IBM keyboards are non-std
# Support several AGP chipsets device sp
# Floating point support-do not disable.
IO_NPX irq 13 port device npx0 at nexus?
# Power management support (see Lint for more options)
Device apm0 at nexus? disable flags 0x20 # Advanced Power Management
# PCCARD (PCMCIA) support
#device Card
#device Pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000
#device Pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable
# Serial (COM) ports
Device sio0 at isa? port IO_COM1 flags 0x10 irq 4
Device sio1 at isa? port IO_COM2 irq 3
#device Sio2 at isa? disable port IO_COM3 irq 5
#device Sio3 at isa? disable port IO_COM4 irq 9
# Parallel port
Irq 7 device ppc0 at isa?
Device ppbus # Parallel port bus (required)
#device Lpt # Printer
#device Plip # TCP over parallel
#device Ppi # Parallel port interface device
#device Vpo # Requires scbus and da
# PCI Ethernet NICs.
#device De # DEC/Intel DC21x4x (``Tulip '')
Intel PRO/1000 Gigabit Ethernet adapter device em # Card (``Wiseman '')
#device Txp # 3Com 3cR990 (``Typhoon '')
#device Vx # 3Com 3c590, 3c595 (``Vortex '')
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE : Be sure to keep the 'device miibus' line in order to use these NICs!
Miibus # MII bus support device
#device Dc # 21143 and various workalikes DEC/Intel
Device fxp # Intel EtherExpress PRO/100B (82557, 82558)
#device Pcn # AMD Am79C97x PCI 10/100 NICs
Uwe # RealTek 8129/8139 device
#device Sf # devaluation AIC-6915 (``Starfire '')
Device sis # Silicon Integrated Systems SiS 900/SiS 7016
# #device Local terrorist organizations Sundance ST201 (D-Link DFE-550TX)
#device Tl # Texas Instruments ThunderLAN
#device Tx # SMC EtherPower II (83c170 ``EPIC '')
Device vr # VIA Rhine, Rhine II
Winbond W89C840F device dying #
Quantitative # 3Com 3c90x device (``Boomerang '' ``Cyclone '')
#device Bge # Broadcom BCM570x (``Tigon III '')
# ISA Ethernet NICs.
# 'Device ed' requires' device miibus'
#device Ed0 at isa? disable port 0x280 irq 10 iomem 0xd8000
#device Ex
#device HERA ep
#device Fe0 at isa? disable port 0x300
# Xircom Ethernet
#device Xe
# PRISM I IEEE 802.11b wireless NIC.
#device Je'awi
# WaveLAN/IEEE 802.11 wireless NICs. Note : the WaveLAN/IEEE really
# Exists only as a PCMCIA device, so there is no ISA attachment needed
# And resources will always be dynamically assigned by the pccard code.
#device Sa'wi
# Aironet 4500/4800 802.11 wireless NICs. Note : the declaration below will
# Work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# Mode (the factory default). If you set the switches on your ISA
# Card for a manually chosen I/O address and IRQ, you must specify
# Those parameters here.
#device An
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device Ie0 at isa? disable port 0x300 irq 10 iomem 0xd0000
#device Le0 at isa? disable port 0x300 irq 5 iomem 0xd0000
Device lnc0 at isa? disable port 0x280 irq 10 drq 0
#device Cs0 at isa? disable port 0x300
#device Sn0 at isa? disable port 0x300 irq 10
# Pseudo devices-the number indicates how many units to allocate.
Pseudo-device loop # Network loopback
Pseudo-device ether # Ethernet support
#pseudo-device Sl 1 # Kernel SLIP
Pseudo-device ppp 1 # Kernel PPP
Pseudo-device tun # Packet tunnel.
Pseudo-device pty # Pseudo-ttys (Telnet etc.)
Pseudo-device md # Memory "disks"
IPv4 and IPv6 tunneling #pseudo-device gif #
#pseudo-device Faith IPv6-to-IPv4 relaying # 1 (translation)
# The `bpf 'pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
Pseudo-device bpf #Berkeley packet filter
# USB support
#device Uhci # UHCI PCI->;USB interface
#device Ohci # interface for OHCI PCI->;USB
#device Usb # USB Bus (required)
#device Ugen # Generic
#device Uhid # "Human Interface Devices"
#device Ukbd # Keyboard
#device Ulpt # Printer
#device Umass # Disks/Mass storage-Requires scbus and da
#device Ums # Mouse
#device Uscanner # Scanners
#device Urio # Diamond Rio MP3 Player
# USB Ethernet, requires mii
#device Aue # ADMtek USB ethernet
#device Movie # CATC USB ethernet
#device Kue # Kawasaki LSI USB ethernet
# FireWire support
#device Firewire # FireWire bus code
#device 0.05-0.01 # SCSI over FireWire (Requires scbus and da)
#device Fwe # Ethernet over FireWire (non-standard!)
Released on Apr 22 2004 : zif, 01:38 AM
Use du orders showed that 896,501
Estimate is 896Mb.
Vmware up space and 1189Mb.
To translation core, the need to install src source document.
Http://bbs.oixm.com/index.php?act=Print&client=printer&f=29&t=20760 |
FreeBSD 4.9 core compiler Floor mainly to explain what is the problem? |
FreeBSD 4.9 core compiler Fbsd what they were posted only in the use vmware. |
FreeBSD 4.9 core compiler Compile the kernel size? Be very small? |
FreeBSD 4.9 core compiler This is to reduce cpu overhead to the system, accounting for less than hard disk. .
How the size of the core, will not. |
FreeBSD 4.9 core compiler I am also in the experimental environment VMWARE, some top |
FreeBSD 4.9 core compiler Pseudo-device ppp 1 # Kernel PPP
Pseudo-device tun # Packet tunnel.
If LAN access, not dial-up Internet access is not going to be removed? |
FreeBSD 4.9 core compiler [quote][i] Note from the original "amai" [/i] released :
Pseudo-device ppp 1 # Kernel PPP
Pseudo-device tun # Packet tunnel.
If LAN access, not dial-up Internet access is not going to be removed? [/quote]
Can be deleted. |
FreeBSD 4.9 core compiler VMWARE AMD in the NIC is not the ah? If the answer is yes Zhushidiao how online Azerbaijan? |
FreeBSD 4.9 core compiler [quote][i] Note from the original "monkey x leaves Damascus" [/i] released :
This is to reduce cpu overhead to the system, accounting for less than hard disk. .
How the size of the core, will not. [/quote]
Cd /
Ll
In fact, a lot of things can remove. NIC is 10-2 under vmware |
FreeBSD 4.9 core compiler This may not be very concise, I felt that I could continue to optimize
The following are my core, or some stupid :)
Lenovo opening day 4600 machines :
[Monday, November 24, 2003 22:27 -- nine seconds
-------------------------------------------------------------------
[code]machine From beginning for the i386
Cpu I686_CPU
Ident YESING
Maxusers 0
Options INET #InterNETworking
Fast Filesystem options FFS #Berkeley
FFS soft updates support options SOFTUPDATES #Enable
Options for access control lists UFS_ACL #Support
#Improve Performance on big directories options UFS_DIRHASH
#MD Is a potential root device options MD_ROOT
Options PROCFS #Process filesystem (requires PSEUDOFS)
#Pseudo-filesystem Framework options PSEUDOFS
Options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
#Compatible With FreeBSD4 options COMPAT_FREEBSD4
SCSI_DELAY=5000 #Delay options (in ms) before probing SCSI
KTRACE #ktrace options (1) support
#SYSV-style Shared memory options SYSVSHM
Options SYSVMSG #SYSV-style message queues
Options SYSVSEM #SYSV-style semaphores
#Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING
Options MAXDSIZ = "(1024*1024*256)"
Options MAXSSIZ = "(1024*1024*256)"
Options DFLDSIZ = "(1024*1024*256)"
Options PANIC_REBOOT_WAIT_TIME=0
Options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS
Device isa
Device eisa
Pci device
Options AUTO_EOI_1
Options IPFILTER
Options RANDOM_IP_ID
Options TCP_DROP_SYNFIN
Options ZERO_COPY_SOCKETS
Options PANIC_REBOOT_WAIT_TIME=0
Device-Quds
Device atadisk # ATA disk drives
# AT keyboard controller device atkbdc
# AT keyboard device atkbd
VGA video card driver device vga #
Splash # device splash screen and screen saver support
Device sc
Options MAXCONS=2 # #
Options SC_DISABLE_REBOOT
Options SC_NO_CUTPASTE #
Options SC_NO_FONT_LOADING #
Options SC_NO_SYSMOUSE
# Support several AGP chipsets device sp
Device npx
Miibus # MII bus support device
Device fxp # Intel EtherExpress PRO/100B (82557, 82558)
Entropy device device random #
Network loopback device loop #
Ethernet support device ether #
Device sl # Kernel SLIP
# Pseudo-ttys device pty (Telnet etc.)
Device bpf # Berkeley packet filter[/code] |
FreeBSD 4.9 core compiler The following is a letter to the British wave of CPU server, but it seems not very stable for the CPU, I will restart the first week of a machine :
[code]
Machine from beginning for the i386
Cpu I686_CPU
Ident MAIL
Maxusers 512
#Support For x87 emulation options MATH_EMULATE
Options INET #InterNETworking
Fast Filesystem options FFS #Berkeley
Options FFS_ROOT #FFS usable as root device [keep this!]
FFS soft updates support options SOFTUPDATES #Enable
#Improve Performance on big directories options UFS_DIRHASH
#MD Is a potential root device options MD_ROOT
#Process Filesystem options PROCFS
Options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
SCSI_DELAY=5000 #Delay options (in ms) before probing SCSI
#SYSV-style Shared memory options SYSVSHM
Options SYSVMSG #SYSV-style message queues
Options SYSVSEM #SYSV-style semaphores
P1003_1B real-time extensions options P1003_1B #Posix
Options _KPOSIX_PRIORITY_SCHEDULING
Options MAXDSIZ = "(1024*1024*1024)"
Options MAXSSIZ = "(1024*1204*1024)"
Options DFLDSIZ = "(1024*1024*1024)"
Options PANIC_REBOOT_WAIT_TIME=0
#Rate Limit bad replies options ICMP_BANDLIM
Options SMP # Symmetric MultiProcessor Kernel
Options APIC_IO # Symmetric (APIC) I/O
Options ACCEPT_FILTER_DATA
Options ACCEPT_FILTER_HTTP
Options RANDOM_IP_ID
Device isa
Device eisa
Pci device
IO_WD1 irq 14 port device ata0 at isa?
IO_WD2 irq 15 port device ata1 at isa?
Device-Quds
Device atadisk # ATA disk drives
Atapicd # ATAPI device CDROM drives
CFTD drives ATAPI device atapifd #
Device atapist # ATAPI tape drives
ATA_STATIC_ID #Static device numbering options
# SCSI Controllers
Ahb # EISA AHA1742 device family
AIC7xxx devices and onboard device ahc # AHA2940
AIC79xx devices and onboard device ahd # AHA39320/29320
Device amd # AMD 53C974 (Tekram DC-390 (T))
Qlogic family # device isp
# Device mpt LSI-Logic MPT/Fusion
Ncr # NCR/Symbios Logic device
Sym # NCR/Symbios Logic device (newer chipsets)
Options SYM_SETUP_LP_PROBE_MAP=0x40
# Allow ncr to attach legacy NCR devices when
# Both sym and ncr are configured
Device adv0 at isa?
Device intermediates
Device bt0 at isa?
Device aha0 at isa?
Device aic0 at isa?
Device ncv # NCR 53C500
Device nsp # Workbit Ninja SCSI-3
TMC 18C30/18C50 device unpaid #
# SCSI peripherals
Device scbus # SCSI bus (required)
Device da # Direct Access (disks)
Sa # Sequential Access device (tape, etc.)
CD # device cd
Device pass # Passthrough device (direct SCSI access)
# RAID controllers interfaced to the SCSI subsystem
Device asr # DPT SmartRAID V, VI and devaluation SCSI RAID
Device Assemblies # DPT Smartcache-See Lint for options!
Iir # Intel Integrated RAID device
Mly # Mylex device AcceleRAID/eXtremeRAID
Compaq SmartRAID 5 * # device ciss series
# RAID controllers
FSA RAID device aac # devaluation, Dell PERC2/PERC3
#device Aacp # SCSI passthrough for aac (requires CAM)
Ida # Compaq Smart RAID device
AMI MegaRAID device Addameer #
Device mlx # Mylex DAC960 family
Device twe # 3ware Escalade
# Atkbdc0 controls both the PS/2 keyboard and the mouse
Isa? port device atkbdc0 at IO_KBD
Irq 1 flags 0x1 device atkbd0 at atkbdc?
Atkbdc? irq device psm0 at 12
Device vga0 at isa?
Pseudo-device splash
# Syscons is the default console driver, resembling an SCO console
Sc0 at isa? flags 0x100 device
Options MAXCONS=2
Options SC_DISABLE_REBOOT
Options SC_NO_CUTPASTE
Options SC_NO_FONT_LOADING
Options SC_NO_SYSMOUSE
# Support several AGP chipsets device sp
IO_NPX irq 13 port device npx0 at nexus?
Device apm0 at nexus? disable flags 0x20 # Advanced Power Management
Device sio0 at isa? port IO_COM1 flags 0x10 irq 4
Irq 7 device ppc0 at isa?
Device ppbus # Parallel port bus (required)
# TCP over parallel device plip
Parallel port interface device # device ppi
Miibus # MII bus support device
Device fxp # Intel EtherExpress PRO/100B (82557, 82558)
Device lnc0 at isa? disable port 0x280 irq 10 drq 0
Pseudo-device loop # Network loopback
Pseudo-device ether # Ethernet support
Pseudo-device pty # Pseudo-ttys (Telnet etc.)
Pseudo-device bpf #Berkeley packet filter[/code] |
FreeBSD 4.9 core compiler VMWARE never downloaded over the UNIX might be more convenient, but if you do experiment, I would like to simply install more closer to reality than with VMWARE!
Also, the landlord behind the kernel than to be concise, I do not know what is the core of the most streamlined, who example? |
FreeBSD 4.9 core compiler 14M on journeys |
| |