[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to jump into ddb console from a serial terminal ?
On mercredi, août 1, 2001, at 12:30 , Hugh Graham wrote:
> On Wed, Aug 01, 2001 at 11:30:22AM +0200, Thierry Deval wrote:
>> Hello,
>>
>> I've hooked up my OpenBSD ~current server to a serial connection to be
>> able to remotely see the boot sequence, and to have an other way to get
>> on it in case the network fails (it's not stable anymore, too old)
>>
>> However, related to the 'db3 access hangs OpenBSD 2.9' thread, I'd like
>> to be able to invoke the ddb console from my serial connection. That
>> would really be easier for taking the trace (yeah, I'm lazy)
>>
> Assuming this arch is i386, a line break should do it. Most com programs
> (tip, for instance) will send one if you use the sequence "\n~#".
>
Yep it's i386, sorry, forgot to mention the arch (I was off for too long)
I would have sworn I did try that break sequence to no avail before...
To be sure, I tried this again, same result : the sequence '\n~#' gives
me a ~ and a "break", that is canceling the previous input and offers me
a new input line, whether it's in a shell or at the login prompt.
BTW I have
ddb.panic=0
ddb.console=1
Did anyone manage to do it ?
Do the serial ports need to be configured in a specific way ?
On the server:
--------------
/etc/ttys:
console "/usr/libexec/getty std.38400" vt102 on secure
/etc/boot.conf
set tty com1
stty com1 38400
On the client: (using tip)
--------------
/etc/remote
dragon:\
:dv=/dev/tty00:br#38400:pa=none:
server dmesg attached for who cares :-)
<Attachment missing>
thanks for the help,
Thierry