View previous topic :: View next topic |
Author |
Message |
wpichler n00b
Joined: 11 Oct 2002 Posts: 42 Location: Austria
|
Posted: Thu Nov 07, 2002 12:55 pm Post subject: |
|
|
the README file included in this patch (archive) is the best description which i've seen for lpp until now
I think it should be possible to apply this patch to the standard gentoo sources (I've already done it for one time - but it doesn't fully worked) and also to alter the init scripts so that it also would work after the first 50%. But i think for this it would be better to wait until the final 1.4 version would get released (or to mail the responsible for the kernel if he don't wont to inlcude it as a standard feature). |
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Fri Nov 08, 2002 12:35 pm Post subject: |
|
|
Hi
wpichler
I also foud this to be the most complete. I've found until now.
About your ideas I totally agree with you, I think we could propose something like a addon to the gentoo-sources like gentoo-sources-lpp .
About the init scripts I think we can begin testing with the current 1.4RC_1 and after 1.4 Final is released make the necessary changes to have the full progress bar.
I'll try to make a image for a lpp-gentoo theme. I'll keep you informed.
_________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
wpichler n00b
Joined: 11 Oct 2002 Posts: 42 Location: Austria
|
Posted: Fri Nov 08, 2002 5:37 pm Post subject: |
|
|
hi
Yoannez and surly all others
about the init scripts:
I've taken a short look into them, and i think it would be the best thing if we don't touch them directly. Each script uses the ebegin function to print out what it does. So we only have to rewrite the ebegin function so that it also puts this message to /proc/progress. For the percent values which we need i would suggest to put all the message which get's printed out into a file in which we also write the percent value. So the ebegin function only gets the text from the init scripts - open's the file with the text's and percent values - searches for the text which it got and reads the correspondending percent value. I will try to make this and than i will post it here. |
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Fri Nov 08, 2002 10:40 pm Post subject: |
|
|
Nice _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Sat Nov 09, 2002 10:22 pm Post subject: |
|
|
First step complete:
Getting the software running...
I managed to get the kernel patch to work, and have a minor change to the init scripts for a 100 percente progress bar
It works.
And it is very nice but whith a deb splash.
Well time to customize now _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Sun Nov 10, 2002 1:21 pm Post subject: |
|
|
nice _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
wpichler n00b
Joined: 11 Oct 2002 Posts: 42 Location: Austria
|
|
Back to top |
|
|
wpichler n00b
Joined: 11 Oct 2002 Posts: 42 Location: Austria
|
Posted: Mon Nov 11, 2002 7:54 am Post subject: |
|
|
Yoannez wrote: | First step complete:
I managed to get the kernel patch to work, and have a minor change to the init scripts for a 100 percente progress bar
|
have you mangaged to get the patch running with gentoo-sources or with a standard kernel ? If it is for the gentoo sources, can you please add the patch it to bugzilla ? |
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Mon Nov 11, 2002 11:05 am Post subject: |
|
|
Yep
kernel-2.4.18- vanilla
kernel-2.4.19-xfs-r2-gentoo.
Just tell me howto do it and I would do it with pleasure. _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
wpichler n00b
Joined: 11 Oct 2002 Posts: 42 Location: Austria
|
Posted: Mon Nov 11, 2002 11:23 am Post subject: |
|
|
Yoannez wrote: | Yep
kernel-2.4.18- vanilla
kernel-2.4.19-xfs-r2-gentoo.
Just tell me howto do it and I would do it with pleasure. |
in the mean time i have done gentoo-sources-2.4.19-r10 , and i have also created a new default logo (the picture taken from Gentoo-Logos: http://www.ibiblio.org/pub/Linux/distributions/gentoo/images/powered-big.png - now i am also working on the patch. To create it use something like "diff -Urn original-source-directory modified-source-directory" . But before you can do that make a mrproper - but save your .config before you do the make mrproper. |
|
Back to top |
|
|
wpichler n00b
Joined: 11 Oct 2002 Posts: 42 Location: Austria
|
Posted: Mon Nov 11, 2002 7:22 pm Post subject: |
|
|
i have now added a patch for gentoo-sources-2.4.19-r10 to bugzilla - try it and let me knwo if it works |
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Tue Nov 12, 2002 3:23 pm Post subject: |
|
|
wpichler
I can't download the file, just garbage appears!!!
Please e-mail it to me!!!
[url=mailto:yoannez@mail.pt] yoannez@mail.pt[/url] _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
nikai Apprentice
Joined: 02 Oct 2002 Posts: 270 Location: Kitzbühel, Austria
|
Posted: Tue Nov 12, 2002 5:35 pm Post subject: |
|
|
Yoannez wrote: | I can't download the file, just garbage appears!!! |
The patch appears to be gzipped, you need to save and "gunzip" it.
Yoannez wrote: | Please e-mail it to me!!! |
Ugh, the patch is about 10M. Do you really want that? |
|
Back to top |
|
|
wpichler n00b
Joined: 11 Oct 2002 Posts: 42 Location: Austria
|
Posted: Tue Nov 12, 2002 5:51 pm Post subject: |
|
|
nikai wrote: | Yoannez wrote: | I can't download the file, just garbage appears!!! |
The patch appears to be gzipped, you need to save and "gunzip" it.
Yoannez wrote: | Please e-mail it to me!!! |
Ugh, the patch is about 10M. Do you really want that? |
i've already done it |
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Tue Nov 12, 2002 6:08 pm Post subject: |
|
|
Go the patch will try today... _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Fri Nov 15, 2002 12:53 pm Post subject: |
|
|
Hi
I've tried the patch very nice...
Now I'm aptempting to compile the 2.4.19-xfs-r2 kernel with it!
I've got some failed hunks but none rejected. _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
flying_walus n00b
Joined: 07 Sep 2002 Posts: 58
|
Posted: Sat Nov 16, 2002 7:39 pm Post subject: question about where things should live... |
|
|
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.) |
|
Back to top |
|
|
flying_walus n00b
Joined: 07 Sep 2002 Posts: 58
|
Posted: Sat Nov 16, 2002 7:52 pm Post subject: |
|
|
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 ' '`
|
|
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Sun Nov 17, 2002 1:14 pm Post subject: |
|
|
Hi
I've successfully applied the patch to gentoo-2.4.19-xfs-r2.
No major problems... _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Sun Nov 17, 2002 2:00 pm Post subject: |
|
|
I have one proposal to make!
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? _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
mdpye Tux's lil' helper
Joined: 18 Apr 2002 Posts: 102 Location: Nottingham, England
|
Posted: Sun Nov 17, 2002 4:36 pm Post subject: |
|
|
I've got the patch, and it applies cleanly to gentoo-sources-2.4.17-r9 (only one offset, nothing rejected, no fuzz). I've set CONFIG_LPP=y (and also CONFIG_FB_VESA=y), run make dep fine, but make bzImage bombs with:
Code: | (snip)
cc1: warning: -malign-functions is obsolete, use -falign-functions
fbprogress.c:165: `PROGRESS_CORNER_X' undeclared here (not in a function)
fbprogress.c:165: `PROGRESS_BAR_X' undeclared here (not in a function)
fbprogress.c:165: `PROGRESS_CORNER_X' undeclared here (not in a function)
fbprogress.c:165: `PROGRESS_BAR_X' undeclared here (not in a function)
fbprogress.c:166: `PROGRESS_CORNER_X' undeclared here (not in a function)
fbprogress.c:166: `PROGRESS_BAR_X' undeclared here (not in a function)
fbprogress.c:166: `PROGRESS_CORNER_X' undeclared here (not in a function)
fbprogress.c:166: `PROGRESS_BAR_X' undeclared here (not in a function)
fbprogress.c:168: `MAX_TEXT_LEN' undeclared here (not in a function)
fbprogress.c: In function `fbcon_draw':
fbprogress.c:199: `ICON_X' undeclared (first use in this function)
fbprogress.c:199: (Each undeclared identifier is reported only once
fbprogress.c:199: for each function it appears in.)
fbprogress.c:199: `ICON_Y' undeclared (first use in this function)
fbprogress.c:204: `PROGRESS_CORNER_X' undeclared (first use in this function)
fbprogress.c:204: `PROGRESS_BAR_X' undeclared (first use in this function)
fbprogress.c: In function `module_input':
fbprogress.c:217: `MAX_TEXT_LEN' undeclared (first use in this function)
fbprogress.c:218: `MESSAGE_LENGTH' undeclared (first use in this function)
fbprogress.c:217: warning: unused variable `buffer'
fbprogress.c:218: warning: unused variable `Message'
fbprogress.c:217: storage size of `buffer' isn't known
fbprogress.c:218: storage size of `Message' isn't known
fbprogress.c: In function `module_output':
fbprogress.c:265: `MESSAGE_LENGTH' undeclared (first use in this function)
fbprogress.c:265: warning: unused variable `message'
fbprogress.c: In function `fbcon_progress':
fbprogress.c:378: `MAX_TEXT_LEN' undeclared (first use in this function)
fbprogress.c:378: warning: left-hand operand of comma expression has no effect
fbprogress.c:392: `PROGRESS_CORNER_X' undeclared (first use in this function)
fbprogress.c:392: `PROGRESS_BAR_X' undeclared (first use in this function)
fbprogress.c:395: `PROGRESS_BAR_Y' undeclared (first use in this function)
fbprogress.c:397: `PROGRESS_CORNER_Y' undeclared (first use in this function)
fbprogress.c:416: `TEXT_X' undeclared (first use in this function)
fbprogress.c:416: `TEXT_Y' undeclared (first use in this function)
fbprogress.c: In function `fbcon_progress_setup':
fbprogress.c:454: `PROGRESS_BAR_X' undeclared (first use in this function)
fbprogress.c:454: `PROGRESS_BAR_Y' undeclared (first use in this function)
fbprogress.c:469: `PROGRESS_CORNER_X' undeclared (first use in this function)
/home/mp/linux-lpp/include/video/fbcon.h: At top level:
fbprogress.c:165: storage size of `warning' isn't known
fbprogress.c:166: storage size of `failure' isn't known
fbprogress.c:168: storage size of `last_message' isn't known
make[3]: *** [fbprogress.o] Error 1
make[3]: Leaving directory `/home/mp/linux-lpp/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/mp/linux-lpp/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/home/mp/linux-lpp/drivers'
make: *** [_dir_drivers] Error 2
|
Any ideas? _________________ Cheers, MP |
|
Back to top |
|
|
johpe916 n00b
Joined: 13 Sep 2002 Posts: 45 Location: Sweden
|
Posted: Sun Nov 17, 2002 5:49 pm Post subject: Great... |
|
|
javascript:emoticon('')
Just wanted to say that the patch works great (at least for me).
I think something like this should be distibuted with standard gentoo-sources.
I mean, if u dont like it, dont use it, but the option would be great
/Johan |
|
Back to top |
|
|
nempo Guru
Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Sun Nov 17, 2002 6:26 pm Post subject: |
|
|
Yoannez wrote: | I have one proposal to make!
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? |
I think a substitution would be bad, however a graphical init script loader would work. B.T.W. I have never tried lpp so I don't know how it works. |
|
Back to top |
|
|
Yoannez Apprentice
Joined: 28 Jul 2002 Posts: 250 Location: Portugal
|
Posted: Mon Nov 18, 2002 3:40 pm Post subject: |
|
|
Hi
First -- Try to help the guy
mdpye:
Try to do a mrproper before compiling, but remenber to save your kernelconfig. Most of the time that works for me.
Now:
Nempo Quote: | Yoannez wrote:
I have one proposal to make!
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?
I think a substitution would be bad, however a graphical init script loader would work. B.T.W. I have never tried lpp so I don't know how it works. |
I think you got my point. Although I do not express my self very well in english I think that was what I was trying to say. A graphical init script loader. _________________ The road to Perfection is too rocky ! Consider Linux as home delivery service. |
|
Back to top |
|
|
|