View previous topic :: View next topic |
Author |
Message |
violagirl Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 10 Mar 2007 Posts: 102
|
Posted: Sun Sep 23, 2007 2:21 pm Post subject: Must force module regeneration? [solved] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Sun Sep 23, 2007 2:31 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
violagirl Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 10 Mar 2007 Posts: 102
|
Posted: Sun Sep 23, 2007 7:44 pm Post subject: Must force module regeneration? [solved] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Sep 23, 2007 7:58 pm Post subject: Re: Must force module regeneration? [solved] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|