Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Caricamento del modulo al boot...
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
spugna
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 97

PostPosted: Tue Dec 07, 2004 10:48 am    Post subject: [Risolto] Caricamento del modulo al boot... Reply with quote

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
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Tue Dec 07, 2004 10:55 am    Post subject: Reply with quote

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
View user's profile Send private message
spugna
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 97

PostPosted: Tue Dec 07, 2004 11:02 am    Post subject: Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Tue Dec 07, 2004 11:13 am    Post subject: Reply with quote

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:

Code:
hpt374

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31492
Location: here

PostPosted: Tue Dec 07, 2004 11:15 am    Post subject: Reply with quote

Oppure usa hotplug/coldplug cosi' non ti devi piu' preoccupare
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
spugna
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 97

PostPosted: Tue Dec 07, 2004 11:16 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31492
Location: here

PostPosted: Tue Dec 07, 2004 11:40 am    Post subject: Reply with quote

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
View user's profile Send private message
molesto
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2004
Posts: 145
Location: Rome, Italy

PostPosted: Tue Dec 07, 2004 12:16 pm    Post subject: Reply with quote

non è molto ortodossa come soluzione....
_________________
http://www.immeritus.org
The Sirius Black fan club
Back to top
View user's profile Send private message
spugna
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 97

PostPosted: Tue Dec 07, 2004 2:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Tue Dec 07, 2004 2:50 pm    Post subject: Reply with quote

contento tu :lol:
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