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


Joined: 26 Nov 2004 Posts: 97
|
Posted: Tue Dec 07, 2004 10:48 am Post subject: [Risolto] Caricamento del modulo al boot... |
|
|
Ho compilato di recente un modulo (hpt374 per il controller raid) dai sorgenti scaricati direttamente dal produttore del controller...
Premesso che con insmod $percorso_del_modulo funziona tutto, come faccio a far caricare in automatico il modulo al boot del pc???
 _________________ Don't think, drink your wine, watch the fire burn... his problems not mine...
Just be that model citizen.
Last edited by spugna on Tue Dec 07, 2004 11:14 am; edited 1 time in total |
|
Back to top |
|
 |
ProT-0-TypE Veteran


Joined: 20 Dec 2003 Posts: 1624 Location: Cagliari
|
Posted: Tue Dec 07, 2004 10:55 am Post subject: |
|
|
lo metti in:
Code: | /etc/modules.autoload.d/kernel-2.4
/etc/modules.autoload.d/kernel-2.6
|
(dipende dal kernel che usi, ovviamente) |
|
Back to top |
|
 |
spugna Tux's lil' helper


Joined: 26 Nov 2004 Posts: 97
|
Posted: Tue Dec 07, 2004 11:02 am Post subject: |
|
|
ok...
per fare una prova, in /etc/modules.autoload.d/kernel-2.6 ho messo:
/usr/src/rocketraid/hpt374.ko
non funziona! _________________ Don't think, drink your wine, watch the fire burn... his problems not mine...
Just be that model citizen. |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Tue Dec 07, 2004 11:13 am Post subject: |
|
|
spugna wrote: | ok...
per fare una prova, in /etc/modules.autoload.d/kernel-2.6 ho messo:
/usr/src/rocketraid/hpt374.ko
non funziona! |
Devi mettere solo:
_________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31492 Location: here
|
Posted: Tue Dec 07, 2004 11:15 am Post subject: |
|
|
Oppure usa hotplug/coldplug cosi' non ti devi piu' preoccupare _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
spugna Tux's lil' helper


Joined: 26 Nov 2004 Posts: 97
|
Posted: Tue Dec 07, 2004 11:16 am Post subject: |
|
|
Grazie, ho risolto in questa maniera:
ho rinominato il file .ko i .o e l'ho messo in /lib/modules/2.6.9/build/drivers/serialata
e poi ho sistemato modules.autoload.d come avete suggerito
thx!!! _________________ Don't think, drink your wine, watch the fire burn... his problems not mine...
Just be that model citizen. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31492 Location: here
|
Posted: Tue Dec 07, 2004 11:40 am Post subject: |
|
|
spugna wrote: | ho rinominato il file .ko i .o e l'ho messo in /lib/modules/2.6.9/build/drivers/serialata |
Scusa? Non ho mica capito cosa hai fatto _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
molesto Tux's lil' helper


Joined: 30 Oct 2004 Posts: 145 Location: Rome, Italy
|
Posted: Tue Dec 07, 2004 12:16 pm Post subject: |
|
|
non è molto ortodossa come soluzione.... _________________ http://www.immeritus.org
The Sirius Black fan club |
|
Back to top |
|
 |
spugna Tux's lil' helper


Joined: 26 Nov 2004 Posts: 97
|
Posted: Tue Dec 07, 2004 2:49 pm Post subject: |
|
|
Lo so che non è molto ortodossa, ma funziona! _________________ Don't think, drink your wine, watch the fire burn... his problems not mine...
Just be that model citizen. |
|
Back to top |
|
 |
ProT-0-TypE Veteran


Joined: 20 Dec 2003 Posts: 1624 Location: Cagliari
|
Posted: Tue Dec 07, 2004 2:50 pm Post subject: |
|
|
contento tu  |
|
Back to top |
|
 |
|