1 |
On 03/04/2013 14:54, Tanstaafl wrote: |
2 |
> Ok, I am prepping for the udev update this weekend, getting everything |
3 |
> updated that doesn't pull in the udev updates. |
4 |
> |
5 |
> First thing I did was to eliminate the module-init-tools<>kmod Blocker: |
6 |
> |
7 |
> emerge -C module-init-tools %% emerge kmod |
8 |
> |
9 |
> and noted the following warnings/errors: |
10 |
> |
11 |
> Checking for suitable kernel configuration options... |
12 |
> ERROR: setup |
13 |
> CONFIG_MODULES: is not set when it should be. |
14 |
> CONFIG_MODULE_UNLOAD: is not set when it should be. |
15 |
> |
16 |
> This is a server, and I do not WANT loadable modules enabled... |
17 |
> |
18 |
> So, how do I get rid of this warning/error? Or is this nothing to be |
19 |
> concerned about if I do not want/need loadable modules? |
20 |
> |
21 |
> Thanks |
22 |
> |
23 |
|
24 |
|
25 |
The warning makes sense and is correct. kmod is a set of tools to |
26 |
manipulate kernel modules. It's pointless having it if the kernel does |
27 |
not use modules. Therefore, the error check exists. |
28 |
|
29 |
Furthermore, |
30 |
|
31 |
$ equery depends kmod |
32 |
* These packages depend on kmod: |
33 |
sys-fs/udev-200 (kmod ? >=sys-apps/kmod-12) |
34 |
virtual/modutils-0 (sys-apps/kmod[tools]) |
35 |
|
36 |
|
37 |
$ equery depends virtual/modutils |
38 |
* These packages depend on virtual/modutils: |
39 |
app-emulation/virtualbox-modules-4.2.10 (kernel_linux ?virtual/modutils) |
40 |
app-emulation/vmware-modules-271.2 (kernel_linux ? virtual/modutils) |
41 |
sys-apps/rescan-scsi-bus-1.56 (virtual/modutils) |
42 |
|
43 |
$ equery depends rescan-scsi-bus |
44 |
* These packages depend on rescan-scsi-bus: |
45 |
sys-apps/sg3_utils-1.35 (>=sys-apps/rescan-scsi-bus-1.24) |
46 |
|
47 |
|
48 |
$ equery depends sg3_utils |
49 |
* These packages depend on sg3_utils: |
50 |
media-libs/libgpod-0.8.2 (sys-apps/sg3_utils) |
51 |
sys-apps/rescan-scsi-bus-1.56 (>=sys-apps/sg3_utils-1.24) |
52 |
sys-fs/udisks-1.0.4-r5 (>=sys-apps/sg3_utils-1.27.20090411) |
53 |
|
54 |
|
55 |
It's hard to escape those hard masks. Do these steps: |
56 |
|
57 |
1. File a bug, this behaviour is overly constrictive |
58 |
2. Copy kmod to your local overlay and delete the kernel modules check |
59 |
3. USE="-kmod" |
60 |
|
61 |
-- |
62 |
Alan McKinnon |
63 |
alan.mckinnon@×××××.com |