[Splashy-devel] Splashy: initramfs done (?)

Tim Dijkstra newsuser at famdijkstra.org
Sun Oct 8 12:49:17 UTC 2006


On Sun, 8 Oct 2006 06:14:26 -0400
Luis <lemsx1 at gmail.com> wrote:

> 
> Tim,
> the reason why Splashy added 90 seconds to your boot process is
> because after S99rc.local the rest of the scripts don't call lsb*
> functions at all. This means the progress will never be set to 100%
> and Splashy never exits, which means that Splashy will timeout
> listening for events after 120 seconds of waiting.

I doubt that is the case. I did some tests a few weeks ago and these 90
sec come from the fact that splashy takes 100% CPU, but only when run
from initramfs... Am I the only one seeing this?

> Now, the reason why splashy takes 100% of the CPU seems to be tied to
> these 3 things:
> 1. keymap.sh
> 2. console-screen.sh
> 3. console switching while Splashy is running

I had these disabled.

> 
> and for the final one, we do not allow chvt's to take place until
> Splashy reaches 100% in the progressbar (according to it's detection
> routines) and Splashy is sent an exit command: splashy_update exit.
> After that I do something like:
> 
> # wait until splashy exits before changing tty's
>                     while `pidof splashy > /dev/null`; do
>                         sleep 0.2
>                     done
>                     # do some magic with the TTYs
>                     if test -z "$CHVT_TTY"; then
>                         CHVT_TTY=1
>                     fi
>                     # detect X, if not, go to CHVT_TTY
>                     X11_RUNNING=0
>                     pidof X > /dev/null && X11_RUNNING=1
>                     if [ $X11_RUNNING -eq 1 ]; then
>                         splashy_chvt 7
>                     else
>                         splashy_chvt $CHVT_TTY
>                     fi
> 
> very basic, and it works.
> 
> I'll upload a package to alioth shortly, and since we have a meeting
> today, we will discuss the release of Splashy 0.2 and inclusion in
> Etch.

I'll see if I can test it. I'm not sure if I can make the meeting tonight.


grts Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/splashy-devel/attachments/20061008/fc883af2/signature.pgp


More information about the Splashy-devel mailing list