Subject: Re: serial console login
To: Dancho Penev <dpenev@mail.bg>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 05/11/2003 10:34:50
On Sun, 11 May 2003, Dancho Penev wrote:

> I have a strange problem with NetBSD-1.5.2 and serial console logins:
> If I use GENERIC kernel that came with distribution I can login on serial
> console without any problems, but if I use any custom compiled kernel,
> even GENERIC on serial console are printed only kernel messages and nothing
> else.
> Any ideas what I missing?

It's not clear to me why the GENERIC kernel you compile should be any
different than the GENERIC kernel that came with the distribution. Are
you sure you have the 1.5.2 sources?

Can you get a shell in single-user mode? If yes, it's only the getty,
not the kernel as such. Try editing "/etc/ttys" to turn the console
off, and the correct serial port on. The magic "console" device is
nice in that it just works for new installs no matter what type of
console you have, but there's more to go wrong, so it makes sense to
get it out of the picture.

Frederick