Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


Closed Thread
  Search this Thread
Old 02-24-2009, 03:58 PM   #1
Registered: May 2004
Location: Netherlands
Distribution: Slackware 13
Posts: 97

Rep: Reputation: 15
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, 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..)
Old 02-24-2009, 04:16 PM   #2
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
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

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing linux-restricted-modules-2.6.22-14-generic Nis2k Linux - Newbie 1 01-09-2008 08:53 PM
insmod ide-generic fails if done on startup kovacsp Linux - Hardware 1 12-13-2007 06:34 AM
Unresolved Symbols Kernel Modules Athlon Optimized terosaur Slackware 2 02-05-2007 07:46 PM
New kernel fails to boot: It can't find modules.dep though it's there lixy Linux - General 2 04-16-2005 08:23 AM
need printer config help...instmod: /lib/modules/kernel/drivers/scsi/scsi_mod.o fails krome Linux - Hardware 2 01-16-2004 01:52 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration