From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SCqMQ-0005Fo-MB for ptxdist@pengutronix.de; Wed, 28 Mar 2012 12:44:14 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SCqMQ-0001Gl-KV for ptxdist@pengutronix.de; Wed, 28 Mar 2012 12:44:14 +0200 Date: Wed, 28 Mar 2012 12:44:14 +0200 From: Michael Olbrich Message-ID: <20120328104414.GE27119@pengutronix.de> References: <71d8b34cb98b8c7d5ae38819cafcfe13@idefix.lespocky.dyndns.org> <20120328092650.GZ27119@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] console_name for systemd based systems Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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