maemo.org Bugzilla – Bug 1222
getty enabled on /dev/ttyS0 and respawned periodically
Last modified: 2007-12-04 13:28:31 UTC
You need to log in before you can comment on or make changes to this bug.
It seems there is a bug in /etc/init.d/ttyusb0 stript #test if we can read ttyS0, we have serial console if dd of=/dev/ttyS0 count=1 bs=1 if=/dev/zero ; then instead of reading ttyS0, dd creates normal file named ttyS0 in /dev/ with 1 byte lenght. Result is that script enables getty over ttyS0 in /etc/inittab and getty gets respawned periodically by init (since it gets regular file as argument and exits) init tries to respawn it few times in short interval and then pauses for some longer interval so you can't see it with ps everytimes 'ps | grep getty' sometimes prints getty with changing PIDs and sometimes getty is not running at all.
NB#54590
Forgot to mention workaround here, just comment getty over ttyS0 line in /etc/inittab with two # so ttyusb0 does not touch it on boot. ##T0:12345:respawn:/sbin/getty -L ttyS0 115200 vt100
Should be fixed in the latest release.
Internally this ist the same issue as bug 448 i.e. fixed in Bora.