LINUX.ORG.RU

bootsplash screen


0

0

Вобщем решил я сабж поставить. Скачал с сайта bootsplash.de патч для моего ядра.
Пропатчил, включил появившуюся опцию, а при компиляции вот это пишет:

(...пропущено...)
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0xa2d9): In function `splash_getraw':
: undefined reference to `con2fb_map'
drivers/built-in.o(.text+0xaaf2): In function `splash_verbose':
: undefined reference to `con2fb_map'
drivers/built-in.o(.text+0xb000): In function `splash_status':
: undefined reference to `con2fb_map'
drivers/built-in.o(.text+0xb140): In function `splash_read_proc':
: undefined reference to `con2fb_map'
drivers/built-in.o(.text+0xb327): In function `splash_write_proc':
: undefined reference to `con2fb_map'
make: *** [.tmp_vmlinux1] Ошибка 1


Что ему не нравится?

Ответ на: комментарий от Kuzmich

>Когда накладывал патч, никаких "FAILED" не было?
Нет, всё нормально пропатчилось
>Сырцы vanilla или с дистра пользуешь? 
Скачал 2.6.10 с kernel.org

А вообще проблема уже решена :)

Wishmaster
() автор топика
Ответ на: комментарий от Wishmaster

>А вообще проблема уже решена :)

По-видимому, проблема всё-таки решена не до конца :(
Ничего не изменилось в процессе загрузки.
Делал так:

- Скачал патч bootsplash-3.1.4-2.6.10.diff с сайта bootsplash.de
- Пропатчил ядро
- Включил в ядро следующие опции:
Device Drivers ---> Block device --->
<*> Loopback device support
<*> RAM disk support
(16)  Default number of RAM disks
(4096) Default RAM disk size (kbytes)
[*]   Initial RAM disk (initrd) support
Device Drivers ---> Graphics support --->
[*] Support for frame buffer devices
[*]   VESA VGA graphics support
Console display driver support  --->
[*]   Video mode selection support
<*> Framebuffer Console support
Logo configuration --->
[*]   Standard black and white Linux logo
[*]   Standard 16-color Linux logo
[*]   Standard 224-color Linux logo
Bootsplash configuration  --->
[*] Bootup splash screen
make bzImage
make modules
make modules_install
- Скачал и установил программу bootsplash-3.1.tar.bz2 :
tar -xvjf bootsplash-3.1.tar.bz2
cd bootsplash-3.1/Utilities
make
cp -p splash /sbin/
cp -p fbmngplay /sbin/
cp -p fbresolution /sbin/
cp -p fbtruetype /sbin/
cp -p splashpbm /sbin/
- Создал папки /etc/bootsplash/themes
- Поместил туда свою загрузочную тему:
tar -xvjf Theme-AquaMatrix.tar.bz2
cp -r AquaMatrix/ /etc/bootsplash/themes/
ln -s /etc/bootsplash/themes/AquaMatrix/ /etc/bootsplash/themes/current
- Создал initrd с темой :
/sbin/splash -s -f /etc/bootsplash/themes/current/config/bootsplash-1024x768.cfg >> /boot/initrd.splash
- Отредактировал lilo.conf :
.........
vga = 791
image="/boot/vmlinuz"
	root="/dev/hda1"
	initrd="/boot/initrd.splash"
	label="Slacka"
	append="splash=silent"
  read-only
.........
- Создал файл etc/rc.d/rc.bootsplash :
#!/bin/sh
 function progressbar(){
 if [ $# != 1 ]
 then
 echo "Use: progressbar {progresso}"
 exit 1
 fi
 echo "show $(( 65534 * $1 / 100 ))" > /proc/splash
 }
- Установил на него права :
chmod 755 /etc/rc.d/rc.bootsplash
- Добавил в файлы rc.S и rc.M запуск rc.bootsplash дописывая в начале . /etc/rc.d/rc.bootsplash
- Разместил по степени загрузки значения progressbar

Вроде ничего не забыл.
Где я ошибся или что не доделал?

Wishmaster
() автор топика
Ответ на: комментарий от Wishmaster

Всё-таки я склоняюсь к тому, что у тебя патч нормально не наложился.

Kuzmich ★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.