|
List Info
Thread: RE: Could not load modules.dep
|
|
| RE: Could not load modules.dep |
  Portugal |
2007-05-10 10:59:56 |
See below some feedback on the suggestions given:
> -----Mensagem original-----
> De: Igor Novgorodov [mailto:igor novg.net]
> Enviada: quinta-feira, 10 de Maio de 2007 14:10
> Para: Clemente Aguiar
> Assunto: Re: [gentoo-hardened] Could not load
modules.dep
>
> > Since a while ago I have been getting a series of
errors at
> start-up
> > on my servers, such as:
>
> > "FATAL: Could not load
> > /lib/modules/kernel-hardened-2.18-r6/modules.dep:
> > No such file or directory"
>
> > I configured my hardened kernels with
"loadable module support"
> > disabled, so I think that modules.dep could never
exist.
>
> > First of all, I can see these messages
"fly" by the console at
> > start-up, but it seems that they are not logged (I
can't find them
> > anywhere). Shouldn't they get logged somewhere?
> You can try setting RC_BOOTLOG="yes" in
/etc/conf.d/rc
> Messages will be logged to /var/log/boot.msg
I did as suggested and emerged
"app-admin/showconsole" as well (it is a
requirement for this to work), and most boot messages where
logged in
/varlog/boot.msg, but not all, and the ones I mentioned
where NOT
logged.
> > Second, how can I get rid of the messages
altogether?
> Just do "rc-update del modules" to remove
module init script
> from startup
>
I did as you suggested, but when I rebooted, a warning was
issued and
"modules" init script was automatically added back
to "boot".
Any other suggestions?
Clemente
--
gentoo-hardened gentoo.org mailing list
|
|
| RE: Could not load modules.dep |
  United States |
2007-05-11 02:11:24 |
Don't mess with your scripts... Never know when it
will break something... As root, simply:
touch /lib/modules/kernel-hardened-2.18-r6/modules.dep
Problem solves, and no config/script file tinkering!
It's been working perfectly for me for months.
Charles
--- Clemente Aguiar
<clemente.aguiar madeiratecnopolo.pt> wrote:
>
> See below some feedback on the suggestions given:
>
> > -----Mensagem original-----
> > De: Igor Novgorodov [mailto:igor novg.net]
> > Enviada: quinta-feira, 10 de Maio de 2007 14:10
> > Para: Clemente Aguiar
> > Assunto: Re: [gentoo-hardened] Could not load
> modules.dep
> >
> > > Since a while ago I have been getting a
series
> of errors at
> > start-up
> > > on my servers, such as:
> >
> > > "FATAL: Could not load
> > >
> /lib/modules/kernel-hardened-2.18-r6/modules.dep:
> > > No such file or directory"
> >
> > > I configured my hardened kernels with
"loadable
> module support"
> > > disabled, so I think that modules.dep could
> never exist.
> >
> > > First of all, I can see these messages
"fly" by
> the console at
> > > start-up, but it seems that they are not
logged
> (I can't find them
> > > anywhere). Shouldn't they get logged
somewhere?
> > You can try setting RC_BOOTLOG="yes" in
> /etc/conf.d/rc
> > Messages will be logged to /var/log/boot.msg
>
> I did as suggested and emerged
> "app-admin/showconsole" as well (it is a
> requirement for this to work), and most boot
> messages where logged in
> /varlog/boot.msg, but not all, and the ones I
> mentioned where NOT
> logged.
>
>
>
> > > Second, how can I get rid of the messages
> altogether?
> > Just do "rc-update del modules" to
remove module
> init script
> > from startup
> >
>
> I did as you suggested, but when I rebooted, a
> warning was issued and
> "modules" init script was automatically added
back
> to "boot".
>
> Any other suggestions?
>
> Clemente
> --
> gentoo-hardened gentoo.org mailing list
>
>
--
gentoo-hardened gentoo.org mailing list
|
|
| RE: Could not load modules.dep |
  Canada |
2007-05-15 09:11:34 |
We were getting similar messages on a recently built machine
including a
"FATAL: Could not load System.Map: Missing....."
right after a message
about loading modules.dep. Didn't seem to affect proper
function at all,
but any error is bothersome to me, so...
This was fully resolved by the following set of commands:
# env-update && source /etc/profile
# modules-update
# reboot
Not sure if this issue is entirely similar... seems related
though.
-D
> -----Original Message-----
> From: Charles Taylor [mailto:security tinnov.net]
> Sent: May 11, 2007 3:11 AM
> To: gentoo-hardened lists.gentoo.org
> Subject: RE: [gentoo-hardened] Could not load
modules.dep
>
> Don't mess with your scripts... Never know when it
> will break something... As root, simply:
>
> touch /lib/modules/kernel-hardened-2.18-r6/modules.dep
>
> Problem solves, and no config/script file tinkering!
>
> It's been working perfectly for me for months.
>
> Charles
>
> --- Clemente Aguiar
> <clemente.aguiar madeiratecnopolo.pt>
wrote:
>
> >
> > See below some feedback on the suggestions given:
> >
> > > -----Mensagem original-----
> > > De: Igor Novgorodov [mailto:igor novg.net]
> > > Enviada: quinta-feira, 10 de Maio de 2007
14:10
> > > Para: Clemente Aguiar
> > > Assunto: Re: [gentoo-hardened] Could not
load
> > modules.dep
> > >
> > > > Since a while ago I have been getting a
series
> > of errors at
> > > start-up
> > > > on my servers, such as:
> > >
> > > > "FATAL: Could not load
> > > >
> > /lib/modules/kernel-hardened-2.18-r6/modules.dep:
> > > > No such file or directory"
> > >
> > > > I configured my hardened kernels with
"loadable
> > module support"
> > > > disabled, so I think that modules.dep
could
> > never exist.
> > >
> > > > First of all, I can see these messages
"fly" by
> > the console at
> > > > start-up, but it seems that they are not
logged
> > (I can't find them
> > > > anywhere). Shouldn't they get logged
somewhere?
> > > You can try setting
RC_BOOTLOG="yes" in
> > /etc/conf.d/rc
> > > Messages will be logged to /var/log/boot.msg
> >
> > I did as suggested and emerged
> > "app-admin/showconsole" as well (it is
a
> > requirement for this to work), and most boot
> > messages where logged in
> > /varlog/boot.msg, but not all, and the ones I
> > mentioned where NOT
> > logged.
> >
> >
> >
> > > > Second, how can I get rid of the
messages
> > altogether?
> > > Just do "rc-update del modules" to
remove module
> > init script
> > > from startup
> > >
> >
> > I did as you suggested, but when I rebooted, a
> > warning was issued and
> > "modules" init script was automatically
added back
> > to "boot".
> >
> > Any other suggestions?
> >
> > Clemente
> > --
> > gentoo-hardened gentoo.org mailing list
> >
> >
>
> --
> gentoo-hardened gentoo.org mailing list
--
gentoo-hardened gentoo.org mailing list
|
|
| Re: Could not load modules.dep |

|
2007-05-15 18:15:55 |
|
The issue your raising is completely different than the one posted. In your system you did compile support for modules, that's why the
commands you've mentioned solved the problem. The original post is about a system in which modules support is disabled on purpose. In such a system modules-update will not help. In fact the script should not look for
modules.dep since it is relevant for systems without modules support.
System.map is a file which is generated when compiling the kernel. It is specific to each kernel being compiled. AFAIK It has to reside in the boot partition in order for the kernel to find it while loading.
Asaf
On 5/15/07, Darren Smith < dsmith faculty.ocad.ca">dsmith faculty.ocad.ca> wrote:
We were getting similar messages on a recently built machine including a "FATAL: Could not load System.Map: Missing....." right after a message about loading modules.dep. Didn';t seem to affect proper function at all,
but any error is bothersome to me, so...
This was fully resolved by the following set of commands:
# env-update && source /etc/profile # modules-update # reboot
Not sure if this issue is entirely similar... seems related though.
-D
> -----Original Message----- > From: Charles Taylor [mailto: security tinnov.net">security tinnov.net] > Sent: May 11, 2007 3:11 AM > To: gentoo-hardened lists.gentoo.org">
gentoo-hardened lists.gentoo.org > Subject: RE: [gentoo-hardened] Could not load modules.dep > > Don't mess with your scripts... Never know when it > will break something... As root, simply:
> > touch /lib/modules/kernel-hardened-2.18-r6/modules.dep > > Problem solves, and no config/script file tinkering! > > It's been working perfectly for me for months. > > Charles
> > --- Clemente Aguiar > < clemente.aguiar madeiratecnopolo.pt">clemente.aguiar madeiratecnopolo.pt> wrote: > > > > > See below some feedback on the suggestions given:
> > > > > -----Mensagem original----- > > > De: Igor Novgorodov [mailto: igor novg.net">igor novg.net] > > > Enviada: quinta-feira, 10 de Maio de 2007 14:10
> > > Para: Clemente Aguiar > > > Assunto: Re: [gentoo-hardened] Could not load > > modules.dep > > > > > > > Since a while ago I have been getting a series
> > of errors at > > > start-up > > > > on my servers, such as: > > > > > > > "FATAL: Could not load > > > > > > /lib/modules/kernel-
hardened-2.18-r6/modules.dep: > > > > No such file or directory" > > > > > > > I configured my hardened kernels with "loadable > > module support" > > > > disabled, so I think that
modules.dep could > > never exist. > > > > > > > First of all, I can see these messages "fly" by > > the console at > > > > start-up, but it seems that they are not logged
> > (I can't find them > > > > anywhere). Shouldn9;t they get logged somewhere? > > > You can try setting RC_BOOTLOG="yes" in > > /etc/conf.d/rc > > > Messages will be logged to /var/log/boot.msg
> > > > I did as suggested and emerged > > "app-admin/showconsole" as well (it is a > > requirement for this to work), and most boot > > messages where logged in
> > /varlog/boot.msg, but not all, and the ones I > > mentioned where NOT > > logged. > > > > > > > > > > Second, how can I get rid of the messages > > altogether?
> > > Just do "rc-update del modules" to remove module > > init script > > > from startup > > > > > > > I did as you suggested, but when I rebooted, a
> > warning was issued and > > "modules" init script was automatically added back > > to "boot". > > > > Any other suggestions? > > > > Clemente
> > -- > > gentoo-hardened gentoo.org">gentoo-hardened gentoo.org mailing list > > > > > > -- > gentoo-hardened gentoo.org">gentoo-hardened gentoo.org
mailing list
-- gentoo-hardened gentoo.org">gentoo-hardened gentoo.org mailing list
|
| Re: Could not load modules.dep |

|
2007-05-16 03:57:20 |
On 16/05/07, Asaf Gery <asaf.gery gmail.com> wrote:
> System.map is a file which is generated when compiling
the kernel. It is
> specific to each kernel being compiled. AFAIK It has to
reside in the boot
> partition in order for the kernel to find it while
loading.
There is a really good explanation of system.map here:
http://www.dir
ac.org/linux/system.map/
It isn't needed on boot, it is used to resolve kernel
symbols for
debugging purposes. It can also help you regenerate a
modules.dep
(with depmod), so its purpose in /boot is purely for
recovery for the
standard user.
Thanks
Mark
--
gentoo-hardened gentoo.org mailing list
|
|
[1-5]
|
|