Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-kernel
Navigation:
Lists: gentoo-kernel: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-kernel@g.o, spock@g.o
From: Jimmy Jazz <Jimmy.Jazz@...>
Subject: Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
Date: Mon, 11 Jun 2007 23:31:24 +0200

 1.1

 
Hello Spock,

Sorry for the late reply. It becomes an habit :) Anyway, i was busy to
get the early boot script work with splashutils daemon last week end. I
didn't even have too much time to decipher all the possibilities your
program offers. I certainly missed some features it would offer. Also, i
still encountered many difficulties with the daemon and i would like to
discuss about it with you and perhaps even convince you to bring some
modifications to it.


The idea is: - to get a usable environment, even with music (debugging
could be quite long ;), when you are not able to boot the system anymore
(vi, gpm, alias, lvm, mdsetup, vgscan, fsck etc),- to stay full modular
and also - to support any filesystem you want (reiserfs, etc.) before
you even know anything about your drives. Most everything, i still want
to get the system as simple as possible.

In fact, after customising a configuration file that handles icon and
animation pictures, i begin to get in trouble :)

I need the helper after the daemon has stopped (it has displayed a lot
of nice icons before) and when the script switched to the real root file
system. It hides the console when the script will proceed.

As the helper didn't understand services, all the icons are displayed on
the screen and are scrambled with vertical stripes. To get rid of that,
i need to delete all the icon/anim lines in the configuration file. That
is a pity. Indeed, it would certainly be good to add some more options
to the helper to avoid the script to have to modify the configuration
file every time it calls the helper. Indeed, the file cannot contain
pre-declaration of icon/anim directives. Busybox doesn't understand "sed
-i", so you need a temporary file and your script becomes... more
complicated.

About animations, they are looping quite strangely when any other icons
are declared in the configuration file. They are displayed too, whatever
the services they belong to are.

Anyway, i'm quite satisfied with the result. Ash is strong enough to
handle the job well. The script stays readable :)

I tried to intercept the keyboard keys directly from the script as
gentoo baselayout v1 does (interactive mode) but without much success.
When the silent mode is called from the helper or the daemon, the script
doesn't react to the key i pressed, except the Alt-F1 key managed by the
kernel or the F2 key when called from the daemon.  I tried stty in raw
mode too. I will confess, i didn't remember how ttys are handled by the
kernel and who cares ... until you really need them, especially when you
try to call extra keys like F3 or something similar :)

IMHO, letting the script directly handle the keyboard would help to
simplify all the thing, but how ?

Also, you asked me if i have tried baselayout version 2 with splashutils.

In fact, i will certainly never be able to switch to version 2. It is
written mostly in C (and that is a bad idea ;). It isn't flexible enough
whereas a rc bash will always be. In my case, it won't call the critical
services the kernel will need early enough or even in the right order to
help a mdp/lvm boot disk to mount :(.

Believe me, only scripts are able to save the world !

Jj
-- 

            |\      _,,,---,,_
      ZZZzz /,`.-'`'    -.  ;-;;,_
           |,4-  ) )-,_. ,\ (  `'-'
          '---''(_/--'  `-'\_)


*My Two Cents Comment** *
Large increases in cost with questionable increases in performance can
be tolerated only in race horses and women. -- Lord Kelvin
-- 
gentoo-kernel@g.o mailing list


Replies:
Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
-- Daniel Drake
References:
I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
-- Jimmy Jazz
Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
-- Daniel Drake
Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
-- Jimmy Jazz
Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
-- Michal Januszewski
Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
-- Jimmy Jazz
Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
-- Michal Januszewski
Navigation:
Lists: gentoo-kernel: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
Next by thread:
Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage
Previous by date:
Re: Anatomy of the Linux kernel
Next by date:
[ANNOUNCE] genpatches-2.6.21-5 release


May 29, 2008

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.