Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Must force module regeneration? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
violagirl
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2007
Posts: 102

PostPosted: Sun Sep 23, 2007 2:21 pm    Post subject: Must force module regeneration? [solved] Reply with quote

Ever since I did emerge --update world, I have been getting this same error every time I boot up (though I have compiled the kernel lately as well, so to way which is causing the problem, I'm not sure):
Quote:
Warning: the current /etc/modprobe.conf has not been automatically generated
Use "update-modules force" to force (re)generation

Well, I forced (re)generation, but I'm trying to figure out why it can't automatically do it. Googling it produces nothing but Sabayon Linux posts about alsa not working. Well, my sound still works. So that's not too much of an issue. It's just puzzling me what the problem is. I read somewhere that recompiling libtools can fix it, but I did so and nothing changed. Does anyone have any ideas?


Last edited by violagirl on Sun Sep 23, 2007 7:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Sun Sep 23, 2007 2:31 pm    Post subject: Reply with quote

violagirl,

Normally, this means that one of your files in /etc/modules.d/ has a syntax error or contains an invalid option.
Do you get a warning about that too?

update-modules processes all the files in /etc/modules.d/ regardless of name, so move 50% of them out and run update-modules.
If the error is gone, its in one of the files you moved out, if its still present, its in a file still in /etc/modules.d/.
You now know in which half of the content of /etc/modules.d/ the error is. Repeat the method on the faulty half until you locate the file.
That method is called a binary search, since half the possibilities are eliminated with every iteration.

Do not leave files missing from /etc/modules.d when you shut down or many things will break at the next boot.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
violagirl
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2007
Posts: 102

PostPosted: Sun Sep 23, 2007 7:44 pm    Post subject: Must force module regeneration? [solved] Reply with quote

Well, after doing update-modules force, when I rebooted the computer again I no longer got that message but then ALSA didn't work. So it turned out to be ALSA after all! So I just did alsaconf and now it works again. I wonder often why random things like this happen, like ALSA suddenly not working or me not being able to install ndiswrapper unless I recompile the kernel because it can't find some file or another.... they just seem so random. Well, anyway, that's all right. Thanks for the suggestion. Luckily, I figured out the problem!
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Sep 23, 2007 7:58 pm    Post subject: Re: Must force module regeneration? [solved] Reply with quote

violagirl wrote:
they just seem so random

There's over a dozen easy ways to mess up a kernel recompilation, especially when it involves ALSA. See wiki for tips.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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