[uClibc] getty: ttyS4: read: Inappropriate ioctl for device

Stephan Henningsen sth at amplex.dk
Mon Jul 25 11:58:25 UTC 2005


Hi,

This is not directly uClibc specific.  But moved the start-up of getty 
out of inittab and into a homemade /etc/init.d/S50getty:

#!/bin/sh
#
# Put a getty on the debug console serial port.

/usr/sbin/respawn /sbin/getty -L ttyS4 115200 vt100



Respawn is a simple script that respawns getty when it exits.  When 
the rc50getty is invoked during start, it fails with this error in the 
log:

Jan  1 00:00:22 (none) kern.err getty: ttyS4: read: Inappropriate 
ioctl for device

Later the respawner starts getty successfully.  What's wrong?

-- 
Stephan Henningsen



More information about the uClibc mailing list