miklos ha scritto:1) vorrei eliminare lo sfarfallio che ottengo, ad un certo punto del boot, quando attivo il kernel mode setting (la scheda video e' una ati radeon). Ho provato a includere staticamente il modulo ma non funziona come vorrei, nel senso che prima attiva il modesetting, poi sembra come ritornare in modalita framebuffer senza accellerazione. Come posso fare!??!
Come hai configurato i
Device Drivers del kernel?
Io ho in built-in, dalla voce
Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) - ATI Radeon
-
Enable modesetting on radeon by default - NEW DRIVER
Mentre della voce
Support for frame buffer devices ho disabilitato tutto.
Ancora, ho incluso i firmware nel kernel, abilitando dalla voce
Generic Driver Options:
- Include in-kernel firmware blobs in kernel binary
Infine, ricorda che devi eliminare qualsiasi voce del tipo 'video=' o 'vga=' dal 'lilo.conf'.
miklos ha scritto:
3) vorrei recuperare qualche secondo all'avvio eliminando qualche step. Ho letto un po' nel forum e ho visto che alcuni commentano il controllo del filesystem, cosa che non mi piace tantissimo. Studiando gli script ho visto che prima del controllo del disco, viene testata l'esistenza del file:
qualcuno sa come funziona!?!? Non ho trovato nessuno script che genera questo file, in piu' fa parte di quei file che al termine del boot vengono eliminati.
Io uso proprio quel file con:
durante lo shutdown creo il file /etc/fastboot, così evito il controllo dei filesystem se la macchina viene spenta correttamente.
Emanuele
P.S. Inoltre per guadagnare tempo all'avvio ho commentato
- ## Update any existing icon cache files:
- ## Update mime database:
- ## These GTK+/pango files need to be kept up to date for
## proper input method, pixbuf loaders, and font support.
da rc.M
Ti posto il diff, rd.M.new è l'originale della Slackware current:
Codice: Seleziona tutto
diff rc.M.new /etc/rc.d/rc.M
79c79
< if [ -x /etc/rc.d/rc.udev ]; then
---
> if [ -x /etc/rc.d/rc.udev ] && ! ps hxco comm | grep -q udev; then
132,152c132,152
< # Update any existing icon cache files:
< if find /usr/share/icons 2> /dev/null | grep -q icon-theme.cache ; then
< for theme_dir in /usr/share/icons/* ; do
< if [ -r ${theme_dir}/icon-theme.cache ]; then
< echo "Updating icon-theme.cache in ${theme_dir}..."
< /usr/bin/gtk-update-icon-cache -t -f ${theme_dir} 1> /dev/null 2> /dev/null &
< fi
< done
< # This would be a large file and probably shouldn't be there.
< if [ -r /usr/share/icons/icon-theme.cache ]; then
< echo "Deleting icon-theme.cache in /usr/share/icons..."
< #/usr/bin/gtk-update-icon-cache -t -f /usr/share/icons 1> /dev/null 2> /dev/null &
< rm -f /usr/share/icons/icon-theme.cache
< fi
< fi
<
< # Update mime database:
< if [ -x /usr/bin/update-mime-database -a -d /usr/share/mime ]; then
< echo "Updating MIME database: /usr/bin/update-mime-database /usr/share/mime &"
< /usr/bin/update-mime-database /usr/share/mime 1> /dev/null 2> /dev/null &
< fi
---
> ## Update any existing icon cache files:
> #if find /usr/share/icons 2> /dev/null | grep -q icon-theme.cache ; then
> # for theme_dir in /usr/share/icons/* ; do
> # if [ -r ${theme_dir}/icon-theme.cache ]; then
> # echo "Updating icon-theme.cache in ${theme_dir}..."
> # /usr/bin/gtk-update-icon-cache -t -f ${theme_dir} 1> /dev/null 2> /dev/null &
> # fi
> # done
> # # This would be a large file and probably shouldn't be there.
> # if [ -r /usr/share/icons/icon-theme.cache ]; then
> # echo "Deleting icon-theme.cache in /usr/share/icons..."
> # #/usr/bin/gtk-update-icon-cache -t -f /usr/share/icons 1> /dev/null 2> /dev/null &
> # rm -f /usr/share/icons/icon-theme.cache
> # fi
> #fi
>
> ## Update mime database:
> #if [ -x /usr/bin/update-mime-database -a -d /usr/share/mime ]; then
> # echo "Updating MIME database: /usr/bin/update-mime-database /usr/share/mime &"
> # /usr/bin/update-mime-database /usr/share/mime 1> /dev/null 2> /dev/null &
> #fi
179,189c179,189
< # These GTK+/pango files need to be kept up to date for
< # proper input method, pixbuf loaders, and font support.
< if [ -x /usr/bin/update-gtk-immodules ]; then
< /usr/bin/update-gtk-immodules --verbose
< fi
< if [ -x /usr/bin/update-gdk-pixbuf-loaders ]; then
< /usr/bin/update-gdk-pixbuf-loaders --verbose
< fi
< if [ -x /usr/bin/update-pango-querymodules ]; then
< /usr/bin/update-pango-querymodules --verbose
< fi
---
> ## These GTK+/pango files need to be kept up to date for
> ## proper input method, pixbuf loaders, and font support.
> #if [ -x /usr/bin/update-gtk-immodules ]; then
> # /usr/bin/update-gtk-immodules --verbose
> #fi
> #if [ -x /usr/bin/update-gdk-pixbuf-loaders ]; then
> # /usr/bin/update-gdk-pixbuf-loaders --verbose
> #fi
> #if [ -x /usr/bin/update-pango-querymodules ]; then
> # /usr/bin/update-pango-querymodules --verbose
> #fi