View previous topic :: View next topic |
Author |
Message |
apocryphe n00b
Joined: 03 Jul 2005 Posts: 59 Location: 78 - Pres de Saint Germain
|
Posted: Sun Dec 18, 2005 3:17 pm Post subject: [update-modules] could not generate /etc/modprobe.conf |
|
|
Bonjours,
J'ai un probleme au boot et lorsque j'essaye de faire un update-modules:
Quote: |
16:10:25 ~ # update-modules
* Updating /etc/modprobe.conf ...
* Warning: could not generate /etc/modprobe.conf!
|
j'aimerai savoir si il existe un moyen de le regenerer...
c'est vrai qu' il a une sale gueul mon modprobe.conf:
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
....
plein d alias de partout.... _________________ Laptop Dell Inspiron 1520
Intel Core2Duo T7250 - GM965 - 4 Go 667MHz DDR2 - Nvidia 8400 GS (256MiB) - BCM4401- iwlwifi3945 - SD R5C822
~amd64 - GCC 4.4.1 - XFS ahci officiel 2.6.30.4 - Xorg 1.6.2 - kde 4.3 - Nvidia 190.18 - WSXGA+ (1680x1050) |
|
Back to top |
|
|
coco-loco Apprentice
Joined: 30 Oct 2005 Posts: 249
|
Posted: Mon Dec 19, 2005 7:44 am Post subject: |
|
|
En ce qui concerne les tonnes d'alias, c'est tout à fait normal, ne t'en fais pas pour ça.
Par contre, je vois # update-modules, ce qui semble indiquer que tu lances ton update-modules en tant qu'utilisateur normal.
Change en utilisateur root, ou alors, si sudo est configuré sur ta machine, ajoute sudo en début de ligne.
Les fichiers dans /etc/ ne peuvent pas être changés sans avoir les droits root - ce qui rend le système plus sûr _________________ In 2007 Windows will come with command-line tools - an attempt to behave like a real OS? |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Mon Dec 19, 2005 8:15 am Post subject: |
|
|
coco-loco wrote: | En ce qui concerne les tonnes d'alias, c'est tout à fait normal, ne t'en fais pas pour ça.
Par contre, je vois # update-modules, ce qui semble indiquer que tu lances ton update-modules en tant qu'utilisateur normal. |
Euh, non $ c'est pour le user et # pour root ... enfin par convention, apres ya moyen de le changer
Autrement, si ca peut aider, j'ai trouvé ça ça et ça _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
apocryphe n00b
Joined: 03 Jul 2005 Posts: 59 Location: 78 - Pres de Saint Germain
|
Posted: Mon Dec 19, 2005 9:19 am Post subject: |
|
|
tout mon system est en root
--------------------------------------------------------------------------------->> Part ce cacher
merci kernel_sensei _________________ Laptop Dell Inspiron 1520
Intel Core2Duo T7250 - GM965 - 4 Go 667MHz DDR2 - Nvidia 8400 GS (256MiB) - BCM4401- iwlwifi3945 - SD R5C822
~amd64 - GCC 4.4.1 - XFS ahci officiel 2.6.30.4 - Xorg 1.6.2 - kde 4.3 - Nvidia 190.18 - WSXGA+ (1680x1050) |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Mon Dec 19, 2005 9:26 am Post subject: |
|
|
apocryphe wrote: | tout mon system est en root |
Euh, t'entends quoi par là ? Tu ne tournes qu'en root ?
apocryphe wrote: | merci kernel_sensei |
Pas de quoi _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
UB|K l33t
Joined: 27 May 2004 Posts: 786 Location: Villeurbanne, France
|
Posted: Mon Dec 19, 2005 9:38 am Post subject: |
|
|
kernel_sensei wrote: | apocryphe wrote: | tout mon system est en root |
Euh, t'entends quoi par là ? Tu ne tournes qu'en root ? |
oui qu'est ce ça veut dire ça??
sinon, pour les problèmes avec modules-update (ou update-modules c'est pareil), quand ça coince:
Code: | update-modules force |
_________________ Reality is that which, when you stop believing in it, doesn't go away. |
|
Back to top |
|
|
coco-loco Apprentice
Joined: 30 Oct 2005 Posts: 249
|
Posted: Mon Dec 19, 2005 9:53 am Post subject: |
|
|
kernel_sensei wrote: | Euh, non $ c'est pour le user et # pour root ... enfin par convention, apres ya moyen de le changer |
Right kernel_sensei! Je pense que je n'étais pas encore vraiment réveillé... |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Mon Dec 19, 2005 10:00 am Post subject: |
|
|
coco-loco wrote: | kernel_sensei wrote: | Euh, non $ c'est pour le user et # pour root ... enfin par convention, apres ya moyen de le changer |
Right kernel_sensei! Je pense que je n'étais pas encore vraiment réveillé... |
Ouais, c'est dur le lundi matin hein ? _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
apocryphe n00b
Joined: 03 Jul 2005 Posts: 59 Location: 78 - Pres de Saint Germain
|
Posted: Mon Dec 19, 2005 11:56 am Post subject: |
|
|
oui exact, j ai pas d autre compte que le root...( apres on va me dire ba cest normal que t ai des pb...Bo0Lait )
update-module force... pareil.. marche pas mieu,, mais bien tenter _________________ Laptop Dell Inspiron 1520
Intel Core2Duo T7250 - GM965 - 4 Go 667MHz DDR2 - Nvidia 8400 GS (256MiB) - BCM4401- iwlwifi3945 - SD R5C822
~amd64 - GCC 4.4.1 - XFS ahci officiel 2.6.30.4 - Xorg 1.6.2 - kde 4.3 - Nvidia 190.18 - WSXGA+ (1680x1050) |
|
Back to top |
|
|
Stephal n00b
Joined: 09 Jun 2005 Posts: 66 Location: IDF la semaine, Ain le WE
|
Posted: Mon Dec 19, 2005 11:59 am Post subject: |
|
|
apocryphe wrote: | oui exact, j ai pas d autre compte que le root...
|
C'est vraiment mal cela _________________ A ceux que l'on aime, on ne doit pas épargner le dur labeur. A ceux que l'on estime, on ne doit pas épargner les critiques.
Comité contre le language sms et les fautes volontaires |
|
Back to top |
|
|
coco-loco Apprentice
Joined: 30 Oct 2005 Posts: 249
|
Posted: Mon Dec 19, 2005 1:07 pm Post subject: |
|
|
Pour l'histoire de compte unique, C'EST VRAIMENT MAL. Tu rends ton système vulnérable ainsi. Il est pourtant pas compliqué d'ouvrir une console comme utilisateur, puis d'utiliser sudo ou de se logguer dans sa console comme root pour efféctuer quelques tâches administratives...
Pour ton problème de modules, que se passe-t-il si tu essayes de l'éditer manuellement, puis de le sauvegarder? |
|
Back to top |
|
|
yesi Guru
Joined: 25 Oct 2004 Posts: 331
|
Posted: Mon Dec 19, 2005 1:26 pm Post subject: |
|
|
essaie un:
Code: | generate-modprobe.conf |
ça indiquera les erreurs et ne restera plus qu'à les corriger. |
|
Back to top |
|
|
_kal_ l33t
Joined: 04 Mar 2005 Posts: 602 Location: Paris
|
Posted: Mon Dec 19, 2005 1:44 pm Post subject: |
|
|
As tu modifier un fichier dans : /etc/modules.d/* ?
Si oui, ca peut etre une erreur de syntaxe. Par xemple, j'avais fait l'erreur suivante tout a l'heure :
/etc/modules.d/ipw2200
Quote: | option ipw2200 hwcrypto=0
au lieu de :
options ipw2200 hwcrypto=0
|
Mes 0.02 cents |
|
Back to top |
|
|
yesi Guru
Joined: 25 Oct 2004 Posts: 331
|
Posted: Mon Dec 19, 2005 7:27 pm Post subject: |
|
|
c'est pour cela qu'un "generate-modprobe.conf" dira si oui ou non il y a une erreur de synthaxe et le corriger s'il ya lieu... |
|
Back to top |
|
|
|