Jimmy Jazz | 1 Jun 2007 17:03
Picon

Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage

Michal Januszewski a écrit :
On Tue, Apr 10, 2007 at 06:53:45PM +0200, Jimmy Jazz wrote:
I will try splash_util and look if it doesn't overvalue my needs. Indeed, bzImage doesn't become too huge.
splash_util, being dynamically linked, won't work from an initramfs unless you're willing to include glibc, libpng, freetype2 etc with it. And that _will_ make the image huge :) Best regards.
hello,

You are right, but that doesn't matter  if you are using initramfs into the kernel file instead initrd (My kernel is just 5Mo huge). With the switch_root command you will have the full memory back again :). In fact, i didn't implement splash_util into the cpio file because of some freezes and lack of time :)

Anyway, i tried to compile splashutils-1.4.2 without success. It seems we are now unable to use it without the kernel patch which also i cannot install :(

[code]
You can run `make` now.
  CC      objs/solibsplash.o
  LD      objs/libsplash.so
  CONF    libjpeg
  MAKE    libjpeg
  CONF    freetype2
  MAKE    freetype2
  CONF    zlib
  MAKE    zlib
  CONF    libpng
  MAKE    libpng
  CC      objs/kernel/kernel.o
kernel.c: In function ‘handle_init’:
kernel.c:96: erreur: ‘FB_SPLASH_IO_ORIG_USER’ undeclared (first use in this function)
kernel.c:96: erreur: (Each undeclared identifier is reported only once
kernel.c:96: erreur: for each function it appears in.)
kernel.c: In function ‘main’:
kernel.c:262: erreur: ‘FB_SPLASH_IO_ORIG_KERNEL’ undeclared (first use in this function)
make: *** [objs/kernel/kernel.o] Erreur 1
[/code]


Have you dropped the 100% gensplash userspace solution ? why ? :cry:

Jj


Michal Januszewski | 2 Jun 2007 22:36
Picon
Favicon

Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage

> Anyway, i tried to compile splashutils-1.4.2 without success. It seems
> we are now unable to use it without the kernel patch which also i cannot
> install :(
> 
> [code]
>   CC      objs/kernel/kernel.o
> kernel.c: In function ‘handle_init’:
> kernel.c:96: erreur: ‘FB_SPLASH_IO_ORIG_USER’ undeclared (first use in
> this function)
> kernel.c:96: erreur: (Each undeclared identifier is reported only once
> kernel.c:96: erreur: for each function it appears in.)
> kernel.c: In function ‘main’:
> kernel.c:262: erreur: ‘FB_SPLASH_IO_ORIG_KERNEL’ undeclared (first use
> in this function)
> make: *** [objs/kernel/kernel.o] Erreur 1
> [/code]

> Have you dropped the 100% gensplash userspace solution ? why ? :cry:

No, I haven't. Are you sure your klibc is built against a clean tree
that hasn't been patched with splash? 

You might want to check for the presence of the following file:

/usr/lib/klibc/include/linux/console_splash.h

If it's not there, you should get a warning about missing fbsplash
when merging splashutils. If you get the warning and it still fails to
compile, then I have a bug to fix :)

Best regards.
--

-- 
Michal Januszewski                              JID: spock <at> im.gentoo.org
Gentoo Linux Developer                    http://people.gentoo.org/spock

Michal Januszewski | 2 Jun 2007 22:50
Picon
Favicon

Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage

On Thu, May 31, 2007 at 05:23:56PM +0200, Jimmy Jazz wrote:

Hi,

> > Are you sure you have compiled splashutils with fbsplash-support enabled?
> >   
> No alas, since my kernel is now "full modular" (even vtcon and fb). It works well. 
> As soon as readeonfb and vtcon are loaded, the splash screen appears on the 
> display (the one with the alt-F1 comment of course). I get even more 
> "visible" memory for free than before. Also, i tried to activate fbsplash
>  support in the kernel as well with a little hack in Kconfig (depends on 
> FRAMEBUFFER_CONSOLE && !FB_TILEBLITTING). With or without modules i 
> couldn't compile the kernel. That's why i'm still using 
> media-gfx/splashutils-1.3.1. For example, con2fb_map is not found by 
> the "linker".

Fbsplash doesn't work as a module, it can only be used when fbcon is
compiled into the kernel. 

> Just a comment about how you built fbsplash. 
> Why not include splash_helper code directly in a kernel module, instead to 
> call /sbin/splash_helper ?

If you want to have splash_helper's functionality _inside_ the kernel,
just use bootsplash. Putting userspace stuff, like JPEG and PNG
decoders, where it belongs (i.e. userspace) was the most fundamental 
design idea behind splashutils :)

> I didn't use /sbin/splash_util.static at all during the boot process. I
> wasn't able to implement it very well and got many freezes. I didn't
> find out what was going on :( Perhaps some problems with the pipe file
> !? If i get more time i will investigate it.

Perhaps, but putting it inside an initramfs isn't a very good idea. It
would be better to aim for a very fast boot during the early-userspace
stage and to let the splash daemon be started the normal way (i.e. by
the Gentoo baselayout scripts).

> With splashutils 1.3.1 everything is working well except the icons.
> Indeed, xdm icon appears every now and then and hides the other icons.
> Certainly, due to the fact 1.3.1 splashutils release doesn't support
> livecd-2007.0 .

Right, that's a problem with how anims are handled in 1.3.1 and it's
indeed fixed in 1.4.2.

> If you accept suggestions, i emit this one : It would be great if
> fbsplash could be loaded as a module and would accept vtcon and fb as
> modules too :)

I'll keep that in mind and maybe implement it when I have some more free
time.

Have you had a chance to try splashutils 1.4.2 with baselayout-2*? If
so, did it fix the missing-splash-screen problem?

Best regards.
--

-- 
Michal Januszewski                              JID: spock <at> im.gentoo.org
Gentoo Linux Developer                    http://people.gentoo.org/spock

gentoorulz-kernel | 9 Jun 2007 18:25
Picon
Favicon

Anatomy of the Linux kernel

Hi,

I thought this article might be interesting for one of
you outh there:

http://www.ibm.com/developerworks/linux/library/l-linux-kernel/?S_TACT=105AGX59&S_CMP=GR&ca=dgr-lnxw07LKernalAnatomy

Regards,
         Richard

      __________________________________  Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever

--

-- 
gentoo-kernel <at> gentoo.org mailing list

Panagiotis Christopoulos | 9 Jun 2007 20:37
Picon

Re: Anatomy of the Linux kernel

On 18:25 Sat 09 Jun     , gentoorulz-kernel <at> yahoo.de wrote:
> I thought this article might be interesting for one of
> you outh there:
> 
> http://www.ibm.com/developerworks/linux/library/l-linux-kernel/?S_TACT=105AGX59&S_CMP=GR&ca=dgr-lnxw07LKernalAnatomy
> 
It, really, is. Thanks, man!
--

-- 
gentoo-kernel <at> gentoo.org mailing list

Stratos Psomadakis | 10 Jun 2007 00:28
Picon
Favicon

Re: Anatomy of the Linux kernel

i'm not the only one that reads slashdot here... :PPPPPPPPPPPPP

it's a very interesting article...
and easy to understand even if you're n00b like me... :P
O/H gentoorulz-kernel <at> yahoo.de έγραψε:
> Hi,
>
> I thought this article might be interesting for one of
> you outh there:
>
> http://www.ibm.com/developerworks/linux/library/l-linux-kernel/?S_TACT=105AGX59&S_CMP=GR&ca=dgr-lnxw07LKernalAnatomy
>
> Regards,
>          Richard
>
>
>
>
>       __________________________________  Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever
>
>   

Jimmy Jazz | 11 Jun 2007 23:31
Picon

Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage


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 <at> gentoo.org mailing list

Daniel Drake | 11 Jun 2007 23:58
Picon
Favicon

[ANNOUNCE] genpatches-2.6.21-5 release

This is an automated email announcing the release of genpatches-2.6.21-5

CHANGES SINCE 2.6.21-4
-----------------------

Revision 982: 
Fix eth1394 network interface renaming (dsd)
Added: 2300_eth1394-parent-device.patch

Revision 983: 
fix readme typo pointed out by Arfrever Frehtes Taifersar Arahesis (dsd)

Revision 985: 
Linux 2.6.21.4. (phreak)
Added: 1003_linux-2.6.21.4.patch

Revision 986: 
Reduce confusion around powernow-k8 vs ACPI configuration (dsd)
Added: 2900_powernow-k8-acpi.patch

Revision 994: 
Linux 2.6.21.5. *sigh* (phreak)
Added: 1004_linux-2.6.21.5.patch

Revision 995: 
Removing 2300_eth1394-parent-device.patch, went upstream with Git-ID
ef50a6c59dc66f22eba67704e291d709f21e0456 and released with 2.6.21.5 (phreak)
Deleted: 2300_eth1394-parent-device.patch

Revision 996: 
Removing 2600_i8042-aux-detection.patch, went upstream with
d2ada5597d33a9108acb2caf912f85cbc9caab1e and released with 2.6.21.5. (phreak)
Deleted: 2600_i8042-aux-detection.patch

Revision 997: 
Removing 2705_usb-audio-quickcam.patch, went upstream with 2705_usb-audio-quickcam.patch and
released with 2.6.21.5. (phreak)
Deleted: 2705_usb-audio-quickcam.patch

Revision 998: 
Adding 2700_usb-audio-quickcam-quirks.patch, backporting Git-ID
d417045e7deeb37d97793805fe302da7b4f82eec. (phreak)
Added: 2700_usb-audio-quickcam-quirks.patch

Revision 999: 
Removing 2710_hda-asus-m2v.patch, released with 2.6.21.5. (phreak)
Deleted: 2710_hda-asus-m2v.patch

Revision 1000: 
Removing 4000_zd1211rw-al2230s.patch, released with 2.6.21.5. (phreak)
Deleted: 4000_zd1211rw-al2230s.patch

Revision 1001: 
Adding 4000_zd1211rw-band-edge.patch, backporting Git-ID
72018b223dcacb631f140d4c8fada3790bd1b03c. (phreak)
Added: 4000_zd1211rw-band-edge.patch

Revision 1002: 
this patch was added mistakenly (dsd)
Deleted: 4000_zd1211rw-band-edge.patch

Revision 1003: 
2.6.21-5 release (dsd)

PATCHES
-------

When the website updates, the complete patch list and split-out patches will be
available here:
http://dev.gentoo.org/~dsd/genpatches/patches-2.6.21-5.htm
http://dev.gentoo.org/~dsd/genpatches/tarballs/genpatches-2.6.21-5.base.tar.bz2
http://dev.gentoo.org/~dsd/genpatches/tarballs/genpatches-2.6.21-5.extras.tar.bz2

ABOUT GENPATCHES
----------------

genpatches is the patchset applied to some kernels available in Portage.

For more information, see the genpatches homepage:
http://dev.gentoo.org/~dsd/genpatches

For a simple example of how to use genpatches in your kernel ebuild, look at a
recent gentoo-sources-2.6.* ebuild.
--

-- 
gentoo-kernel <at> gentoo.org mailing list

Daniel Drake | 11 Jun 2007 23:59
Picon
Favicon

Re: I'm not able to get the vertical bar with gensplash after issuing alt+f1 key during the earlier boot stage

Jimmy Jazz wrote:
> 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 :(.

I'm not sure what you mean here, can you elaborate?

Are you worried that your kernel might be broken so much that it won't 
be able to execute ELF executables? If so, you'd also be screwed on the 
script approach, because busybox/ash is also written in C.

Daniel
--

-- 
gentoo-kernel <at> gentoo.org mailing list

Christian Heim | 12 Jun 2007 00:12
Picon
Favicon

[ANNOUNCE] genpatches-2.6.20-12 release

This is an automated email announcing the release of genpatches-2.6.20-12

CHANGES SINCE 2.6.20-11
-----------------------

Revision 984: 
Linux 2.6.20.13. (phreak)
Added: 1012_linux-2.6.20.13.patch

Revision 990: 
Linux 2.6.20.14. *sigh* (phreak)
Added: 1013_linux-2.6.20.14.patch

Revision 991: 
Removing the Makefile hunk. (phreak)
Modified: 1013_linux-2.6.20.14.patch

Revision 992: 
Went upstream, merged with Git-ID a91214589e6527b18f52bc0b31253f9dfb4665e6. (phreak)
Deleted: 2700_usb-audio-quickcam.patch

Revision 993: 
Adding 2700_usb-audio-quickcam-quirks.patch, backporting Git-ID
d417045e7deeb37d97793805fe302da7b4f82eec. (phreak)
Added: 2700_usb-audio-quickcam-quirks.patch

Revision 1004: 
2.6.20-12 release (phreak)

PATCHES
-------

When the website updates, the complete patch list and split-out patches will be
available here:
http://dev.gentoo.org/~dsd/genpatches/patches-2.6.20-12.htm
http://dev.gentoo.org/~dsd/genpatches/tarballs/genpatches-2.6.20-12.base.tar.bz2
http://dev.gentoo.org/~dsd/genpatches/tarballs/genpatches-2.6.20-12.extras.tar.bz2

ABOUT GENPATCHES
----------------

genpatches is the patchset applied to some kernels available in Portage.

For more information, see the genpatches homepage:
http://dev.gentoo.org/~dsd/genpatches

For a simple example of how to use genpatches in your kernel ebuild, look at a
recent gentoo-sources-2.6.* ebuild.
--

-- 
gentoo-kernel <at> gentoo.org mailing list


Gmane