[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Serial Console Blues
- To: haim(at-nospam)hageltech.com
- Subject: Re: Serial Console Blues
- From: Yedidya Bar-david <didi(at-nospam)tau.ac.il>
- Date: Thu, 17 May 2001 12:33:08 +0300
- Cc: Linux-Il <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <ALEKLLALJPJNOIBGNHAAIEBECCAA.rnews@hageltech.com>; from rnews@hageltech.com on Thu, May 17, 2001 at 11:43:51AM +0300
- References: <ALEKLLALJPJNOIBGNHAAIEBECCAA.rnews@hageltech.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2i
Hi
On Thu, May 17, 2001 at 11:43:51AM +0300, Haim Gelfenbeyn wrote:
>
>
> -----Original Message-----
> From: Haim Gelfenbeyn [mailto:haim@invircible.co.il]
> Sent: Thursday, May 17, 2001 11:41 AM
> To: Linux-Il
> Subject: Serial Console Blues
>
>
> Hello,
> My Linux box does not have any video/keyboard/mouse, its connected to
> other management machine with serial cable. I have two problems with
> this setup:
>
> 1. Some daemon programs that run in init. scripts write to STDERR on
> critical errors, etc. If management machine is down, it looks that
> write to /dev/console blocks, therefore these programs hung. Am I
> correct here, and can I do anything about it?
I tried a bit, and never made it to work. My solution was simply
to make /dev/console a softlink to /dev/ttySx. This worked like
a charm, but I had to recreate it (mknod /dev/console c 5 1) when
I went back to KVM console.
>
> 2. I experienced a few mysterious crashes lately, and want to send
> "MagicKey" over serial console next time that machine crashes.
> /usr/src/linux/Documentation/sysrq.txt says: "send a BREAK, then
> within 5 seconds a command key. Sending BREAK twice is interpreted as
> a normal BREAK.". Question is, what is BREAK and how I send it from
> SecureCRT on Windows or other Windows terminal program?
Searching in google for "break signal" will provide an answer.
I don't know about SecureCRT. In minicom (under linux) you can press
"C-a f". Most serious communication programs should provide that somehow.
>
> Thanks,
> Haim.
>
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
didi
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il