1 *ident "%Z%%M% %I% %E% SMI" /* SVR4 1.5 */ 2 * 3 * CDDL HEADER START 4 * 5 * The contents of this file are subject to the terms of the 6 * Common Development and Distribution License, Version 1.0 only 7 * (the "License"). You may not use this file except in compliance 8 * with the License. 9 * 10 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11 * or http://www.opensolaris.org/os/licensing. 12 * See the License for the specific language governing permissions 13 * and limitations under the License. 14 * 15 * When distributing Covered Code, include this CDDL HEADER in each 16 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17 * If applicable, add the following below this CDDL HEADER, with the 18 * fields enclosed by brackets "[]" replaced with your own identifying 19 * information: Portions Copyright [yyyy] [name of copyright owner] 20 * 21 * CDDL HEADER END 22 * 23 * 24 * SYSTEM SPECIFICATION FILE 25 * 26 27 * moddir: 28 * 29 * Set the search path for modules. This has a format similar to the 30 * csh path variable. If the module isn't found in the first directory 31 * it tries the second and so on. The default is /kernel /usr/kernel 32 * 33 * Example: 34 * moddir: /kernel /usr/kernel /other/modules 35 36 37 38 * root device and root filesystem configuration: 39 * 40 * The following may be used to override the defaults provided by 41 * the boot program: 42 * 43 * rootfs: Set the filesystem type of the root. 44 * 45 * rootdev: Set the root device. This should be a fully 46 * expanded physical pathname. The default is the 47 * physical pathname of the device where the boot 48 * program resides. The physical pathname is 49 * highly platform and configuration dependent. 50 * 51 * Example: 52 * rootfs:ufs 53 * rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a 54 * 55 * (Swap device configuration should be specified in /etc/vfstab.) 56 57 58 59 * exclude: 60 * 61 * Modules appearing in the moddir path which are NOT to be loaded, 62 * even if referenced. Note that `exclude' accepts either a module name, 63 * or a filename which includes the directory. 64 * 65 * Examples: 66 * exclude: win 67 * exclude: sys/shmsys 68 69 70 71 * forceload: 72 * 73 * Cause these modules to be loaded at boot time, (just before mounting 74 * the root filesystem) rather than at first reference. Note that 75 * forceload expects a filename which includes the directory. Also 76 * note that loading a module does not necessarily imply that it will 77 * be installed. 78 * 79 * Example: 80 * forceload: drv/foo 81 82 83 84 * set: 85 * 86 * Set an integer variable in the kernel or a module to a new value. 87 * This facility should be used with caution. See system(4). 88 * 89 * Examples: 90 * 91 * To set variables in 'unix': 92 * 93 * set nautopush=32 94 * set maxusers=40 95 * 96 * To set a variable named 'debug' in the module named 'test_module' 97 * 98 * set test_module:debug = 0x13 99 100 101 set ibft_noprobe=1 102 103 set noexec_user_stack=1 104 set noexec_user_stack_log=1 105 set rlim_fd_cur=65536 106 107 * Ensure that c-states are disabled 108 set idle_cpu_no_deep_c=1 109 110 * ZFS Tuning 111 112 set zfs:zfs_prefetch_disable=1 113 114 * 10 GbE Tuning 115 set ip:ip_squeue_fanout=1 116 117 * 118 * Machines should take a crash dump and reboot when receiving an NMI 119 * 120 set pcplusmp:apic_panic_on_nmi=1 121 set apix:apic_panic_on_nmi=1 122 123 * 124 * Don't use multi-threaded fast crash dump or a high compression level 125 * 126 set dump_plat_mincpu=0 127 set dump_bzip2_level=1 128 129 * 130 * See OS-1361 for dealing with the timer woes. 131 * 132 set pcplusmp:apic_timer_preferred_mode=0 133 set apix:apic_timer_preferred_mode=0 134 135 * 136 * Want additional crash dump metrics 137 * 138 set dump_metrics_on=1 139 140 * 141 * With lots of zones, each with a large limit on lwps, we need more pids. We 142 * could go to 999999, but for now stick with 5 digits to match the existing 143 * default of 30000. This is mostly being conservative, so we can bump higher 144 * if necessary. 145 * 146 set pidmax=99999 147 148 * 149 * OS-2000 -- The traditional (and essentially entirely brain dead) 150 * cfgadm(1M)-centric model of hotpluggin' appears to be basically unnecessary. 151 * This tunable enables the system to create device nodes for newly inserted 152 * devices automatically. See: usr/src/uts/common/io/sata/impl/sata.c:97 153 * 154 set sata:sata_auto_online=1