Доброго времени суток. Помогите разобраться с заставкой.
Все действия проводились по статье http://www.baldwin.cx/splash/
Прописал в /boot/loader.conf:
splash_bmp_load="YES"
bitmap_load="YES"
bitmap_name="/boot/bsd.bmp"
bitmap_type="splash_image_data"
Ядро соброно с опциями:
options VESA
options SC_PIXEL_MODE
Карточка поддерживает любые режимы. Консоль загружается в 1280x800.
#vidcontrol -i mode
mode# flags type size font window linear
--------------------------------------------------------------------------
0 (0x000) 0x00000001 T 40x25 8x8 0xb8000 32k 32k 0x00000000
1 (0x001) 0x00000001 T 40x25 8x8 0xb8000 32k 32k 0x00000000
2 (0x002) 0x00000001 T 80x25 8x8 0xb8000 32k 32k 0x00000000
3 (0x003) 0x00000001 T 80x25 8x8 0xb8000 32k 32k 0x00000000
4 (0x004) 0x00000003 G 320x200x2 1 8x8 0xb8000 32k 32k 0x00000000
5 (0x005) 0x00000003 G 320x200x2 1 8x8 0xb8000 32k 32k 0x00000000
6 (0x006) 0x00000003 G 640x200x1 1 8x8 0xb8000 32k 32k 0x00000000
13 (0x00d) 0x00000003 G 320x200x4 4 8x8 0xa0000 64k 64k 0x00000000
14 (0x00e) 0x00000003 G 640x200x4 4 8x8 0xa0000 64k 64k 0x00000000
16 (0x010) 0x00000003 G 640x350x2 2 8x14 0xa0000 64k 64k 0x00000000
18 (0x012) 0x00000003 G 640x350x4 4 8x14 0xa0000 64k 64k 0x00000000
19 (0x013) 0x00000001 T 40x25 8x14 0xb8000 32k 32k 0x00000000
20 (0x014) 0x00000001 T 40x25 8x14 0xb8000 32k 32k 0x00000000
21 (0x015) 0x00000001 T 80x25 8x14 0xb8000 32k 32k 0x00000000
22 (0x016) 0x00000001 T 80x25 8x14 0xb8000 32k 32k 0x00000000
23 (0x017) 0x00000001 T 40x25 8x16 0xb8000 32k 32k 0x00000000
24 (0x018) 0x00000001 T 80x25 8x16 0xb8000 32k 32k 0x00000000
26 (0x01a) 0x00000003 G 640x480x4 4 8x16 0xa0000 64k 64k 0x00000000
27 (0x01b) 0x00000003 G 640x480x4 4 8x16 0xa0000 64k 64k 0x00000000
28 (0x01c) 0x00000003 G 320x200x8 1 8x8 0xa0000 64k 64k 0x00000000
30 (0x01e) 0x00000001 T 80x50 8x8 0xb8000 32k 32k 0x00000000
32 (0x020) 0x00000001 T 80x30 8x16 0xb8000 32k 32k 0x00000000
34 (0x022) 0x00000001 T 80x60 8x8 0xb8000 32k 32k 0x00000000
37 (0x025) 0x00000003 G 320x240x8 4 8x8 0xa0000 64k 64k 0x00000000
112 (0x070) 0x00000000 T 80x43 8x8 0xb8000 32k 32k 0x00000000
113 (0x071) 0x00000001 T 80x43 8x8 0xb8000 32k 32k 0x00000000
257 (0x101) 0x0000000f G 640x480x8 1 8x16 0xa0000 64k 64k 0xf0000000
259 (0x103) 0x0000000f G 800x600x8 1 8x16 0xa0000 64k 64k 0xf0000000
261 (0x105) 0x0000000f G 1024x768x8 1 8x16 0xa0000 64k 64k 0xf0000000
273 (0x111) 0x0000000f G 640x480x16 1 8x16 0xa0000 64k 64k 0xf0000000
274 (0x112) 0x0000000f G 640x480x32 1 8x16 0xa0000 64k 64k 0xf0000000
276 (0x114) 0x0000000f G 800x600x16 1 8x16 0xa0000 64k 64k 0xf0000000
277 (0x115) 0x0000000f G 800x600x32 1 8x16 0xa0000 64k 64k 0xf0000000
279 (0x117) 0x0000000f G 1024x768x16 1 8x16 0xa0000 64k 64k 0xf0000000
280 (0x118) 0x0000000f G 1024x768x32 1 8x16 0xa0000 64k 64k 0xf0000000
355 (0x163) 0x0000000f G 1280x800x8 1 8x16 0xa0000 64k 64k 0xf0000000
356 (0x164) 0x0000000f G 1280x800x16 1 8x16 0xa0000 64k 64k 0xf0000000
357 (0x165) 0x0000000f G 1280x800x32 1 8x16 0xa0000 64k 64k 0xf0000000
Изображения тоже допускает любые.
#vidcontrol -i mode | egrep 'G [0-9]+x[0-9]+x8' | awk '{ print $5 }' | sed -e 's/x8$//'
320x200
320x240
640x480
800x600
1024x768
1280x800
Но при загрузке картинка не появляется.
В логах:
kernel: splash_bmp: No appropriate video mode found
kernel: module_register_init: MOD_LOAD (splash_bmp, 0xc0785acc, 0) error 19
Кто-нибудь знает с чем это связано?