NOTES (125584) | NOTES (125984) |
---|---|
1# 2# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 3# 4# This file contains machine dependent kernel configuration notes. For 5# machine independent notes, look in /sys/conf/NOTES. | 1# 2# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 3# 4# This file contains machine dependent kernel configuration notes. For 5# machine independent notes, look in /sys/conf/NOTES. |
6# (XXX from i386:NOTES,v 1.1106; merge in updates) 7# $FreeBSD: head/sys/amd64/conf/NOTES 125584 2004-02-08 00:39:38Z peter $ | |
8# | 6# |
7# $FreeBSD: head/sys/amd64/conf/NOTES 125984 2004-02-19 04:39:14Z obrien $ 8# |
|
9 | 9 |
10# We don't have modules on amd64. 11makeoptions NO_MODULES=not_yet 12 | |
13# 14# This directive is mandatory; it defines the architecture to be 15# configured for; in this case, the 386 family based IBM-PC and 16# compatibles. 17# 18machine amd64 | 10# 11# This directive is mandatory; it defines the architecture to be 12# configured for; in this case, the 386 family based IBM-PC and 13# compatibles. 14# 15machine amd64 |
16cpu HAMMER |
|
19 20# 21# We want LINT to cover profiling as well | 17 18# 19# We want LINT to cover profiling as well |
22#X#profile 2 | 20profile 2 |
23 24 | 21 22 |
25##################################################################### 26# SMP OPTIONS: 27# 28# The apic device enables the use of the I/O APIC for interrupt delivery. 29# The apic device can be used in both UP and SMP kernels, but is required 30# for SMP kernels. Thus, the apic device is not strictly an SMP option, 31# but it is a prerequisite for SMP. 32# 33# Notes: 34# 35# Be sure to disable 'cpu I386_CPU' for SMP kernels. 36# 37# By default, mixed mode is used to route IRQ0 from the AT timer via 38# the 8259A master PIC through the ExtINT pin on the first I/O APIC. 39# This can be disabled via the NO_MIXED_MODE option. In that case, 40# IRQ0 will be routed via an intpin on the first I/O APIC. Not all 41# motherboards hook IRQ0 up to the first I/O APIC even though their 42# MP table or MADT may claim to do so. That is why mixed mode is 43# enabled by default. 44# | 23# Debug options 24options NPX_DEBUG # enable npx debugging (FPU/math emu) 25 #new math emulator |
45 | 26 |
46# Optional: 47device atpic 48device mptable 49options NO_MIXED_MODE # Disable use of mixed mode 50 51 52##################################################################### 53# CPU OPTIONS 54 | |
55# | 27# |
56# You must specify at least one CPU (the one you intend to run on); 57# deleting the specification for CPUs you don't need to use may make 58# parts of the system run faster. 59# 60cpu HAMMER 61 62# 63# Options for CPU features. 64# 65 66# | |
67# PERFMON causes the driver for Pentium/Pentium Pro performance counters 68# to be compiled. See perfmon(4) for more information. 69# | 28# PERFMON causes the driver for Pentium/Pentium Pro performance counters 29# to be compiled. See perfmon(4) for more information. 30# |
70#X#options PERFMON | 31options PERFMON |
71 72 73##################################################################### 74# NETWORKING OPTIONS 75 76# 77# DEVICE_POLLING adds support for mixed interrupt-polling handling 78# of network device drivers, which has significant benefits in terms --- 20 unchanged lines hidden (view full) --- 99# The following options are used for debugging clock behavior only, and 100# should not be used for production systems. 101# 102# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup 103# until the user presses a key. 104 105options CLK_CALIBRATION_LOOP 106 | 32 33 34##################################################################### 35# NETWORKING OPTIONS 36 37# 38# DEVICE_POLLING adds support for mixed interrupt-polling handling 39# of network device drivers, which has significant benefits in terms --- 20 unchanged lines hidden (view full) --- 60# The following options are used for debugging clock behavior only, and 61# should not be used for production systems. 62# 63# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup 64# until the user presses a key. 65 66options CLK_CALIBRATION_LOOP 67 |
107# The following two options measure the frequency of the corresponding 108# clock relative to the RTC (onboard mc146818a). 109 110options CLK_USE_I8254_CALIBRATION 111options CLK_USE_TSC_CALIBRATION 112 | |
113 114##################################################################### 115# MISCELLANEOUS DEVICES AND OPTIONS 116 | 68 69##################################################################### 70# MISCELLANEOUS DEVICES AND OPTIONS 71 |
72hint.speaker.0.at="isa" 73hint.speaker.0.port="0x61" |
|
117device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! | 74device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT! |
75device apm_saver # Requires APM |
|
118 119 120##################################################################### 121# HARDWARE BUS CONFIGURATION 122 123# 124# ISA bus 125# --- 20 unchanged lines hidden (view full) --- 146# fails to detect >64MB RAM you will have to use the MAXMEM option. 147# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 148# be 131072 (128 * 1024). 149# 150# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 151# reset the CPU for reboot. This is needed on some systems with broken 152# keyboard controllers. 153 | 76 77 78##################################################################### 79# HARDWARE BUS CONFIGURATION 80 81# 82# ISA bus 83# --- 20 unchanged lines hidden (view full) --- 104# fails to detect >64MB RAM you will have to use the MAXMEM option. 105# The amount is in kilobytes, so for a machine with 128MB of RAM, it would 106# be 131072 (128 * 1024). 107# 108# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to 109# reset the CPU for reboot. This is needed on some systems with broken 110# keyboard controllers. 111 |
154options AUTO_EOI_1 155#options AUTO_EOI_2 156 | |
157options MAXMEM=(128*1024) 158#options BROKEN_KEYBOARD_RESET 159 160# 161# PCI bus & PCI options: 162# 163device pci 164 --- 8 unchanged lines hidden (view full) --- 173# 174# Mandatory devices: 175# 176 177# 178# Optional devices: 179# 180 | 112options MAXMEM=(128*1024) 113#options BROKEN_KEYBOARD_RESET 114 115# 116# PCI bus & PCI options: 117# 118device pci 119 --- 8 unchanged lines hidden (view full) --- 128# 129# Mandatory devices: 130# 131 132# 133# Optional devices: 134# 135 |
181# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create 182# the /dev/3dfx0 device to work with glide implementations. This should get 183# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as 184# the tdfx DRI module from XFree86 and is completely unrelated. | |
185# | 136# |
186# To enable Linuxulator support, one must also include COMPAT_LINUX in the 187# config as well, or you will not have the dependencies. The other option 188# is to load both as modules. 189 190device tdfx # Enable 3Dfx Voodoo support 191#X#options TDFX_LINUX # Enable Linuxulator support 192 193# | |
194# ACPI support using the Intel ACPI Component Architecture reference 195# implementation. 196# 197# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer 198# kernel environment variables to select initial debugging levels for the 199# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER 200# defined when it is built). 201# | 137# ACPI support using the Intel ACPI Component Architecture reference 138# implementation. 139# 140# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer 141# kernel environment variables to select initial debugging levels for the 142# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER 143# defined when it is built). 144# |
202# ACPI_MAX_THREADS sets the number of task threads started. 203# 204# ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op. 205# 206# ACPICA_PEDANTIC enables strict checking of AML. Our default is to 207# relax these checks to allow code generated by the Microsoft compiler 208# to still execute. 209# | |
210# Note that building ACPI into the kernel is deprecated; the module is 211# normally loaded automatically by the loader. 212# 213device acpi 214options ACPI_DEBUG | 145# Note that building ACPI into the kernel is deprecated; the module is 146# normally loaded automatically by the loader. 147# 148device acpi 149options ACPI_DEBUG |
215options ACPI_MAX_THREADS=1 216#!options ACPI_NO_SEMAPHORES 217#!options ACPICA_PEDANTIC | |
218 219# DRM options: 220# mgadrm: AGP Matrox G200, G400, G450, G550 | 150 151# DRM options: 152# mgadrm: AGP Matrox G200, G400, G450, G550 |
153# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee |
|
221# r128drm: ATI Rage 128 222# radeondrm: ATI Radeon up to 9000/9100 | 154# r128drm: ATI Rage 128 155# radeondrm: ATI Radeon up to 9000/9100 |
223# sisdrm: SiS 300/305,540,630 224# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee | |
225# DRM_DEBUG: include debug printfs, very slow 226# 227# mga requires AGP in the kernel, and it is recommended 228# for AGP r128 and radeon cards. 229 230device mgadrm 231device "r128drm" 232device radeondrm | 156# DRM_DEBUG: include debug printfs, very slow 157# 158# mga requires AGP in the kernel, and it is recommended 159# for AGP r128 and radeon cards. 160 161device mgadrm 162device "r128drm" 163device radeondrm |
233device sisdrm | |
234device tdfxdrm 235 236options DRM_DEBUG 237 | 164device tdfxdrm 165 166options DRM_DEBUG 167 |
168# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README 169###device fla 170###hint.fla.0.at="isa" 171 |
|
238# 239# Network interfaces: 240# 241 | 172# 173# Network interfaces: 174# 175 |
242# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan) | 176# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 177# HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf) 178# (requires miibus) 179# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210; 180# Intel EtherExpress 181# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and 182# Am79C960) 183# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp) 184# wl: Lucent Wavelan (ISA card only). |
243 | 185 |
244#X#device ath 245#X#device ath_hal # Atheros HAL (includes binary component) 246device wlan # 802.11 layer | 186# Order for ISA/EISA devices is important here |
247 | 187 |
188device ed 189#options ED_NO_MIIBUS # Disable ed miibus support 190hint.ed.0.at="isa" 191hint.ed.0.port="0x280" 192hint.ed.0.irq="5" 193hint.ed.0.maddr="0xd8000" 194device lnc 195hint.lnc.0.at="isa" 196hint.lnc.0.port="0x280" 197hint.lnc.0.irq="10" 198hint.lnc.0.drq="0" 199device sr 200hint.sr.0.at="isa" 201hint.sr.0.port="0x300" 202hint.sr.0.irq="5" 203hint.sr.0.maddr="0xd0000" 204device wl 205hint.wl.0.at="isa" 206hint.wl.0.port="0x300" 207options WLCACHE # enables the signal-strength cache 208options WLDEBUG # enables verbose debugging output 209 |
|
248# 249# ATA raid adapters 250# | 210# 211# ATA raid adapters 212# |
251#XXX this stores pointers in a 32bit field that is defined by the hardware 252#device pst | 213device pst |
253 254# 255# SCSI host adapters: | 214 215# 216# SCSI host adapters: |
256# | 217# 218# ncv: NCR 53C500 based SCSI host adapters. 219# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters. 220# stg: TMC 18C30, 18C50 based SCSI host adapters. |
257 | 221 |
222device ncv 223device nsp 224device stg 225hint.stg.0.at="isa" 226hint.stg.0.port="0x140" 227hint.stg.0.port="11" 228 |
|
258# 259# Adaptec FSA RAID controllers, including integrated DELL controllers, 260# the Dell PERC 2/QC and the HP NetRAID-4M 261device aac 262device aacp # SCSI Passthrough interface (optional, CAM required) 263 264# 265# IBM (now Adaptec) ServeRAID controllers --- 7 unchanged lines hidden (view full) --- 273options SAFE_DEBUG # enable debugging support: hw.safe.debug 274options SAFE_RNDTEST # enable rndtest support 275 276##################################################################### 277 278# 279# Miscellaneous hardware: 280# | 229# 230# Adaptec FSA RAID controllers, including integrated DELL controllers, 231# the Dell PERC 2/QC and the HP NetRAID-4M 232device aac 233device aacp # SCSI Passthrough interface (optional, CAM required) 234 235# 236# IBM (now Adaptec) ServeRAID controllers --- 7 unchanged lines hidden (view full) --- 244options SAFE_DEBUG # enable debugging support: hw.safe.debug 245options SAFE_RNDTEST # enable rndtest support 246 247##################################################################### 248 249# 250# Miscellaneous hardware: 251# |
252# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!) |
|
281# digi: Digiboard driver | 253# digi: Digiboard driver |
254# gsc: Genius GS-4500 hand scanner. 255# spic: Sony Programmable I/O controller (VAIO notebooks) 256# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based) 257# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent) |
|
282 283# Notes on the Specialix SI/XIO driver: 284# The host card is memory, not IO mapped. 285# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 286# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 287# The cards can use an IRQ of 11, 12 or 15. 288 | 258 259# Notes on the Specialix SI/XIO driver: 260# The host card is memory, not IO mapped. 261# The Rev 1 host cards use a 64K chunk, on a 32K boundary. 262# The Rev 2 host cards use a 32K chunk, on a 32K boundary. 263# The cards can use an IRQ of 11, 12 or 15. 264 |
265# Notes on the Digiboard PC/Xi and PC/Xe series driver 266# 267# The NDGBPORTS option specifies the number of ports controlled by the 268# dgb(4) driver. The default value is 16 ports per device. 269# 270# The following flag values have special meanings in dgb: 271# 0x01 - alternate layout of pins 272# 0x02 - use the windowed PC/Xe in 64K mode 273 |
|
289device digi 290hint.digi.0.at="isa" 291hint.digi.0.port="0x104" 292hint.digi.0.maddr="0xd0000" 293# BIOS & FEP/OS components of device digi. 294device digi_CX 295device digi_CX_PCI 296device digi_EPCX 297device digi_EPCX_PCI 298device digi_Xe 299device digi_Xem 300device digi_Xr 301# HOT1 Xilinx 6200 card (http://www.vcc.com/) 302device xrpu 303 304# 305# Laptop/Notebook options: 306# | 274device digi 275hint.digi.0.at="isa" 276hint.digi.0.port="0x104" 277hint.digi.0.maddr="0xd0000" 278# BIOS & FEP/OS components of device digi. 279device digi_CX 280device digi_CX_PCI 281device digi_EPCX 282device digi_EPCX_PCI 283device digi_Xe 284device digi_Xem 285device digi_Xr 286# HOT1 Xilinx 6200 card (http://www.vcc.com/) 287device xrpu 288 289# 290# Laptop/Notebook options: 291# |
292# See also: 293# apm under `Miscellaneous hardware' 294# above. |
|
307 | 295 |
308 | 296# PCI bus Cards: 297# -------------- |
309# | 298# |
310# I2C Bus 311# | 299# Cyclades Cyclom-Y PCI serial driver 300device cy 301options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared 302#hint.cy.0.at="isa" 303#hint.cy.0.irq="10" 304#hint.cy.0.maddr="0xd4000" 305#hint.cy.0.msize="0x2000" |
312 | 306 |
313#--------------------------------------------------------------------------- 314 | |
315# 316# Set the number of PV entries per process. Increasing this can 317# stop panics related to heavy use of shared memory. However, that can 318# (combined with large amounts of physical memory) cause panics at 319# boot time due the kernel running out of VM space. 320# 321# If you're tweaking this, you might also want to increase the sysctls 322# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 323# 324# The value below is the one more than the default. 325# | 307# 308# Set the number of PV entries per process. Increasing this can 309# stop panics related to heavy use of shared memory. However, that can 310# (combined with large amounts of physical memory) cause panics at 311# boot time due the kernel running out of VM space. 312# 313# If you're tweaking this, you might also want to increase the sysctls 314# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". 315# 316# The value below is the one more than the default. 317# |
326options PMAP_SHPGPERPROC=201 | 318#options PMAP_SHPGPERPROC=201 |
327 | 319 |
320# 321# Change the size of the kernel virtual address space. Due to 322# constraints in loader(8) on i386, this must be a multiple of 4. 323# 256 = 1 GB of kernel address space. Increasing this also causes 324# a reduction of the address space in user processes. 512 splits 325# the 4GB cpu address space in half (2GB user, 2GB kernel). 326# 327options KVA_PAGES=260 328 |
|
328 329##################################################################### 330# ABI Emulation 331 | 329 330##################################################################### 331# ABI Emulation 332 |
332#XXX keep these here for now and reactivate when support for emulating 333#XXX these 32 bit binaries is added. 334 335# Enable iBCS2 runtime support for SCO and ISC binaries 336#X#options IBCS2 337 338# Emulate spx device for client side of SVR3 local X interface 339#X#options SPX_HACK 340 | |
341# Enable Linux ABI emulation | 333# Enable Linux ABI emulation |
342#X#options COMPAT_LINUX | 334#options COMPAT_LINUX |
343 344# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 345# and PSEUDOFS) | 335 336# Enable the linux-like proc filesystem support (requires COMPAT_LINUX 337# and PSEUDOFS) |
346#X#options LINPROCFS | 338#options LINPROCFS |
347 | 339 |
348# 349# SysVR4 ABI emulation 350# 351# The svr4 ABI emulator can be statically compiled into the kernel or loaded as 352# a KLD module. 353# The STREAMS network emulation code can also be compiled statically or as a 354# module. If loaded as a module, it must be loaded before the svr4 module 355# (the /usr/sbin/svr4 script does this for you). If compiling statically, 356# the `streams' device must be configured into any kernel which also 357# specifies COMPAT_SVR4. It is possible to have a statically-configured 358# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4 359# script understands that it doesn't need to load the `streams' module under 360# those circumstances. 361# Caveat: At this time, `options KTRACE' is required for the svr4 emulator 362# (whether static or dynamic). 363# 364#X#options COMPAT_SVR4 # build emulator statically 365#X#options DEBUG_SVR4 # enable verbose debugging 366#X#device streams # STREAMS network driver (required for svr4). 367 | |
368 369##################################################################### 370# VM OPTIONS 371 | 340 341##################################################################### 342# VM OPTIONS 343 |
344# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the 345# kernel to use a 4 MByte pages to map the kernel instead of 4k pages. 346# This saves on the amount of memory needed for page tables needed to 347# map the kernel. You should only disable this feature as a temporary 348# workaround if you are having problems with it enabled. 349# 350#options DISABLE_PSE 351 352# Disable the global pages PGE CPU feature. The PGE feature allows pages 353# to be marked with the PG_G bit. TLB entries for these pages are not 354# flushed from the cache when %cr3 is reloaded. This can make context 355# switches less expensive. You should only disable this feature as a 356# temporary workaround if you are having problems with it enabled. 357# 358#options DISABLE_PG_G 359 |
|
372# KSTACK_PAGES is the number of memory pages to assign to the kernel 373# stack of each thread. 374 375options KSTACK_PAGES=3 376 377##################################################################### 378 379# More undocumented options for linting. 380# Note that documenting these are not considered an affront. 381 382options FB_INSTALL_CDEV # install a CDEV entry in /dev 383 | 360# KSTACK_PAGES is the number of memory pages to assign to the kernel 361# stack of each thread. 362 363options KSTACK_PAGES=3 364 365##################################################################### 366 367# More undocumented options for linting. 368# Note that documenting these are not considered an affront. 369 370options FB_INSTALL_CDEV # install a CDEV entry in /dev 371 |
384# PECOFF module (Win32 Execution Format) 385#X#options PECOFF_SUPPORT 386#X#options PECOFF_DEBUG 387 | |
388options ENABLE_ALART 389options KBDIO_DEBUG=2 390options KBD_MAXRETRY=4 391options KBD_MAXWAIT=6 392options KBD_RESETDELAY=201 393 394options PSM_DEBUG=1 395 396options TIMER_FREQ=((14318182+6)/12) 397 398options VM_KMEM_SIZE 399options VM_KMEM_SIZE_MAX 400options VM_KMEM_SIZE_SCALE | 372options ENABLE_ALART 373options KBDIO_DEBUG=2 374options KBD_MAXRETRY=4 375options KBD_MAXWAIT=6 376options KBD_RESETDELAY=201 377 378options PSM_DEBUG=1 379 380options TIMER_FREQ=((14318182+6)/12) 381 382options VM_KMEM_SIZE 383options VM_KMEM_SIZE_MAX 384options VM_KMEM_SIZE_SCALE |
401 402############################################################### 403# Broken stuff that shouldn't really be broken 404 405# machine/ioctl_meteor.h and machine/bt848.h 406nodevice bktr 407 408# pointer/int stuff 409nodevice mgadrm 410nodevice "r128drm" 411nodevice radeondrm 412nodevice sisdrm 413nodevice tdfxdrm 414 415# missing conf lines (must be fixed ASAP) 416nooption SC_DFLT_FONT 417nooption UKBD_DFLT_KEYMAP 418nooption ATKBD_DFLT_KEYMAP 419nooption PMAP_SHPGPERPROC 420nooption CLK_USE_I8254_CALIBRATION 421# XXX dead option 422nooption CLK_USE_TSC_CALIBRATION | |