On Wed, Mar 28, 2012 at 01:02:23PM +0200, Alexander Dahl wrote:
> Am 2012-03-28 12:44, schrieb Michael Olbrich:
> > Which kernel version? systemd uses /sys/class/tty/console/active to
> > determine where to start a getty.
> 
>  $ uname -r
>  2.6.36.4
> 
> (It's planned to upgrade to 3.0.x but we have to port the kernel module
> code for our own hardware first.)

that's the problem. systemd needs at least 2.6.39 to work properly.

>  $ ls /sys/class/tty/console/
>  dev        power      subsystem  uevent

/sys/class/tty/console/active was introduced in a later kernel version.

> > Is "agetty" installed?
> 
> Yes: PTXCONF_UTIL_LINUX_NG_AGETTY=y
> 
>  $ which agetty
>  /sbin/agetty
> 
> >> 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.
> 
> Maybe, at least /sys/class/tty/console/active is missing. I already had
> to activate some kernel stuff for udev before. The kernel config was not
> made by me and I didn't have time to have a close look on it yet. Which
> config options do you refer to?

In this case the kernel is too old. The README in the systemd source tells
you what else is needed.

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
[email protected]

Reply via email to