Bug 8374

Summary: 'INIT: Id "S1" respawning too fast: disabled for 5 minutes' message clogs console on qemux86
Product: [Build System, Metadata & Runtime] BSPs Reporter: Maxin B. John <maxin.john>
Component: bsps-oe-coreAssignee: Randy Witt <randy.e.witt>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: High CC: randy.e.witt
Version: 1.8   
Target Milestone: 2.0   
Hardware: Other   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Maxin B. John 2015-09-22 16:21:14 UTC
This message continue to occur in "core-image-minimal" image for qemux86 

(git branch: master) 

#runqemu qemux86 core-image-minimal nographic
...
Poky (Yocto Project Reference Distro) 1.8+snapshot-20150918 qemux86 /dev/ttyS0

qemux86 login: root
root@qemux86:~# 

INIT: Id "S1" respawning too fast: disabled for 5 minutes
INIT: Id "S1" respawning too fast: disabled for 5 minutes


The corresponding entry in inittab
# cat /etc/inittab
..
S1:12345:respawn:/sbin/getty -L 115200 ttyS1
...

# ls -la /dev/ttyS1
crw--w----    1 root     root        4,  65 Sep 22 11:09 /dev/ttyS1

# uname -a
Linux qemux86 4.1.6-yocto-standard #1 SMP PREEMPT Fri Sep 18 11:54:12 EEST 2015 i686 GNU/Linux


This entry (/dev/ttyS1) in inittab is created due to this commit:
# git show fd164dcc

commit fd164dcc31aa6c60e9834036a7cfcea5411daa3d
Author: Randy Witt <randy.e.witt@linux.intel.com>
Date:   Thu Aug 20 13:01:25 2015 -0700

   qemurunner: Use two serial ports and log console with a thread
Comment 1 Maxin B. John 2015-09-22 17:03:18 UTC
Same problem occurs in "qemux86-64" as well:
Comment 3 Maxin B. John 2015-10-01 08:30:30 UTC
Verified the fix on qemux86 and qemuppc.