Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot Splash screen
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
SlCKB0Y
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 105
Location: Sydney, Australia

PostPosted: Thu Nov 21, 2002 2:47 pm    Post subject: Reply with quote

OK, im gonna give this a shot. ive got my kernel (2.4.18 vanilla) patched and im compiling with the framebuffer stuff a lpp in.

what do i do after this, could someone run through the steps?
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Thu Nov 21, 2002 3:52 pm    Post subject: Reply with quote

Quote:
I see you've put the list of percentages in /etc/init.d/lpp, as opposed to something like /etc/conf.d/lpp or /etc/lpp.

Was this for ease of use, or was it an intentional decision? (am trying to feel out the 'correct' way to do such things.)

at the time when i have done it - i havn't really though about where to place this file - but you are right - /etc/init.d/ isn't the best place. I think, as you said already, /etc/conf.d/ would be the better place.

flying_walus wrote:
also, I notice that grepping for ${*} will find "local" and "localtime" for the "local" init script... notice you've got a comma after the appropriate field, suggest something like
Code:
 
percent=`grep "${*}," /etc/init.d/lpp | cut -f 1 -d ' '`

you are right ;-) - i will modify it and put it into bugs.gentoo.org (i am not a very good shell script programmer - so every bit of help is a nice thing)

Quote:
What about if we worked on a graphical substitution for the init scripts?
ala mac os?
We can use the lpp to "graphik" the kernel boot process and now "graphik" the init scripts!
What do you say about this?

would be a nice thing... hasn't mandrake already done something like this ? how have others (which have already something like this) done it ?

and... does anyone have an idea for a better logo ?
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Thu Nov 21, 2002 3:55 pm    Post subject: Reply with quote

i forgot:

i have still one problem remaining - at boot time it works perfectly - but when i shut down my machine then i can see nothing (messages are at tty2) - is this only at my pc or is this generally so ?
Back to top
View user's profile Send private message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Thu Nov 21, 2002 5:18 pm    Post subject: Reply with quote

Hi all,

would it be possible, to also integrate a 1280x1024 version in the patch?
I would really like it, because my TFT has 1280x1024 as default resolution.
_________________
Many greetings from Germany,
Julian
Back to top
View user's profile Send private message
Yoannez
Apprentice
Apprentice


Joined: 28 Jul 2002
Posts: 250
Location: Portugal

PostPosted: Thu Nov 21, 2002 6:41 pm    Post subject: Reply with quote

Hi

wpichler

About the messages in tty2 at shutdown that is normal!
About a idea for the logo I have the --> splash.xpm the grub image....
I really like it It is simple and nice.
By the way. You could post the procedure to make the patch.
_________________
The road to Perfection is too rocky ! Consider Linux as home delivery service.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Thu Nov 21, 2002 9:49 pm    Post subject: Reply with quote

wpichler wrote:
i forgot:

i have still one problem remaining - at boot time it works perfectly - but when i shut down my machine then i can see nothing (messages are at tty2) - is this only at my pc or is this generally so ?


Nopt, thats right... remember, part of the change was to set CONSOLE and console to tty2... all output goes to tty2 now.
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Thu Nov 21, 2002 10:09 pm    Post subject: Reply with quote

Yoannez wrote:
Hi

wpichler

About the messages in tty2 at shutdown that is normal!
About a idea for the logo I have the --> splash.xpm the grub image....
I really like it It is simple and nice.
By the way. You could post the procedure to make the patch.

...yeah i know. My english is also not very well - so what i meant was: At shutdown i can't see nothing on tty1 - also not the splash image - only my login prompt - and also i can't see nothing because of if directed the messages to tty2 with CONSOLE=tty2 (in every readme is mentioned console and CONSOLE - does anyone know why it is one time in upper and one time in lower case?)
What do you mean with "Post the procedure to make the patch?" - generally how to make a patch - or how to integrate an other boot image into the kernel ?
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Thu Nov 21, 2002 10:13 pm    Post subject: Reply with quote

Gulliver wrote:
Hi all,

would it be possible, to also integrate a 1280x1024 version in the patch?
I would really like it, because my TFT has 1280x1024 as default resolution.

yes it should be possible - but the lpp patch at time only offers up to 1024x768. But i think with some minor modifications to some makefiles + an extra include file it should also be possible. I will see if i can manage to get this working.
Back to top
View user's profile Send private message
Yoannez
Apprentice
Apprentice


Joined: 28 Jul 2002
Posts: 250
Location: Portugal

PostPosted: Thu Nov 21, 2002 10:42 pm    Post subject: Reply with quote

Hi

1.st- How do you do that:
Yoannez wrote:
:D

2.nd- in every readme is mentioned console and CONSOLE.

I think this is t avoid those that use CONSOLE has the system ENV has console instead of console. But I'm not sure.

3.rd- About the patch doc.
If you whant you can post, a revised howto of the existing one refecting the gentoo changes you had to make... :D
Or just how to integrate a new image to the kernel! :D
_________________
The road to Perfection is too rocky ! Consider Linux as home delivery service.
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Thu Nov 21, 2002 10:50 pm    Post subject: Reply with quote

Yoannez wrote:
Hi

1.st- How do you do that:
Yoannez wrote:
:D

if you mean that then it only quoting with "
Yoannez wrote:
the quoted text and
" - i hope this " prevents from quoting now ;-)

2.nd- in every readme is mentioned console and CONSOLE.

I think this is t avoid those that use CONSOLE has the system ENV has console instead of console. But I'm not sure.

aha - could be

3.rd- About the patch doc.
If you whant you can post, a revised howto of the existing one refecting the gentoo changes you had to make... :D
Or just how to integrate a new image to the kernel! :D

if i have some spare time tomorrow then i will see if i can manage to rewrite the readme of the lpp patch a little - but i think i then will need a person sho sill correct my bad english ;-)
Back to top
View user's profile Send private message
SlCKB0Y
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 105
Location: Sydney, Australia

PostPosted: Thu Nov 21, 2002 11:27 pm    Post subject: Reply with quote

i got it working but i too have no image when the system is shutting down. all i have is a partial login prompt

$HOSTNAME login:
Back to top
View user's profile Send private message
puck
n00b
n00b


Joined: 22 Nov 2002
Posts: 4

PostPosted: Fri Nov 22, 2002 4:19 pm    Post subject: Reply with quote

GREAT !!!

I'm using the patch from the gentoo bugsystem with the gentoo 2.4.19-gentoo-r9 kernel + aty128fb and it works great !!!

Only the order of the init scripts is wrong (gentoo 1.4.2.3, p3 optimized) but this can be tweaked very easy !

You are the best ! :) :)
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Fri Nov 22, 2002 4:30 pm    Post subject: Reply with quote

Quote:
Only the order of the init scripts is wrong (gentoo 1.4.2.3, p3 optimized) but this can be tweaked very easy !

yeah - i know - i havn't put them into the right order - but if you like then you could do it and add it into bugzilla.
But I've though about an other method to make the progressbar going up continous. Something as:
- At the first boot a file gets written in which all the messages which are comming up are getting saved.
- At all the other times when you then start up it first counts the lines in the file and then it calculates a value with which it then increases the progress bar on every message which comes.

I hope you can follow my bad english ;-) - if so, then whatdo you think about this ?
Back to top
View user's profile Send private message
puck
n00b
n00b


Joined: 22 Nov 2002
Posts: 4

PostPosted: Mon Nov 25, 2002 9:18 am    Post subject: Reply with quote

Sounds useful, this should be tested !

But there is one ugly glitch with the boot logo .. console 1 (/dev/tty1) gets scrambled after getty is started and i don't have a cursor anymore, only at tty2-tty6.

The script could do it this way :

eestart knows how many scripts need to be started. so at the first call of eestart the count begins at 50 % and every subsend call to eestart increases the current "position" by the factor calculated from the number of scripts that need to be started, so we can have the progress bar already at "first boot" and we can add as many startscripts as we need "on the fly".

hope you can follow me ;)
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Mon Nov 25, 2002 9:31 am    Post subject: Reply with quote

puck wrote:

eestart knows how many scripts need to be started. so at the first call of eestart the count begins at 50 % and every subsend call to eestart increases the current "position" by the factor calculated from the number of scripts that need to be started, so we can have the progress bar already at "first boot" and we can add as many startscripts as we need "on the fly".
hope you can follow me ;)


eestart knows how many scripts need to be started ???? - where can i find eestart ? - it isn't in functions.sh (where i expect it to be). So can you point me into the right direction ?
Back to top
View user's profile Send private message
SlCKB0Y
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 105
Location: Sydney, Australia

PostPosted: Mon Nov 25, 2002 3:03 pm    Post subject: Reply with quote

Has anyone worked out how to display the correct stuff when shutting down yet? would be nice to be able to display something.

:)
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Mon Nov 25, 2002 4:40 pm    Post subject: Reply with quote

SlCKB0Y wrote:
Has anyone worked out how to display the correct stuff when shutting down yet? would be nice to be able to display something.

:)


Man, a whole other ball of worms :D

LPP is a Progress patch for boot.. we'd have to go a whole new route for shutdown.
Back to top
View user's profile Send private message
puck
n00b
n00b


Joined: 22 Nov 2002
Posts: 4

PostPosted: Tue Nov 26, 2002 12:43 pm    Post subject: Reply with quote

wpichler wrote:
eestart knows how many scripts need to be started ???? - where can i find eestart ? - it isn't in functions.sh (where i expect it to be). So can you point me into the right direction ?


Sorry, i meant "ebegin" :roll:

Displaying a logo at shutdown can't be included in the kernel i think, because init and its scripts do the most work on shut down
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Tue Nov 26, 2002 1:43 pm    Post subject: Reply with quote

puck wrote:

Sorry, i meant "ebegin" :roll:

Displaying a logo at shutdown can't be included in the kernel i think, because init and its scripts do the most work on shut down

ok, but does ebegin really know how many scripts get started - how can i access this value ? (I am not really a shell script expert).
For shutdown: There should be a way to tell the kernel to refresh the logo which was displayed at startup - but i have no idea how something like this could work. Does anyone know a example where something like this has been done before ?
Back to top
View user's profile Send private message
Yoannez
Apprentice
Apprentice


Joined: 28 Jul 2002
Posts: 250
Location: Portugal

PostPosted: Tue Nov 26, 2002 3:39 pm    Post subject: Reply with quote

About shutdown
I don't know nothing about telling the kernel to refress the logo.
But we can do something like "fake it":
Lanch an X client wich loads and displays a image. And that will be killed upon the filesystem unmount.
What do you think? I'm thinking on using this method to fake the graphical init scripts!...

P.S- I have a new image proposal for the gentoo kernel. This one :
[img:145a4ac286]http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gtop.jpg[/img:145a4ac286]
[img:145a4ac286]http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/gmid.gif[/img:145a4ac286]

Has you can see these are separate images, but if someone can merge them and make a new one it whould be nice. I will try but i don't promise....
_________________
The road to Perfection is too rocky ! Consider Linux as home delivery service.
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Tue Nov 26, 2002 3:58 pm    Post subject: Reply with quote

Quote:
Has you can see these are separate images, but if someone can merge them and make a new one it whould be nice. I will try but i don't promise....


would be no problem to merge these two images - but it would be better if you could post a url to the original images (i hope they are bigger).

About using the xserver for startup and shutdown:
Does anyone know a x programm which can interact with init ?
Back to top
View user's profile Send private message
SlCKB0Y
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 105
Location: Sydney, Australia

PostPosted: Tue Nov 26, 2002 4:32 pm    Post subject: Reply with quote

well this begs the question what do u see on distros which have boot images when they shutdown like mandrake or suse?

maybe someone can have a look at what they use/do?
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Tue Nov 26, 2002 4:44 pm    Post subject: Reply with quote

Quote:
Has you can see these are separate images, but if someone can merge them and make a new one it whould be nice. I will try but i don't promise....


would be no problem to merge these two images - but it would be better if you could post a url to the original images (i hope they are bigger).

About using the xserver for startup and shutdown:
Does anyone know a x programm which can interact with init ?
Back to top
View user's profile Send private message
wpichler
n00b
n00b


Joined: 11 Oct 2002
Posts: 42
Location: Austria

PostPosted: Tue Nov 26, 2002 4:46 pm    Post subject: Reply with quote

excuse me for this double post (at my first try i got a timeout - so i thought it wasn't send).

I think I will have a look at the suse kernel sources how they have done it (but i am not sure if i will find the right bits)
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Tue Nov 26, 2002 10:38 pm    Post subject: Reply with quote

SlCKB0Y wrote:
well this begs the question what do u see on distros which have boot images when they shutdown like mandrake or suse?

maybe someone can have a look at what they use/do?


The last I checked, Mandrake used Aurora.. but that thing is a pain in the neck, and mandrake specific considering they wrote it.
I'm also not sure if they still use it, the last mandrake distribution I used was I believe 7.0 or 7.1...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 4 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum