Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

new fbsplash-0.9.2 splashutils-1.1.9.1

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
43 posts
  • Previous
  • 1
  • 2
Author
Message
dibblethewrecker
n00b
n00b
User avatar
Posts: 20
Joined: Wed Jan 07, 2004 10:41 pm

  • Quote

Post by dibblethewrecker » Tue Mar 22, 2005 8:31 am

I maintain unofficial support for gensplash for Arch Linux - I managed to hack together our initscripts from various sources and it's been going along pretty well, we had silent splash working fine.

However, spocks lastest stuff has me completely defeated. Without a gentoo install and an in depth understanding of the gentoo initscripts its virtually impossible for me to see how the new splashutils-gentoo actually work. As the Arch Linux initscripts are MUCH simpler I figured it would be easier to ask you guys, who know how gentoo works, to take a look at them and try and help us all out.

Our current scripts are basically hacked over from bootsplash, so we only have startup silent splash, no boot messages or anything else. We'd basically be happy to regain this simple functionality but if anyone has further suggestions they're welcome!

All the initscripts are contain in this archive, only rc.multi, rc.sysinit, rc.conf and rc.d/functions have been altered from the original scripts to provide splash support.

Btw, I have touted for this on our forums but i don't get much help - would be really grateful for help, guys :)

cheers
.: dibblethewrecker | Dell C610 - Arch PKGBUILDS | My fluxbox styles :.

Code: Select all

[dibble]
Server = http://dtw.jiwe.org/share/pkgs/dibble
Top
gungholady
Guru
Guru
User avatar
Posts: 392
Joined: Sun Oct 19, 2003 6:36 am
Contact:
Contact gungholady
Website

  • Quote

Post by gungholady » Tue Mar 22, 2005 10:14 am

ruomad wrote:what interests me more is that you have it along with software-suspend2 which means you have disable bootsplash in softwaresuspend2 ??
I don't use softwaresuspend2. I just used what jwc had as a basis to work with trying to get splash to work. Since it is working for me the way I have it I left the resume2 in the configuration.
Last edited by gungholady on Tue Mar 22, 2005 1:25 pm, edited 1 time in total.
Top
Imago
Apprentice
Apprentice
Posts: 157
Joined: Thu Nov 25, 2004 2:23 pm
Location: Germany

  • Quote

Post by Imago » Tue Mar 22, 2005 11:34 am

ruomad wrote:what interests me more is that you have it along with software-suspend2 which means you have disable bootsplash in softwaresuspend2 ??
just leave out the 130-bootsplash-3.1.4-2.6.10.patch from the suspend2-2.1.8.2-patches and you could use it together with fbsplash. In fact bootsplash support is going to removed from suspend2 soon, in favor of the new userui_fbsplash module ;)

CU
Imago
Top
ruomad
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Thu Apr 17, 2003 8:14 am

  • Quote

Post by ruomad » Tue Mar 22, 2005 12:31 pm

I use it with suspend2 (though suspend2 doesn't work for me, so...)
It is not only deleting bootsplash patch, you also have to update (just insert the reference to FBSPLASH in sysctl.h) the 101-kbd patch (i apply fbsplash first)
if not 101-kbd fails
Top
Imago
Apprentice
Apprentice
Posts: 157
Joined: Thu Nov 25, 2004 2:23 pm
Location: Germany

  • Quote

Post by Imago » Tue Mar 22, 2005 3:11 pm

hmm could be ;)
as i dont use the kernel debugger i also havent applied the kdb-* patches. Same thing with the Win4Lin patches. Both of them + bootsplash arent neccessary for suspend2 :)

CU
Imago
Top
ruomad
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Thu Apr 17, 2003 8:14 am

  • Quote

Post by ruomad » Tue Mar 22, 2005 4:33 pm

yes i skipped win4lin as well, and btw I think it would be nice to have an "official" stripped down version of software-suspend2 without any unneeded patches, because the whole set is a bit unclear to me...
Top
jwc
n00b
n00b
Posts: 57
Joined: Sat Jan 31, 2004 9:48 am
Location: Germany

Verbose mode

  • Quote

Post by jwc » Tue Mar 22, 2005 6:14 pm

Well, since the new version of splashutils (1.1.9.2) took off I also used the (masked) ebuild to install it. Do you guys get verbose mode with this? For me it prints ugly white on black stuff over the splash...
Top
gungholady
Guru
Guru
User avatar
Posts: 392
Joined: Sun Oct 19, 2003 6:36 am
Contact:
Contact gungholady
Website

Re: Verbose mode

  • Quote

Post by gungholady » Tue Mar 22, 2005 6:45 pm

jwc wrote:Well, since the new version of splashutils (1.1.9.2) took off I also used the (masked) ebuild to install it. Do you guys get verbose mode with this? For me it prints ugly white on black stuff over the splash...
Go back up to my previous post about not using the patches. As long as I tried to use the patches, I had the ugly black on white stuff over the splash. I had to delete the patched files, the re-emerge splashutils and set it up like I said before. It works just fine.
Top
jwc
n00b
n00b
Posts: 57
Joined: Sat Jan 31, 2004 9:48 am
Location: Germany

  • Quote

Post by jwc » Tue Mar 22, 2005 6:55 pm

Which patches do you mean? Kernel patches or in the ebuild somewhere (looked into it and found none)?
BTW, if you don't use suspend2, leave out the resume2 parameter, it's only for suspend-to-disk.
Thanks,

Joost
Top
ruomad
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Thu Apr 17, 2003 8:14 am

  • Quote

Post by ruomad » Tue Mar 22, 2005 6:58 pm

well of course the patches were against 1.1.9.1 and some variant of the patches are included in 1.1.9.2...
Top
jwc
n00b
n00b
Posts: 57
Joined: Sat Jan 31, 2004 9:48 am
Location: Germany

  • Quote

Post by jwc » Tue Mar 22, 2005 7:03 pm

Sorry, seems not to be my day... Patches
a) against the kernel
b) against splashutils merged by spock
c) against splashutils merged somewhere else
d) against ???
I just don't get which patches you mean. The only patching I did was my kernel with fbsplash and vesafb-tng (and the suspend2-bunch minus bootsplash) ...
Cheers,

Joost
Top
gungholady
Guru
Guru
User avatar
Posts: 392
Joined: Sun Oct 19, 2003 6:36 am
Contact:
Contact gungholady
Website

  • Quote

Post by gungholady » Tue Mar 22, 2005 8:12 pm

jwc wrote:Which patches do you mean? Kernel patches or in the ebuild somewhere (looked into it and found none)?
BTW, if you don't use suspend2, leave out the resume2 parameter, it's only for suspend-to-disk.
Thanks,

Joost
Had already been done. I was talking about the patches that someone had submited here in this thread.
Top
dibblethewrecker
n00b
n00b
User avatar
Posts: 20
Joined: Wed Jan 07, 2004 10:41 pm

  • Quote

Post by dibblethewrecker » Wed Mar 23, 2005 10:23 am

i understand that you may not want to help but totally blanking me seems a bit harsh!

I have had a good go myself and come up with this http://dtw.jiwe.org/share/gensplash/spl ... ch.tar.bz2 - i now get a message about initialzing the kernel on my splash screen but not progress bar
.: dibblethewrecker | Dell C610 - Arch PKGBUILDS | My fluxbox styles :.

Code: Select all

[dibble]
Server = http://dtw.jiwe.org/share/pkgs/dibble
Top
Imago
Apprentice
Apprentice
Posts: 157
Joined: Thu Nov 25, 2004 2:23 pm
Location: Germany

  • Quote

Post by Imago » Wed Mar 23, 2005 1:11 pm

dibblethewrecker wrote:i understand that you may not want to help but totally blanking me seems a bit harsh!
i dont think that everybody here intentional ignored you ;)
as i dont have the time right now to look into your work now, nor do i know anything about arch linux 'runscript-managemant, i will only try to sum up how it works unter gentoo(as far as i understand it ;) )

first when the kernel is booted and fbcon is initialized, fbsplash sets up the console background and (if in silent mode) starts splash_helper which resides in your initramfs. This switches to tty8 and displays the silent splash screen with the "initializing kernel message". There is no progress bar update during this time.

when kernel is ready and init takes over, the real fun starts :)

the main function is the splash() function in /sbin/splash-function. this is called by the main rc script always when a) a new runlevel is entered b) a service is attempted to start c) service is started d)same for stopping service and e) when all is done for the runlevel change.

if a runlevel is startet, /sbin/splash_util is started as a daemon for the whole runlevel init phase.
Every communication to this daemon goes over a fifo. Then a list of all services in the runlevel is generated to track progress of the init phase and update the progressbar accordingly.

So whenever a service is started, the script calculates the current progress and then sends a update command over the fifo to the daemon which updates the screen.
if runlevel init is complete, daemon is killed, and script will switch back to tty1.

Thats the big picture in general i think ;)

if you didnt get the progress bar this indicates that a) the scripts arent able to communicate with the daemon or they fail to calculate the progress status. As Arch linux has another rc-script system i think you have to rewrite the part that generates the servicelist and calculates the status.

For more infos you may read /sbin/splash and /sbin/splash-functions.sh.

CU
Imago
Top
ruomad
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Thu Apr 17, 2003 8:14 am

  • Quote

Post by ruomad » Wed Mar 23, 2005 1:23 pm

i took a look in your scripts and 1st thing i notice is that if you want something to be displayed you have to have 3 splash_util instructions (i dont rmember where):
setcfg (choose config)
setpic (choose backgreound)
on (actually display)

where you only have 1 (AFAIK it must have changed in the last splash_utils

I suggest yopu t try to rewrite this part and come up with the result
Top
dibblethewrecker
n00b
n00b
User avatar
Posts: 20
Joined: Wed Jan 07, 2004 10:41 pm

  • Quote

Post by dibblethewrecker » Thu Mar 24, 2005 6:41 am

I have read all through all the scripts in splashutils-gentoo and they are very complicated, especially when I don't have any acces to the
main rc script
which calls them - so I can't see how they are used! The complex method gentoo appears to use for starting it's services is also well over my head and shrouded in mystery.

The first link i posted contains all of the arch initscripts, basically the contents of functions and rc.sysinit should be enough for you to simply understand everything about how arch inits - that's why i posted them.

Thanks for the explanation of how the scripts work but, due to the reasons above it is still too abstracted for me.

I will keep trying tho, you can see i'm not asking you to it for me, thanks for all your help so far :D
.: dibblethewrecker | Dell C610 - Arch PKGBUILDS | My fluxbox styles :.

Code: Select all

[dibble]
Server = http://dtw.jiwe.org/share/pkgs/dibble
Top
foux
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Sun Jul 04, 2004 8:51 am
Location: Rennes, France

  • Quote

Post by foux » Mon Mar 28, 2005 9:36 am

Hello,

I'm using the splashutils-1.1.9.2 and I've got a little problem

During the initialization, I've got the silent screen with the message "Initializing kernel", but as soon as this is over, I'm going back to verbose mode

My grub line is :

Code: Select all

title Official-2.6.11-5
root (hd0,1)
kernel /kernel-2.6.11-5 root=/dev/sda1 video=vesafb:ywrap,mtrr,1280x1024-24@70 splash=silent,fadein,tty:8,theme:livecd-2005.0 quiet CONSOLE=/dev/tty1
initrd /fbsplash-livecd-1280x1024
Can somebody help me with this?

Thanks

Edit : I've also got the following message at the end of the boot sequence :

Code: Select all

mount: special device /var/cache/splash does not exist
/sbin/rc: line 211: /var/cache/splash/levels: No such file or directory
/sbin/rc: line 212: /var/cache/splash/levels: No such file or directory
FX
Top
foux
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 89
Joined: Sun Jul 04, 2004 8:51 am
Location: Rennes, France

  • Quote

Post by foux » Mon Mar 28, 2005 10:26 am

Ok, so I've partially solved the problem by manually creating /var/cache/splash/tmp and regenerating my intird.

But the silent mode goes completely black as soon as I go into rulevel 3

Thanks

FX
Top
Post Reply

43 posts
  • Previous
  • 1
  • 2

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy