# # Tatsuya TANIKAWA 1999/1/24 # # for PCG-767 # # # This directive is mandatory; it defines the architecture to be # configured for; in this case, the 386 family based IBM-PC and # compatibles. # machine "i386" # # This is the ``identification'' of the kernel. Usually this should # be the same as the name of your kernel. # ident TANIKAWA # # The `maxusers' parameter controls the static sizing of a number of # internal system tables by a complicated formula defined in param.c. # maxusers 10 # When this is set, be extra conservative in various parts of the kernel # and choose functionality over speed (on the widest variety of systems). # # (Note that one of the effects of removing this option is to enable # tagged commands in the `ncr' driver. See the comments to # AHC_TAGENABLE for a note of warning.) options FAILSAFE # This allows you to actually store this configuration file into # the kernel binary itself, where it may be later read by saying: # strings /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL # #options INCLUDE_CONFIG_FILE # Include this file in kernel # # This directive defines a number of things: # - The compiled kernel is to be called `kernel' # - The root filesystem might be on partition wd0a # - Crash dumps will be written to wd0b, if possible. Specifying the # dump device here is not recommended. Use dumpon(8). # config kernel root on wd0 dumps on wd0 ##################################################################### # CPU OPTIONS # # You must specify at least one CPU (the one you intend to run on); # deleting the specification for CPUs you don't need to use may make # parts of the system run faster. This is especially true removing # I386_CPU. # #cpu "I386_CPU" cpu "I486_CPU" cpu "I586_CPU" # aka Pentium(tm) cpu "I686_CPU" # aka Pentium Pro(tm) # # Options for CPU features. # # NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY # Pentiums) from locking up when a LOCK CMPXCHG8B instruction is # executed. This should be included for ALL kernels that won't run # on a Pentium. #options "NO_F00F_HACK" # # A math emulator is mandatory if you wish to run on hardware which # does not have a floating-point processor. Pick either the original, # bogus (but freely-distributable) math emulator, or a much more # fully-featured but GPL-licensed emulator taken from Linux. # #options MATH_EMULATE #Support for x87 emulation # Don't enable both of these in a real config. #options GPL_MATH_EMULATE #Support for x87 emulation via #new math emulator ##################################################################### # COMPATIBILITY OPTIONS # # Implement system calls compatible with 4.3BSD and older versions of # FreeBSD. You probably do NOT want to remove this as much current code # still relies on the 4.3 emulation. # options "COMPAT_43" # # Allow user-mode programs to manipulate their local descriptor tables. # This option is required for the WINE Windows(tm) emulator, and is # not used by anything else (that we know of). # options USER_LDT #allow user-level control of i386 ldt # # These three options provide support for System V Interface # Definition-style interprocess communication, in the form of shared # memory, semaphores, and message queues, respectively. # options SYSVSHM options SYSVSEM options SYSVMSG # # This option includes a MD5 routine in the kernel, this is used for # various authentication and privacy uses. # options "MD5" ##################################################################### # DEBUGGING OPTIONS # # Enable the kernel debugger. # #options DDB # # Don't drop into DDB for a panic. Intended for unattended operation # where you may want to drop to DDB from the console, but still want # the machine to recover from a panic # #options DDB_UNATTENDED # # KTRACE enables the system-call tracing facility ktrace(2). # options KTRACE #kernel tracing # # The DIAGNOSTIC option is used in a number of source files to enable # extra sanity checking of internal structures. This support is not # enabled by default because of the extra time it would take to check # for these conditions, which can only occur as a result of # programming errors. # #options DIAGNOSTIC # # PERFMON causes the driver for Pentium/Pentium Pro performance counters # to be compiled. See perfmon(4) for more information. # options PERFMON # XXX - this doesn't belong here. # Allow ordinary users to take the console - this is useful for X. options UCONSOLE # XXX - this doesn't belong here either options USERCONFIG #boot -c editor #options USERCONFIG_BOOT #imply -c and parse info area options VISUAL_USERCONFIG #visual boot -c editor ##################################################################### # NETWORKING OPTIONS # # Protocol families: # Only the INET (Internet) family is officially supported in FreeBSD. # Source code for the NS (Xerox Network Service) is provided for amusement # value. # options INET #Internet communications protocols # # Network interfaces: # pseudo-device ether #Generic Ethernet pseudo-device loop #Network loopback device #pseudo-device sl 2 #Serial Line IP #pseudo-device ppp 2 #Point-to-point protocol pseudo-device bpfilter 4 #Berkeley packet filter #pseudo-device disc #Discard device pseudo-device tun 1 #Tunnel driver(user process ppp) #options PPP_BSDCOMP #PPP BSD-compress support #options PPP_DEFLATE #PPP zlib/deflate/gzip support #options PPP_FILTER #enable bpf filtering (needs bpfilter) # # Internet family options: # options MROUTING # Multicast routing #options IPFIREWALL #firewall #options IPFIREWALL_VERBOSE #print information about # # options BRIDGE can be used to enable bridging -- see bridge(4) # options DUMMYNET enables the "Dummynet" bandwidth manager and # delay emulator -- see dummynet(4) . It requires IPFIREWALL. # # options DUMMYNET # options BRIDGE ##################################################################### # FILESYSTEM OPTIONS # One of these is mandatory: options FFS #Fast filesystem options NFS #Network File System # The rest are optional: # options NFS_NOSERVER #Disable the NFS-server code. #options "CD9660" #ISO 9660 filesystem #options MFS #Memory filesystem options MSDOSFS #MS DOS filesystem options PROCFS #Process filesystem # Make space in the kernel for a MFS root filesystem. Define to the number # of kilobytes to reserve for the filesystem. #options MFS_ROOT=10 # Allow the MFS_ROOT code to load the MFS image from floppy if it is missing. #options MFS_AUTOLOAD # Allow this many swap-devices. #options NSWAPDEV=20 # Disk quotas are supported when this option is enabled. If you # change the value of this option, you must do a `make clean' in your # kernel compile directory in order to get a working kernel. # #options QUOTA #enable disk quotas # In particular multi-session CD-Rs might require a huge amount of # time in order to "settle". If we are about mounting them as the # root f/s, we gotta wait a little. # # The number is supposed to be in seconds. #options "CD9660_ROOTDELAY=20" ##################################################################### # SCSI DEVICES # SCSI DEVICE CONFIGURATION controller scbus0 #base SCSI code device ch0 #SCSI media changers device sd0 #SCSI disks device st0 #SCSI tapes device cd0 #SCSI CD-ROMs device od0 #SCSI optical disk # SCSI OPTIONS: # SCSIDEBUG: When defined enables debugging macros # NO_SCSI_SENSE: When defined disables sense descriptions (about 4k) # SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead # of only when booting verbosely. #options SCSIDEBUG #options NO_SCSI_SENSE #options SCSI_REPORT_GEOMETRY # Options for the `od' optical disk driver: # # If drive returns sense key as 0x02 with vendor specific additional # sense code (ASC) and additional sense code qualifier (ASCQ), or # illegal ASC and ASCQ. This cause an error (NOT READY) and retrying. # To suppress this, use the following option. # #options OD_BOGUS_NOT_READY # # For an automatic spindown, try this. Again, preferrably as an # option in your config file. # WARNING! Use at your own risk. Joerg's ancient SONY SMO drive # groks it fine, while Shunsuke's Fujitsu chokes on it and times # out. # #options OD_AUTO_TURNOFF ##################################################################### # MISCELLANEOUS DEVICES AND OPTIONS pseudo-device pty 32 #Pseudo ttys - can go as high as 256 #pseudo-device speaker #Play IBM BASIC-style noises out your speaker pseudo-device log #Kernel syslog interface (/dev/klog) pseudo-device gzip #Exec gzipped a.out's pseudo-device vn #Vnode driver (turns a file into a device) #pseudo-device snp 3 #Snoop device - to look at pty/vty/etc.. #pseudo-device ccd 4 #Concatenated disk driver # Size of the kernel message buffer. Should be N * pagesize. #options "MSGBUF_SIZE=40960" ##################################################################### # HARDWARE DEVICE CONFIGURATION # # Mandatory ISA devices: isa, sc or vt, npx # controller isa0 # # Options for `isa': # #options "AUTO_EOI_1" #options "AUTO_EOI_2" #options BOUNCE_BUFFERS #options "MAXMEM=(128*1024)" #options "TUNE_1542" #options BROKEN_KEYBOARD_RESET #options PAS_JOYSTICK_ENABLE # Enable PnP support in the kernel. This allows you to automaticly # attach to PnP cards for drivers that support it and allows you to # configure cards from USERCONFIG. See pnp(4) for more info. #controller pnp0 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint #options XSERVER # support for running an X server. #options FAT_CURSOR # start with block cursor # This PCVT option is for keyboards such as those used on IBM ThinkPad laptops #options PCVT_SCANSET=2 # IBM keyboards are non-std # The syscons console driver (sco color console compatible). device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr options MAXCONS=4 # number of virtual consoles #options SLOW_VGA # do byte-wide i/o's to TS and GDC regs #options SC_HISTORY_SIZE=200 # number of history buffer lines options SC_DISABLE_REBOOT # disable reboot key sequence # If the screen flickers badly when the mouse pointer is moved, try this. #options SC_BAD_FLICKER # # This device is mandatory. # # The Numeric Processing eXtension is used to either enable the # coprocessor or enable math emulation. If your machine doesn't contain # a math co-processor, you must *also* add the option "MATH_EMULATE". # THIS IS NOT AN OPTIONAL ENTRY, DO NOT REMOVE IT device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr # # Optional ISA and EISA devices: # # # SCSI host adapters: `aha', `aic', `bt', `nca' # #controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr controller aic0 at isa? disable port 0x340 bio irq 11 vector aicintr # # ST-506, ESDI, and IDE hard disks: `wdc' and `wd' # controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x000080ff vector wdintr disk wd0 at wdc0 drive 0 #disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0x0 vector wdintr disk wd2 at wdc1 drive 0 #disk wd3 at wdc1 drive 1 # # ATAPI enables the support for ATAPI-compatible IDE devices # options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM # Use either the acd or the wcd device, not both! # IDE CD-ROM & CD-R/RW driver - requires wdc controller and ATAPI option #device acd0 # IDE CD-ROM driver - requires wdc controller and ATAPI option device wcd0 # IDE floppy driver - requires wdc controller and ATAPI option #device wfd0 # # Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft' # controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 tape ft0 at fdc0 drive 2 # # Other standard PC hardware: `lpt', `mse', `psm', `sio', etc. # device lpt0 at isa? port? tty irq 7 vector lptintr #device lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr # Options for psm: #options PSM_HOOKAPM #hook the APM resume event, useful #for some laptops #options PSM_RESETAFTERSUSPEND #reset the device at the resume event device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? disable port "IO_COM3" tty irq 10 vector siointr # Options for sio: #options COMCONSOLE #prefer serial console to video console #options COM_ESP #code for Hayes ESP #options COM_MULTIPORT #code for some cards with shared IRQs #options DSI_SOFT_MODEM #code for DSI Softmodems #options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to #DDB, if available. # # Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc' # device ed0 at isa? disable port 0x280 net irq 5 iomem 0xd8000 vector edintr device ep0 at isa? disable port 0x300 net irq 10 vector epintr device fe0 at isa? disable port 0x300 net irq ? vector feintr # # Audio drivers: `snd', `sb', `pas', `gus', `pca' # controller snd0 device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr device sbxvi0 at isa? disable drq 5 device sbmidi0 at isa? disable port 0x320 # For normal case use next line device opl0 at isa? port 0x388 options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line. # Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!). # You may also wish to enable the pnp controller with this, for pnp # sound cards. # #device pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr # Not controlled by `snd' #device pca0 at isa? port IO_TIMER1 tty # # Miscellaneous hardware: # options APM_IDLE_CPU # Tell APM to idle rather than halt'ing the cpu device apm0 at isa? #options APM_BROKEN_STATCLOCK device joy0 at isa? port "IO_GAME" ##################################################################### # # PCI devices: # controller pci0 # More undocumented options for linting. #options COMPAT_LINUX #options "EXT2FS" options SCSI_DELAY=5 # Be pessimistic about Joe SCSI device ##################################################################### # PAO CONFIGURATION # # Laptop/Notebook options: # # For older notebooks that signal a powerfail condition (external # power supply dropped, or battery state low) by issuing an NMI: #options POWERFAIL_NMI # make it beep instead of panicing # Kernel BOOTP support #options BOOTP # Use BOOTP to obtain IP address/hostname #options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info #options "BOOTP_NFSV3" # Use NFS v3 to NFS mount root #options BOOTP_COMPAT # Workaround for broken bootp daemons. # If you want to disable loadable kernel modules (LKM), you # might want to use this option. #options NO_LKM # Dont remove these two lines! pseudo-device card 1 # You must use "flags 0x1" when you don't hear any negotiation noise(?) # if you use modem card, or pccardd doesn't read cis tuple, tell you # 'No card in database for"(null)"("(null)")' in case of Cirrus Logic's # pcic is your PC. device pcic0 at isa? port 0x3e0 irq 9 vector pcicintr options CB_TEST # If your laptop have not had Windoze95-Ready BIOS, please update it. # Such old BIOS'es sometimes have critical bugs at 32-bit protected # mode APM BIOS interface (which have not used by Windoze 3.1). # PC-card suspend/resume support (experimental) options APM_PCCARD_RESUME options PCIC_RESUME_RESET # Detach SCSI devices when the SCSI card is removed options SCSI_DETACH # Detach ATAPI devices when the ATA card is removed options ATAPI_DETACH # Japanese version of WaveLAN PCMCIA uses 2.4GHz band instead of 915MHz # band that US version uses. If you want to use Japanese version of # WaveLAN, uncomment this line, or edit the corresponding config entry # of /etc/pccard.conf. #options "WAVELAN_PCMCIA_24" # Suspend the system when the battery status is "Low" options "APM_BATT_LOW_SUSPEND" # If you want to use NTP on laptop machines, uncomment the following # option. Current APM implementation affects NTP client. #options "APM_NO_CLOCK_ADJUST" # For Win98 BIOS of ThinkPad options #options "APM_TP_WIN98BIOS" # Some X-servers cannot survive suspend/resume on laptop. # This option kicks her when the system is resumed from suspended mode. #options SYSCONS_VTY_RESUME # IBM Smart Capture PCMCIA card #device scc0 #device scc1 # Hitachi microcomputer system Speach Synthesizer card #device hss0 #device hss1