Results 1 to 1 of 1
I've been at this for a longtime and have read all the guides so please don't point to them.
etc/init.d/fbcondecor: line11: 4548 segmentation fault /sbin/fbcondecor-ctl --tty = "${tty}" -t "{theme}" ...
- 12-04-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 10
Gensplash
I've been at this for a longtime and have read all the guides so please don't point to them.
etc/init.d/fbcondecor: line11: 4548 segmentation fault /sbin/fbcondecor-ctl --tty = "${tty}" -t "{theme}" -c sctcfg
failed to set image on tty
my grub.conf:
default 2
timeout 30
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,4)
kernel /vmlinuz root=/dev/sda7 video=vesafb:ywrap,mtrr:2 vga=792 splash=silent theme:gentoo-blue quiet CONSOLE=/dev/tty1
initrd /boot/fbsplash-livecd-2007.0-1024x768
title=Gentoo Linux Rescue
root(hd0,4)
kernel /vmlinuz.old root=/dev/sda7 init=/bin/bb
title=Windows Vista
rootnoverify (hd0,0)
makeactive
chainloader +1
etc/init.d/fbcondecor:
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
before xdm
use localmount
}
set_theme()
{
local theme=$1
local tty=$2
/sbin/fbcondecor_ctl --tty="${tty}" -t "${theme}" -c setcfg || return 1
/sbin/fbcondecor_ctl --tty="${tty}" -t "${theme}" -c setpic -q
/sbin/fbcondecor_ctl --tty="${tty}" -c on || return 1
return 0
}
start() {
. /sbin/splash-functions.sh
splash_setup
if [ -z "${FBCONDECOR_TTYS}" ]; then
if [ -n "${RC_TTY_NUMBER}" ]; then
FBCONDECOR_TTYS=$(seq 1 "${RC_TTY_NUMBER}")
else
FBCONDECOR_TTYS="1 2 3 4 5 6"
fi
fi
local err=0
# Only do this if the kernel supports fbcondecor.
if [ -e /dev/fbcondecor -o -e /dev/fbsplash -a "${SPLASH_MODE_REQ}" != "off" ]; then
ebegin "Setting framebuffer console images"
for TTY in ${FBCONDECOR_TTYS} ; do
theme="${SPLASH_THEME}"
[ ${TTY} = "1" -a -z "$(/sbin/fbcondecor_ctl -c getstate --tty=${TTY}| grep 'off')" ] && continue
[ ${TTY} = "0" ] && continue
if [ -n "${FBCONDECOR_TTY_MAP}" ]; then
for i in ${FBCONDECOR_TTY_MAP} ; do
if [ "${i%:*}" = "${TTY}" ]; then
theme="${i#*:}"
fi
done
fi
if [ -x /usr/bin/openvt ]; then
/usr/bin/openvt -c "${TTY}" -- printf "" 2>/dev/null
fi
if ! set_theme "${theme}" "${TTY}"; then
err=1
break
fi
done
eend "${err}" "Failed to set background image on tty${TTY}"
fi
}
When I set the them in splash manager and crtl + alt + f1 out it shows, it even shows when rebooting just not when i bootup. Only two things that I'm not sure of is in the guide it says to load this kernel opts:
[*] Video mode selection support
It is blanked out, I don't know if it's because something is conflicting with it or it's obsolete.
Second when it says to remove the default link, I don't know how and it doesn't say howto, but I didn't see a file named default in the /etc/splash so idk.
This is the guide: HOWTO gensplash - Gentoo Linux Wiki
I'm using gentoo amdx86_64
any help would be greatly appreciated. Thanx!
P.S I wanted to say I didn't patch the kernel, but to my understanding it's not needed my kernel is: 2.6.22 r-9 I'm not 100% sure though since this is my first time.


Reply With Quote
