Click to See Complete Forum and Search --> : bootsplash patch causes errors


vontez
04-04-2005, 12:36 PM
Hi, I'm trying to configure a bootsplash: http://www.bootsplash.org, and I applied the 2.6 kernel patch to my 2.6.11 kernel. It added a bootsplash section to my Device Drivers -- Graphics Support section. I enabled it to be compiled into the kernel, and saved. When I do a make I get this message:

drivers/built-in.o(.text+0xba65): In function `fbcon_switch':
: undefined reference to `splash_prepare'
drivers/built-in.o(.text+0x428cb): In function `kbd_keycode':
: undefined reference to `splash_verbose'
make: *** [.tmp_vmlinux1] Error 1

Is my kernel too new for this patch to work? Are there any other utilities to enable a bootsplash that hides kernel messages? I'm running Debian Sarge.

Hayl
04-04-2005, 01:03 PM
it may not be compatable with the latest kernels

you could try the one that the one of the Gentoo developers is making.

it does require some userspace tools -- which is actually better because ther eis less of a chance of something changing in the kernel that affects the patch.

it's http://dev.gentoo.org/~spock

vontez
04-04-2005, 06:59 PM
Okay, I checked out that page and found a link to this page: Debian fbsplash (http://olterman.homelinux.net/?page=fbsplash&dir=Tutorials)

I followed the instructions on this page exactly, with the exception of using the 2.6.11 kernel patch instead of the 2.6.9 kernel patch that the author uses. Everything seems to work fine, except when I boot into the new grub entry, I get a listing of my grub entry:

root (hd1,0)
kernel /boot/kernel-2.6.11 root=/dev/hdb1 vga=0x318 video=vesafb:ywrap splash=silent,theme:current
initrd /boot/initrd.img-2.6.11

Then it just sits there and does nothing. Has anyone else gotten fbsplash to work? I downloaded the splashutils version 1.1.9.3, and created my initrd image with it.

Hayl
04-04-2005, 07:03 PM
do you have a theme directory at /etc/splash/current ?

if you don't then it won't work properly.

yes - many people have this working.

there is a how-to on the [url=http://gentoo-wiki.com]gentoo wiki page[/rul].

vontez
04-04-2005, 10:10 PM
I was using current as a symbolic link to the directory which contained my theme. That wasn't working, so I tried using the emergence theme. I'm still getting the same problem. I've read through the instructions on the Gentoo page and I have done everything they say. Does anyone use the splashutils outside of Gentoo? The gentoo how-to just says to use emerge to install splashutils. I had to create a symbolic link in the splashutils install directory to my /usr/src/linux and /usr/src/linux/kernel directory in order to make the necessary files. I'm wondering if my install isn't right?

afaiq
04-18-2005, 02:26 PM
vontez, what version of the kernel are you using? The most recent bootsplash kernel patch bootsplash-3.1.4-2.6.3.diff does not work with 2.6.11.7. Was your kernel patch clean??

FYI - I get the following errors:

patching file drivers/char/keyboard.c
Hunk #1 succeeded at 1060 (offset 15 lines).
patching file drivers/char/n_tty.c
Hunk #1 FAILED at 969.
1 out of 1 hunk FAILED -- saving rejects to file drivers/char/n_tty.c.rej
patching file drivers/char/vt.c
Hunk #1 succeeded at 3251 (offset 213 lines).
patching file drivers/video/Kconfig
Hunk #1 succeeded at 1140 with fuzz 1 (offset 234 lines).
patching file drivers/video/Makefile
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file drivers/video/Makefile.rej
patching file drivers/video/bootsplash/Kconfig
patching file drivers/video/bootsplash/Makefile
patching file drivers/video/bootsplash/bootsplash.c
patching file drivers/video/bootsplash/bootsplash.h
patching file drivers/video/bootsplash/decode-jpg.c
patching file drivers/video/bootsplash/decode-jpg.h
patching file drivers/video/bootsplash/render.c
patching file drivers/video/console/fbcon.c
Hunk #2 FAILED at 202.
Hunk #3 FAILED at 415.
Hunk #4 FAILED at 439.
Hunk #5 FAILED at 469.
Hunk #6 FAILED at 507.
Hunk #7 FAILED at 539.
Hunk #8 FAILED at 826.
Hunk #9 FAILED at 909.
Hunk #10 FAILED at 1081.
Hunk #11 FAILED at 1162.
Hunk #12 FAILED at 1472.
Hunk #13 FAILED at 1543.
Hunk #14 FAILED at 1672.
Hunk #15 succeeded at 1976 with fuzz 2 (offset 257 lines).
......

serz
04-18-2005, 02:36 PM
Originally posted by afaiq
The most recent bootsplash kernel patch bootsplash-3.1.4-2.6.3.diff does not work with 2.6.11.7.

Well, you're supossed to patch something against that kernel version. If it's not the same version I doubt it will work.

Icarus
04-18-2005, 03:49 PM
Not to mention that bootsplash has dropped support for kernels since 2.6.8 ;)

Gentoo has switched to using Gensplash (http://64.233.167.104/search?q=cache:u630mFgU0NQJ:gentoo-wiki.com/HOWTO_fbsplas) which uses fbsplash
(is http://gentoo-wiki.com broken for anyone else? I had to use a google cache for the page)

serz
04-18-2005, 07:32 PM
Originally posted by Icarus
(is http://gentoo-wiki.com broken for anyone else? I had to use a google cache for the page)
It's not working for me either.

afaiq
04-19-2005, 12:01 PM
Originally posted by serz
It's not working for me either.

Seems to be working fine now. btw does anyone know if Gensplash works for SuSE? I am assuming it does.....

vontez
04-19-2005, 12:11 PM
Yeah, bootsplash does not work with newer kernels. I ended up using Gensplash on my Debian Sarge machine. I would see no reason why Gensplash wouldn't work with SuSE.

This is the main site for this utility:
http://dev.gentoo.org/~spock/

Icarus
04-19-2005, 12:50 PM
Originally posted by serz
It's not working for me either. Looks like it's fixed now