[gentoo-user] Module names???

2006-01-25 Thread Andrew Lowe

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.


	If anyone can inform me where I can find these module names, it would 
be greatly appreciated. I don't know why they  aren't all placed in the 
help in the first place.


Regards,
Andrew

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Module names???

2006-01-25 Thread Holly Bostick
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



Re: [gentoo-user] Module names???

2006-01-25 Thread Dale
Andrew Lowe wrote:

 snip
 If anyone can inform me where I can find these module names, it
 would be greatly appreciated. I don't know why they  aren't all placed
 in the help in the first place.

 Regards,
 Andrew


It does tell you.  You even put it in your email.  ;-)  If you build xfs
as a module, you need to load the module, xfs.  That's it.

If after you get done you need to know what modules are available to
load, modprobe -l , thats a lower case L by the way, should list them
for you.  Here is mine:

 [EMAIL PROTECTED] / # modprobe -l
 /lib/modules/2.6.14-gentoo-r5/kernel/drivers/hwmon/w83627hf.ko
 /lib/modules/2.6.14-gentoo-r5/kernel/drivers/hwmon/hwmon-vid.ko
 /lib/modules/2.6.14-gentoo-r5/kernel/drivers/i2c/busses/i2c-isa.ko
 /lib/modules/2.6.14-gentoo-r5/video/nvidia.ko
 [EMAIL PROTECTED] / #


I don't like modules to much but I used to have to reset my sensors
since they would lock up sometimes.  They have fixed it now so next
time, it will be built in like everything else.

Hope that helps,

Dale
:-)

-- 
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 
80GB hard drives.  Named Smoker
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.  
Named Swifty
3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 224MBs of ram and a 2.5GB 
drive.  Named Pokey
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB 
SCSI drive.  Named Putput

All run Gentoo Linux, all run folding. #1 is my desktop, 2, 3, and 4 are set up 
as servers.  

-- 
gentoo-user@gentoo.org mailing list