If you select an option with Y then it is compiled into the kernel not as a module so the driver will work but obviously won't be listed with lsmod as it isn't a module. If you want it as a module select M then put the module name in the /etc/modules.autoload file if you want it loaded at boot, rather than manually loading it later.Andru wrote:The (minimal) livecd detected all my hardware perfectly and loaded all the right modules, but my compiled kernal (compiled with "make dep && make bzImage modules modules_install") doesn't seem to compile the modules I've selected (with Y, not modularised) in the kernal config menu.
It doesn't load them by default - when I lsmod it shows a blank table - and they don't reside anywhere in /lib/modules/3.4.25-gentoo/kernel, as far as I can tell. Using modprobe for the driver names fails saying it can't find the specified module, and no matter how many times I recompile the kernel (trying the make module commands seperately from the make dep, too), it just won't seem to compile them. I've checked the sources directory for the drivers and they all seem to be there, so I can't understand why it's not compiling them.
Any ideas?

Actually, the modules/modules_install options will only compile modules if you specify in the kernel config to compile them as modules (<M> instead of <*>). Anything you put directly into the kernel will not be compiked as a module.Andru wrote:And by specifying modules and modules_install in the make option, aren't I asking it to compile it to modules as well?
OK don't worryAndru wrote:Well it doesn't appear to be doing that correctly, as my network card isn't detected.
And by specifying modules and modules_install in the make option, aren't I asking it to compile it to modules as well? I'm not sure, but I assumed thats what it meant.
I'm new to linux so I'm still learning how everything works, but all I know at the moment is that my network card fails to initialise at boot, despite me selecting t compile the necessary drivers into the kernal.
Needless to say, I'm feeling a little confused

Code: Select all
# ifconfig -aCode: Select all
# modprobe 3c59x
