module deps, was Re: PLUG-discuss digest, Vol 1 #2060 - 15 msgs

der.hans plug-discuss@lists.plug.phoenix.az.us
Sun, 24 Mar 2002 04:39:35 -0700 (MST)


Am 22. Mar, 2002 schwätzte Craig S. so:

> nope, I even tried removing the file and recompiling the kernel with the
> make modules and make modules_install commands. Filesize comes up as
> zero still.
>
> I checked my 2.2.16 modules.dep file and it shows about 30k for
> filesize.

Are you sure modules are enabled in the kernel? There's something specific
to allow modules. Presumably if you haven't enabled that you can't designate
anything as modules, so I presume you do have it enabled.

Your filesystem isn't full?

Once the system is up and running can you move that modules.dep file out of
the way and create a file with that name?

# cd /lib/modules/2.4.18
# mv modules.dep modules.dep.old
# echo "fred wuz hier" >>modules.dep
# ls -l modules.d*

> Ok, shell scripting isn't a real strong point of mine right now but if
> scripts are like C++ or Java programs that run from the first line of
> main to the last then the file-system is read-only while rc.modules is
> run.

Yes, except for functions shell scripts run line by line. Functions must
appear before they're used, so the actual script could start later or have
functions interspersed.

The dir needs to be r/w when depmod is run.

ciao,

der.hans
-- 
#  http://home.pages.de/~lufthans/   http://www.<ThisSpaceAvailable>.com/
# Strangers are friends just waiting to happen!