[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Boot splash



Ainsi parla Arnaud CALVO le 306ème jour de l'an 2003:

> 
> Nicolas Rueff a écrit :
> > Ainsi parla Arnaud CALVO le 306ème jour de l'an 2003:
> 
> > Une autre piste: voici des messages que j'obtiens pendant mon boot:
> > 1) arguments passés au kernel:
> > Kernel command line: root=/dev/hda1 splash=silent vga=788
> > pci=biosirq video=vesafb:ypan resume=/dev/hda5
> 
> Les miens :
> Kernel command line: BOOT_IMAGE=Debian-SID ro root=308 splash=silent 
> hdc=ide-scsi console=tty6 video=vesafb:ypan
> (dans lilo.conf :
> 	root=/dev/hda8
>          initrd=/boot/initrd.splash
>          append=" splash=silent hdc=ide-scsi console=tty6
>          video=vesafb:ypan" vga=791
>          label=Debian-SID
>          read-only
> )
> 
> À ce propos : je vois que tu utilises "video=vesafb", et dans la doc,
> on parle de "video=vesa" ???

Oops, erreur de conf: merci. Ceci dit, cette option ne sert que si on a
plusieurs drivers fb présents dans le noyo, et comme je n'ai que VESAFB
d'activé ...

> > 2) signe de vie de bootsplash (prouve que le noyau a bien été
> > patché) bootsplash: silent mode.
> 
> bootsplash: silent mode
> Donc c'est OK

Donc ton noyo a été patché et configuré correctement.

> 
> > 3) signes de vie du framebuffer:
> > vesafb: framebuffer at 0xe8000000, mapped to 0xe080a000, size 1875k
> > vesafb: mode is 800x600x16, linelength=1600, pages=67
> > vesafb: protected mode interface info at c000:53a4
> > vesafb: scrolling: redraw
> > vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
> 
> vga16fb: mapped to 0xc00a0000

Oops, problème: ton noyo a activé le driver framebuffer "vga16", et as
le "vesa". Ça m'étonne pas que ça ne marche pas.

> > 4) activation du bootsplash:
> > Looking for splash picture.... silenjpeg size 81452 bytes, found
> > (800x600, 60012 bytes, v3). Got silent jpeg.
> 
> Ça, je ne trouve rien qui y ressemble...

Normal, puisque ton driver FB est le vga16 qui n'est pas supporté par
splashimage.

> > 5) activation du framebuffer
> > Console: switching to colour frame buffer device 93x32
> > fb0: VESA VGA frame buffer device
> 
> Console: switching to colour frame buffer device 80x30
> fb0: VGA16 VGA frame buffer device

Ce sui confirme que tu n'as pas le bon driver fb activé.

> > 6) enfin quelques messages en relation avec le ramdisk
> > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024
> > blocksize RAMDISK: Couldn't find valid RAM disk image starting at 0.
> 
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> RAMDISK: Couldn't find valid RAM disk image starting at 0.

RAS de ce coté.

> >> Comment tester ce fichier ? La commande "file" me dit :
> >> /boot/initrd.splash: \<!DOCTYPE\ html        broken HTML document
> >text
> > 
> > Curieux ça; chez moi: 
> > bash-2.05b$ file /boot/initrd.splash.800x600
> > /boot/initrd.splash.800x600: data
> > 
> > Si ton initrd est planté, c'est normal que ça ne marche pas. Vérifie
> > que ton thème est correct (fichier .cfg: validité des chemins).
> 
> Le .cfg me paraît correct.
> 
> > En tout cas,
> > splash ne sort jamais de HTML, donc à mon avis ton utilitaire
> > "splash" est foireux.
> 
> C'est ce que j'ai pensé. Je l'ai recompilé, mais ça ne fonctionne pas 
> mieux...
> Peux-tu m'envoyer le tien ?

Non, voir plus bas.

> >> Mais quand j'essaie de le visualiser (avec MC par exemple), ça
> >semble > être du data, pas de l'html...
> > 
> > Il devrait être bon si tu obtiens au début "BOOTSPL3": 
> > strings /boot/initrd.splash | less
> 
> J'obtiens bien "BOOTSPL3", mais file me retourne quand même du HTML
> !

OK, voir plus bas.

Pour résumer: 
1) ton noyo est bien patché pour supporter splashscreen.
2) par contre il est mal configuré du point de vue framebuffer
3) ton initrd est correct, donc tes otuils splash et ton thème également
4) ton outil file est cassé

Conclusion:
1) reconfigure correctement ton noyo. Voici un extrait de ma propre
config:

bash-2.05b$ grep FB /usr/src/linux/.config
CONFIG_FB=y
# CONFIG_FB_RIVA is not set
# CONFIG_FB_CLGEN is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CYBER2000 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_SPLASHSCREEN=y
CONFIG_FBCON_CFB16=y
# CONFIG_FBCON_ADVANCED is not set
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
# CONFIG_FBCON_FONTS is not set

2) réinstalle "file". Peut-être qu'un bug report s'impose également, à
toi de voir ;-)

3) Si tu le souhaite, je peux te fournir mon propre thème, dispo en
800x600 uniquement, mais ça devrait changer cet après-midi. Par contre
inutile que je t'envoie mes binaires splash.

-- 
  .,p**"*=b_   Nicolas Rueff
 ?P"  .__ `*b   Montbéliard  -  France
|P  .d?'`&, 9|   http://rueff.tuxfamily.org
M:  |}   |- H'   n.rueff@tuxfamily.org
&|  `#?_._oH'   +33 6 77 64 44 80
`H.   "`"`'   GPG 0xDD44DAB4
 `#?.	    ICQ 97700474
   `^~.
We are Debian. Resistance is futile. You will be assimilated.

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/E/IT d- s:- a24>? C++ UL+++$ P++ L++++ !E W+++ N++ o? K- w-- !O M-
V-- !PS !PE !Y PGP+++ t+ 5 X+ R* tv++ b++++ DI++ D++ G++ e+++ h r- y++
------END GEEK CODE BLOCK------

Attachment: pgpFD6eMTD6Mi.pgp
Description: PGP signature


Reply to: