Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1671 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  kernel 2.6, bootsplash, marche

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

kernel 2.6, bootsplash, marche

n°377553
GUG
Posté le 20-12-2003 à 15:31:58  profilanswer
 

Bonjour,  
J'ai installer le 2.6.0 aujourdhui et tant qu'à recompiler un noyau j'ai mis le bootsplash.
J'ai la version verbose du boot splash au boot : c'est a dire que je vois les lignes défiler.
 
Comment puis je faire pour avoir la version avec barre de progression ?
 
sinon j'ai encore et tjrs un "probleme" avec le poweroff, le pc ne s'eteignant pas apres ... j'ai mis APM et real call BIOS (enfin un truc dans le genre)
 
merci d avance


Message édité par GUG le 20-12-2003 à 21:37:07
mood
Publicité
Posté le 20-12-2003 à 15:31:58  profilanswer
 

n°377573
GUG
Posté le 20-12-2003 à 16:02:10  profilanswer
 

dans /var/log/kern.log j'ai :  

Code :
  1. Dec 20 15:49:36 gug kernel: vesafb: framebuffer at 0xb0000000, mapped to 0xd8800000, size 16384k
  2. Dec 20 15:49:36 gug kernel: vesafb: mode is 1024x768x16, linelength=2048, pages=84
  3. Dec 20 15:49:36 gug kernel: vesafb: protected mode interface info at c000:574f
  4. Dec 20 15:49:36 gug kernel: vesafb: scrolling: redraw
  5. Dec 20 15:49:36 gug kernel: vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
  6. Dec 20 15:49:36 gug kernel: Kernel command line: append="splash=silent" vga=791 root=/dev/hda2 ro
  7. Dec 20 15:49:36 gug kernel: bootsplash 3.1.3-2003/11/14: looking for picture.... silentjpeg size 91637 bytes, found (1024x768, 20788 bytes, v3).
  8. Dec 20 15:49:36 gug kernel: Console: switching to colour frame buffer device 128x48
  9. Dec 20 15:49:36 gug kernel: pty: 256 Unix98 ptys configured


 
Par rapport a bootsplash.org il manque  
Got silent jpeg.
 
 
Dans grub j'ai mis :
append="splash=silent"

n°377607
911GT3
en roue libre
Posté le 20-12-2003 à 17:08:19  profilanswer
 

humm.... /!\ 22 /!\ :Questions connes:
tu as bien patché les sources ?
ça fonctionnait avec le 2.4 ?

n°377608
GUG
Posté le 20-12-2003 à 17:11:56  profilanswer
 

j'ais bien l'image en fond d'ecran lors du boot en framebuffer.
 
en bidouillant les scripts d'init, j'arrive presque a avoir une progress bar potable.
maintenant si j'arrive à avoir  le silent mode ce serait cool ;) car la je vois encore les lignes défiler ...
d'ailleur il ne faut pas prendre les utility du site officiel, il manque des sources dans l'archives ...
prendre celle ci :  
http://guide.andesi.org/downloads/splashutils.tar.bz2
 
ps : sur une debian
ps2 : je n'avais pas installer de boot splash sur un 2.4 ;) :D


Message édité par GUG le 20-12-2003 à 17:15:24
n°377614
911GT3
en roue libre
Posté le 20-12-2003 à 17:22:46  profilanswer
 

ah, ok, ok....
j'avais lu (beaucoup) trop vite :whistle:
 
alors, j'ai ça:

Building zonelist for node : 0
Kernel command line: auto BOOT_IMAGE=Debian ro root=301 splash=silent
bootsplash: silent mode.


 
et j'avais pondu des rc et rcS modifiés pour faire fonctionner la barre de progression. C'est certainement pas très beau mais chez moi ça fonctionne:  
http://911gt3.free.fr/files/rc
http://911gt3.free.fr/files/rcS
 
maintenant, je comprends pas trop pourquoi tu n'as pas l'image du silent, même sans la barre de progression...

n°377617
911GT3
en roue libre
Posté le 20-12-2003 à 17:33:50  profilanswer
 

en fait, je me souviens que j'ai arrêté d'utiliser ces fichiers.
j'utilise splashutils de http://people.debian.org/~erich/un [...] ootsplash/

n°377627
GUG
Posté le 20-12-2003 à 17:50:46  profilanswer
 

merci :))
j'essaye ca de suite ...  
Bon tjrs pas de silent mode ni de progress bar
je dois vraiment etre mauvais :/


Message édité par GUG le 20-12-2003 à 18:12:50
n°377634
911GT3
en roue libre
Posté le 20-12-2003 à 18:17:32  profilanswer
 

et si tu fais un "echo silent > /proc/splash && sleep 5", ça fonctionnne ?

n°377645
GUG
Posté le 20-12-2003 à 19:10:06  profilanswer
 

voila mon entrée pour grub pour avoir le silent mode :  

Code :
  1. title           Debian GNU/Linux, kernel 2.6.0
  2. root            (hd0,1)
  3. kernel          /boot/vmlinuz-2.6.0  append="splash=silent" vga=791 root=/dev/hda2 ro
  4. initrd          /boot/initrd.splash 
  5. savedefault
  6. boot

n°377651
911GT3
en roue libre
Posté le 20-12-2003 à 19:21:25  profilanswer
 

j'avais pas fait gaffe mais essaies de faire une ligne plutôt dans le genre:

 kernel          /boot/vmlinuz-2.6.0  splash=silent vga=791 root=/dev/hda2 ro


je crois que append= est spécifique à lilo

mood
Publicité
Posté le 20-12-2003 à 19:21:25  profilanswer
 

n°377654
mirtouf
Light is right !
Posté le 20-12-2003 à 19:24:00  profilanswer
 

append est bien spécifique à lilo.


---------------
-~- Libérez Datoune ! -~- Camarade, toi aussi rejoins le FLD pour que la flamme de la Révolution ne s'éteigne pas ! -~- A VENDRE
n°377661
GUG
Posté le 20-12-2003 à 19:30:04  profilanswer
 

je viens d'essayer ... en effet ca marche
  kernel          /boot/vmlinuz-2.6.0  splash=silent vga=791 root=/dev/hda2 ro
 
:/
 
pour le append je ne savais plus si lilo ou grub ...
je suis tomber sur le guide de andesie
http://andesi.org/article.php?id=jbootsplash
qui indiquait bien append, bon je leur envoie un mail ;)  
 
merci 911GT3 :) et mirtouf egalement ;)  
me reste plus "que" la progress bar

n°377710
GUG
Posté le 20-12-2003 à 20:49:48  profilanswer
 

J'ai encore un petit soucis, le mode silent s'arrete au 2/3 du chargement et passe en mode verbose, cela peut etre du aux erreur sur /dev/ttyN ? ce qui serait plus genant c'etait si ca quittait du a l'erreur de montage de rep smb :/
 
Voila mes scripts d'init (changer la couleur de progress en fonction des gouts)
 
/etc/init.d/rc

Code :
  1. #! /bin/sh
  2. #
  3. # rc  This file is responsible for starting/stopping
  4. #  services when the runlevel changes.
  5. #
  6. #  Optimization feature:
  7. #  A startup script is _not_ run when the service was
  8. #  running in the previous runlevel and it wasn't stopped
  9. #  in the runlevel transition (most Debian services don't
  10. #  have K?? links in rc{1,2,3,4,5} )
  11. #
  12. # Author: Miquel van Smoorenburg <miquels@cistron.nl>
  13. #  Bruce Perens <Bruce@Pixar.com>
  14. #
  15. # Version: @(#)rc  2.78  07-Nov-1999  miquels@cistron.nl
  16. #
  17. # Un-comment the following for debugging.
  18. # debug=echo
  19. #
  20. # Start script or program.
  21. #
  22. startup() {
  23.   case "$1" in
  24. *.sh)
  25.  $debug sh "$@"
  26.  ;;
  27. *)
  28.  $debug "$@"
  29.  ;;
  30.   esac
  31. }
  32.   # Ignore CTRL-C only in this shell, so we can interrupt subprocesses.
  33.   trap ":" INT QUIT TSTP
  34.   # Set onlcr to avoid staircase effect.
  35.   stty onlcr 0>&1
  36.   # Now find out what the current and what the previous runlevel are.
  37.   runlevel=$RUNLEVEL
  38.   # Get first argument. Set new runlevel to this argument.
  39.   [ "$1" != "" ] && runlevel=$1
  40.   if [ "$runlevel" = "" ]
  41.   then
  42. echo "Usage: $0 <runlevel>" >&2
  43. exit 1
  44.   fi
  45.   previous=$PREVLEVEL
  46.   [ "$previous" = "" ] && previous=N
  47.   export runlevel previous
  48.   # Is there an rc directory for this new runlevel?
  49.   if [ -d /etc/rc$runlevel.d ]
  50.   then
  51. # First, run the KILL scripts.
  52. if [ $previous != N ]
  53. then
  54. k=2
  55.  for i in /etc/rc$runlevel.d/K[0-9][0-9]*
  56.  do
  57.   # Check if the script is there.
  58.   [ ! -f $i ] && continue
  59.   # Stop the service.
  60. #This is to not escape from established bar progress width
  61.           if ((k < 535))
  62.           then
  63.           /usr/sbin/progress 442 578 $k 10 d40650
  64.           let k=k+2
  65.           fi
  66.         # Fin barra proceso
  67. startup $i stop
  68.  done
  69. fi
  70. # Now run the START scripts for this runlevel.
  71. #
  72. # Explained below
  73. danger_var=52
  74. j=danger_var
  75. for i in /etc/rc$runlevel.d/S*
  76. do
  77.  [ ! -f $i ] && continue
  78.  if [ $previous != N ] && [ $previous != S ]
  79.  then
  80.   #
  81.   # Find start script in previous runlevel and
  82.   # stop script in this runlevel.
  83.   #
  84.   suffix=${i#/etc/rc$runlevel.d/S[0-9][0-9]}
  85.   stop=/etc/rc$runlevel.d/K[0-9][0-9]$suffix
  86.   previous_start=/etc/rc$previous.d/S[0-9][0-9]$suffix
  87.   #
  88.   # If there is a start script in the previous level
  89.   # and _no_ stop script in this level, we don't
  90.   # have to re-start the service.
  91.   #
  92.   [ -f $previous_start ] && [ ! -f $stop ] && continue
  93.  fi
  94. #Continue progress bar
  95.                 #This is to not escape from established bar progress width
  96.                     if ((j < 535))
  97.                     then
  98.                     /usr/sbin/progress 442 578 $j 10 d40650
  99.                     let j=j+2
  100.                     fi
  101.                 #End progress bar
  102.  case "$runlevel" in
  103.   0|6)
  104.    startup $i stop
  105.    ;;
  106.   *)
  107.    startup $i start
  108.    ;;
  109.  esac
  110. done
  111.   fi
  112. # eof /etc/init.d/rc


 
/etc/init.d/rcS

Code :
  1. #! /bin/sh
  2. #
  3. # rcS  Call all S??* scripts in /etc/rcS.d in
  4. #  numerical/alphabetical order.
  5. #
  6. # Version: @(#)/etc/init.d/rcS  2.76  19-Apr-1999  miquels@cistron.nl
  7. #
  8. PATH=/sbin:/bin:/usr/sbin:/usr/bin
  9. runlevel=S
  10. prevlevel=N
  11. umask 022
  12. export PATH runlevel prevlevel
  13. #
  14. # See if system needs to be setup. This is ONLY meant to
  15. # be used for the initial setup after a fresh installation!
  16. #
  17. if [ -x /sbin/unconfigured.sh ]
  18. then
  19.   /sbin/unconfigured.sh
  20. fi
  21. #
  22. # Source defaults.
  23. #
  24. . /etc/default/rcS
  25. export VERBOSE
  26. #
  27. # Trap CTRL-C &c only in this shell so we can interrupt subprocesses.
  28. #
  29. trap ":" INT QUIT TSTP
  30. #     Initialize j variable
  31. #       j is the progress bar width
  32. j=2
  33. #
  34. # Call all parts in order.
  35. #
  36. for i in /etc/rcS.d/S??*
  37. do
  38. # Ignore dangling symlinks for now.
  39. [ ! -f "$i" ] && continue
  40. #       Start progress bar
  41. #
  42. #       This is for not escape from established bar progress width
  43.         if ((j < 535 ))
  44.                 then
  45. #       With this, we call progress to draw a bar wider than
  46. #       the previous one, exactly 15 pixels wider (j=dx)
  47. #                                                     x   y  dx dy color
  48.                 /usr/sbin/progress 442 578 $j 10 d40650
  49.                 let j=j+2
  50.         fi
  51. #       End progress bar
  52. case "$i" in
  53.  *.sh)
  54.   # Source shell script for speed.
  55.   (
  56.    trap - INT QUIT TSTP
  57.    set start
  58.    . $i
  59.   )
  60.   ;;
  61.  *)
  62.   # No sh extension, so fork subprocess.
  63.   $i start
  64.   ;;
  65. esac
  66. done
  67. #
  68. # For compatibility, run the files in /etc/rc.boot too.
  69. #
  70. [ -d /etc/rc.boot ] && run-parts /etc/rc.boot
  71. #
  72. # Finish setup if needed. The comment above about
  73. # /sbin/unconfigured.sh applies here as well!
  74. #
  75. if [ -x /sbin/setup.sh ]
  76. then
  77.   /sbin/setup.sh
  78. fi
  79. sed 's/danger_var=[0-9]*/danger_var='$j'/g' /etc/init.d/rc > /tmp/boots
  80. mv /tmp/boots /etc/init.d/rc
  81. chmod 755 /etc/init.d/rc


 
Je l'ai est trouver dans un  tar.bz2 de kde-look.org, un theme bootsplash sur debian ...


Message édité par GUG le 20-12-2003 à 20:51:56
n°377712
911GT3
en roue libre
Posté le 20-12-2003 à 20:54:40  profilanswer
 

j'ai eu le même genre de désagremment et c'était dû à ces lignes dans /etc/init.d/console-screen.sh que j'ai commenté:

   # Go to UTF-8 mode as necessary
#    [ -f /etc/environment ] && . /etc/environment
#    CHARMAP=`LANG=$LANG LC_ALL=$LC_ALL LC_CTYPE=$LC_CTYPE locale charmap`
#    if   test "$CHARMAP" = "UTF-8"
#    then
#        /usr/bin/unicode_start || true
#
#    else
#        /usr/bin/unicode_stop || true
#    fi

n°377715
GUG
Posté le 20-12-2003 à 21:00:09  profilanswer
 

merci :))) ca marche :))  
\o/
 
GT3 si t'es sur panam je te paie une bierre   [:bibine51]


Message édité par GUG le 20-12-2003 à 21:57:56
n°377717
911GT3
en roue libre
Posté le 20-12-2003 à 21:02:53  profilanswer
 

\o\ \o/ /o/ (à la prochaine OSABouffe ;) .... la dernière on était ...... 3 [:ddr555] )

n°377723
GUG
Posté le 20-12-2003 à 21:15:57  profilanswer
 

hehe ca marche :)  
http://www.aichler.net/gentoo/boot [...] 5.2.tar.gz
 
y a des scripts de demarrage, mais c'est pour gentoo ...

n°377734
GUG
Posté le 20-12-2003 à 21:37:52  profilanswer
 
n°377736
911GT3
en roue libre
Posté le 20-12-2003 à 21:42:52  profilanswer
 

ils te plaisaient pas mes scripts et ceux de Erich Schubert :??:

n°377740
GUG
Posté le 20-12-2003 à 21:56:49  profilanswer
 

Les tiens non ;p ceux de Erich, oui  
mais je prefere la page ou c'est marquer en gras ce qui concerne la progress bar :D
 
bon bah c'etait pas si dur a mettre en fait [:ddr555]


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  kernel 2.6, bootsplash, marche

 

Sujets relatifs
Audigy 2 pas de son, kernel 2.6[prob] kernel 2.6
urgent kernel 2.6 input devices[ISO] KDE 3.2 CVS + XFree 4.4 + kernel 2.6 + gcc3.3.2
[kernel] Compilation du module cloop: problème de débutantComment on installe une new version du kernel ?
Kernel Panic : question bête[DEBIAN] Kernel 2.6+module-init-tools+lic6?
[Pinnacle Studio Deluxe + Linux] ça marche?Du X, du nvidia, du gcc et de la recompil de kernel... [resolu]
Plus de sujets relatifs à : kernel 2.6, bootsplash, marche


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR