You are not logged in.

#251 2006-01-19 07:47:27

anglian252
Member
Registered: 2005-05-01
Posts: 25

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

I've just upgraded to the kernel26archck 2.6.15.archck2-4 from the standard arch one...however when I reboot my system I get Error 15: File Not Found

Did I need to make some changes to grub in order to use this new kernel?  Can someone please post a correct looking grub file as well as instructions on how to fix this

Cheers

Offline

#252 2006-01-19 10:50:17

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

Sample grub config can be found in /etc/splash (as stated multiple times)  the pkg in [community] use vesa-tng so make sure you use those configs...

also, the initrd variable should be set to the KERNEL initramfs file - not to a fbsplash initramfs

Offline

#253 2006-01-19 19:05:07

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

What is wrong with my menu.lst. I just can't get the framebuffer resolution i want for kernel26archck. It works for the stock kernel though.

# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

# DEVICE NAME CONVERSIONS 
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/hda        (hd0)
#  /dev/hdb2       (hd1,1)
#  /dev/hda3       (hd0,2)
#

#  FRAMEBUFFER RESOLUTION SETTINGS
#     +-------------------------------------------------+
#          | 640x480    800x600    1024x768   1280x1024
#      ----+--------------------------------------------
#      256 | 0x301=769  0x303=771  0x305=773   0x307=775
#      32K | 0x310=784  0x313=787  0x316=790   0x319=793
#      64K | 0x311=785  0x314=788  0x317=791   0x31A=794
#      16M | 0x312=786  0x315=789  0x318=792   0x31B=795
#     +-------------------------------------------------+

# general configuration:
timeout   5
default   0
color light-blue/black light-cyan/blue

# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*

# (0) Windows XP
title  Windows XP  [ Loader ]
root    (hd0,1)
makeactive
chainloader +1

# (1) Arch Linux
title  Arch Linux  [ Stock Kernel ]
root   (hd1,0)
kernel /boot/vmlinuz26 root=/dev/hdb1 ro vga=792
initrd /boot/initrd26.img

# (2) Arch Linux
title  Arch Linux  [ Archck Kernel ]
root  (hd1,0)
kernel /boot/vmlinuz26archck root=/dev/hdb1 ro vga=0x318 splash=verbose,theme:darch console=tty1
initrd /boot/initramfs-2.6.15-archck.img

A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#254 2006-01-20 14:10:29

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

Your kernel line is wrong - please look at samples in /etc/splash

...and don't cross post!

Offline

#255 2006-01-28 20:41:42

danalien
Member
From: Earth
Registered: 2006-01-24
Posts: 18

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

So, I've taken the plungde of patching a custom build 2.6 kernel [<b>1</b>] with gensplash/fbsplash [<b>2</b>], and compling everythinge else needed to get it up and running.

And IMHO there are 3 cons (minor). with the current solution (from my POV).

<b>1)</b> In <i>silent</i> mode, 33%-or-so into the startup process, silent mode on vt16 starts to <i>flash/flicker</i>.
<b>2)</b> Configured [<b>3</b>] kernel to have 'F2' switch to <i>verbose</i> & back support, but it's only working <i>silent</i> to <i>verbose</i>, and not <i>verbose</i> to <i>silent</i>.
<b>3)</b> <i>silent</i> mode is only enabled after UDev is started, which is kinda a bummer, compared to, that in <i>verbose</i> it starts (almost) instantaneously [<b>4</b>]. I've looked at the <i>init</i> [<b>5</b>] scripts, and pondered if we couldn't add the required <i>stuff</i> to the <i>initramfs</i> when executing the <i>mkinitramfs</i> command [<b>6</b>]?

----
1 - <i>2.6.15.1-AMDK7-SPLASH</i> with <i>acpi-release-20050902-2.6.15.diff</i>
2 - <i>fbsplash-0.9.2-r5-2.6.15-rc1.patch</i>
3 - with <i>CONFIG_INPUT_EVDEV=y</i>
4 - using <i>vesafb</i> since its the exception that it isn't initiated much later, eg <i>vesafb-tng</i>...
5 - <i>initscripts-gensplash</i>
6 - but since <i>/sbin/splash</i> is a bash shell script we'd have to add bash & it's lib deps.... on the plus side <i>/sbin/splash_util.static</i> is static *wihii* smile

Offline

#256 2006-01-28 22:30:58

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

Try the following in your kernel line to fix the flashing you describe:

splash=silent,theme:darch,kdgraphics,tty:7 console=tty1 quiet

Offline

#257 2006-01-30 02:57:55

danalien
Member
From: Earth
Registered: 2006-01-24
Posts: 18

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

iBertus wrote:

Try the following in your kernel line to fix the flashing you describe:

splash=silent,theme:darch,kdgraphics,tty:7 console=tty1 quiet

thanks, but I found what was messing it all up - I had a bad console font config smile after setting in <i>rc.conf</i>

CONSOLEFONT=lat9w-16.psfu.gz
CONSOLEMAP=8859-1

it stops flashing when '<i>silent</i>'

Tried <i>kdgraphics</i> with my '<i>bad_font_config</i>' too, bit i has some drawbacks aswell [1] hmm


---
1 -  bad vc1.fbgrab.-.darch.+bad_font_config+kdgraphics.png <b>vs.</b> normal vc1.fbgrab.-.darch.png

Offline

#258 2006-01-30 11:35:43

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

Not sure what you mean but as for verbose to silent - if you start verbose you can't switch to silent.  If you are talking about silent->verbose->silent all i can say is that works fine for me smile

You probably could add the required "stuff" but that is a bit more of a knowledge leap than I can make at the moment as I don't have regular internet access for research or results sharing.  Also ziggy (archie head-dev) is a the man when it comes to adding this sort of thing.  i think he will know exactly how to add this"stuff" to the initramfs BUT it probably means non-optional bloat in your initramfs - and not everyone wants that.  That is a perrenial problem with implementing this kind of thing smile

Offline

#259 2006-01-30 21:43:23

danalien
Member
From: Earth
Registered: 2006-01-24
Posts: 18

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

dibblethewrecker wrote:

Not sure what you mean but as for verbose to silent - if you start verbose you can't switch to silent.  If you are talking about silent->verbose->silent all i can say is that works fine for me smile

japp, ment <i>silent->verbose->silent</i>.

dibblethewrecker wrote:

You probably could add the required "stuff" but that is a bit more of a knowledge leap than I can make at the moment as I don't have regular internet access for research or results sharing.  Also ziggy (archie head-dev) is a the man when it comes to adding this sort of thing.  i think he will know exactly how to add this"stuff" to the initramfs BUT it probably means non-optional bloat in your initramfs - and not everyone wants that.  That is a perrenial problem with implementing this kind of thing smile

I was thinking more like adding it as an <i>mkinitramfs</i> option-parameter the users has to explicitly define, for '<i>the stuff</i>' to be added to the generated <i>initramfs</i>.

Offline

#260 2006-02-01 05:37:55

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

Although there's some previous discussion in this thread about using gensplash on systems with /usr on a seperate partition, here's what I did to make it work.
1. 

mkdir /lib/splash/bin

2. 

cp /usr/bin/wc /lib/splash/bin
cp /usr/bin/fbres /lib/splash/bin
cp /usr/bin/fgconsole /lib/splash/bin

3.  apply the following patches:

--- sbin/splash 2005-10-21 04:31:24.000000000 -0400
+++ /sbin/splash        2006-01-30 02:16:33.000000000 -0500
@@ -145,7 +145,7 @@
        rm -f ${spl_fifo} 2>/dev/null
        
        # Set gensplash variables
-       GENSPLASH_NUMBER=$((`echo ${DAEMONS[@]} | sed 's/![^ t]*//g' | wc -w` + 
+       GENSPLASH_NUMBER=$((`echo ${DAEMONS[@]} | sed 's/![^ t]*//g' | /lib/splash/bin/wc -w` + 
        `cat /etc/rc.{sysinit,multi,local} | grep -c -e status -e stat_busy`))
        GENSPLASH_DELTA=$((60000 / $GENSPLASH_NUMBER))
        GENSPLASH_PROGRESS=$((65535 - $GENSPLASH_NUMBER * $GENSPLASH_DELTA))
@@ -224,7 +224,7 @@
        fi
 
        # Grab resolution variables
-       res=$(/usr/bin/fbres)
+       res=$(/lib/splash/bin/fbres)
        yres=${res#*x}
        xres=${res%x*}
        
--- etc/rc.d/splash-functions   2005-10-21 04:31:24.000000000 -0400
+++ /etc/rc.d/splash-functions  2006-01-30 01:51:11.000000000 -0500
@@ -10,7 +10,7 @@
 
 gensplash_getmode ()
 {
-       local ctty="$(/usr/bin/fgconsole)"
+       local ctty="$(/lib/splash/bin/fgconsole)"
 
        if [[ ${ctty} == "${SPLASH_TTY}" ]]; then
                echo "silent"

BTW, these binaries will work perfectly in /lib/splash/bin as they only rely on glibc libs installed in /lib. After these changes, gensplash works great. big_smile

HTH

Offline

#261 2006-02-03 17:02:27

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: [kernel] gensplash framebuffer boot splash screens for 2.6.x

I have had some ideas about including these changes in the pkg - I think it is worth it now smile

Offline

Board footer

Powered by FluxBB