On Sat, 6 Jul 2002 02:02:11 +0200,
David Douard <[EMAIL PROTECTED]> wrote:
>I'm not on the list so please CC me back.
>
>I'm using a 2.4.18 kernel (on a PIII (compaq Evo N150)) with latest ACPI
>patches (well this is why I need kdb... there is a acpi kdb module).
>
>I finally could compile everything, and when I hit the pause key, I go to kdb.
>It's fine BUT none standard commands are recognized !
kdb is initialised by this fragment in init/main.c. Did you get a
reject on this bit of the patch?
@@ -596,6 +628,13 @@ asmlinkage void __init start_kernel(void
kmem_cache_sizes_init();
pgtable_cache_init();
+#ifdef CONFIG_KDB
+ kdb_init();
+ if (KDB_FLAG(EARLYKDB)) {
+ KDB_ENTER();
+ }
+#endif /* CONFIG_KDB */
+
#ifdef CONFIG_PERFMON
perfmon_init();
#endif
>And then can I do debug printk in it ? (the awful debug method).
Do not use printk inside kdb, use kdb_printf. The printk() output
service is disabled while kdb is running (no interrupts), kdb_printf
uses polled I/O mode.