Hello, I now have a 2.6.6 kernel with kdb; were I can verify that vmlinux has kdb symbols with nm. My kdb .config options are: CONFIG_FRAME_POINTER=y # CONFIG_4KSTACKS is not set CONFIG_KDB=y # CONFIG_KDB_MODULES is not set # CONFIG_KDB_OFF is not set CONFIG_KDB_CONTINUE_CATASTROPHIC=0 However, when I boot and get the getty prompt, Ctrl-A has no effect. This is straight from the penguin 2.6.6 + kdb patches referenced below. I tried this both with default VGA console and redirected to a serial port with getty enabled. There was some thought of changing the entry key at one time because Ctrl-A conflicts with emacs/shell editing, but I haven't seen any reference in the documentation and web site for this change. Any thoughts? Alan --- Keith Owens <kaos at sgi.com> wrote: > On Thu, 24 Jun 2004 13:56:40 -0700 (PDT), > Alan Jones <jonesmenlopark at yahoo.com> wrote: > >Howdy, > >I'm trying to apply kdb-v4.4-2.6.6-common-2 and kdb-v4.4-2.6.6-i386-2 to the generic > >2.6.6 kernel. The first thing I notice is that 'make oldconfig' does not prompt for > >KDB related CONFIG_* options as it has for prior 2.4 kernel versions I've used before. > > You have to turn on CONFIG_DEBUG_KERNEL in 2.6 to get most of the > kernel debug features. > > >So, I add the following lines to .config: > >CONFIG_KDB=y > >CONFIG_KDB_MODULES=n > >CONFIG_KDB_OFF=n > >CONFIG_KALLSYMS=y > >CONFIG_FRAME_POINTER=y > >Then I get the following compile error: > >kdb/kdbmain.c:1671: error: parse error before numeric constant > >kdb/kdbmain.c:1674: error: `reason' undeclared here (not in a function) > >kdb/kdbmain.c:1678: error: parse error before '&' token > >kdb/kdbmain.c:1678: warning: type defaults to `int' in declaration of `atomic_inc' > >kdb/kdbmain.c:1678: warning: function declaration isn't a prototype > >kdb/kdbmain.c:1678: error: conflicting types for `atomic_inc' > > After manually changing .config, you must run make oldconfig again. > Your config file and the kernel build are out of sync. If you had run > make oldconfig, all the KDB options would have disappeared again, > because DEBUG_KERNEL was not on. > > Edit .config. delete the CONFIG_DEBUG_KERNEL line, make oldconfig. > That will prompt you and give you a clean build. > > Ignore these warnings, they are fixed in 2.6.7-bk. > > kdb/kdbsupport.c: In function `kdb_task_state_char': > kdb/kdbsupport.c:918: warning: passing arg 1 of `task_curr' discards qualifiers from pointer > target type > kdb/kdbmain.c: In function `kdb_ps_suppressed': > kdb/kdbmain.c:2972: warning: passin __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail --------------------------- Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.