[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclibc
Subject:    [uClibc] getty: ttyS4: read: Inappropriate ioctl for device
From:       sth () amplex ! dk (Stephan Henningsen)
Date:       2005-07-25 5:58:58
Message-ID: 42E4D3E1.8090607 () amplex ! dk
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic