AW: getty: setsid: Operation not permitted on busybox v1.20.2

Priebe, Sebastian Sebastian.Priebe at cadcon.de
Fri Aug 17 09:39:13 UTC 2012


-----Ursprüngliche Nachricht-----
Von: Johannes Stezenbach [mailto:js at sig21.net]
Gesendet: Freitag, 17. August 2012 11:20
An: Priebe, Sebastian
Cc: Denys Vlasenko; busybox at busybox.net
Betreff: Re: getty: setsid: Operation not permitted on busybox v1.20.2

On Fri, Aug 17, 2012 at 06:29:10AM +0000, Priebe, Sebastian wrote:
> i tried:
> ::shutdown:/bin/umount -a -r
> ::restart:/sbin/init
> ::sysinit:/etc/init.d/rcS
> ::respawn:/sbin/getty 921600 tty1
> But that locks my system after boot.
> The last message is: starting pid 1092, tty: '': 'getty 921600 tty1'.
> After that message I see nothing. No prompt, no login, nothing. And my system is locked.
> Any help appreciated.
>
>Well, maybe you should tell us more about your system.
>I assume it is an industrial PC?  Or some embedded system with serial console? (I wonder about the 921600 baud rate) Check /proc/devices. Check dmesg for messages about "console".
>check the device nodes in /dev.
>(BTW, if you working on a live system you can recover by booting with "init=/bin/sh")

I am working on an embedded system with an MX35 CPU.
The baud rate 921600 is correct. We use USB.
I usually recover from a broken system by flashing a new rootfs to the device.
We use U-Boot as bootloader and Linux 3.2.x kernels (with many adaption for our hardware).

Do I need to activate "CONFIG_LOGIN_SESSION_AS_CHILD" in busybox?

>Johannes


---------------------------------------------------------------------------
 +++ Willkommen bei CADCON auf der ILA Berlin Air Show +++
  11.-16.09.2012, ExpoCenter Airport, Halle 2, Stand 2204
---------------------------------------------------------------------------

CADCON
Ingenieurgesellschaft mbH & Co. KG
Geschaeftsfuehrer: Robert Bauer, Andreas Gundel
Sitz der Gesellschaft: 86368 Gersthofen
Registergericht: Amtsgericht Augsburg HRA 14521



More information about the busybox mailing list