Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Login problem on a serial console
@ 2001-05-01  9:42 Carsten Langgaard
  2001-05-01  9:57 ` Klaus Naumann
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Langgaard @ 2001-05-01  9:42 UTC (permalink / raw)
  To: linux-mips

I have just upgraded my kernel sources from 2.4.1 to the latest 2.4.3
sources, but after doing that I can't login on my serial console. It get
all the way up to the login prompt, but nothing happens when I try to
press a key.  So I figure that the serial line worked one way.
I have tried using a single shell (booted with "init=/bin/sh") and that
seemed to work fine, so I guess the serial driver works fine.

I'm running on both an Atlas and a Malta board, both seem to have the
same problem.
Has anyone any ideas ?

/Carsten


--
_    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
                   Denmark             http://www.mips.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Login problem on a serial console
  2001-05-01  9:42 Login problem on a serial console Carsten Langgaard
@ 2001-05-01  9:57 ` Klaus Naumann
  2001-05-01 10:19   ` Carsten Langgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Klaus Naumann @ 2001-05-01  9:57 UTC (permalink / raw)
  To: Carsten Langgaard; +Cc: linux-mips

On Tue, 1 May 2001, Carsten Langgaard wrote:

> I have just upgraded my kernel sources from 2.4.1 to the latest 2.4.3
> sources, but after doing that I can't login on my serial console. It get
> all the way up to the login prompt, but nothing happens when I try to
> press a key.  So I figure that the serial line worked one way.
> I have tried using a single shell (booted with "init=/bin/sh") and that
> seemed to work fine, so I guess the serial driver works fine.
> 
> I'm running on both an Atlas and a Malta board, both seem to have the
> same problem.
> Has anyone any ideas ?

I think this has something to do with the fixes Bachus commited
lately. I think he changed something which made some getty's
not work anymore. Can you try an other getty ?

		Klaus

-- 
Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
Nickname    : Spock             | Org.: Mad Guys Network
Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
PGP Key     : www.mgnet.de/keys/key_spock.txt

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Login problem on a serial console
  2001-05-01  9:57 ` Klaus Naumann
@ 2001-05-01 10:19   ` Carsten Langgaard
  2001-05-05  0:31     ` Ralf Baechle
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Langgaard @ 2001-05-01 10:19 UTC (permalink / raw)
  To: Klaus Naumann; +Cc: linux-mips

Klaus Naumann wrote:

> On Tue, 1 May 2001, Carsten Langgaard wrote:
>
> > I have just upgraded my kernel sources from 2.4.1 to the latest 2.4.3
> > sources, but after doing that I can't login on my serial console. It get
> > all the way up to the login prompt, but nothing happens when I try to
> > press a key.  So I figure that the serial line worked one way.
> > I have tried using a single shell (booted with "init=/bin/sh") and that
> > seemed to work fine, so I guess the serial driver works fine.
> >
> > I'm running on both an Atlas and a Malta board, both seem to have the
> > same problem.
> > Has anyone any ideas ?
>
> I think this has something to do with the fixes Bachus commited
> lately. I think he changed something which made some getty's
> not work anymore. Can you try an other getty ?

I tried another getty and that seem to work, thanks.
Do you know what break things, so I could redo Bachus fixes ?

>
>                 Klaus
>
> --
> Full Name   : Klaus Naumann     | (http://www.mgnet.de/) (Germany)
> Nickname    : Spock             | Org.: Mad Guys Network
> Phone / FAX : ++49/177/7862964  | E-Mail: (spock@mgnet.de)
> PGP Key     : www.mgnet.de/keys/key_spock.txt

--
_    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
                   Denmark             http://www.mips.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Login problem on a serial console
  2001-05-01 10:19   ` Carsten Langgaard
@ 2001-05-05  0:31     ` Ralf Baechle
  0 siblings, 0 replies; 4+ messages in thread
From: Ralf Baechle @ 2001-05-05  0:31 UTC (permalink / raw)
  To: Carsten Langgaard; +Cc: Klaus Naumann, linux-mips

On Tue, May 01, 2001 at 12:19:52PM +0200, Carsten Langgaard wrote:

> > I think this has something to do with the fixes Bachus commited
> > lately. I think he changed something which made some getty's
> > not work anymore. Can you try an other getty ?
> 
> I tried another getty and that seem to work, thanks.
> Do you know what break things, so I could redo Bachus fixes ?

Bacchus is angry about your misspelling of his name and punishes you
by el cheapo vine not under 5l ;-)

It's a change in the architecture independant code of the kernel which
result in the kernel initializing the serial tty with the CREAD flag
cleared.  mingetty doesn't do a fully initialization of the terminal
but getty (from getty_ps) or mgetty do, so they work.

I'd consider that two bugs, one in the kernel and one in mingetty.  It
means a user can messup terminal settings so completly that logging off
wouldn't fix things but only root intervention or reboot.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-05-05  0:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-01  9:42 Login problem on a serial console Carsten Langgaard
2001-05-01  9:57 ` Klaus Naumann
2001-05-01 10:19   ` Carsten Langgaard
2001-05-05  0:31     ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox