* Serial Console
@ 2000-05-09 13:23 Kevin Wood
2000-05-09 14:18 ` Andreas Johansson
2000-05-09 14:57 ` Ivan Kokshaysky
0 siblings, 2 replies; 17+ messages in thread
From: Kevin Wood @ 2000-05-09 13:23 UTC (permalink / raw)
To: axp-list
Hey there everyone, I have a question for you.
I have some machines that we are making headless. They are Up2000
running RH 6.2.
Here's the situation:
In the past, the machines were configured this way....
1. Move securetty to securetty.old to open up security so you can log
into the serial port.
2. Move /dev/console to /dev/console.old and ln -s /dev/ttyS0 console.
This allows output to go to the serial port
3. Comment out all the mingetty lines in /etc/inittab and add a line
stating
7:12345:respawn:/sbin/mgetty -s 9600 -r ttyS0
This worked like a champ and we never had problems....until now...
When the machine first comes up, you can login and do all your stuff.
When you logout is the problem. I am presented with a blank screen.
Before, when you pressed ENTER, you were presented with a login prompt.
Now I get the message
INIT: ID "7" respawning too fast:disabled for 5 minutes
INIT: no more processes left in this runlevel
Does anyone know of a fix for this or does someone know of a better way
to acomplish a headless terminal? Any help would be appreciated.
Kevin Wood
--
Kevin Wood
DCG Computers, Inc./Atipa Linux Solutions
850 East Industrial Park Drive
Suite 8
Manchester, NH 03109
P(603)622-7171 x 15
F(603)622-7272
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: Serial Console
2000-05-09 13:23 Serial Console Kevin Wood
@ 2000-05-09 14:18 ` Andreas Johansson
2000-05-09 14:56 ` David Huggins-Daines
2000-05-09 14:57 ` Ivan Kokshaysky
1 sibling, 1 reply; 17+ messages in thread
From: Andreas Johansson @ 2000-05-09 14:18 UTC (permalink / raw)
To: axp-list
On Tue, 9 May 2000, Kevin Wood wrote:
> Hey there everyone, I have a question for you.
>
> I have some machines that we are making headless. They are Up2000
> running RH 6.2.
>
> Here's the situation:
> In the past, the machines were configured this way....
> 1. Move securetty to securetty.old to open up security so you can log
> into the serial port.
Hmm. Why not add the device to securetty instead?
[root@ymer ajo]# cat /etc/securetty
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
ttyS0
[root@ymer ajo]#
> 2. Move /dev/console to /dev/console.old and ln -s /dev/ttyS0 console.
> This allows output to go to the serial port
I don't think you should do this. My serial console works without doing
it, but then I directly use the /dev/ttyS0 device instead of /dev/console.
> 3. Comment out all the mingetty lines in /etc/inittab and add a line
> stating
>
> 7:12345:respawn:/sbin/mgetty -s 9600 -r ttyS0
>
> This worked like a champ and we never had problems....until now...
>
> When the machine first comes up, you can login and do all your stuff.
> When you logout is the problem. I am presented with a blank screen.
> Before, when you pressed ENTER, you were presented with a login prompt.
> Now I get the message
>
> INIT: ID "7" respawning too fast:disabled for 5 minutes
> INIT: no more processes left in this runlevel
I haven't used mgetty for a long time, but the "normal" getty works well
for getting serial console to a terminal.
> Does anyone know of a fix for this or does someone know of a better way
> to acomplish a headless terminal? Any help would be appreciated.
If you have getty
ajo@ymer ~ >rpm -qf /sbin/getty
getty_ps-2.0.7j-9
ajo@ymer ~ >
this entry in inittab works well for me:
S0:2345:respawn:/sbin/getty ttyS0 DT9600 vt100
The machine in question is a SX164 with AlphaBIOS + milo, where I have
console=ttyS0 as a parameter to the kernel. I am also using RH6.2.
> Kevin Wood
/Andreas
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Serial Console
2000-05-09 14:18 ` Andreas Johansson
@ 2000-05-09 14:56 ` David Huggins-Daines
0 siblings, 0 replies; 17+ messages in thread
From: David Huggins-Daines @ 2000-05-09 14:56 UTC (permalink / raw)
To: axp-list
Andreas Johansson <ajo@wopr.campus.luth.se> writes:
> On Tue, 9 May 2000, Kevin Wood wrote:
> > 2. Move /dev/console to /dev/console.old and ln -s /dev/ttyS0 console.
> > This allows output to go to the serial port
>
> I don't think you should do this. My serial console works without doing
> it, but then I directly use the /dev/ttyS0 device instead of /dev/console.
Indeed, you should not do this for 2.2 kernels. Booting with
"console=ttyS0" on the kernel command line is sufficient.
> > This worked like a champ and we never had problems....until now...
> >
> > When the machine first comes up, you can login and do all your stuff.
> > When you logout is the problem. I am presented with a blank screen.
> > Before, when you pressed ENTER, you were presented with a login prompt.
Obviously something must have changed between then (when it worked)
and now. Do you know what you might have changed?
The "respawning" error usually means that getty is exiting
unexpectedly.
BTW, mingetty works on serial consoles - it's not useful for dialup
lines, but it does okay for null-modem cables. I've used it on RH6.1.
--
David Huggins-Daines, Senior GNU/Linux Consultant, Linuxcare, Inc.
613.562.1239 desk, 613.223.0225 mobile
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Serial Console
2000-05-09 13:23 Serial Console Kevin Wood
2000-05-09 14:18 ` Andreas Johansson
@ 2000-05-09 14:57 ` Ivan Kokshaysky
1 sibling, 0 replies; 17+ messages in thread
From: Ivan Kokshaysky @ 2000-05-09 14:57 UTC (permalink / raw)
To: axp-list
On Tue, May 09, 2000 at 09:23:07AM -0400, Kevin Wood wrote:
> 7:12345:respawn:/sbin/mgetty -s 9600 -r ttyS0
...
> INIT: ID "7" respawning too fast:disabled for 5 minutes
Looks like problem with mgetty - check /var/log/mgetty.log.ttyS0
Ivan.
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: serial console
@ 2001-10-04 11:41 Jemiolo, John
2001-10-04 14:13 ` Nelson Brito
2001-10-04 15:31 ` Michal Jaegermann
0 siblings, 2 replies; 17+ messages in thread
From: Jemiolo, John @ 2001-10-04 11:41 UTC (permalink / raw)
To: axp-list
You should also add--> console=ttyS0
to your boot parameters in /etc/aboot.conf, you do not have to set
baud rate .. it defaults to 9600 on these boxes.. If no graphics card
is present it should default to this... but.......
JJ
-----Original Message-----
From: Jemiolo, John
Sent: Thursday, October 04, 2001 7:30 AM
To: axp-list@redhat.com
Subject: RE: serial console
on my xp1000, it run mingetty on the serial port..
add the following line to /etc/inittab (you will see were, after the
other mingettys are)
add this--> S0:2345:respawn:/sbin/mingetty ttyS0
mingetty will run the console just fine.
Also add to /etc/securetty, the following entry
add this--> ttyS0
This will allow you to login as root through the serial port.
JJ
-----Original Message-----
From: Nelson Brito [mailto:ntbrito@fc.up.pt]
Sent: Thursday, October 04, 2001 6:15 AM
To: RH alpha list
Subject: serial console
Hi,
I have several xp1000 (not for sail) withou video card and
i'd like to have access to them through the serial port.
I compiled a kernel with support for "terminal on serial port",
and tried with an old vt100 terminal but i lost contact after
aboot starts the kernel!!
Can someone help me please!
I have some question related with the machines you sell on this
list: today there was a PWS 500a for $275 US dolars (i think) which
is very cheap... here a PWS 500a would cost something like 10x that!!
I have several xp1000 with 256 MB ram that costed about $5000 US
dolars!!!
Can you please tell me whats going on.
Regards, nelson
_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: serial console
2001-10-04 11:41 serial console Jemiolo, John
@ 2001-10-04 14:13 ` Nelson Brito
2001-10-04 15:31 ` Michal Jaegermann
1 sibling, 0 replies; 17+ messages in thread
From: Nelson Brito @ 2001-10-04 14:13 UTC (permalink / raw)
To: axp-list
Thank you John Jemiolo for all the help.
Regards, nelson
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: serial console
2001-10-04 11:41 serial console Jemiolo, John
2001-10-04 14:13 ` Nelson Brito
@ 2001-10-04 15:31 ` Michal Jaegermann
1 sibling, 0 replies; 17+ messages in thread
From: Michal Jaegermann @ 2001-10-04 15:31 UTC (permalink / raw)
To: axp-list
On Thu, Oct 04, 2001 at 07:41:55AM -0400, Jemiolo, John wrote:
> You should also add--> console=ttyS0
> to your boot parameters in /etc/aboot.conf,
In my experience if you do the above you will not get on screen any
output until some getty runs and you are seeing a login prompt. Logs
are not accessible until you login so if something got stuck earlier you
have a bit of a problem. Therefore if only your SRM redirects, in an
absence of a keyboard/video, to a serial port automatically (at least
some versions are doing that) it is much preferable NOT to do
'console=ttyS0' unless you _really_ have to. Checking SRM variables and
setting output explicitely to 'serial', instead of 'graphics', would be
the first thing I would try if "an automatic method" would not work.
If you have to tell the above your kernel explicitely, and you are
obviously running a getty process on that port, then do not forget to
edit /etc/securetty or root will have some troubles with loging on this
console. :-)
Michal
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: serial console
@ 2001-10-04 11:30 Jemiolo, John
0 siblings, 0 replies; 17+ messages in thread
From: Jemiolo, John @ 2001-10-04 11:30 UTC (permalink / raw)
To: axp-list
on my xp1000, it run mingetty on the serial port..
add the following line to /etc/inittab (you will see were, after the
other mingettys are)
add this--> S0:2345:respawn:/sbin/mingetty ttyS0
mingetty will run the console just fine.
Also add to /etc/securetty, the following entry
add this--> ttyS0
This will allow you to login as root through the serial port.
JJ
-----Original Message-----
From: Nelson Brito [mailto:ntbrito@fc.up.pt]
Sent: Thursday, October 04, 2001 6:15 AM
To: RH alpha list
Subject: serial console
Hi,
I have several xp1000 (not for sail) withou video card and
i'd like to have access to them through the serial port.
I compiled a kernel with support for "terminal on serial port",
and tried with an old vt100 terminal but i lost contact after
aboot starts the kernel!!
Can someone help me please!
I have some question related with the machines you sell on this
list: today there was a PWS 500a for $275 US dolars (i think) which
is very cheap... here a PWS 500a would cost something like 10x that!!
I have several xp1000 with 256 MB ram that costed about $5000 US
dolars!!!
Can you please tell me whats going on.
Regards, nelson
_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 17+ messages in thread
* serial console
@ 2001-10-04 10:15 Nelson Brito
0 siblings, 0 replies; 17+ messages in thread
From: Nelson Brito @ 2001-10-04 10:15 UTC (permalink / raw)
To: RH alpha list
Hi,
I have several xp1000 (not for sail) withou video card and
i'd like to have access to them through the serial port.
I compiled a kernel with support for "terminal on serial port",
and tried with an old vt100 terminal but i lost contact after
aboot starts the kernel!!
Can someone help me please!
I have some question related with the machines you sell on this
list: today there was a PWS 500a for $275 US dolars (i think) which
is very cheap... here a PWS 500a would cost something like 10x that!!
I have several xp1000 with 256 MB ram that costed about $5000 US dolars!!!
Can you please tell me whats going on.
Regards, nelson
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Serial Console
@ 2000-05-09 13:39 Alan Keane
2000-05-09 14:20 ` Andreas Johansson
0 siblings, 1 reply; 17+ messages in thread
From: Alan Keane @ 2000-05-09 13:39 UTC (permalink / raw)
To: axp-list
Hi,
I am using UP2000's over a serial console with the following entry in
my /etc/inittab
0:2345:respawn:/sbin/mingetty ttyS0
Perhaps try replacing your inittab entry with the above, you say it worked,
but now it doesn't, what have you changed on your machine?
Hmmm, a 'which mgetty' or 'man mgetty'
on my machine cannot find such a binary.
Could it be a typo ?
HOTH
Alan Keane
akeane@quadrics.com
-----Original Message-----
From: Kevin Wood <klwood@dcginc.com>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Tuesday, May 09, 2000 2:23 PM
Subject: Serial Console
>Hey there everyone, I have a question for you.
>
>I have some machines that we are making headless. They are Up2000
>running RH 6.2.
>
>Here's the situation:
>In the past, the machines were configured this way....
>1. Move securetty to securetty.old to open up security so you can log
>into the serial port.
>2. Move /dev/console to /dev/console.old and ln -s /dev/ttyS0 console.
>This allows output to go to the serial port
>3. Comment out all the mingetty lines in /etc/inittab and add a line
>stating
>
> 7:12345:respawn:/sbin/mgetty -s 9600 -r ttyS0
>
>This worked like a champ and we never had problems....until now...
>
>When the machine first comes up, you can login and do all your stuff.
>When you logout is the problem. I am presented with a blank screen.
>Before, when you pressed ENTER, you were presented with a login prompt.
>Now I get the message
>
>INIT: ID "7" respawning too fast:disabled for 5 minutes
>INIT: no more processes left in this runlevel
>
>Does anyone know of a fix for this or does someone know of a better way
>to acomplish a headless terminal? Any help would be appreciated.
>
>Kevin Wood
>
>--
>Kevin Wood
>DCG Computers, Inc./Atipa Linux Solutions
>850 East Industrial Park Drive
>Suite 8
>Manchester, NH 03109
>P(603)622-7171 x 15
>F(603)622-7272
>
>
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Serial Console
2000-05-09 13:39 Serial Console Alan Keane
@ 2000-05-09 14:20 ` Andreas Johansson
0 siblings, 0 replies; 17+ messages in thread
From: Andreas Johansson @ 2000-05-09 14:20 UTC (permalink / raw)
To: Alan Keane; +Cc: Red Hat Alpha mailing list
On Tue, 9 May 2000, Alan Keane wrote:
> Hi,
>
> I am using UP2000's over a serial console with the following entry in
> my /etc/inittab
>
> 0:2345:respawn:/sbin/mingetty ttyS0
>
> Perhaps try replacing your inittab entry with the above, you say it worked,
> but now it doesn't, what have you changed on your machine?
man mingetty says:
DESCRIPTION
mingetty is a minimal getty for use on virtual consoles.
Unlike agetty(8), mingetty is not suitable for serial
lines. I recommend using mgetty(8) for this purpose.
So, mingetty cannot be used to establish a serial console.
> Hmmm, a 'which mgetty' or 'man mgetty'
> on my machine cannot find such a binary.
Maybe you haven't installed the mgetty rpm?
> Could it be a typo ?
>
> HOTH
> Alan Keane
> akeane@quadrics.com
/Andreas
^ permalink raw reply [flat|nested] 17+ messages in thread
* Serial Console
@ 1999-04-16 4:51 Simon Shapiro
1999-04-16 16:28 ` Matthew Jacob
0 siblings, 1 reply; 17+ messages in thread
From: Simon Shapiro @ 1999-04-16 4:51 UTC (permalink / raw)
To: axp-list
I am SURE this was asked and answered before. Especially on this list:
Aside from setting the kernel option for serial console, what else
needs to be done? I tried anything I could think of with little
success. Other O/S boot with serial console on the same hardware, so
it is me who screws up. But how?
Sincerely Yours, Shimon@Simon-Shapiro.ORG
770.265.7340
Simon Shapiro
Unwritten code has no bugs and executes at twice the speed of mouth
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: Serial Console
1999-04-16 4:51 Simon Shapiro
@ 1999-04-16 16:28 ` Matthew Jacob
1999-04-16 21:09 ` Albrecht Jacobs
0 siblings, 1 reply; 17+ messages in thread
From: Matthew Jacob @ 1999-04-16 16:28 UTC (permalink / raw)
To: Simon Shapiro; +Cc: axp-list
On Fri, 16 Apr 1999, Simon Shapiro wrote:
> I am SURE this was asked and answered before. Especially on this list:
>
> Aside from setting the kernel option for serial console, what else
> needs to be done? I tried anything I could think of with little
> success. Other O/S boot with serial console on the same hardware, so
> it is me who screws up. But how?
>
Always append serial to the boot line unless you've set it in aboot.conf.
Make sure you have a correct /dev/console set up- char 5,1 I believe, and
make sure inittab invokes a getty for it. Oh yeah, make sure you've
configured a kernel that has serial console enabled- some of the RH
distributions don't have them enabled.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Serial Console
1999-04-16 16:28 ` Matthew Jacob
@ 1999-04-16 21:09 ` Albrecht Jacobs
1999-04-16 23:17 ` Matthew Jacob
0 siblings, 1 reply; 17+ messages in thread
From: Albrecht Jacobs @ 1999-04-16 21:09 UTC (permalink / raw)
To: Matthew Jacob; +Cc: axp-list
On Fri, 16 Apr 1999, Matthew Jacob wrote:
>
> On Fri, 16 Apr 1999, Simon Shapiro wrote:
>
> > I am SURE this was asked and answered before. Especially on this list:
> >
> > Aside from setting the kernel option for serial console, what else
> > needs to be done? I tried anything I could think of with little
> > success. Other O/S boot with serial console on the same hardware, so
> > it is me who screws up. But how?
Did you set 'console=/dev/ttyS0' as boot parameter?
Albrecht (who owns an old vt220 capable terminal)
+-------------------------------------------------------------------------+
| cand. aer. Albrecht Jacobs CAAD-Labor des SI |
| Systembetreuung Universit"at Stuttgart |
| |
| Liegeradgruppe Stuttgart |
| O__ http://www.architektur.uni-stuttgart.de:1200/users/aj/lieger |
| \\_/\-o |
| (+) O Albrecht.Jacobs@klee.architektur.uni-stuttgart.de |
+-------------------------------------------------------------------------+
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Serial Console
1999-04-16 21:09 ` Albrecht Jacobs
@ 1999-04-16 23:17 ` Matthew Jacob
0 siblings, 0 replies; 17+ messages in thread
From: Matthew Jacob @ 1999-04-16 23:17 UTC (permalink / raw)
To: axp-list
The questioner was simon, not me.
On Fri, 16 Apr 1999, Albrecht Jacobs wrote:
> On Fri, 16 Apr 1999, Matthew Jacob wrote:
>
> >
> > On Fri, 16 Apr 1999, Simon Shapiro wrote:
> >
> > > I am SURE this was asked and answered before. Especially on this list:
> > >
> > > Aside from setting the kernel option for serial console, what else
> > > needs to be done? I tried anything I could think of with little
> > > success. Other O/S boot with serial console on the same hardware, so
> > > it is me who screws up. But how?
>
> Did you set 'console=/dev/ttyS0' as boot parameter?
>
> Albrecht (who owns an old vt220 capable terminal)
>
> +-------------------------------------------------------------------------+
> | cand. aer. Albrecht Jacobs CAAD-Labor des SI |
> | Systembetreuung Universit"at Stuttgart |
> | |
> | Liegeradgruppe Stuttgart |
> | O__ http://www.architektur.uni-stuttgart.de:1200/users/aj/lieger |
> | \\_/\-o |
> | (+) O Albrecht.Jacobs@klee.architektur.uni-stuttgart.de |
> +-------------------------------------------------------------------------+
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Serial Console
@ 1998-03-26 20:18 Philippe Girolami
0 siblings, 0 replies; 17+ messages in thread
From: Philippe Girolami @ 1998-03-26 20:18 UTC (permalink / raw)
To: axp-list
Hello
> How would I go about adding support for a serial console into the kernel?
> SRM and MILO see the terminal (9600 bps, 8N1) on COM1, but when I boot
the
> kernel, I lose interactivity. The host is a PC164LX. TIA,
Yep, had the same problem not long ago on an alphastation200, but I suppose
it
would be the same for any linux system.
try adding the following entry to your /etc/inittab:
con1:2345:respawn:/sbin/getty ttyS0 console vt100
con2:2345:respawn:/sbin/getty ttyS1 console vt100
Oh, and recompile your kernel to add serial support ! It asks two things
about serial:
something about modems (decide wether you need it or not...) and something
else
that is what you're looking for (can't remember the exact wording ).
Philippe Girolami
Ecole Centrale de Lille, France
Student LAN admin
http:/www2.ec-lille.fr/~rezoleo/
^ permalink raw reply [flat|nested] 17+ messages in thread
* Serial Console
@ 1998-03-26 20:15 Tim Buller
0 siblings, 0 replies; 17+ messages in thread
From: Tim Buller @ 1998-03-26 20:15 UTC (permalink / raw)
To: axp-list
How would I go about adding support for a serial console into the kernel?
SRM and MILO see the terminal (9600 bps, 8N1) on COM1, but when I boot the
kernel, I lose interactivity. The host is a PC164LX. TIA,
Tim
====
Tim Buller buller@math.ukans.edu
Systems Specialist Snow Hall 643, (785) 864-7311
Department of Mathematics University of Kansas, Lawrence, KS 66045
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2001-10-04 15:31 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-09 13:23 Serial Console Kevin Wood
2000-05-09 14:18 ` Andreas Johansson
2000-05-09 14:56 ` David Huggins-Daines
2000-05-09 14:57 ` Ivan Kokshaysky
-- strict thread matches above, loose matches on Subject: below --
2001-10-04 11:41 serial console Jemiolo, John
2001-10-04 14:13 ` Nelson Brito
2001-10-04 15:31 ` Michal Jaegermann
2001-10-04 11:30 Jemiolo, John
2001-10-04 10:15 Nelson Brito
2000-05-09 13:39 Serial Console Alan Keane
2000-05-09 14:20 ` Andreas Johansson
1999-04-16 4:51 Simon Shapiro
1999-04-16 16:28 ` Matthew Jacob
1999-04-16 21:09 ` Albrecht Jacobs
1999-04-16 23:17 ` Matthew Jacob
1998-03-26 20:18 Philippe Girolami
1998-03-26 20:15 Tim Buller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox