Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2006 10:50:14 +0200
From:      Niki Denev <nike_d@cytexbg.com>
To:        stable@freebsd.org
Subject:   manual escape to debugger on serial console not working?
Message-ID:  <200601261050.15049.nike_d@cytexbg.com>

next in thread | raw e-mail | index | archive | help
Hello,

While investigating a problem with one server i 
installed a serial console on it.
The machine has a supermicro board with console redirection enabled
on the same port, and everything seems ok, i.e. when the machine panics
i get a debugger on the serial console, but when i try to manually escape
to the debugger with BREAK (~#) i get this on the screen :
The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cfd -1)

Manual enter to the debugger works only if i go physically  to the
keyboard and do a CTRL-ALT-ESC, 
then i get KDB: enter: manual escape to debugger on the serial console.


i have this added to my kernel conf :
options  BREAK_TO_DEBUGGER
options  KDB
options  DDB

and this in /boot/loadaer.conf :
console=comconsole

Maybe the fact that there is physically attached keyboard interferes with the 
serial console?


Regards,
Niki Denev



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601261050.15049.nike_d>