From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HxrUv-000614-QS for garchives@archives.gentoo.org; Mon, 11 Jun 2007 21:32:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l5BLVSY2029433; Mon, 11 Jun 2007 21:31:28 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l5BLVRvI029428 for ; Mon, 11 Jun 2007 21:31:27 GMT Received: (qmail invoked by alias); 11 Jun 2007 21:31:27 -0000 Received: from AStrasbourg-253-1-80-104.w90-26.abo.wanadoo.fr (EHLO [192.168.1.10]) [90.26.231.104] by mail.gmx.net (mp043) with SMTP; 11 Jun 2007 23:31:27 +0200 X-Authenticated: #276141 X-Provags-ID: V01U2FsdGVkX1/1fEYlGtj15O6302n9Pb4JEzbolQ83bBD5OQA85i nVnyC1U1JvQi6Y Message-ID: <466DBF2C.1040508@gmx.net> Date: Mon, 11 Jun 2007 23:31:24 +0200 From: Jimmy Jazz User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.8.1.3) Gecko/20070517 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-kernel@gentoo.org Reply-to: gentoo-kernel@lists.gentoo.org MIME-Version: 1.0 To: gentoo-kernel@lists.gentoo.org, spock@gentoo.org Subject: Re: [gentoo-kernel] I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage References: <45FFB9FC.4000209@gmx.net> <46184BDD.2010708@gentoo.org> <461BA6BE.4090509@gmx.net> <20070411093231.GA26586@spock.one.pl> <465EE88C.7030100@gmx.net> <20070602205002.GC12155@spock.one.pl> In-Reply-To: <20070602205002.GC12155@spock.one.pl> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Archives-Salt: c304879f-a0cc-4d42-a448-e906bb4269b9 X-Archives-Hash: 1a922a52b490e4e03df835ee86b06b53 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@gentoo.org mailing list