Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Impossibile generare /etc/modprobe.conf
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Jabber00
n00b
n00b


Joined: 05 Feb 2007
Posts: 43

PostPosted: Wed Dec 26, 2007 11:50 am    Post subject: [Risolto] Impossibile generare /etc/modprobe.conf Reply with quote

Oggi misono messo a fare un po' di pulizia (hardware) sulla GentooBox e, per verificare che tutto fosse in ordine, ho avviato con il monitor acceso (di solito la uso da remoto, ma oggi ho fatto un'eccezione): tra i vari messaggi (a parte una sfilza di errori di udev, che poi cerchero' di indagare) mi e' saltato all'occhio un messaggi che diceva di usare
Code:
update-modules -force
per aggiornare modprobe.conf! Quando l'ho fatto, ho ottenuto l'errore
Code:
Warning: could not generate /etc/modprobe.conf!
! Ho quindi aggiunto l'opzione --verbose e ho ottenuto
Code:
 * Updating /etc/modprobe.conf by hand ...
Invalid dupliate alias found for 'char-major-195' (results: NVdriver nvidia)


Ora pero' sono bloccato: come vado avanti?


Last edited by Jabber00 on Wed Dec 26, 2007 3:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jisaw
n00b
n00b


Joined: 14 Dec 2007
Posts: 15
Location: Torino

PostPosted: Wed Dec 26, 2007 12:14 pm    Post subject: Reply with quote

Hai un file nvidia sotto /etc/modules.d? Dovresti trovare un paio di righe come queste:

Code:

alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195


Se ci sono, controlla che non ci siano delle definizioni analoghe in aliases (fai un giro anche negli altri), sempre sotto /etc/modules.d. Se trovi dei duplicati eliminali da questi ultimi, magari facendo prima un backup, e prova a rilanciare l' update dei moduli.
Back to top
View user's profile Send private message
Jabber00
n00b
n00b


Joined: 05 Feb 2007
Posts: 43

PostPosted: Wed Dec 26, 2007 1:09 pm    Post subject: Reply with quote

Allora, questo e' il contenuto di /etc/modules.d/aliases

Code:
# Aliases to tell insmod/modprobe which modules to use

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off            # Unix
# alias net-pf-2 off            # IPv4
# alias net-pf-3 off            # Amateur Radio AX.25
# alias net-pf-4 off            # IPX
# alias net-pf-5 off            # DDP / appletalk
# alias net-pf-6 off            # Amateur Radio NET/ROM
# alias net-pf-9 off            # X.25
# alias net-pf-10 off           # IPv6
# alias net-pf-11 off           # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off           # Acorn Econet

alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81     bttv
alias char-major-108    ppp_generic
alias /dev/ppp          ppp_generic
alias tty-ldisc-3       ppp_async
alias tty-ldisc-14      ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0   loop_gen
alias loop-xfer-3       loop_fish2
alias loop-xfer-gen-10  loop_gen
alias cipher-2          des
alias cipher-3          fish2
alias cipher-4          blowfish
alias cipher-6          idea
alias cipher-7          serp6f
alias cipher-8          mars6
alias cipher-11         rc62
alias cipher-15         dfc2
alias cipher-16         rijndael
alias cipher-17         rc5

# Support for i2c and lm_sensors
alias char-major-89    i2c-dev

# Old nvidia support ...
alias char-major-195 NVdriver
alias /dev/nvidiactl char-major-195


E questo quello di /etc/modules.d/nvidia

Code:
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195

# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more
# options see /usr/share/doc/nvidia-legacy-drivers-1.0.7184/README.gz
#
#   To enable Side Band Adressing:  NVreg_EnableAGPSBA=1
#
#   To enable Fast Writes: NVreg_EnableAGPFW=1
#
# To enable both for instance, uncomment following line:
#
#options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
# If you have a mobile chip, you may need to enable this option
# if you have hard lockups when starting X.
#
# See: Appendix I. Configuring your laptop
# In /usr/share/doc/nvidia-legacy-drivers-1.0.7184/README.gz for full details
#
# Choose the appropriate value for NVreg_Mobile from the table:
#        Value          Meaning
#        ----------     --------------------------------------------------
#        0xFFFFFFFF     let the kernel module autodetect the correct value
#        1              Dell laptops
#        2              non-Compal Toshiba laptops
#        3              all other laptops
#        4              Compal Toshiba laptops
#        5              Gateway laptops
#
#options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=3


L'unico altro file in /etc/modules.d e' i386!
Devo commentare uno dei due alias in /etc/modules.d/nvidia?
Back to top
View user's profile Send private message
Jisaw
n00b
n00b


Joined: 14 Dec 2007
Posts: 15
Location: Torino

PostPosted: Wed Dec 26, 2007 2:07 pm    Post subject: Reply with quote

Commenta:

Code:

# Old nvidia support ...
alias char-major-195 NVdriver
alias /dev/nvidiactl char-major-195


sotto aliases.
Back to top
View user's profile Send private message
Jabber00
n00b
n00b


Joined: 05 Feb 2007
Posts: 43

PostPosted: Wed Dec 26, 2007 3:37 pm    Post subject: Reply with quote

Perfetto, ora funziona!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum