LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   what is the best way to replace the generic modules when optimized kernel fails? (https://www.linuxquestions.org/questions/slackware-14/what-is-the-best-way-to-replace-the-generic-modules-when-optimized-kernel-fails-707208/)

Kristian2 02-24-2009 02:58 PM

what is the best way to replace the generic modules when optimized kernel fails?
 
I spent almost two days configuring the new kernel in the menuconfig:study:, read almost all helpfiles and checked the chipsets of my motherboard, Bios, Sata controller, cut out everything I don't need.. somewhat frustrating then when the kernel halted after reboot, I checked it again, discovered some errors in my configuration.. and then the same again. That's the kernel-building-learning-process.
I haven't tried for a third time yet (too late now), still found things I don't need, and I still wonder what I could have done wrong to make the kernel halt so soon.
Restoring the previous kernel and System map file is not the problem, but restoring the modules for the generic kernel is, at least what is the best way to do this.
I built the kernel on another partition (want to keep the root partition as clean as possible). I have built the generic object files as well as my optimized kernel objects in a separate directory.
So what is the best way to place the generic modules back in place?
Some clever line with a find, '|' and cp command to get the *.ko files from the generic build back to /lib/modules/kernel? Perhaps I missed a post on this? 12.2 works somewhat different compared to the previous versions on this.
(I will always keep the generic modules because in case of a motherboard failure, that has happened before..)

unSpawn 02-24-2009 03:16 PM

Please post your thread once and in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is closed because it is a duplicate of http://www.linuxquestions.org/questi...-fails-707209/.


All times are GMT -5. The time now is 12:11 PM.