| View previous topic :: View next topic |
| Author |
Message |
bueno Tux's lil' helper


Joined: 08 Jun 2003 Posts: 94 Location: cannes-nice
|
Posted: Wed Aug 27, 2003 12:47 am Post subject: [module] question de noob sur l'install |
|
|
voila je souhaite poser apm mais en module
actuellement mon apm est emerger et en dur dans le noyau. Le probleme c qu'il marche pas nickel (genre pas de shutdown). Je veux le mettre en modules mais je connais pas la demarche exacte.
qq peu til me la donné de maniére assez détaillé ?
merci d'avance de votre patience
buneo  |
|
| Back to top |
|
 |
Dorgendubal Apprentice

Joined: 24 Apr 2003 Posts: 231 Location: Switzerland (Zürich)
|
Posted: Wed Aug 27, 2003 6:31 am Post subject: |
|
|
Tu coches [M] plutot que [X] dans ton kernel.
Rappel:
| Code: |
cd /usr/src/linux
make xconfig
|
Puis tu recompiles ton kernel, bla bla bla
| Code: |
make dep
make clean
make bzImage modules modules_install
|
Alors tu le places dans ton boot (lilo ou grub)
Et au prochain démarrage tu pourras l'ajouter au kernel avec:
|
|
| Back to top |
|
 |
bueno Tux's lil' helper


Joined: 08 Jun 2003 Posts: 94 Location: cannes-nice
|
Posted: Wed Aug 27, 2003 12:34 pm Post subject: |
|
|
ok
donc je le fout en M ds mon noyau (avec le make menuconfig)
je recompile
je fou le bzimage ds /boot
je reboot
modprobe apm
euh ya pas une hstoire de module.autoload ?
bueno |
|
| Back to top |
|
 |
Dorgendubal Apprentice

Joined: 24 Apr 2003 Posts: 231 Location: Switzerland (Zürich)
|
Posted: Wed Aug 27, 2003 1:30 pm Post subject: |
|
|
ben si.
Si tu désires que le module soit chargé automatiquement au démarrage, alors tu le mets dans modules.autoload. |
|
| Back to top |
|
 |
knarf Guru


Joined: 20 Feb 2003 Posts: 338 Location: Geneva, Switzerland
|
Posted: Wed Aug 27, 2003 7:06 pm Post subject: |
|
|
| echo -e "modprobe apm">>/etc/modules.autoload |
|
| Back to top |
|
 |
bueno Tux's lil' helper


Joined: 08 Jun 2003 Posts: 94 Location: cannes-nice
|
Posted: Wed Aug 27, 2003 9:37 pm Post subject: |
|
|
oula ta derniere ligne ajoute modprobe apm ds le module.autolad !!! Je pensais que jene devais y mettre que "apm" ?!
bueno |
|
| Back to top |
|
 |
bueno Tux's lil' helper


Joined: 08 Jun 2003 Posts: 94 Location: cannes-nice
|
Posted: Wed Aug 27, 2003 9:44 pm Post subject: |
|
|
ok c bon ca marche !!! j'ai juste mis apm ds module.autoload et c good
merci encore de votre aide
bueno |
|
| Back to top |
|
 |
|