Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 21:38:46 +0100
From:      Arien Vijn <arien.vijn@ams-ix.net>
To:        Arien Vijn <arien.vijn@ams-ix.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Serial console stops working at password prompt
Message-ID:  <324BF7B6-2375-11D8-A8C4-00039364C8C0@ams-ix.net>
In-Reply-To: <D7B25841-2271-11D8-ABC6-00039364C8C0@ams-ix.net>
References:  <D7B25841-2271-11D8-ABC6-00039364C8C0@ams-ix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
FYI, issue has been is solved.

Created a user with a blank password so I would directly start a shell. 
This way I found out that there was a mismatch between 
terminal-settings :-/

Arien


On 29-nov-03, at 14:42PM, Arien Vijn wrote:

> Greetings,
>
> I do have an issue with FreeBSD 5.1-RELEASE (i386) and a serial 
> console. I can see the boot messages, console messages and a login 
> prompt. I can type a username, after that it shows the password prompt 
> and at that point things stop working as expected.
>
> After a while 'ps' shows that the login is the front-process (1059 in 
> the output below) for ttyd0 but it becomes idle regardless any console 
> input:
>
> # ps -ef | grep login
>   483  v0  Is     0:00.02  login [pam] (login)
>  1059  d0  I<s+   0:00.01  login
>
> When I kill the login process the 'getty process' is started as 
> front-process for ttyd0:
>
> # ps -ef | grep ttyd0
>  1085  d0  Ss+    0:00.00  /usr/libexec/getty std.9600 ttyd0
>
> Again the login prompt appears in the terminal connected to the serial 
> console.
>
> ps also shows that the login process raised CPU scheduling priority 
> ('<'). Tests show that this process does that when waiting for a 
> password in a VGA-console. So I guess the login process is waiting for 
> a password but somehow it does not receive anything from the serial 
> port. Hense it becomes idle.
>
> However, console messages (like: "login: Nov 29 21:37:46 cyclone 
> login: ROOT LOGIN (root) ON ttyv1") are redirected fine to the serial 
> console.
>
> Does anyone have an idea what might go wrong here?
>
> Thanks in advance, Arien
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?324BF7B6-2375-11D8-A8C4-00039364C8C0>