* Kernel modules compilation
@ 2007-07-27 19:11 shacky
2007-07-27 20:03 ` Jesper Juhl
0 siblings, 1 reply; 6+ messages in thread
From: shacky @ 2007-07-27 19:11 UTC (permalink / raw)
To: linux-kernel
Hi.
During the Linux kernel compilation, I need to compile some modules
which are necessary for the system boot.
I localized these modules analyzing the modules which are
automatically loaded at the startup of my Debian system whith the
standard Debian kernel, through the output of the "lsmod" command.
I tried to search for these modules in the "menuconfig" kernel
configuration program, but I cannot find some of them, not even
searching in the .config file.
How I can find what items in "menuconfig" I need to activate (marking
it with "m") to compile the modules I need for the system startup?
Thank you very much for your help!
Bye.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel modules compilation
2007-07-27 19:11 Kernel modules compilation shacky
@ 2007-07-27 20:03 ` Jesper Juhl
2007-07-27 21:38 ` shacky
0 siblings, 1 reply; 6+ messages in thread
From: Jesper Juhl @ 2007-07-27 20:03 UTC (permalink / raw)
To: shacky; +Cc: linux-kernel
On 27/07/07, shacky <shacky83@gmail.com> wrote:
> Hi.
>
> During the Linux kernel compilation, I need to compile some modules
> which are necessary for the system boot.
> I localized these modules analyzing the modules which are
> automatically loaded at the startup of my Debian system whith the
> standard Debian kernel, through the output of the "lsmod" command.
> I tried to search for these modules in the "menuconfig" kernel
> configuration program, but I cannot find some of them, not even
> searching in the .config file.
>
> How I can find what items in "menuconfig" I need to activate (marking
> it with "m") to compile the modules I need for the system startup?
>
You could start by telling people what modules you are talking about.
--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel modules compilation
2007-07-27 20:03 ` Jesper Juhl
@ 2007-07-27 21:38 ` shacky
[not found] ` <9a8748490707271542s13862269h79f85d4171233f47@mail.gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: shacky @ 2007-07-27 21:38 UTC (permalink / raw)
To: Jesper Juhl, linux-kernel
> You could start by telling people what modules you are talking about.
The modules I need are:
- bridge
- ipv6
- thermal
- fan
- button
- processor
- ac
- battery
- dm_snapshot
- tg3
- serio_raw
- pcspkr
- sata_svw
- libata
- i2c_piix4
- i2c_core
- tsdev
- reiserfs
- dm_mod
- sd_mod
- mptsas
- mptscsih
- mptbase
- scsi_transport_sas
- scsi_mod
- usbmouse
- usbhid
- usbkbd
- ohci_hcd
- ehci_hcd
- usbcore
I cannot found some of them in the kernel configuration.
Isn't there a general way to know what configuration compiles what
module in general?
I need to know this because I'm trying to compile a fully-optimized
version of the kernel for my xen0 domain on my amd64 system.
Is the "lsmod" way correct to find what modules I have to compile to
have a correctly-booting system with a very very small kernel?
Thank you very much for your help!
Bye.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel modules compilation
[not found] ` <9a8748490707271542s13862269h79f85d4171233f47@mail.gmail.com>
@ 2007-07-27 22:52 ` shacky
2007-07-27 23:04 ` Jesper Juhl
0 siblings, 1 reply; 6+ messages in thread
From: shacky @ 2007-07-27 22:52 UTC (permalink / raw)
To: Jesper Juhl, linux-kernel
> Symbol: USB [=y]
> Prompt: Support for Host-side USB
> Defined at drivers/usb/Kconfig:51
> Depends on: USB_SUPPORT && USB_ARCH_HAS_HCD
> Location:
> -> Device Drivers
> -> USB support (USB_SUPPORT [=y])
Could you tell me how you found them, please?
> Hint: In menuconfig, type "/" to search.
Thank you very much!
> Not really. Your distribution could be loading a ton of modules that
> you don't really need. 'lsmod' will just show you what is currently
> loaded, but that that doesn't necessarily mean that all those modules
> are really needed.
Ok, how I can know what modules are needed and what not? Only knowing
the hardware of my system?
Another question please, what the symbol "---" near a kernel
configuration entry in menuconfig means? This entry is activated (with
* or M) or not?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel modules compilation
2007-07-27 22:52 ` shacky
@ 2007-07-27 23:04 ` Jesper Juhl
2007-07-27 23:40 ` shacky
0 siblings, 1 reply; 6+ messages in thread
From: Jesper Juhl @ 2007-07-27 23:04 UTC (permalink / raw)
To: shacky; +Cc: linux-kernel
On 28/07/07, shacky <shacky83@gmail.com> wrote:
> > Symbol: USB [=y]
> > Prompt: Support for Host-side USB
> > Defined at drivers/usb/Kconfig:51
> > Depends on: USB_SUPPORT && USB_ARCH_HAS_HCD
> > Location:
> > -> Device Drivers
> > -> USB support (USB_SUPPORT [=y])
>
> Could you tell me how you found them, please?
>
Some of them I just knew from past experiences where to find, some of
them are logical (like, obviously 'reiserfs' is found in the
Filesystems submenu), some I searched for using "/" and a few I
googled.
> > Hint: In menuconfig, type "/" to search.
>
> Thank you very much!
>
You're welcome. By the way; if you had taken the time to read the
text at the top of the menuconfig interface you'd have known this
already - "... Press <Esc><Esc> to exit, <?> for Help, </> for
Search."
> > Not really. Your distribution could be loading a ton of modules that
> > you don't really need. 'lsmod' will just show you what is currently
> > loaded, but that that doesn't necessarily mean that all those modules
> > are really needed.
>
> Ok, how I can know what modules are needed and what not? Only knowing
> the hardware of my system?
>
If you know the hardware of the system, the filesystems you use etc
etc, then it should be possible to deduce what modules you need...
Read the help text for each config option related to your modules and
think about whether or not you need it...
> Another question please, what the symbol "---" near a kernel
> configuration entry in menuconfig means? This entry is activated (with
> * or M) or not?
>
It means that the option was automagically selected by some other
option you selected, so you can't disable it unless you first disable
that other option that selected it.
--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel modules compilation
2007-07-27 23:04 ` Jesper Juhl
@ 2007-07-27 23:40 ` shacky
0 siblings, 0 replies; 6+ messages in thread
From: shacky @ 2007-07-27 23:40 UTC (permalink / raw)
To: Jesper Juhl, linux-kernel
Thank you very much for your help!
Tomorrow I will try! :-)
Bye!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-07-27 23:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-27 19:11 Kernel modules compilation shacky
2007-07-27 20:03 ` Jesper Juhl
2007-07-27 21:38 ` shacky
[not found] ` <9a8748490707271542s13862269h79f85d4171233f47@mail.gmail.com>
2007-07-27 22:52 ` shacky
2007-07-27 23:04 ` Jesper Juhl
2007-07-27 23:40 ` shacky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®