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