On Thu, 18 Nov 1999, Tom Rothamel wrote:
>On Thu, 18 Nov 1999, Richard Adams wrote:
>
>> 1) depmod used an old System.map,! Why is that,? possably because
>> when the new kernel was compiled you forgot to copy
>> /usr/src/linux/System.map to its final resting place, normaly that
>> would be /boot, or even "/" depending on which distro one has, and
>> what one has defined in /etc/lilo.conf 
>> 
>> Solution to (1) is copy /usr/src/linux/System.map to the place
>> defined in /etc/lilo.conf.
>
>depmod only uses System.map when it's explicitly requested to. Normally it
>uses /proc/ksyms. AFAIK, lilo.conf has no settings related to System.map,
>and the file is really only useful for debugging kernel panics, oopses,
>and the like. (That's actually really useful when it's needed.)

I dont want to argue but looking at the source for modutils-2.3.6 it
would seem that the way depmod behaves has indeed changed dramaticly,
however one needs to use -F to define /proc/ksyms so i presume that
System.map is the default.

Doing a strace on both 2.3.6 and earlier versions System./map is
consulted, however the latest version alongside 2.3.28 behaves very
strange indeed.
I dont want to argue, however looking at depmod.c (modutils-2.3.6.)
it seems that the default is System.map, -F is needed to define
either as copy of /proc/ksyms or System.map.

>The old modules are usually the culpret... CONFIG_MODVERSIONS may also do
>it.
>

That i have wrote about many times here to this list, it has been the
subject of disscustion in much depth i dont want to go thro' that all
over again, one could check the archives.


>I've seen this before, but never seen any associated problems with
it. >

That is very true, the orgiganal poster did not say if he had
troubles, only that he was getting errors, quite possably the errors
are from old modules and he does not define MODVER, in make config.

Have a nice day.

>-- 
>Tom Rothamel - http://onegeek.org/~tom/ ------------ Lilug Veep - Using Linux
>       "Are we just machines? With veins instead of wiring, brains 
>        instead of of CPUs, and life insurance instead of warranties?"
>                                               - Torg, "Sluggy Freelance"
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/

Reply via email to