Bug 3904 - psplash: splash screen does not go away when booting into runlevel 3
Summary: psplash: splash screen does not go away when booting into runlevel 3
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4 M6
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-02-18 15:20 UTC by Stoicescu Cornel
Modified: 2013-04-19 07:57 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2013-02-18 15:20:49 UTC
build: master:3ec4df57540421df2cda6b83c615bfb7cebccefd
Environment tested on: NUC

When booting into runlevel 3, the splash screen does not go away and the loading bar stays at 99%. This gives the impression of a hang.

If I remember correctly, this happens on the majority of BSPs (example: Crownbay, Sugarbay)
Comment 1 Chen Qi 2013-03-27 08:07:05 UTC
The root cause is in the rc script.

#Uncomment to cause psplash to exit manually, otherwise it exits when it sees a VC switch 
if [ "x$runlevel" != "xS" ] && [ ! -x /etc/init.d/xserver-nodm ]; then
    if type psplash-write >/dev/null 2>&1; then
        TMPDIR=/mnt/.psplash psplash-write "QUIT" || true
        umount /mnt/.psplash
    fi
fi

So psplash doesn't exit even when xserver-nodm is not started, for example, at runlevel 3.

I changed it to:
if [ "x$runlevel" != "xS" ] && [ ! -x /etc/rc${runlevel}.d/S??xserver-nodm ]; then
Comment 2 Chen Qi 2013-03-29 09:41:37 UTC
merged into poky/master: f9a92d9534e4fbb8d912c5e8fba8fb6e96286601

http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=70b14f1c4181d820e56e67f4a5d921905094dc62
Comment 3 Ke Zou 2013-04-19 07:57:27 UTC
verified in 
image
http://autobuilder.yoctoproject.org/pub/nightly/20130403-2

master:fe336b149552b1f4f24d979c40302653298b98cc

running on qemu platform,  all YOCTO-PROJECT splash disappeared when runlevel = 3