Drop obsoleted patch.
[linux-flexiantxendom0-3.2.10.git] / kdb / ChangeLog
1 2004-12-25 Keith Owens  <kaos@sgi.com>
2
3         * Add kobject command.
4         * Ignore low addresses and large offsets in kdbnearsym().
5         * Console updates for sn2 simulator.
6         * kdb v4.4-2.6.10-common-1.
7
8 2004-12-07 Keith Owens  <kaos@sgi.com>
9
10         * kdb v4.4-2.6.10-rc3-common-1.
11
12 2004-11-23 Keith Owens  <kaos@sgi.com>
13
14         * Remove warning message from kdb_get_one_user_page(), it was too noisy.
15         * kdb v4.4-2.6.10-rc2-common-1.
16
17 2004-11-02 Keith Owens  <kaos@sgi.com>
18
19         * Build with kdb patch applied but CONFIG_KDB=n.
20         * kdb v4.4-2.6.10-rc1-common-2.
21
22 2004-10-29 Keith Owens  <kaos@sgi.com>
23
24         * Handle new compression scheme for kallsyms.
25         * Handle move of DEAD and ZOMBIE for task->state to task->exit_state.
26         * Tweak the concept of a valid kernel address to get all symbols,
27           including the symbols in the ia64 gate page.
28         * kdb v4.4-2.6.10-rc1-common-1.
29
30 2004-10-21 Keith Owens  <kaos@sgi.com>
31
32         * Handle variable size for the kernel log buffer.
33         * kdb v4.4-2.6.9-common-2.
34
35 2004-10-19 Keith Owens  <kaos@sgi.com>
36
37         * kdb v4.4-2.6.9-common-1.
38
39 2004-10-12 Keith Owens  <kaos@sgi.com>
40
41         * kdb v4.4-2.6.9-rc4-common-1.
42
43 2004-10-01 Keith Owens  <kaos@sgi.com>
44
45         * kdb v4.4-2.6.9-rc3-common-1.
46
47 2004-09-30 Keith Owens  <kaos@sgi.com>
48
49         * Add stackdepth command to Documentation/kdb/kdb.mm.  stackdepth is
50           only supported on i386 and ia64 at the moment.
51         * Skip kdbm_pg memmap build on x86_64.  Scott Lurndal, 3leafnetworks.
52         * Export kdb_serial_str for modular I/O.  Bryan Cardillo, UPenn.
53         * Reinstate tab completion for symbols.
54         * kdb v4.4-2.6.9-rc2-common-2.
55
56 2004-09-14 Keith Owens  <kaos@sgi.com>
57
58         * Add task states C (traCed) and E (dEad).
59         * kdb v4.4-2.6.9-rc2-common-1.
60
61 2004-08-27 Keith Owens  <kaos@sgi.com>
62
63         * kdb v4.4-2.6.9-rc1-common-1.
64
65 2004-08-14 Keith Owens  <kaos@sgi.com>
66
67         * kdb v4.4-2.6.8-common-1.
68
69 2004-08-12 Keith Owens  <kaos@sgi.com>
70
71         * kdb v4.4-2.6.8-rc4-common-1.
72
73 2004-08-05 Keith Owens  <kaos@sgi.com>
74
75         * Mark kdb_initcall as __attribute_used__ for newer gcc.
76         * kdb v4.4-2.6.8-rc3-common-2.
77
78 2004-08-04 Keith Owens  <kaos@sgi.com>
79
80         * Add mdp (memory display physical) comnmand.
81           Ananth N Mavinakayanahalli, IBM.
82         * kdb v4.4-2.6.8-rc3-common-1.
83
84 2004-07-18 Keith Owens  <kaos@sgi.com>
85
86         * Patch for new sn_console.  Erik Jacobson. SGI.
87         * kdb v4.4-2.6.8-rc2-common-1.
88
89 2004-07-12 Keith Owens  <kaos@sgi.com>
90
91         * Convert kdbm_task to standard cpumask_t.
92         * Document '*' (all breakpoints) option on bd/be/bc commands.
93         * kdb v4.4-2.6.8-rc1-common-1.
94
95 2004-06-30 Keith Owens  <kaos@sgi.com>
96
97         * Common changes to help the x86-64 port.
98         * kdb v4.4-2.6.7-common-3.
99
100 2004-06-20 Keith Owens  <kaos@sgi.com>
101
102         * Move kdb includes in mm/swapfile.c to reduce conflicts with other
103           SGI patches.
104         * kdb v4.4-2.6.7-common-2.
105
106 2004-06-16 Keith Owens  <kaos@sgi.com>
107
108         * kdb v4.4-2.6.7-common-1.
109
110 2004-06-09 Keith Owens  <kaos@sgi.com>
111
112         * kdb v4.4-2.6.7-rc3-common-1.
113
114 2004-06-09 Keith Owens  <kaos@sgi.com>
115
116         * Namespace clean up.  Mark code/variables as static when it is only
117           used in one file, delete dead code/variables.
118         * Saved interrupt state requires long, not int.
119         * kdb v4.4-2.6.7-rc2-common-3.
120
121 2004-06-08 Keith Owens  <kaos@sgi.com>
122
123         * Whitespace clean up, no code changes.
124         * kdb v4.4-2.6.7-rc2-common-2.
125
126 2004-06-07 Keith Owens  <kaos@sgi.com>
127
128         * kdb v4.4-2.6.7-rc2-common-1.
129
130 2004-06-06 Keith Owens  <kaos@sgi.com>
131
132         * Avoid recursion problems in kdb_init().
133         * Add standard archkdb commands.
134         * Add per_cpu command.
135         * Move kdb_{get,put}userarea_size definitions to linux/kdb.h.
136         * kdb v4.4-2.6.6-common-2.
137
138 2004-05-23 Keith Owens  <kaos@sgi.com>
139
140         * Shrink the output from the cpu command.
141         * Add cpu state 'I', the cpu is idle.
142         * Add cpu state '+', some kdb data is available but the cpu is not
143           responding.
144         * Do not print tasks in state I or M by default in ps and bta commands.
145         * Add states I (idle task) and M (sleeping system daemon) to ps and
146           bta commands.
147         * Delete unused variables.
148         * Move private kdb fields from kdb.h to kdbprivate.h.
149         * Print 'for keyboard entry' for the special cases when KDB_ENTER() is
150           used to get registers.
151         * Move bfd.h and ansidecl.h from arch/$(ARCH)/kdb to include/asm-$(ARCH)
152           and remove -I arch/$(ARCH)/kdb.
153         * dmesg command now prints from either the start or end of dmesg, or at
154           an arbitrary point in the middle of the kernel log buffer.
155         * Sensible string dump for multi byte md commands.
156         * 'page' command handles ia64 correctly.
157         * Show some activity when waiting for cpus to enter kdb.
158         * Change the KDB entry code to <esc>KDB.
159         * Allow comment commands, starting with '#'.
160         * Commands defined using defcmd from kdb_cmds are not printed as they
161           are entered, use defcmd with no parameters to print all the defined
162           commands.
163         * Add summary command.
164         * Update copyright notices.
165         * Zero suppression on md command.
166         * Make set NOSECT=1 the default.
167         * PPC64 uses OF-stdout instead of console.  Ananth N Mavinakayanahalli.
168         * kdb v4.4-2.6.6-common-1.
169
170 2004-05-10 Keith Owens  <kaos@sgi.com>
171
172         * kdb v4.3-2.6.6-common-1.
173
174 2004-05-06 Keith Owens  <kaos@sgi.com>
175
176         * kdb v4.3-2.6.6-rc3-common-1.
177
178 2004-05-06 Keith Owens  <kaos@sgi.com>
179
180         * kdb v4.3-2.6.6-rc2-common-1.
181
182 2004-04-30 Keith Owens  <kaos@sgi.com>
183
184         * Rewrite inode_pages command for new radix code in struct page.
185         * kdb v4.3-2.6.6-rc1-common-1.
186
187 2004-04-11 Keith Owens  <kaos@sgi.com>
188
189         * Unlock sn_sal_lock before entering kdb from sn_serial.
190         * kdb v4.3-2.6.5-common-2.
191
192 2004-04-05 Keith Owens  <kaos@sgi.com>
193
194         * kdb v4.3-2.6.5-common-1.
195
196 2004-03-22 Keith Owens  <kaos@sgi.com>
197
198         * kdb v4.3-2.6.5-rc2-common-1.
199
200 2004-03-12 Keith Owens  <kaos@sgi.com>
201
202         * More work to avoid spurious messages from WARN_CONSOLE_UNLOCKED().
203         * bh command bug fixes.  Nathan Scott.
204         * kdb v4.3-2.6.4-common-1.
205
206 2004-03-06 Keith Owens  <kaos@sgi.com>
207
208         * Set KDB_IS_RUNNING() during kdb_init to avoid spurious messages from
209           WARN_CONSOLE_UNLOCKED().
210         * Correct loss of symbol names in kdbnearsym.
211         * kdb v4.3-2.6.4-rc2-common-1.
212
213 2004-02-29 Keith Owens  <kaos@sgi.com>
214
215         * kdb v4.3-2.6.4-rc1-common-1.
216
217 2004-02-21 Keith Owens  <kaos@sgi.com>
218
219         * Correct build of kdb_cmds when using a separate object directory and
220           make it quiet.  j-nomura (NEC), Keith Owens.
221         * kdb v4.3-2.6.3-common-2.
222
223 2004-02-18 Keith Owens  <kaos@sgi.com>
224
225         * kdb v4.3-2.6.3-common-1.
226
227 2004-02-17 Keith Owens  <kaos@sgi.com>
228
229         * Remove WAR for incorrect console registration patch.
230         * kdb v4.3-2.6.3-rc4-common-1.
231
232 2004-02-17 Keith Owens  <kaos@sgi.com>
233
234         * Convert longjmp buffers from static to dynamic allocation, for large
235           cpu counts.
236         * Tweak kdbm_task for SMP/UP.
237         * Reconcile with kdb-v4.3 2.4.25-rc1-common-1.
238         * Simplify coexistence with NPTL patches.
239         * Support kill command on new scheduler.
240         * Do not refetch data when printing a value as characters.
241         * Document the pid command.
242         * Work around 2.6 kallsyms 'feature'.
243         * Upgrade to 2.6.3-rc3.
244         * WAR for incorrect console registration patch.
245         * kdb v4.3-2.6.3-rc3-common-1.
246
247 2003-12-03 Keith Owens  <kaos@sgi.com>
248
249         * Reconcile 2.6-test versions from Xavier Bru (Bull), Greg Banks (SGI),
250           Jim Houston (Concurrent Computer Corp).
251         * Reconcile with kdb v4.3-2.4.23-common-2.
252         * Clean up CONFIG_KDB changes to {scripts,kernel}/kallsyms.c.
253         * Correct handling of kdb command line arguments.
254         * Make hooks into module code less intrusive.
255         * Delete kdb_active_task, not required with O(1) scheduler.
256         * Port kdbm_task.c from 2.4.
257         * Disable debug check in exit.c::next_thread() when kdb is running.
258         * Remove "only bh_disable when interrupts are set".  BH must be disabled
259           in kdb to prevent deadlock on breakpoints in interrupt handlers.
260         * Add kdb to drivers/char/sn_serial.c.
261         * kdb v4.3-2.6.0-test11-common-1.
262
263 2003-11-11 Xavier Bru   <xavier.bru@bull.net>
264         * Merge to 2.6.0-test9
265 2003-10-17 Xavier Bru   <xavier.bru@bull.net>
266         * fix NUll ptr in kdb_ps at early prompt.
267 2003-10-14 Xavier Bru   <xavier.bru@bull.net>
268         * fix NUll ptr in kdb_ps when cpu not present.
269 2003-10-06 Xavier Bru   <xavier.bru@bull.net>
270         * Merge to 2.6.0-test5
271         * fix compile error with CONFIG_MODULES not set.
272
273 2003-09-08 Xavier Bru   <xavier.bru@bull.net>
274         * Merge to 2.6.0-test4
275
276 2003-07-10 Xavier Bru   <xavier.bru@bull.net>
277
278         * Merge kdb v4.3 to 2.5.72 ia64
279         * don't call local_bh_enable() with interrupts masked.
280
281 2003-04-07 Xavier Bru   <xavier.bru@bull.net>
282
283         * Merge kdb v4.1 to 2.5.64 ia64
284         * new kernel parameters support
285         * new module format
286         * new kallsyms support
287
288 2003-12-02 Keith Owens  <kaos@sgi.com>
289
290         * Use correct page alignment in kdb_get_one_user_page().
291           Prasanna S Panchamukhi, IBM.
292         * Split pte command into pte -m and pte -p.  Dean Roe, SGI.
293         * kdb v4.3-2.4.23-common-2.
294
295 2003-12-01 Keith Owens  <kaos@sgi.com>
296
297         * kdb v4.3-2.4.23-common-1.
298
299 2003-11-11 Keith Owens  <kaos@sgi.com>
300
301         * Make KDB for USB keyboards build.  Peter T. Breuer.
302         * Do not use USB keyboard if it has not been probed.
303         * kdb v4.3-2.4.23-rc1-common-1.
304
305 2003-10-10 Keith Owens  <kaos@sgi.com>
306
307         * Sync with XFS 2.4.22 tree.
308         * kdb v4.3-2.4.22-common-2.
309
310 2003-08-29 Keith Owens  <kaos@sgi.com>
311
312         * kdb v4.3-2.4.22-common-1.
313
314 2003-07-27 Keith Owens  <kaos@sgi.com>
315
316         * kdb v4.3-2.4.22-pre8-common-8.
317
318 2003-07-20 Keith Owens  <kaos@sgi.com>
319
320         * Make kdb_serial_str a common constant, the same for all consoles.
321         * Support SGI L1 console.
322         * kdb v4.3-2.4.21-common-8.
323
324 2003-07-14 Keith Owens  <kaos@sgi.com>
325
326         * Correct ll command.
327         * kdb v4.3-2.4.21-common-7.
328
329 2003-07-08 Keith Owens  <kaos@sgi.com>
330
331         * Export more kdb symbols.  Vamsi Krishna S., IBM.
332         * kdb v4.3-2.4.21-common-6.
333
334 2003-07-07 Keith Owens  <kaos@sgi.com>
335
336         * Tweak 'waiting for cpus' message.
337         * kdb v4.3-2.4.21-common-5.
338
339 2003-07-07 Keith Owens  <kaos@sgi.com>
340
341         * 2.4.21-ia64-030702 patches common code that affects kdb.  Workaround
342           this nuisance.
343         * kdb v4.3-2.4.21-common-4.
344
345 2003-06-24 Keith Owens  <kaos@sgi.com>
346
347         * Add task and sigset commands.  Mark Goodwin, SGI.
348         * kdb v4.3-2.4.21-common-3.
349
350 2003-06-23 Keith Owens  <kaos@sgi.com>
351
352         * Sync with XFS 2.4.21 tree.
353         * kdb v4.3-2.4.21-common-2.
354
355 2003-06-20 Keith Owens  <kaos@sgi.com>
356
357         * kdb v4.3-2.4.21-common-1.
358
359 2003-06-20 Keith Owens  <kaos@sgi.com>
360
361         * More details on vm command, add vmp and pte commands.
362           Dean Nelson, Dean Roe, SGI.
363         * YAO1SCF (Yet Another O(1) Scheduler Coexistence Fix).
364         * Changes to common code to build on sparc.  Tom Duffy.
365         * Move Tom Duffy's changes to drivers/sbus from the sparc64
366           patch to the common patch to keep all the serial changes
367           together.
368         * Changes to common code to build on Xscale.  Eddie Dong, Intel.
369         * Remove CROSS_COMPILE_INC.
370         * Remove obsolete boot parameter 'kdb', long since replaced by
371           'kdb=on'.
372         * Remove obsolete kdb_eframe_t casts.
373         * Add CONFIG_KDB_CONTINUE_CATASTROPHIC.
374         * Wait a short interval for cpus to join kdb before proceeding.
375         * Automatically enable sysrq for sr command.
376         * Correct double free of kdb_printf lock, spotted by Richard Sanders.
377         * Add optional cpu parameter to btc command.
378         * kdb v4.3-2.4.20-common-1.
379
380 2003-05-02 Keith Owens  <kaos@sgi.com>
381
382         * Some architectures have problems with the initial empty kallsyms
383           section so revert to three kallsyms passes.
384         * Flush buffered input at startup and at 'more' prompt.
385         * Only print 'more' prompt when longjmp data is available.
386         * Print more data for buffers and inodes.
387         * Disable kill command when O(1) scheduler is installed, the code
388           needs to be redone for O(1).
389         * The kernel has an undocumented assumption that enable_bh() is
390           always called with interrupts enabled, make it so.
391         * Print trailing punctuation even for symbols that are not in kernel.
392         * Add read/write access to user pages.  Vamsi Krishna S., IBM
393         * Rename cpu_is_online to cpu_online, as in 2.5.
394         * O(1) scheduler removes init_task so kdb maintains its own list of
395           active tasks.
396         * Delete btp 0 <cpuid> option, it needed init_tasks.
397         * Clean up USB keyboard support.  Steven Dake.
398         * Sync with XFS 2.4.20 tree.
399         * kdb v4.2-2.4.20-common-1.
400
401 2003-04-04 Keith Owens  <kaos@sgi.com>
402
403         * Remove one kallsyms pass.
404         * Automatic detection of O(1) scheduler.
405         * Rename cpu_online to cpu_is_online.
406         * Workarounds for scheduler bugs.
407         * Tweak algorithm for detecting if cpu process data is available.
408         * Add 'kill' command.  Sonic Zhang, Keith Owens.
409         * kdb v4.1-2.4.20-common-1.
410
411 2003-03-16 Keith Owens  <kaos@sgi.com>
412
413         * Each cpu saves its state as it enters kdb or before it enters code
414           which cannot call kdb.
415         * Allow btp on process 0 for a specified cpu.
416         * Add btt command, backtrace given a struct task address.
417         * btc command no longer switches cpus, instead it uses the saved data.
418         * bta shows the idle task on each cpu as well as real tasks, the idle
419           task could be handling an interrupt.
420         * ps command shows the idle task on each cpu.
421         * ps checks that the saved data for a cpu matches the process running on
422           that cpu and warns about stale saved data or no saved data at all.
423         * Remove special cases for i386 backtrace from common code and simplify
424           common bt code.
425         * Clean up kdb interaction with CONFIG_SERIAL_CONSOLE.
426         * Do not automatically repeat commands after the user typed 'q'.
427         * O(1) scheduler patch changes the process cpu field but does not set
428           any indicator that O(1) is being used.  Adjust kdb_process_cpu() by
429           hand after applying O(1).
430         * Add kdb_print_nameval() to common code.
431         * Convert tests of cpu_online_map to cpu_online() macro.
432         * module.h needs errno.h when compiling with CONFIG_MODULES=n.
433         * Correct duplicate breakpoint handling.
434         * Do not try to send IPI during a catastrophic error, send_ipi can hang
435           and take kdb with it.
436         * kdb memmap command is i386 only, restrict it.
437         * Add large block device (LBD) support from XFS tree.  Eric Sandeen.
438         * kdb v4.0-2.4.20-common-1.
439
440 2003-02-03 Keith Owens  <kaos@sgi.com>
441
442         * Register kdb commands early.
443         * Decode oops via kallsyms if it is available.
444         * Update copyright notices to 2003.
445         * Add defcmd/endefcmd to allow users to package their own macros.
446         * kdb commands that fail are ignored when prefixed with '-'.
447         * Add selection options to bta command.
448         * Add btc command (switch to each cpu and backtrace).
449         * Do real time detection of dead cpus.
450         * Clear ip adjusted flag when leaving kdb.
451         * Clean up ps command.
452         * Print ps output for each task when backtracing.
453         * Bump to version v3.0 to reduce confusion between kdb and kernel
454           version numbers.
455         * Add kdba_local_arch_setup/kdba_local_arch_cleanup to correct
456           keyboard freeze.  Ashish Kalra.
457         * Refuse multiple breakpoints at the same address.
458         * Add fl (file_lock) command, from XFS development tree.
459         * Correct inode_pages, from XFS development tree.
460         * Add command history and editing.  Sonic Zhang.
461         * Extend command history and editing to handle vt100 escape sequences.
462         * Allow tab completion at start of line.
463         * Touch nmi watchdog on long running bta and btc commands.
464         * Clean up ps output and standardize with bta codes.
465         * Correctly handle escaped characters in commands.
466         * Update man pages for btc and command history/editing.
467         * kdb v3.0-2.4.20-common-1.
468
469 2002-11-29 Keith Owens  <kaos@sgi.com>
470
471         * Upgrade to 2.4.20.
472         * Correct Documentation/kdb/kdb_sr.man.
473         * Remove leading zeroes from pids, they are decimal, not octal.
474         * kdb v2.5-2.4.20-common-1.
475
476 2002-11-14 Keith Owens  <kaos@sgi.com>
477
478         * Upgrade to 2.4.20-rc1.
479         * kdb v2.5-2.4.20-rc1-common-1.
480
481 2002-11-14 Keith Owens  <kaos@sgi.com>
482
483         * Fix processing with O(1) scheduler.
484         * 'go' switches back to initial cpu first.
485         * 'go <address>' only allowed on initial cpu.
486         * 'go' installs the global breakpoints from the initial cpu before
487            releasing the other cpus.
488         * If 'go' has to single step over a breakpoint then it single steps just
489           the initial cpu, installs the global breakpoints then releases the
490           other cpus.
491         * General clean up of handling for breakpoints and single stepping over
492           software breakpoints.
493         * Add kdb_notifier_block so other code can tell when kdb is in control.
494         * kdb v2.5-2.4.19-common-1.
495
496 2002-11-02 Keith Owens  <kaos@sgi.com>
497
498         * Correct build without CONFIG_KDB.
499         * kdb v2.4-2.4.19-common-3.
500
501 2002-11-01 Keith Owens  <kaos@sgi.com>
502
503         * Minimize differences from 2.5.44.
504         * kdb v2.4-2.4.19-common-2.
505
506 2002-10-31 Keith Owens  <kaos@sgi.com>
507
508         * Add defcmd/endefcmd feature.
509         * Remove kdb_eframe_t.
510         * Clear bp data before using.
511         * Sanity check if we have pt_regs.
512         * Force LINES > 1.
513         * Remove special case for KDB_REASON_PANIC, use KDB_ENTER() instead.
514         * Remove kdba_getcurrentframe().
515         * Coexist with O(1) scheduler.
516         * Add lines option to dmesg, speed up dmesg.
517         * kdb v2.4-2.4.19-common-1.
518
519 2002-10-17 Keith Owens  <kaos@sgi.com>
520
521         * Add selection critera to ps and bta commands.
522         * kdb v2.3-2.4.19-common-4.
523
524 2002-10-07 Keith Owens  <kaos@sgi.com>
525
526         * New man page, Documentation/kdb/kdb_sr.man.
527
528 2002-10-04 Keith Owens  <kaos@sgi.com>
529
530         * Minimize differences between patches for 2.4 and 2.5 kernels.
531         * Add Configure.help for CONFIG_KDB_USB.
532         * Reduce stack usage.
533         * kdb v2.3-2.4.19-common-3.
534
535 2002-08-10 Keith Owens  <kaos@sgi.com>
536
537         * Replace kdb_port with kdb_serial to support memory mapped I/O.
538           David Mosberger.
539         * kdb v2.3-2.4.19-common-2.
540
541 2002-08-07 Keith Owens <kaos@sgi.com>
542
543         * Upgrade to 2.4.19.
544         * Remove individual SGI copyrights, the general SGI copyright applies.
545         * Handle md0.  Reported by Hugh Dickins, different fix by Keith Owens.
546         * Use page_address() in kdbm_pg.c.  Hugh Dickins.
547         * Remove debugging printk from kdbm_pg.c.  Hugh Dickins.
548         * Move breakpoint address verification into arch dependent code.
549         * Dynamically resize kdb command table as required.
550         * Common code to support USB keyboard.  Sebastien Lelarge.
551         * kdb v2.3-2.4.19-common-1.
552
553 2002-07-09 Keith Owens <kaos@sgi.com>
554
555         * Upgrade to 2.4.19-rc1.
556         * Add dmesg command.
557         * Clean up copyrights, Eric Sandeen.
558         * kdb v2.2-2.4.19-rc1-common-1.
559
560 2002-06-14 Keith Owens <kaos@sgi.com>
561
562         * Upgrade to 2.4.19-pre10.
563         * Sync with XFS.
564         * kdb v2.1-2.4.19-pre10-common-1.
565
566 2002-04-09 Keith Owens <kaos@sgi.com>
567
568         * Upgrade to 2.4.19-pre6.
569         * kdb v2.1-2.4.19-pre6-common-1.
570
571 2002-03-18 Keith Owens <kaos@sgi.com>
572
573         * Syntax check mdWcN commands.
574
575 2002-03-01 Keith Owens <kaos@sgi.com>
576
577         * Sync with XFS 2.4.18.
578         * kdb v2.1-2.4.18-common-2.
579
580 2002-02-26 Keith Owens <kaos@sgi.com>
581
582         * Upgrade to 2.4.18.
583         * Add Paul Dorwin (IBM) magicpoint slides on using kdb as
584           Documentation/kdb/slides.
585         * kdb v2.1-2.4.18-common-1.
586
587 2002-01-23 Keith Owens <kaos@sgi.com>
588
589         * Sync with XFS pagebuf changes.
590         * kdb v2.1-2.4.17-common-2.
591
592 2002-01-18 Keith Owens <kaos@sgi.com>
593
594         * Ignore single stepping during panic.
595         * Remove kdba_getword, kdba_putword.  Replace with kdb_getword,
596           kdb_putword that rely on copy_xx_user.  The new functions return
597           an error code, like copy_xx_user.
598         * New functions kdb_getarea, kdb_putarea for copying areas of data
599           such as structures.  These functions also return an error code.
600         * Change all common code to use the new functions.
601         * bp command checks that it can read and write the word at the
602           breakpoint before accepting the address.
603         * Break points are now set FIFO and cleared LIFO so overlapping
604           entries give sensible results.
605         * Verify address before disassembling code.
606         * Common changes for sparc64.  Ethan Solomita, Tom Duffy.
607         * Remove ss <count>, never supported.
608         * Remove kallsyms entries from arch vmlinux.lds files.
609         * Specify which commands auto repeat.
610         * kdb v2.1-2.4.17-common-1.
611
612 2002-01-07 Keith Owens <kaos@sgi.com>
613
614         * Remove console semaphore code, not good in interrupt.
615         * Remove fragment of ia64 patch that had crept into kdb.
616         * Release as kdb v2.0-2.4.17-common-3.
617
618 2002-01-04 Keith Owens  <kaos@sgi.com>
619
620         * Sync xfs <-> kdb common code.
621
622 2001-12-22 Keith Owens  <kaos@sgi.com>
623
624         * Upgrade to 2.4.17.
625         * Clean up ifdef CONFIG_KDB.
626         * Add ifdef CONFIG_KDB around include kdb.h.
627         * Delete dummy kdb.h files for unsupported architectures.
628         * Delete arch i386 and ia64 specific files.  This changelog now
629           applies to kdb common code only.
630         * Release as kdb v2.0-2.4.17-common-1.
631
632 2001-12-03 Keith Owens  <kaos@sgi.com>
633
634         * Upgrade to 2.4.16.
635         * Add include/asm-um/kdb.h stub to allow XFS to be tested under UML.
636         * Check if an interrupt frame on i386 came from user space.
637         * Out of scope bug fix in kdb_id.c.  Ethan Solomita.
638         * Changes to common code to support sparc64.  Ethan Solomita.
639         * Change GFP_KERNEL to GFP_ATOMIC in disasm.  Ethan Solomita.
640
641 2001-11-16 Keith Owens  <kaos@sgi.com>
642
643         * Upgrade to 2.4.15-pre5.
644         * Wrap () around #define expressions with unary operators.
645
646 2001-11-13 Keith Owens  <kaos@sgi.com>
647
648         * Upgrade to 2.4.15-pre4.
649         * kbdm_pg.c patch from Hugh Dickins.
650
651 2001-11-07 Keith Owens  <kaos@sgi.com>
652
653         * Upgrade to 2.4.14-ia64-011105.
654         * Change name of l1 serial I/O routine, add ia64 init command.  SGI.
655         * Sync kdbm_pg with XFS.
656
657 2001-11-06 Keith Owens  <kaos@sgi.com>
658
659         * Upgrade to kernel 2.4.14.
660
661 2001-11-02 Keith Owens  <kaos@sgi.com>
662
663         * Sync kdbm_pg.c with XFS.
664
665 2001-10-24 Keith Owens  <kaos@sgi.com>
666
667         * Upgrade to kernel 2.4.13.
668
669 2001-10-14 Keith Owens  <kaos@melbourne.sgi.com>
670
671         * More use of TMPPREFIX in top level Makefile to speed up NFS compiles.
672
673         * Correct repeat calculations in md/mds commands.
674
675 2001-10-10 Keith Owens  <kaos@melbourne.sgi.com>
676
677         * Copy bfd.h and ansidecl.h to arch/$(ARCH)/kdb, remove dependecies on
678           user space includes.
679
680         * Update kdb v1.9 to kernel 2.4.11.
681
682 2001-10-01 Keith Owens  <kaos@melbourne.sgi.com>
683
684         * Update kdb v1.9 to kernel 2.4.11-pre1 and 2.4.10-ac1.
685
686         * Correct loop in kdb_parse, reported by Tachino Nobuhiro.
687
688 2001-09-25 Keith Owens  <kaos@melbourne.sgi.com>
689
690         * Update kdb v1.8 to kernel 2.4.10.
691
692         * kdbm_pg patch from Hugh Dickens.
693
694         * DProbes patch from Bharata B Rao.
695
696         * mdWcn and mmW patch from Vamsi Krishna S.
697
698         * i386 disasm layout patch from Jean-Marc Saffroy.
699
700         * Work around for 64 bit binutils, Simon Munton.
701
702         * kdb.mm doc correction by Chris Pascoe.
703
704         * Enter repeats the last command, IA64 disasm only prints one
705           instruction.  Don Dugger.
706
707         * Allow kdb/modules to be linked into vmlinux.
708
709         * Remove obsolete code from kdb/modules/kdbm_{pg,vm}.c.
710
711         * Warn when commands are entered at more prompt.
712
713         * Add MODULE_AUTHOR, DESCRIPTION, LICENSE.
714
715         * Release as kdb v1.9.
716
717 2001-02-27 Keith Owens  <kaos@melbourne.sgi.com>
718
719         * Update kdb v1.8 to kernel 2.4.2, sync kdb/modules with XFS.
720
721         * Hook into panic() call.
722
723 2000-12-18 Keith Owens  <kaos@melbourne.sgi.com>
724
725         * Update kdb v1.7 to kernel 2.4.0-test13-pre3, sync kdb/modules with
726         XFS.
727
728 2000-11-18 Keith Owens  <kaos@melbourne.sgi.com>
729
730         * Update to kernel 2.4.0-test11-pre7, including forward port of
731         bug fixes from WIP 2.4.0-test9 tree.
732
733         * Update to Cygnus CVS trees for disassembly code.
734
735         * Bump to kdb v1.6.
736
737 2000-10-19 Keith Owens  <kaos@melbourne.sgi.com>
738
739         * Update to kernel 2.4.0-test10-pre4.
740
741 2000-10-15 Keith Owens  <kaos@melbourne.sgi.com>
742
743         * kdb/kdbmain.c (kdb_parse): Correctly handle blank input.
744
745         * kdb/kdbmain.c (kdb_local, kdb): Reason SILENT can have NULL regs.
746
747 2000-10-13 Keith Owens  <kaos@melbourne.sgi.com>
748
749         * kdb/kdbmain.c: Reduce CMD_LEN to avoid overflowing kdb_printf buffer.
750
751 2000-10-11 Keith Owens  <kaos@melbourne.sgi.com>
752
753         * kdb/kdbmain.c (kdb): Test for userspace breakpoints before driving
754           other cpus into kdb.  Speeds up gdb and avoids SMP race.
755
756         * arch/i386/kdb/kdba_io.c (get_serial_char, get_kbd_char): Ignore
757           unprintable characters.
758
759         * arch/i386/kdb/kdba_io.c (kdba_read): Better handling of buffer size.
760
761 2000-10-04 Keith Owens  <kaos@melbourne.sgi.com>
762
763         * arch/i386/kdb/kdba_bt.c (kdba_bt_process): Verify that esp is inside
764         task_struct.  Original patch by Mike Galbraith.
765
766         * kdb/kdb_io.c (kdb_getstr): Reset output line counter, remove
767         unnecessary prompts.
768
769         * arch/i386/kdb/kdbasupport.c (kdb_getregcontents): Change " cs" to
770         "xcs", ditto ss, ds, es.  gdb2kdb does not like leading spaces.
771
772         * include/asm-xxx/kdb.h: Add dummy kdb.h for all architectures except
773         ix86.  This allows #include <linux/kdb.h> to appear in arch independent
774         code without causing compile errors.
775
776         * kdb/modules/kdbm_pg: Sync with XFS.
777
778 2000-10-03  Keith Owens  <kaos@melbourne.sgi.com>
779
780         * kdb/kdb_io.c (kdb_read): Ignore NMI while waiting for input.
781
782         * kdb/kdb_io.c, kdb/Makefile: Export kdb_read.
783
784 2000-10-02  Keith Owens  <kaos@melbourne.sgi.com>
785
786         * arch/i386/kernel/smpboot.c (do_boot_cpu): Set nmi_watchdog_source to 2
787         to avoid premature NMI oops during cpu bring up.  We have to assume that
788         a box with more than 1 cpu has a working IO-APIC.
789
790         * Documentation/kdb/{kdb.mm,kdb_md.man}: Add mdr command.
791
792         * kdb/kdbmain.c (kdb_md): Add mdr command.
793
794         * Release as kdb v1.5 against 2.4.0-test9-pre8.
795
796         * arch/i386/kdb/kdba_io.c, arch/i386/kdb/kdbasupport.c, kdb/kdbmain.c,
797         kdb/kdb_io.c, kdb/kdb_id.c: Remove zero initializers for static
798         variables.
799
800 2000-09-28  Keith Owens  <kaos@melbourne.sgi.com>
801
802         * various: Add nmi_watchdog_source, 1 local APIC, 2 IO-APIC.
803         Test nmi_watchdog_source instead of nr_ioapics so UP works on SMP hardware.
804
805         * arch/i386/kernel/io_apic.c: Rename setup_nmi to setup_nmi_io for clarity.
806
807         * kdb/kdbmain.c (kdb_parse): Only set NO_WATCHDOG if it was already set.
808
809         * kdb/kdbmain.c (kdb): Clear NO_WATCHDOG on all exit paths.
810
811         * include/linux/kdb.h: Add KDB_REASON_SILENT.
812
813         * kdb/kdbmain.c (kdb_local): Treat reason SILENT as immediate 'go'.
814
815         * kdb/kdbmain.c (kdb_init): Invoke kdb with reason SILENT to instantiate
816         any breakpoints on boot cpu.
817
818         * arch/i386/kernel/smpboot.c (smp_callin): Invoke kdb with reason SILENT
819         to instantiate any global breakpoints on this cpu.
820
821         * kdb/kdb_cmds: Remove comment that said initial commands only worked on
822         boot cpu.
823
824 2000-09-27  Keith Owens  <kaos@melbourne.sgi.com>
825
826         * arch/i386/kernel/msr.c: Move {rd,wr}msr_eio to include/asm-i386/apic.h.
827
828         * include/asm-i386/apic.h: Define NMI interfaces.
829
830         * kernel/sysctl.c (kern_table):
831         * kernel/sysctl.c (do_proc_set_nmi_watchdog):
832         Add /proc/sys/kernel/nmi_watchdog.
833
834         * arch/i386/kernel/apic.c: New routines set_nmi_counter_local,
835         setup_apic_nmi_watchdog.
836
837         * arch/i386/kernel/traps.c: New routine set_nmi_watchdog().  Call apic
838         routines to set/clear local apic timer.
839
840 2000-09-26  Keith Owens  <kaos@melbourne.sgi.com>
841
842         * include/linux/sysctl.h (enum): Add NMI_WATCHDOG.
843
844         * arch/i386/kernel/traps.c (nmi_watchdog_tick): Check nmi_watchdog is
845         still on.
846
847         * arch/i386/config.in: Add CONFIG_UP_NMI_WATCHDOG.
848
849         * Documentation/Configure.help: Add CONFIG_UP_NMI_WATCHDOG.
850
851         * Documentation/nmi_watchdog.txt: Update for UP NMI watchdog.
852
853 2000-09-25  Keith Owens  <kaos@melbourne.sgi.com>
854
855         * arch/i386/kernel/apic.c (init_apic_mappings):
856         * arch/i386/kernel/io_apic.c (IO_APIC_init_uniprocessor):
857         Merge Keir Fraser's local APIC for uniprocessors patch.
858
859 2000-09-24  Keith Owens  <kaos@melbourne.sgi.com>
860
861         * Various: Declare initialization routines as __init.
862
863         * Makefile: Define and export AWK.
864
865         * kdb/Makefile: Generate gen-kdb_cmds.c from kdb/kdb_cmds.
866
867         * kdb/kdbmain.c (kdb_init): Call new routine kdb_cmds_init to execute
868         whatever the user put in kdb/kdb_cmds.
869
870         * arch/i386/kdb/kdba_bt.c (kdba_bt_stack): New parameter to
871         indicate if esp in regs is known to be valid or not.
872
873         * kdb/kdb_bp.c, arch/i386/kdb/kdba_bp.c: More trace prints for
874         breakpoint handling.
875
876         * arch/i386/kdb/kdba_bp.c (kdba_installbp): Finally found and fixed the
877         annoying breakpoint bug where breakpoints where not always installed
878         after 'go'.
879
880         * Documentation/kdb: Update man pages kdb.mm, kdb_env.man, kdb_ss.man.
881
882         * Released as kdb-v1.5-beta1-2.4.0-test8.
883
884         * Sync to 2.4.0-test9-pre6 and release as kdb-v1.5-beta1-2.4.0-test9-pre6.
885
886 2000-09-23  Keith Owens  <kaos@melbourne.sgi.com>
887
888         * arch/i386/kdb/kdbasupport.c (kdba_getregcontents): New pseudo
889         registers cesp and ceflags to help with debugging the debugger.
890
891         * kdb/kdbmain.c (kdb_local, kdb): Add KDB_REASON_RECURSE.  Add
892         environment variable RECURSE.  Add code to cope with some types of
893         recursion.
894
895         * kdb/kdbmain.c (kdb), arch/i386/kdba/kdba_bp.c: Add
896         kdba_clearsinglestep.
897
898 2000-09-22  Keith Owens  <kaos@melbourne.sgi.com>
899
900         * drivers/video/vgacon.c (write_vga): No cli() if kdb is running, avoid
901         console deadlock.
902
903         * arch/i386/kernel/irq.c (get_irqlock): Warn if kdb is running, may hang.
904
905         * include/linux/kdb.h: Define KDB_IS_RUNNING as (0) if no CONFIG_KDB.
906
907         * arch/i386/kdb/kdba_bt.c (kdba_bt_stack): Do not attempt a backtrace if
908         the code segment is not in the kernel.
909
910         * kdb/modules: Change modules from MX_OBJS to M_OBJS.  Remove EXPORT_NOSYMBOLS.
911
912 2000-09-21  Keith Owens  <kaos@melbourne.sgi.com>
913
914         * arch/i386/kernel/i386_ksyms.c: Move EXPORT_SYMBOLS for kdb to kdb/kdbmain.c.
915
916         * kdb/Makefile: Change kdb/kdbmain.o from O_OBJS to OX_OBJS.
917
918         * arch/i386/kernel/smp.c: Remove some #ifdef CONFIG_KDB.  Remove kdbprivate.h.
919
920         * include/linux/kdb.h: Add kdb_print_state.  Add KDB_STATE_WAIT_IPI.
921
922         * kdb/kdbmain.c (kdb): Only mark cpu as leaving if it is in KDB state.  Maintain
923         WAIT_IPI state so a cpu is only driven through NMI once.
924
925         * arch/i386/kernel/smp.c (smp_kdb_stop): All state fiddling moved to kdb().
926
927 2000-09-20  Keith Owens  <kaos@melbourne.sgi.com>
928
929         * include/linux/kdb.h: #define kdb() as (0) if kdb is not configured.
930
931         * arch/i386/kernel/traps.c: Remove some #ifdef CONFIG_KDB.
932
933         * include/linux/kdbprivate.h: Move per cpu state to kdb.h.
934
935         * include/linux/kdb.h: Add KDB_STATE_NO_WATCHDOG, KDB_STATE_PRINTF_LOCK.
936         Rename KDB_DEBUG_xxx to KDB_DEBUG_FLAG_xxx.  Clean up debug flag
937         definitions.
938
939         * arch/i386/kernel/traps.c (nmi_watchdog_tick): Check no watchdog.
940
941         * kdb/kdbmain.c (kdb): Set no watchdog in normal kdb code.
942
943         * kdb/kdbmain.c (kdb_parse): Allow watchdog in commands.
944
945         * kdb/kdb_io.c (kdb_printf): No watchdog during printing.  Clean up lock handling.
946
947         * kdb/kdbmain.c (kdb_set): Clean up debug flag handling.
948
949 2000-09-19  Juan J. Quintela  <quintela@fi.udc.es>
950
951         * kdb/arch/i386/kdb/kdba_io.c: Allow kdb to compile without CONFIG_VT and/or
952         serial console.
953
954 2000-09-19  Keith Owens  <kaos@melbourne.sgi.com>
955
956         * include/linux/kdb.h: Define KDB_DEBUG_STATE().
957
958         * kdb/kdbmain.c (kdb): Add kdb_print_state(), calls to KDB_DEBUG_STATE().
959
960 2000-09-16  Keith Owens  <kaos@melbourne.sgi.com>
961
962         * Move to finer grained control over individual processors in kdb with
963         per cpu kdb state.  Needed to allow ss[b] to only release one processor,
964         previously ss[b] released all processors.  Also need to recover from
965         errors inside kdb commands, e.g. oops in kdbm_pg code.
966
967         * various:
968           Move global flags KDB_FLAG_SSB, KDB_FLAG_SUPRESS, KDB_FLAG_FAULT,
969           KDB_FLAG_SS, KDB_FLAG_SSBPT, kdb_active, to per cpu state and macros
970           KDB_STATE(xxx).
971           Replace kdb_flags & KDB_FLAG_xxx with KDB_FLAG(xxx).
972           Replace kdb_flags & KDB_DEBUG_xxx with KDB_DEBUG(xxx).
973           Replace specific tests with wrapper KDB_IS_RUNNING().
974
975         * various: Remove #ifdef CONFIG_SMP from kdb code wherever
976         possible.  Simplifies the code and makes it much more readable.
977
978         * arch/i386/kdb/kdbasupport.c (kdb_setjmp): Record if we have reliable
979         longjmp data instead of assuming it is always set.
980
981         * various: Replace smp_kdb_wait with per cpu state, HOLD_CPU.
982
983         * init/main.c : Replace #ifdef KDB_DEBUG with KDB_DEBUG(CALLBACK).
984
985         * include/linux/kdbprivate.h: Separate command return codes from error
986         codes.  Add more detailed command codes.
987
988         * arch/i386/kernel/traps.c (die): Change spin_lock_irq to
989         spin_lock_irqsave.  Why did I do this?
990
991         * kdb/kdbmain.c (kdb_parse): Set per cpu flag CMD before executing kdb
992         command.  More detailed return codes for commands that affect
993         processors.
994
995         * kdb/kdbmain.c (kdb_previous_event): New, check if any processors are
996         still executing the previous kdb event.  Removes a race window where a
997         second event could enter kdb before the first had completely ended.
998
999         * kdb/kdbmain.c (kdb): Document all the concurrency conditions and how
1000         kdb handles them.  ss[b] now releases only the current cpu.  Do not set
1001         breakpoints when releasing for ss[b].  Recover from errors in kdb
1002         commands.  Check that we have reliable longjmp data before using it.
1003
1004         * various: Update return code documentation.
1005
1006         * kdb/kdb_bp.c (kdb_ss): Separate ss and ssb return codes.
1007
1008         * kdb/kdbsupport.c (kdb_ipi): Finer grained algorithm for deciding
1009         whether to call send a stop signal to a cpu.
1010
1011         * arch/i386/kdb/kdba_bp.c (kdba_db_trap): Separate ss and ssb return
1012         codes.  Reinstall delayed software breakpoints per cpu instead of
1013         globally.  Changed algorithm for handling ss[b].
1014
1015         * arch/i386/kdb/kdba_bp.c (kdba_bp_trap): Match software breakpoints per
1016         cpu instead of globally.
1017
1018         * include/linux/kdb.h: Bump version to kdb v1.5.
1019
1020 2000-09-16  Keith Owens  <kaos@melbourne.sgi.com>
1021
1022         * kernel/sysctl.c (kern_table): add /proc/sys/kernel/kdb.
1023
1024         * init/main.c (parse_options): add boot flags kdb=on, kdb=off,
1025         kdb=early.
1026
1027         * include/linux/sysctl.h (enum): add KERN_KDB.
1028
1029         * drivers/char/serial.c (receive_chars): check kdb_on.
1030
1031         * drivers/char/keyboard.c (handle_scancode): check kdb_on.
1032
1033         * arch/i386/kernel/traps.c (nmi_watchdog_tick): check kdb_on.
1034
1035         * arch/i386/config.in: add CONFIG_KDB_OFF.
1036
1037         * Documentation/Configure.help: add CONFIG_KDB_OFF.
1038
1039         * kdb/kdbmain.c: add kdb_initial_cpu, kdb_on.
1040
1041         * kdb/kdbmain.c (kdb): check kdb_on, set kdb_initial_cpu.
1042
1043         * kdb/kdbmain.c (kdb_init): add Keith Owens to kdb banner.
1044
1045         * kdb/kdb_io.c (kdb_printf): serialize kdb_printf output.
1046
1047         * kdb/kdb_bt.c (kdb_bt): check environment variable BTAPROMPT.
1048
1049         * kdb/kdbsupport.c (kdb_ipi): ignore NMI for kdb_initial_cpu.
1050
1051         * kdb/modules/kdbm_pg.c (kdbm_page): merge updates from 2.4.0-test5-xfs.
1052
1053         * kdb/kdb_bt.man: add btp, bta, BTAPROMPT.
1054
1055         * kdb/kdb.mm: add CONFIG_KDB_OFF, boot flags, btp, bta.
1056
1057         * include/linux/kdbprivate.h: add kdb_initial_cpu.
1058
1059         * include/linux/kdb.h: add kdb_on, bump version to kdb v1.4.