LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Where in the kernel config is the "ide_disk" module? (https://www.linuxquestions.org/questions/linux-general-1/where-in-the-kernel-config-is-the-ide_disk-module-837274/)

marquisor 10-10-2010 05:33 PM

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

GlennsPref 10-10-2010 10:45 PM

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

marquisor 10-11-2010 06:20 AM

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?

GlennsPref 10-11-2010 09:12 AM

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. ;)


All times are GMT -5. The time now is 07:38 AM.