LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-10-2010, 05:33 PM   #1
marquisor
Member
 
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Rep: Reputation: 3
Unhappy Where in the kernel config is the "ide_disk" module?


as i'm missing this on bootup and of course it locks and no root device found.. -> busybox gets me busy.
took a screenshot of the cat /proc/modules and compared it to the distro-original "lsmod". all ide stuff there but "ide_disk"

i'm hunting the "make menuconfig" after it, locate, find -name ... etc.
how can i search inside files?

or what module does call it? seems to be a child of "ide_core"? but i also don't find that in menuconfig search via /
i don't wanna get busy with busybox til' xmas

thx for help

btw.:
i often read of module names, but don't find them in the menuconfig's descriptions, browsing for hours... how can i handle that better?
and is it possible to add one module after compiling and installing the kernel and just insmod/modprobe it? (guess not ...)
how can i save logs or output of discovered stuff in busy box to a file in my working userspace?

regards
marquisor
 
Old 10-10-2010, 10:45 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
device module names have (_ = -)
dashes or underscores can be changed.

the module is probably named ata-something... (pata_amd ata_piix)amd processor here.

try,
Code:
lsmod | grep ata
to print this to a file use a redirector > and >> to concatenate,

Code:
lsmod > ~/module-list
a plain text file is created.
the destination directory must exist.


Code:
    Device Drivers  ---> 

<M> Serial ATA and Parallel ATA drivers  --->
Hope this helps, cheers Glenn
 
Old 10-11-2010, 06:20 AM   #3
marquisor
Member
 
Registered: Sep 2010
Location: Germany
Distribution: Debian
Posts: 53

Original Poster
Rep: Reputation: 3
i guess i have to start from scratch with make localmodconfig again?

there are modules listed in lsmod and cat /proc/modules but i can't yet find any documentation where those modules get loaded, are included in or else..
i meant with "print out" how i can save it on disk for later use on the running kernel. the grep stuff and piping and >>> i already know

ok i should have started from more modules than needed to strip it down, than from less than needed and always recompile...
well, experience made. ok

please tell me how i configure modules loaded, not loaded at booting. that might help. then i could buy the whole diskstuff as modules and test around.
any other suggestions? like urgent debugging messages?
 
Old 10-11-2010, 09:12 AM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Quote:
i have to start from scratch with make localmodconfig again?
I've never seen that, or done it directly.


Save your .config file. to someplace safe, and reuse it at will.

Mind you some patches may not get applied fully if left completely unattended.

After I have rebuilt my kernel the .config file is found at ...

/usr/src/linux/.config

hope this helps.

Regards Glenn

ps. errors, warnings are ok, fails are usually ok, errors can be problematic.

Last edited by GlennsPref; 10-11-2010 at 09:14 AM. Reason: errors...
 
  


Reply

Tags
busybox, kernel, kernel config, menuconfig, modules


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rt61pci kernel module fails to load in -current "Invalid module format" Interject Slackware 6 03-20-2010 01:48 AM
What is the error "invalid module format" and "insert kernel module"? shayori Linux - Newbie 8 02-25-2010 03:48 AM
"Invalid module format" after recompiling kernel without changing .config - why? kovlensky Linux - Kernel 5 09-10-2008 12:42 PM
Bios config: "ahci" or "standard ide" for a sata drive ? Danodare Slackware 1 11-05-2006 12:31 AM
kernel 2.6.0 debian "No module symbols loaded - kernel modules not enabled." toovato Linux - General 2 01-07-2004 07:56 PM


All times are GMT -5. The time now is 10:43 PM.

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