How to fix the error Cannot determine dependencies of module reiserfs. Is modules.dep up to date?

When I did a make install on a new kernel recompile I receive this message:
Cannot determine dependencies of module reiserfs. Is modules.dep up to date?

How can I fix this error? I suspect that if I reboot the kernel will panic and not be able to mount the filesystem.
LVL 5
intreegAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

intreegAuthor Commented:
Here is the whole output from make install:

toolbox:/usr/src/linux-2.6.9 # make install
  CHK     include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.9/arch/i386/boot/install.sh 2.6.9 arch/i386/boot/bzImage System.map ""
Root device:    /dev/hda2 (mounted on / as reiserfs)
Module list:    reiserfs

Kernel image:   /boot/vmlinuz-2.6.9
Initrd image:   /boot/initrd-2.6.9
Shared libs:    lib/ld-2.3.3.so lib/libc.so.6 lib/libselinux.so.1
Cannot determine dependencies of module reiserfs. Is modules.dep up to date?
Modules:
none
Bootsplash:     SuSE-Home (640x480)

Run lilo now to update the boot loader configuration.
Running lilo...
toolbox:/usr/src/linux-2.6.9 #

More Info: I am already running on a 2.6.9 kernel, I simply recompiled to streamline the kernel for better performance and to include the iptables modules as part of the kernel instead of as a module. I also made sure that reiserfs was a built in option.
0
wesly_chenCommented:
Hi,

   Before "make install", did you do "make dep", "make modules", "make modules_install" and "depmod -a"?

Wesly
0
intreegAuthor Commented:
I did make modules_install, I was under the empression that this was all that was required.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

wesly_chenCommented:
> I did make modules_install, I was under the empression that this was all that was required.
It depends on what you change for the kernel or kernel configuration file.
In your case, I believe that you might need to do "make dep", "make modules", "make modules_install" and "depmod -a"
before you do "make install", especially "depmod -a" which will update modules.dep.

Do
man depmod
for more details.

Wesly
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
garak1357Commented:
For 2.4.x kernels:

make menuconfig
make dep
make
make modules
make modules_install

For 2.6.x kernels:

make menuconfig
make
make modules
make modules_install

You should make sure that you have a clean source of the kernel for installation.  DO NOT compile it is /usr/src/linux.  You should have a copy of the source there but don't compile it there.  I would also check to see that you did complile support for file system into the kernel.  I also would compile it into the kernel and not as a module.  I've never heard of anyone compiling the primary file system as a module.  I didn't even know that it would work.

Good luck!
0
intreegAuthor Commented:
make menuconfig
make
make modules
make modules_install

This is the exact method I used (make; make modules_install; make install)

I did however, compile from the /usr/src/linux dir.
I did compile resisers into the kernel and not as a module.

So the only error I made according to you, garak, is where I did the compiling. And why is the depmod or make dep not used in 2.6?
0
intreegAuthor Commented:
I removed the /usr/src/linux dir and repleaced it with a fresh copy from the tar. Made a fresh copy of the source in ~/Documents/ and ran from ~/Documents/linux-2.6.9/ :

make mrproper
make xconfig
make dep
make
make modules
make modules_install
depmod -a
make install

and am receiving the same error.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.