Andrew Lowe schreef: > Hi all, A simple question, where do I find out modules names? I've > currently got menconfig loaded and trying to decide as to whether to > go static or module. My problem is that I can't find the names of the > modules for most of the options hence how do I know what to load if > it is a module. For exmaple, if I want to use the XFS file system, in > the menuconfig help it says: > > ... choose M here; the module will be called xfs... > > Conversly if I want to use AES encryption there is nothing in the > help that tells me what the module name will be. >
To some degree, they are: The title of the help for the option usually includes something closely related to the module name. For CONFIG_CRYPTO_AES_586 I would guess that the module name might well be aes-586. Apparently there's a 64-bit module as well, but it may be that that doesn't appear in my kernel config because I have already specified that I don't have a 64-bit CPU. In any case, the format for the help title is CONFIG_GROUPNAME_SOMETHING_LIKE_THE_MODULE_NAME (but module names usually use hyphens where the kernel config uses underscores). However, you most likely will not need to load the modules manually anyway; assuming you have automatic kernel module loading enabled, the kernel will load necessary modules when it notices that they are necessary (when a device using the module is detected and initialized). Also, I would not myself think that encryption is the kind of thing you'd want to load only some of the time (so I'd compile it statically anyway). Thirdly, are you sure that all of the options that you're looking for the module names for are capable of being compiled as modules? Some aren't. In the case that you don't know (it could happen :-) ), options appearing with brackets ("[ ]") can only be compiled statically; options appearing with greater-than/less-than signs ("< >") can be compiled either statically or as modules. So it's also possible that some of the help doesn't contain module names simply because the option cannot be compiled as a loadable module. HTH, Holly -- gentoo-user@gentoo.org mailing list