diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/filesystems/ext3.txt | 4 | ||||
-rw-r--r-- | Documentation/kdump/gdbmacros.txt | 22 | ||||
-rw-r--r-- | Documentation/oops-tracing.txt | 8 | ||||
-rw-r--r-- | Documentation/x86_64/boot-options.txt | 2 | ||||
-rw-r--r-- | Documentation/x86_64/cpu-hotplug-spec | 21 |
5 files changed, 49 insertions, 8 deletions
diff --git a/Documentation/filesystems/ext3.txt b/Documentation/filesystems/ext3.txt index f4d0de6bac63..afb1335c05d6 100644 --- a/Documentation/filesystems/ext3.txt +++ b/Documentation/filesystems/ext3.txt | |||
@@ -84,8 +84,6 @@ reservation | |||
84 | 84 | ||
85 | noreservation | 85 | noreservation |
86 | 86 | ||
87 | resize= | ||
88 | |||
89 | bsddf (*) Make 'df' act like BSD. | 87 | bsddf (*) Make 'df' act like BSD. |
90 | minixdf Make 'df' act like Minix. | 88 | minixdf Make 'df' act like Minix. |
91 | 89 | ||
@@ -175,6 +173,7 @@ See manual pages to learn more. | |||
175 | tune2fs: create a ext3 journal on a ext2 partition with the -j flag. | 173 | tune2fs: create a ext3 journal on a ext2 partition with the -j flag. |
176 | mke2fs: create a ext3 partition with the -j flag. | 174 | mke2fs: create a ext3 partition with the -j flag. |
177 | debugfs: ext2 and ext3 file system debugger. | 175 | debugfs: ext2 and ext3 file system debugger. |
176 | ext2online: online (mounted) ext2 and ext3 filesystem resizer | ||
178 | 177 | ||
179 | 178 | ||
180 | References | 179 | References |
@@ -184,6 +183,7 @@ kernel source: <file:fs/ext3/> | |||
184 | <file:fs/jbd/> | 183 | <file:fs/jbd/> |
185 | 184 | ||
186 | programs: http://e2fsprogs.sourceforge.net/ | 185 | programs: http://e2fsprogs.sourceforge.net/ |
186 | http://ext2resize.sourceforge.net | ||
187 | 187 | ||
188 | useful links: http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html | 188 | useful links: http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html |
189 | http://www-106.ibm.com/developerworks/linux/library/l-fs7/ | 189 | http://www-106.ibm.com/developerworks/linux/library/l-fs7/ |
diff --git a/Documentation/kdump/gdbmacros.txt b/Documentation/kdump/gdbmacros.txt index bc1b9eb92ae1..dcf5580380ab 100644 --- a/Documentation/kdump/gdbmacros.txt +++ b/Documentation/kdump/gdbmacros.txt | |||
@@ -177,3 +177,25 @@ document trapinfo | |||
177 | 'trapinfo <pid>' will tell you by which trap & possibly | 177 | 'trapinfo <pid>' will tell you by which trap & possibly |
178 | addresthe kernel paniced. | 178 | addresthe kernel paniced. |
179 | end | 179 | end |
180 | |||
181 | |||
182 | define dmesg | ||
183 | set $i = 0 | ||
184 | set $end_idx = (log_end - 1) & (log_buf_len - 1) | ||
185 | |||
186 | while ($i < logged_chars) | ||
187 | set $idx = (log_end - 1 - logged_chars + $i) & (log_buf_len - 1) | ||
188 | |||
189 | if ($idx + 100 <= $end_idx) || \ | ||
190 | ($end_idx <= $idx && $idx + 100 < log_buf_len) | ||
191 | printf "%.100s", &log_buf[$idx] | ||
192 | set $i = $i + 100 | ||
193 | else | ||
194 | printf "%c", log_buf[$idx] | ||
195 | set $i = $i + 1 | ||
196 | end | ||
197 | end | ||
198 | end | ||
199 | document dmesg | ||
200 | print the kernel ring buffer | ||
201 | end | ||
diff --git a/Documentation/oops-tracing.txt b/Documentation/oops-tracing.txt index 05960f8a748e..2503404ae5c2 100644 --- a/Documentation/oops-tracing.txt +++ b/Documentation/oops-tracing.txt | |||
@@ -41,11 +41,9 @@ the disk is not available then you have three options :- | |||
41 | run a null modem to a second machine and capture the output there | 41 | run a null modem to a second machine and capture the output there |
42 | using your favourite communication program. Minicom works well. | 42 | using your favourite communication program. Minicom works well. |
43 | 43 | ||
44 | (3) Patch the kernel with one of the crash dump patches. These save | 44 | (3) Use Kdump (see Documentation/kdump/kdump.txt), |
45 | data to a floppy disk or video rom or a swap partition. None of | 45 | extract the kernel ring buffer from old memory with using dmesg |
46 | these are standard kernel patches so you have to find and apply | 46 | gdbmacro in Documentation/kdump/gdbmacros.txt. |
47 | them yourself. Search kernel archives for kmsgdump, lkcd and | ||
48 | oops+smram. | ||
49 | 47 | ||
50 | 48 | ||
51 | Full Information | 49 | Full Information |
diff --git a/Documentation/x86_64/boot-options.txt b/Documentation/x86_64/boot-options.txt index e566affeed7f..72ab9b99b22c 100644 --- a/Documentation/x86_64/boot-options.txt +++ b/Documentation/x86_64/boot-options.txt | |||
@@ -125,7 +125,7 @@ SMP | |||
125 | cpumask=MASK only use cpus with bits set in mask | 125 | cpumask=MASK only use cpus with bits set in mask |
126 | 126 | ||
127 | additional_cpus=NUM Allow NUM more CPUs for hotplug | 127 | additional_cpus=NUM Allow NUM more CPUs for hotplug |
128 | (defaults are specified by the BIOS or half the available CPUs) | 128 | (defaults are specified by the BIOS, see Documentation/x86_64/cpu-hotplug-spec) |
129 | 129 | ||
130 | NUMA | 130 | NUMA |
131 | 131 | ||
diff --git a/Documentation/x86_64/cpu-hotplug-spec b/Documentation/x86_64/cpu-hotplug-spec new file mode 100644 index 000000000000..5c0fa345e556 --- /dev/null +++ b/Documentation/x86_64/cpu-hotplug-spec | |||
@@ -0,0 +1,21 @@ | |||
1 | Firmware support for CPU hotplug under Linux/x86-64 | ||
2 | --------------------------------------------------- | ||
3 | |||
4 | Linux/x86-64 supports CPU hotplug now. For various reasons Linux wants to | ||
5 | know in advance boot time the maximum number of CPUs that could be plugged | ||
6 | into the system. ACPI 3.0 currently has no official way to supply | ||
7 | this information from the firmware to the operating system. | ||
8 | |||
9 | In ACPI each CPU needs an LAPIC object in the MADT table (5.2.11.5 in the | ||
10 | ACPI 3.0 specification). ACPI already has the concept of disabled LAPIC | ||
11 | objects by setting the Enabled bit in the LAPIC object to zero. | ||
12 | |||
13 | For CPU hotplug Linux/x86-64 expects now that any possible future hotpluggable | ||
14 | CPU is already available in the MADT. If the CPU is not available yet | ||
15 | it should have its LAPIC Enabled bit set to 0. Linux will use the number | ||
16 | of disabled LAPICs to compute the maximum number of future CPUs. | ||
17 | |||
18 | In the worst case the user can overwrite this choice using a command line | ||
19 | option (additional_cpus=...), but it is recommended to supply the correct | ||
20 | number (or a reasonable approximation of it, with erring towards more not less) | ||
21 | in the MADT to avoid manual configuration. | ||