mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] console_name for systemd based systems
Date: Wed, 28 Mar 2012 12:44:14 +0200	[thread overview]
Message-ID: <20120328104414.GE27119@pengutronix.de> (raw)
In-Reply-To: <f4d69f1661ae7d7d8959e815a11d3ba5@idefix.lespocky.dyndns.org>

Hi,

On Wed, Mar 28, 2012 at 12:25:40PM +0200, Alexander Dahl wrote:
> Am 2012-03-28 11:26, schrieb Michael Olbrich:
> > I've never needed that with systemd. By default systemd will add such a
> > dependency for the tty the kernel uses for it's output. So if you boot with
> > "console=/dev/ttyS0" in the kernel commandline you should get a getty on
> > ttyS0.
> 
> I didn't get a serial getty without the symlink mentioned. The cmdline
> is (shortened):
> 
>  $ cat /proc/cmdline
>  console=ttyS0,115200
> 
> The kernel does output to the serial console, I see all boot messages,
> but I do not have a getty then. So maybe systemd does not recognize this
> parameter format. I will play a little with the bootloader later to see
> if that's the case.

Which kernel version? systemd uses /sys/class/tty/console/active to
determine where to start a getty.

Is "agetty" installed?

> On the other hand I have still problems with systemd-logind, maybe this
> prevents correct loading. Do you have special settings for this one?

No, but it's possible that you're missing some necessary kernel config
options.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-03-28 10:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28  9:09 Alexander Dahl
2012-03-28  9:26 ` Michael Olbrich
2012-03-28 10:25   ` Alexander Dahl
2012-03-28 10:44     ` Michael Olbrich [this message]
2012-03-28 11:02       ` Alexander Dahl
2012-03-28 11:10         ` Michael Olbrich
2012-03-28 11:27           ` Alexander Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120328104414.GE27119@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox