Deleted Added
full compact
NOTES (191724) NOTES (191954)
1# $FreeBSD: head/sys/conf/NOTES 191724 2009-05-01 17:17:06Z sam $
1# $FreeBSD: head/sys/conf/NOTES 191954 2009-05-10 00:00:25Z kuriyama $
2#
3# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
4#
5# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers',
6# 'makeoptions', 'hints', etc. go into the kernel configuration that you
7# run config(8) with.
8#
9# Lines that begin with 'hint.' are NOT for config(8), they go into your

--- 177 unchanged lines hidden (view full) ---

187# and scheduler locks. It also has a stronger notion of interactivity
188# which leads to better responsiveness even on uniprocessor machines. This
189# will eventually become the default scheduler.
190#
191# SCHED_STATS is a debugging option which keeps some stats in the sysctl
192# tree at 'kern.sched.stats' and is useful for debugging scheduling decisions.
193#
194options SCHED_4BSD
2#
3# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
4#
5# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers',
6# 'makeoptions', 'hints', etc. go into the kernel configuration that you
7# run config(8) with.
8#
9# Lines that begin with 'hint.' are NOT for config(8), they go into your

--- 177 unchanged lines hidden (view full) ---

187# and scheduler locks. It also has a stronger notion of interactivity
188# which leads to better responsiveness even on uniprocessor machines. This
189# will eventually become the default scheduler.
190#
191# SCHED_STATS is a debugging option which keeps some stats in the sysctl
192# tree at 'kern.sched.stats' and is useful for debugging scheduling decisions.
193#
194options SCHED_4BSD
195options SCHED_STATS
195options SCHED_STATS
196#options SCHED_ULE
197
198#####################################################################
199# SMP OPTIONS:
200#
201# SMP enables building of a Symmetric MultiProcessor Kernel.
202
203# Mandatory:

--- 295 unchanged lines hidden (view full) ---

499# The hwpmc driver that allows the use of in-CPU performance monitoring
500# counters for performance monitoring. The base kernel needs to configured
501# with the 'options' line, while the hwpmc device can be either compiled
502# in or loaded as a loadable kernel module.
503#
504# Additional configuration options may be required on specific architectures,
505# please see hwpmc(4).
506
196#options SCHED_ULE
197
198#####################################################################
199# SMP OPTIONS:
200#
201# SMP enables building of a Symmetric MultiProcessor Kernel.
202
203# Mandatory:

--- 295 unchanged lines hidden (view full) ---

499# The hwpmc driver that allows the use of in-CPU performance monitoring
500# counters for performance monitoring. The base kernel needs to configured
501# with the 'options' line, while the hwpmc device can be either compiled
502# in or loaded as a loadable kernel module.
503#
504# Additional configuration options may be required on specific architectures,
505# please see hwpmc(4).
506
507device hwpmc # Driver (also a loadable module)
507device hwpmc # Driver (also a loadable module)
508options HWPMC_HOOKS # Other necessary kernel hooks
509
510
511#####################################################################
512# NETWORKING OPTIONS
513
514#
515# Protocol families
516#
517options INET #Internet communications protocols
518options INET6 #IPv6 communications protocols
519
508options HWPMC_HOOKS # Other necessary kernel hooks
509
510
511#####################################################################
512# NETWORKING OPTIONS
513
514#
515# Protocol families
516#
517options INET #Internet communications protocols
518options INET6 #IPv6 communications protocols
519
520options ROUTETABLES=2 # max 16. 1 is back compatible.
520options ROUTETABLES=2 # max 16. 1 is back compatible.
521
522# In order to enable IPSEC you MUST also add device crypto to
523# your kernel configuration
524options IPSEC #IP security (requires device crypto)
525#options IPSEC_DEBUG #debug for IP security
526#
527# Set IPSEC_FILTERTUNNEL to force packets coming through a tunnel
528# to be processed by any configured packet filtering twice.

--- 17 unchanged lines hidden (view full) ---

546# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV
547# options.
548options NETSMB #SMB/CIFS requester
549
550# mchain library. It can be either loaded as KLD or compiled into kernel
551options LIBMCHAIN
552
553# libalias library, performing NAT
521
522# In order to enable IPSEC you MUST also add device crypto to
523# your kernel configuration
524options IPSEC #IP security (requires device crypto)
525#options IPSEC_DEBUG #debug for IP security
526#
527# Set IPSEC_FILTERTUNNEL to force packets coming through a tunnel
528# to be processed by any configured packet filtering twice.

--- 17 unchanged lines hidden (view full) ---

546# NETSMB enables support for SMB protocol, it requires LIBMCHAIN and LIBICONV
547# options.
548options NETSMB #SMB/CIFS requester
549
550# mchain library. It can be either loaded as KLD or compiled into kernel
551options LIBMCHAIN
552
553# libalias library, performing NAT
554options LIBALIAS
554options LIBALIAS
555
556# flowtable cache
555
556# flowtable cache
557options FLOWTABLE
557options FLOWTABLE
558
559#
560# SCTP is a NEW transport protocol defined by
561# RFC2960 updated by RFC3309 and RFC3758.. and
562# soon to have a new base RFC and many many more
563# extensions. This release supports all the extensions
564# including many drafts (most about to become RFC's).
565# It is the premeier SCTP implementation in the NET
566# and is quite well tested.
567#
568# Note YOU MUST have both INET and INET6 defined.
569# you don't have to enable V6, but SCTP is
570# dual stacked and so far we have not teased apart
571# the V6 and V4.. since an association can span
572# both a V6 and V4 address at the SAME time :-)
573#
558
559#
560# SCTP is a NEW transport protocol defined by
561# RFC2960 updated by RFC3309 and RFC3758.. and
562# soon to have a new base RFC and many many more
563# extensions. This release supports all the extensions
564# including many drafts (most about to become RFC's).
565# It is the premeier SCTP implementation in the NET
566# and is quite well tested.
567#
568# Note YOU MUST have both INET and INET6 defined.
569# you don't have to enable V6, but SCTP is
570# dual stacked and so far we have not teased apart
571# the V6 and V4.. since an association can span
572# both a V6 and V4 address at the SAME time :-)
573#
574options SCTP
574options SCTP
575# There are bunches of options:
576# this one turns on all sorts of
577# nastly printing that you can
578# do. Its all controled by a
579# bit mask (settable by socket opt and
580# by sysctl). Including will not cause
581# logging until you set the bits.. but it
582# can be quite verbose.. so without this
583# option we don't do any of the tests for
584# bits and prints.. which makes the code run
585# faster.. if you are not debugging don't use.
575# There are bunches of options:
576# this one turns on all sorts of
577# nastly printing that you can
578# do. Its all controled by a
579# bit mask (settable by socket opt and
580# by sysctl). Including will not cause
581# logging until you set the bits.. but it
582# can be quite verbose.. so without this
583# option we don't do any of the tests for
584# bits and prints.. which makes the code run
585# faster.. if you are not debugging don't use.
586options SCTP_DEBUG
586options SCTP_DEBUG
587#
588# This option turns off the CRC32c checksum. Basically
589# You will not be able to talk to anyone else that
590# has not done this. Its more for expermentation to
591# see how much CPU the CRC32c really takes. Most new
592# cards for TCP support checksum offload.. so this
593# option gives you a "view" into what SCTP would be
594# like with such an offload (which only exists in
595# high in iSCSI boards so far). With the new
596# splitting 8's algorithm its not as bad as it used
597# to be.. but it does speed things up try only
598# for in a captured lab environment :-)
587#
588# This option turns off the CRC32c checksum. Basically
589# You will not be able to talk to anyone else that
590# has not done this. Its more for expermentation to
591# see how much CPU the CRC32c really takes. Most new
592# cards for TCP support checksum offload.. so this
593# option gives you a "view" into what SCTP would be
594# like with such an offload (which only exists in
595# high in iSCSI boards so far). With the new
596# splitting 8's algorithm its not as bad as it used
597# to be.. but it does speed things up try only
598# for in a captured lab environment :-)
599options SCTP_WITH_NO_CSUM
599options SCTP_WITH_NO_CSUM
600#
601
602#
603# All that options after that turn on specific types of
604# logging. You can monitor CWND growth, flight size
605# and all sorts of things. Go look at the code and
606# see. I have used this to produce interesting
607# charts and graphs as well :->

--- 6 unchanged lines hidden (view full) ---

614# logging bits. Use ktrdump to pull the log and run
615# it through a dispaly program.. and graphs and other
616# things too.
617#
618options SCTP_LOCK_LOGGING
619options SCTP_MBUF_LOGGING
620options SCTP_MBCNT_LOGGING
621options SCTP_PACKET_LOGGING
600#
601
602#
603# All that options after that turn on specific types of
604# logging. You can monitor CWND growth, flight size
605# and all sorts of things. Go look at the code and
606# see. I have used this to produce interesting
607# charts and graphs as well :->

--- 6 unchanged lines hidden (view full) ---

614# logging bits. Use ktrdump to pull the log and run
615# it through a dispaly program.. and graphs and other
616# things too.
617#
618options SCTP_LOCK_LOGGING
619options SCTP_MBUF_LOGGING
620options SCTP_MBCNT_LOGGING
621options SCTP_PACKET_LOGGING
622options SCTP_LTRACE_CHUNKS
622options SCTP_LTRACE_CHUNKS
623options SCTP_LTRACE_ERRORS
624
625
626# altq(9). Enable the base part of the hooks with the ALTQ option.
627# Individual disciplines must be built into the base system and can not be
628# loaded as modules at this point. ALTQ requires a stable TSC so if yours is
629# broken or changes with CPU throttling then you must also have the ALTQ_NOPCC
630# option.

--- 8 unchanged lines hidden (view full) ---

639options ALTQ_DEBUG
640
641# IP optional behaviour.
642# IP_NONLOCALBIND disables the check that bind() usually makes that the
643# address is one that is assigned to an interface on this machine.
644# It allows transparent proxies to pretend to be other machines.
645# How the packet GET to that machine is a problem solved elsewhere,
646# smart routers, ipfw fwd, etc.
623options SCTP_LTRACE_ERRORS
624
625
626# altq(9). Enable the base part of the hooks with the ALTQ option.
627# Individual disciplines must be built into the base system and can not be
628# loaded as modules at this point. ALTQ requires a stable TSC so if yours is
629# broken or changes with CPU throttling then you must also have the ALTQ_NOPCC
630# option.

--- 8 unchanged lines hidden (view full) ---

639options ALTQ_DEBUG
640
641# IP optional behaviour.
642# IP_NONLOCALBIND disables the check that bind() usually makes that the
643# address is one that is assigned to an interface on this machine.
644# It allows transparent proxies to pretend to be other machines.
645# How the packet GET to that machine is a problem solved elsewhere,
646# smart routers, ipfw fwd, etc.
647options IP_NONLOCALBIND # Allow impersonation for proxies.
647options IP_NONLOCALBIND # Allow impersonation for proxies.
648
649# netgraph(4). Enable the base netgraph code with the NETGRAPH option.
650# Individual node types can be enabled with the corresponding option
651# listed below; however, this is not strictly necessary as netgraph
652# will automatically load the corresponding KLD module if the node type
653# is not already compiled into the kernel. Each type below has a
654# corresponding man page, e.g., ng_async(8).
655options NETGRAPH # netgraph(4) system

--- 73 unchanged lines hidden (view full) ---

729# The `vlan' device implements the VLAN tagging of Ethernet frames
730# according to IEEE 802.1Q.
731device vlan
732
733# The `wlan' device provides generic code to support 802.11
734# drivers, including host AP mode; it is MANDATORY for the wi,
735# and ath drivers and will eventually be required by all 802.11 drivers.
736device wlan
648
649# netgraph(4). Enable the base netgraph code with the NETGRAPH option.
650# Individual node types can be enabled with the corresponding option
651# listed below; however, this is not strictly necessary as netgraph
652# will automatically load the corresponding KLD module if the node type
653# is not already compiled into the kernel. Each type below has a
654# corresponding man page, e.g., ng_async(8).
655options NETGRAPH # netgraph(4) system

--- 73 unchanged lines hidden (view full) ---

729# The `vlan' device implements the VLAN tagging of Ethernet frames
730# according to IEEE 802.1Q.
731device vlan
732
733# The `wlan' device provides generic code to support 802.11
734# drivers, including host AP mode; it is MANDATORY for the wi,
735# and ath drivers and will eventually be required by all 802.11 drivers.
736device wlan
737options IEEE80211_DEBUG #enable debugging msgs
738options IEEE80211_AMPDU_AGE #age frames in AMPDU reorder q's
737options IEEE80211_DEBUG #enable debugging msgs
738options IEEE80211_AMPDU_AGE #age frames in AMPDU reorder q's
739
740# The `wlan_wep', `wlan_tkip', and `wlan_ccmp' devices provide
741# support for WEP, TKIP, and AES-CCMP crypto protocols optionally
742# used with 802.11 devices that depend on the `wlan' module.
743device wlan_wep
744device wlan_ccmp
745device wlan_tkip
746

--- 153 unchanged lines hidden (view full) ---

900# The MBUF_STRESS_TEST option enables options which create
901# various random failures / extreme cases related to mbuf
902# functions. See mbuf(9) for a list of available test cases.
903# MBUF_PROFILING enables code to profile the mbuf chains
904# exiting the system (via participating interfaces) and
905# return a logarithmic histogram of monitored parameters
906# (e.g. packet size, wasted space, number of mbufs in chain).
907options MBUF_STRESS_TEST
739
740# The `wlan_wep', `wlan_tkip', and `wlan_ccmp' devices provide
741# support for WEP, TKIP, and AES-CCMP crypto protocols optionally
742# used with 802.11 devices that depend on the `wlan' module.
743device wlan_wep
744device wlan_ccmp
745device wlan_tkip
746

--- 153 unchanged lines hidden (view full) ---

900# The MBUF_STRESS_TEST option enables options which create
901# various random failures / extreme cases related to mbuf
902# functions. See mbuf(9) for a list of available test cases.
903# MBUF_PROFILING enables code to profile the mbuf chains
904# exiting the system (via participating interfaces) and
905# return a logarithmic histogram of monitored parameters
906# (e.g. packet size, wasted space, number of mbufs in chain).
907options MBUF_STRESS_TEST
908options MBUF_PROFILING
908options MBUF_PROFILING
909
910# Statically Link in accept filters
911options ACCEPT_FILTER_DATA
912options ACCEPT_FILTER_DNS
913options ACCEPT_FILTER_HTTP
914
915# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are
916# carried in TCP option 19. This option is commonly used to protect

--- 40 unchanged lines hidden (view full) ---

957options NFSCLIENT #Network File System client
958
959# The rest are optional:
960options CD9660 #ISO 9660 filesystem
961options FDESCFS #File descriptor filesystem
962options HPFS #OS/2 File system
963options MSDOSFS #MS DOS File System (FAT, FAT32)
964options NFSSERVER #Network File System server
909
910# Statically Link in accept filters
911options ACCEPT_FILTER_DATA
912options ACCEPT_FILTER_DNS
913options ACCEPT_FILTER_HTTP
914
915# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are
916# carried in TCP option 19. This option is commonly used to protect

--- 40 unchanged lines hidden (view full) ---

957options NFSCLIENT #Network File System client
958
959# The rest are optional:
960options CD9660 #ISO 9660 filesystem
961options FDESCFS #File descriptor filesystem
962options HPFS #OS/2 File system
963options MSDOSFS #MS DOS File System (FAT, FAT32)
964options NFSSERVER #Network File System server
965options NFSLOCKD #Network Lock Manager
965options NFSLOCKD #Network Lock Manager
966
967# NT File System. Read-mostly, see mount_ntfs(8) for details.
968# For a full read-write NTFS support consider sysutils/fusefs-ntfs
969# port/package.
970options NTFS
971
972options NULLFS #NULL filesystem
973# Broken (depends on NCP):

--- 418 unchanged lines hidden (view full) ---

1392options SC_NO_SYSMOUSE
1393options SC_NO_SUSPEND_VTYSWITCH
1394
1395# `flags' for sc
1396# 0x80 Put the video card in the VESA 800x600 dots, 16 color mode
1397# 0x100 Probe for a keyboard device periodically if one is not present
1398
1399# Enable experimental features of the syscons terminal emulator (teken).
966
967# NT File System. Read-mostly, see mount_ntfs(8) for details.
968# For a full read-write NTFS support consider sysutils/fusefs-ntfs
969# port/package.
970options NTFS
971
972options NULLFS #NULL filesystem
973# Broken (depends on NCP):

--- 418 unchanged lines hidden (view full) ---

1392options SC_NO_SYSMOUSE
1393options SC_NO_SUSPEND_VTYSWITCH
1394
1395# `flags' for sc
1396# 0x80 Put the video card in the VESA 800x600 dots, 16 color mode
1397# 0x100 Probe for a keyboard device periodically if one is not present
1398
1399# Enable experimental features of the syscons terminal emulator (teken).
1400options TEKEN_UTF8 # UTF-8 output handling
1401options TEKEN_XTERM # xterm-style terminal emulation
1400options TEKEN_UTF8 # UTF-8 output handling
1401options TEKEN_XTERM # xterm-style terminal emulation
1402
1403#
1404# Optional devices:
1405#
1406
1407#
1408# SCSI host adapters:
1409#

--- 109 unchanged lines hidden (view full) ---

1519options AHD_TMODE_ENABLE
1520
1521# The adw driver will attempt to use memory mapped I/O for all PCI
1522# controllers that have it configured only if this option is set.
1523options ADW_ALLOW_MEMIO
1524
1525# Options used in dev/iscsi (Software iSCSI stack)
1526#
1402
1403#
1404# Optional devices:
1405#
1406
1407#
1408# SCSI host adapters:
1409#

--- 109 unchanged lines hidden (view full) ---

1519options AHD_TMODE_ENABLE
1520
1521# The adw driver will attempt to use memory mapped I/O for all PCI
1522# controllers that have it configured only if this option is set.
1523options ADW_ALLOW_MEMIO
1524
1525# Options used in dev/iscsi (Software iSCSI stack)
1526#
1527options ISCSI_INITIATOR_DEBUG=9
1527options ISCSI_INITIATOR_DEBUG=9
1528
1529# Options used in dev/isp/ (Qlogic SCSI/FC driver).
1530#
1531# ISP_TARGET_MODE - enable target mode operation
1532#
1533options ISP_TARGET_MODE=1
1534#
1535# ISP_DEFAULT_ROLES - default role

--- 77 unchanged lines hidden (view full) ---

1613#
1614# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only
1615# one entry is needed; the code will find and configure all supported
1616# controllers.
1617#
1618device ida # Compaq Smart RAID
1619device mlx # Mylex DAC960
1620device amr # AMI MegaRAID
1528
1529# Options used in dev/isp/ (Qlogic SCSI/FC driver).
1530#
1531# ISP_TARGET_MODE - enable target mode operation
1532#
1533options ISP_TARGET_MODE=1
1534#
1535# ISP_DEFAULT_ROLES - default role

--- 77 unchanged lines hidden (view full) ---

1613#
1614# Compaq Smart RAID, Mylex DAC960 and AMI MegaRAID controllers. Only
1615# one entry is needed; the code will find and configure all supported
1616# controllers.
1617#
1618device ida # Compaq Smart RAID
1619device mlx # Mylex DAC960
1620device amr # AMI MegaRAID
1621device amrp # SCSI Passthrough interface (optional, CAM req.)
1621device amrp # SCSI Passthrough interface (optional, CAM req.)
1622device mfi # LSI MegaRAID SAS
1623device mfip # LSI MegaRAID SAS passthrough, requires CAM
1624options MFI_DEBUG
1625
1626#
1627# 3ware ATA RAID
1628#
1629device twe # 3ware ATA RAID

--- 713 unchanged lines hidden (view full) ---

2343# Kernel BOOTP support
2344
2345options BOOTP # Use BOOTP to obtain IP address/hostname
2346 # Requires NFSCLIENT and NFS_ROOT
2347options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
2348options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
2349options BOOTP_COMPAT # Workaround for broken bootp daemons.
2350options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
1622device mfi # LSI MegaRAID SAS
1623device mfip # LSI MegaRAID SAS passthrough, requires CAM
1624options MFI_DEBUG
1625
1626#
1627# 3ware ATA RAID
1628#
1629device twe # 3ware ATA RAID

--- 713 unchanged lines hidden (view full) ---

2343# Kernel BOOTP support
2344
2345options BOOTP # Use BOOTP to obtain IP address/hostname
2346 # Requires NFSCLIENT and NFS_ROOT
2347options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
2348options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
2349options BOOTP_COMPAT # Workaround for broken bootp daemons.
2350options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
2351options BOOTP_BLOCKSIZE=8192 # Override NFS block size
2351options BOOTP_BLOCKSIZE=8192 # Override NFS block size
2352
2353#
2354# Add software watchdog routines.
2355#
2356options SW_WATCHDOG
2357
2358#
2359# Disable swapping of stack pages. This option removes all

--- 28 unchanged lines hidden (view full) ---

2388# USB support
2389# UHCI controller
2390device uhci
2391# OHCI controller
2392device ohci
2393# EHCI controller
2394device ehci
2395# SL811 Controller
2352
2353#
2354# Add software watchdog routines.
2355#
2356options SW_WATCHDOG
2357
2358#
2359# Disable swapping of stack pages. This option removes all

--- 28 unchanged lines hidden (view full) ---

2388# USB support
2389# UHCI controller
2390device uhci
2391# OHCI controller
2392device ohci
2393# EHCI controller
2394device ehci
2395# SL811 Controller
2396#device slhci
2396#device slhci
2397# General USB code (mandatory for USB)
2398device usb
2399#
2400# USB Double Bulk Pipe devices
2401device udbp
2402# USB Fm Radio
2403device ufm
2404# Human Interface Device (anything with buttons and dials)

--- 80 unchanged lines hidden (view full) ---

2485#
2486# ZyDas ZD1211/ZD1211B wireless driver
2487device zyd
2488
2489#
2490# debugging options for the USB subsystem
2491#
2492options USB_DEBUG
2397# General USB code (mandatory for USB)
2398device usb
2399#
2400# USB Double Bulk Pipe devices
2401device udbp
2402# USB Fm Radio
2403device ufm
2404# Human Interface Device (anything with buttons and dials)

--- 80 unchanged lines hidden (view full) ---

2485#
2486# ZyDas ZD1211/ZD1211B wireless driver
2487device zyd
2488
2489#
2490# debugging options for the USB subsystem
2491#
2492options USB_DEBUG
2493options U3G_DEBUG
2493options U3G_DEBUG
2494
2495# options for ukbd:
2496options UKBD_DFLT_KEYMAP # specify the built-in keymap
2497makeoptions UKBD_DFLT_KEYMAP=it.iso
2498
2499# options for uplcom:
2500options UPLCOM_INTR_INTERVAL=100 # interrupt pipe interval
2501 # in milliseconds

--- 190 unchanged lines hidden ---
2494
2495# options for ukbd:
2496options UKBD_DFLT_KEYMAP # specify the built-in keymap
2497makeoptions UKBD_DFLT_KEYMAP=it.iso
2498
2499# options for uplcom:
2500options UPLCOM_INTR_INTERVAL=100 # interrupt pipe interval
2501 # in milliseconds

--- 190 unchanged lines hidden ---