Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
getting rid of modules again
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
marder7
n00b
n00b


Joined: 15 Nov 2002
Posts: 56

PostPosted: Sun Dec 15, 2002 5:37 pm    Post subject: getting rid of modules again Reply with quote

Hi!
Maybe this is a stupid question but there is one thing I really haven't understood yet:
An entry in m/etc/modules.autoload (like "ide-scsi" e.g.) loads the module at boot time. Ok so far.
BUT: Deleting the entry again (or putting "#" in front of the line) seems to have no effect! The module still loads on booting.... forever! Even deleting the module from /lib/modules/... doesn't help (leads to error messages).
Where's the trick? I really don't think that I can be the admin of my system if I can only DO things but not UNDO them again...

Thanks for helping
Martin
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Dec 15, 2002 8:44 pm    Post subject: Reply with quote

Is something in /etc/modules.d causing the problem?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
marder7
n00b
n00b


Joined: 15 Nov 2002
Posts: 56

PostPosted: Mon Dec 16, 2002 9:47 am    Post subject: Reply with quote

That's where I looked, too, but I couldn't see any problem there.
Yesterday I tried to change modules.autoload in a different way: I reactivated the entries for modules I'd like to get rid of, and I commented out the new entries for modules I currently use.
Result: Of course the old modules still loaded like before, but the new modules didn't.
So it seems that is has something to do with the dependencies between the modules themselves, deps which are detected by depmod at boot time.
Could this be true?
If so, how can I control it?

Regards
Martin
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Dec 16, 2002 9:51 am    Post subject: Reply with quote

Two things you could try running are "update-modules" and "env-update".
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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