kldload dcons will fail for the GENERIC Kernel, because the gdb_cur symbol is missing. The module Makefile unconditionally defines KDB and ALT_BREAK_TO_DEBUGGER /sys/modules/dcons/Makefile: opt_ddb.h: echo "#define KDB 1" > $@ opt_comconsole.h: echo "#define ALT_BREAK_TO_DEBUGGER 1" > $@ Therefore, on kldload you get: kernel: link_elf: symbol gdb_cur undefined This leads to dconschat(8) becomes useless without recompiling the kernel. Fix: Remove those two 'echo defines' from the Makefile, rebuild the module, dconschat(8) starts working! :) I don't know if this is the right fix however. Is KDB needed on the _client_ to debug the _servers_ Kernel via dconschat? How-To-Repeat: Boot GENERIC, kldload dcons
Responsible Changed From-To: freebsd-bugs->freebsd-firewire over to firewire Mailinglist
It's not a bug, please carefully read man pages of dcons and dconschat agai= n. In your situation, you should build kernel by new way, it is described in handbook. If you want to use dconschat to debug remote machine, just use it, you don't need dcons module on local machine. There is a good example in man page of dconschat. If you really do want to use dcons module, you should need these debug options, because you want to debug the kernel, locally or remotely:), I think most of developers use dcons as debug purpose. BR Cai, Quanqing
submitter's email address is invalid, please close this PR, it's not a bug. On 11/24/05, Cai, Quanqing <caiquanqing@gmail.com> wrote: > It's not a bug, please carefully read man pages of dcons and dconschat ag= ain. > > In your situation, you should build kernel by new way, it is described > in handbook. > > If you want to use dconschat to debug remote machine, just use it, you > don't need dcons module on local machine. There is a good example in > man page of dconschat. > > If you really do want to use dcons module, you should need these debug > options, because you want to debug the kernel, locally or remotely:), > I think most of developers use dcons as debug purpose. > > BR > Cai, Quanqing >
State Changed From-To: open->closed Later respondant notes that this is by design, and submitter's email address now bounces.