Salve.. apro un altra discussione perchè è un altro problema che mi è capitato installando gentoo sul mio Toshiba P100-389 PSPAE versione bios 3.80:<br><br>Il mio portatile necessita della patch acpi per il caricamento di dsdt personalizzate. (x info
<a href="http://wiki.gentoo-italia.net/index.php/Risolvere_problemi_comuni_con_ACPI">http://wiki.gentoo-italia.net/index.php/Risolvere_problemi_comuni_con_ACPI</a>)<br><br>La dsdt viene caricata. Ho controllato cio con: <br>
<br>tux ~ # dmesg | grep DSDT<br>ACPI: DSDT 3FE9305C, 8B5A (r1 TOSQCI Denver 6040000 MSFT 3000001)<br>ACPI: Looking for DSDT in initramfs... successfully read 32343 bytes from /DSDT.aml.<br>ACPI: Table DSDT replaced by host OS
<br>ACPI: DSDT 00000000, 7E57 (r1 TOSQCI Denver 6040000 INTL 20060912)<br><br>
<br>seguendo questo testo (<a href="http://gentoo-wiki.com/HARDWARE_Toshiba_Satellite_P100">http://gentoo-wiki.com/HARDWARE_Toshiba_Satellite_P100</a>) noto che la scheda audio hda_intel necessita dei driver alsa alsa-driver-1.0.14-rc1.Quindi
compilo il kernel Attivando il supporto audio, ma disabilitando completamente ALSA e OSS.<br><br>Poi tento di emergere alsa-driver, ma ottengo un errore nella compilazione:<br><br>tux ~ # emerge alsa-driver<br>....<br>....
<br>2/include/adriver.h:1167: error: too many arguments to function 'pci_restore_state'<br>make[4]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore/memalloc.o] Error 1<br>
make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore] Error 2<br>make[2]: *** [_module_/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2] Error 2
<br>make[1]: *** [modules] Error 2<br>make[1]: Leaving directory `/usr/src/linux-2.6.21-gentoo-r4'<br>make: *** [compile] Error 2<br><br>!!! ERROR: media-sound/alsa-driver-1.0.14_rc2-r1 failed.<br>Call stack:<br> ebuild.sh
, line 1632: Called dyn_compile<br> ebuild.sh, line 983: Called qa_call 'src_compile'<br> ebuild.sh, line 44: Called src_compile<br> alsa-driver-1.0.14_rc2-r1.ebuild, line 129: Called die<br><br>!!! Make Failed
<br>!!! If you need support, post the topmost build error, and the call stack if relevant.<br>!!! A complete build log is located at '/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/temp/build.log'.<br><br>
Ho provato a risolvere con un emerge --sync ma niente da fare.. <br><br>tux ~ # cat /etc/make.conf<br># These settings were set by the catalyst build script that automatically<br># built this stage.<br># Please consult /etc/make.conf.example for a more detailed example.
<br>CFLAGS="-march=nocona -O2 -pipe"<br>CXXFLAGS="${CFLAGS}"<br># This should not be changed unless you know exactly what you are doing. You<br># should probably be using a different stage, instead.<br>
CHOST="x86_64-pc-linux-gnu"<br><br>ALSA_CARDS="hda-intel"<br>INPUT_DEVICES="evdev keyboard mouse synaptics"<br>VIDEO_CARDS="nv nvidia vesa"<br><br>PORTDIR_OVERLAY="/usr/local/portage"
<br><br>LINGUAS="it"<br><br>USE="aiglx acpi alsa arts cairo cdr bluetooth dbus dvd dvdr dvdread eds emboss encode esd evo fam firefox gif -gnome gpm gstreamer -gtk hal jpeg kde<br>kerberos ldap mad mikmod mp3 mpeg nvidia ogg opengl oss pdf png qt3 qt3support qt4 quicktime sdl spell svg tiff truetype vorbis wifi win32codecs unicode X xml xv"
<br><br><br>GENTOO_MIRRORS="<a href="http://mirror.ing.unibo.it/gentoo/">http://mirror.ing.unibo.it/gentoo/</a> <a href="ftp://mirror.ing.unibo.it/gentoo/">ftp://mirror.ing.unibo.it/gentoo/</a> "<br><br>SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
<br><br><br>PS: Inoltre altro bug della mia dsdt che sto tentando di risolvere è che la ventola della GPU Nvidia non gira correttamente: o molto lentamente o staccata.. sto tentando di risolverle modificando a mano il file
dsdt.dsl ricavato sulla mia macchina.<br><br><br>