* [gentoo-user] kmod requires modules in kernel??
@ 2013-04-03 12:54 Tanstaafl
2013-04-03 15:09 ` Mike Gilbert
2013-04-03 15:10 ` Alan McKinnon
0 siblings, 2 replies; 4+ messages in thread
From: Tanstaafl @ 2013-04-03 12:54 UTC (permalink / raw
To: gentoo-user
Ok, I am prepping for the udev update this weekend, getting everything
updated that doesn't pull in the udev updates.
First thing I did was to eliminate the module-init-tools<>kmod Blocker:
emerge -C module-init-tools %% emerge kmod
and noted the following warnings/errors:
Checking for suitable kernel configuration options...
ERROR: setup
CONFIG_MODULES: is not set when it should be.
CONFIG_MODULE_UNLOAD: is not set when it should be.
This is a server, and I do not WANT loadable modules enabled...
So, how do I get rid of this warning/error? Or is this nothing to be
concerned about if I do not want/need loadable modules?
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] kmod requires modules in kernel??
2013-04-03 12:54 [gentoo-user] kmod requires modules in kernel?? Tanstaafl
@ 2013-04-03 15:09 ` Mike Gilbert
2013-04-03 15:10 ` Alan McKinnon
1 sibling, 0 replies; 4+ messages in thread
From: Mike Gilbert @ 2013-04-03 15:09 UTC (permalink / raw
To: gentoo-user
On Wed, Apr 3, 2013 at 8:54 AM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
> Ok, I am prepping for the udev update this weekend, getting everything
> updated that doesn't pull in the udev updates.
>
> First thing I did was to eliminate the module-init-tools<>kmod Blocker:
>
> emerge -C module-init-tools %% emerge kmod
>
> and noted the following warnings/errors:
>
> Checking for suitable kernel configuration options...
> ERROR: setup
> CONFIG_MODULES: is not set when it should be.
> CONFIG_MODULE_UNLOAD: is not set when it should be.
>
> This is a server, and I do not WANT loadable modules enabled...
>
> So, how do I get rid of this warning/error? Or is this nothing to be
> concerned about if I do not want/need loadable modules?
>
> Thanks
>
The check is nonfatal; feel free to ignore it if you know what you are doing.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] kmod requires modules in kernel??
2013-04-03 12:54 [gentoo-user] kmod requires modules in kernel?? Tanstaafl
2013-04-03 15:09 ` Mike Gilbert
@ 2013-04-03 15:10 ` Alan McKinnon
2013-04-03 16:57 ` Dan Johansson
1 sibling, 1 reply; 4+ messages in thread
From: Alan McKinnon @ 2013-04-03 15:10 UTC (permalink / raw
To: gentoo-user
On 03/04/2013 14:54, Tanstaafl wrote:
> Ok, I am prepping for the udev update this weekend, getting everything
> updated that doesn't pull in the udev updates.
>
> First thing I did was to eliminate the module-init-tools<>kmod Blocker:
>
> emerge -C module-init-tools %% emerge kmod
>
> and noted the following warnings/errors:
>
> Checking for suitable kernel configuration options...
> ERROR: setup
> CONFIG_MODULES: is not set when it should be.
> CONFIG_MODULE_UNLOAD: is not set when it should be.
>
> This is a server, and I do not WANT loadable modules enabled...
>
> So, how do I get rid of this warning/error? Or is this nothing to be
> concerned about if I do not want/need loadable modules?
>
> Thanks
>
The warning makes sense and is correct. kmod is a set of tools to
manipulate kernel modules. It's pointless having it if the kernel does
not use modules. Therefore, the error check exists.
Furthermore,
$ equery depends kmod
* These packages depend on kmod:
sys-fs/udev-200 (kmod ? >=sys-apps/kmod-12)
virtual/modutils-0 (sys-apps/kmod[tools])
$ equery depends virtual/modutils
* These packages depend on virtual/modutils:
app-emulation/virtualbox-modules-4.2.10 (kernel_linux ?virtual/modutils)
app-emulation/vmware-modules-271.2 (kernel_linux ? virtual/modutils)
sys-apps/rescan-scsi-bus-1.56 (virtual/modutils)
$ equery depends rescan-scsi-bus
* These packages depend on rescan-scsi-bus:
sys-apps/sg3_utils-1.35 (>=sys-apps/rescan-scsi-bus-1.24)
$ equery depends sg3_utils
* These packages depend on sg3_utils:
media-libs/libgpod-0.8.2 (sys-apps/sg3_utils)
sys-apps/rescan-scsi-bus-1.56 (>=sys-apps/sg3_utils-1.24)
sys-fs/udisks-1.0.4-r5 (>=sys-apps/sg3_utils-1.27.20090411)
It's hard to escape those hard masks. Do these steps:
1. File a bug, this behaviour is overly constrictive
2. Copy kmod to your local overlay and delete the kernel modules check
3. USE="-kmod"
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] kmod requires modules in kernel??
2013-04-03 15:10 ` Alan McKinnon
@ 2013-04-03 16:57 ` Dan Johansson
0 siblings, 0 replies; 4+ messages in thread
From: Dan Johansson @ 2013-04-03 16:57 UTC (permalink / raw
To: gentoo-user
On Wednesday 03 April 2013 17.10:15 Alan McKinnon wrote:
> On 03/04/2013 14:54, Tanstaafl wrote:
> > Ok, I am prepping for the udev update this weekend, getting everything
> > updated that doesn't pull in the udev updates.
> >
> > First thing I did was to eliminate the module-init-tools<>kmod Blocker:
> >
> > emerge -C module-init-tools %% emerge kmod
> >
> > and noted the following warnings/errors:
> >
> > Checking for suitable kernel configuration options...
> > ERROR: setup
> > CONFIG_MODULES: is not set when it should be.
> > CONFIG_MODULE_UNLOAD: is not set when it should be.
> >
> > This is a server, and I do not WANT loadable modules enabled...
> >
> > So, how do I get rid of this warning/error? Or is this nothing to be
> > concerned about if I do not want/need loadable modules?
> >
> > Thanks
> >
>
>
> The warning makes sense and is correct. kmod is a set of tools to
> manipulate kernel modules. It's pointless having it if the kernel does
> not use modules. Therefore, the error check exists.
>
> Furthermore,
>
> $ equery depends kmod
> * These packages depend on kmod:
> sys-fs/udev-200 (kmod ? >=sys-apps/kmod-12)
> virtual/modutils-0 (sys-apps/kmod[tools])
>
>
> $ equery depends virtual/modutils
> * These packages depend on virtual/modutils:
> app-emulation/virtualbox-modules-4.2.10 (kernel_linux ?virtual/modutils)
> app-emulation/vmware-modules-271.2 (kernel_linux ? virtual/modutils)
> sys-apps/rescan-scsi-bus-1.56 (virtual/modutils)
>
> $ equery depends rescan-scsi-bus
> * These packages depend on rescan-scsi-bus:
> sys-apps/sg3_utils-1.35 (>=sys-apps/rescan-scsi-bus-1.24)
>
>
> $ equery depends sg3_utils
> * These packages depend on sg3_utils:
> media-libs/libgpod-0.8.2 (sys-apps/sg3_utils)
> sys-apps/rescan-scsi-bus-1.56 (>=sys-apps/sg3_utils-1.24)
> sys-fs/udisks-1.0.4-r5 (>=sys-apps/sg3_utils-1.27.20090411)
>
>
> It's hard to escape those hard masks. Do these steps:
>
> 1. File a bug, this behaviour is overly constrictive
> 2. Copy kmod to your local overlay and delete the kernel modules check
> 3. USE="-kmod"
I am having exactly the same issue, server with module-less kernel, USE=-kmod set, but portage still wants to pull in virtual/modutils and sys-apps/kmod (and I have nothing "depending" on either of those two).
At the moment I am looking into mdev instead of udev for these servers.
If you open a bug please post the bug# here.
--
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-03 16:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 12:54 [gentoo-user] kmod requires modules in kernel?? Tanstaafl
2013-04-03 15:09 ` Mike Gilbert
2013-04-03 15:10 ` Alan McKinnon
2013-04-03 16:57 ` Dan Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox