problem with Real Tek RTL-8139, SMC EZ Card
Hello,
I have just now installed RedHat Linux 8.0 on my
system. It has the Real Tek RTL-8139, SMC EZ Card.
After ifup eth0, it gave the message,
modprobe:Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep(No such file or directory)
The same message appeared even at the time of booting.
Please help me come out of this problem!
Thanking you,
Ravi Kumar
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 7 lines · Ravi Kumar Munnangi
Hello,
I have just now installed RedHat Linux 8.0 on my
system. It has the Real Tek RTL-8139, SMC EZ Card.After ifup eth0, it gave the message,
Quoted 8 lines
modprobe:Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep(No such file or directory)The same message appeared even at the time of booting.
Please help me come out of this problem!
To fix it, you first need to find out why it is occurring.
After boot/init is finished, log in as root and check by hand for the "missing" file. Is there a directory named "/lib/modules/2.2.14-5.0/"? If not, then most likely something went wrong during install (or, in the unlikely event that you compiled your own kernel, you forgot to do "make modules_install").
If the directory is present, does it contain a file named "modules.dep"? If not, see if running "depmod" from the command line fixes the problem.
If both directory and file are present, then the problem is *probably* that the modprobe occurs in the "wrong" place in the init sequence (I'm assuming here that the "ifup eth0" is in an init script, not something you are doing by hand after boot/init). Offhand, I cannot think of why that might occur ... this is such an odd possibility, I cannot even think of what additional information to ask you for, should it be the case.
Finally ... 2.2.14 is a very old Linux kernel ... it is not even an up-to-date 2.2.x. Distros do still use these old 2.2.x kernels for their install disks (Debian does, anyway, and I'm not really surprised that an older Red Hat does too). But they are not really meant for production systems. You should look into installing via rpm whatever 2.4.x Linux kernel is currently available in Red Hat ... either just install the pre-made image or compile a custom kernel locally, as you prefer. This may be the real solution to your problem.
BTW, the advice someone else posted was wrong in one detail. If modprobe is not finding modules.dep, then attempting "/sbin/modprobe 8139too" is pointless. Instead, try "/sbin/insmod 8139too", since insmod does NOT handle dependency issues so will not look for modules.dep . It may fail too (if, for example, the module itself is not present), but at least it will fail for a different reason.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 13 lines · Ray Olszewski
Quoted 12 lines · Ravi Kumar Munnangi
Hello,
I have just now installed RedHat Linux 8.0 on my
system. It has the Real Tek RTL-8139, SMC EZ Card.After ifup eth0, it gave the message,
modprobe:Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep(No such file or directory)
<snip>
Quoted 10 lines
Finally ... 2.2.14 is a very old Linux kernel ... it is not even an up-to-date 2.2.x. Distros do still use these old 2.2.x kernels for their install disks (Debian does, anyway, and I'm not really surprised that an older Red Hat does too). But they are not really meant for production systems. You should look into installing via rpm whatever 2.4.x Linux kernel is currently available in Red Hat ... either just install the pre-made image or compile a custom kernel locally, as you prefer. This may be the real solution to your problem.
My (rather unlearned) assumption here is that this individual is trying to use a non-standard kernel. I really don't know for sure what kernel RH 8 uses, but I seriously doubt it's 2.2.14: that's the kernel from RH 6.2, if memory serves. So, to the initial poster: have you loaded a different kernel, like maybe the one from RH 6.2 on this machine to take the place of the RH 8 kernel? If you did, this is likely where the problem lies:
the machine needs modules that were compiled for the running kernel. If you want, or need, to run the 2.2.14 kernel, you'll also need to get, or compile, the modules for that kernel. Switching back to the standard RH 8 kernel - if you've loaded a different one in its place - could resolve the problem in the simplest fashion.
Just the thoughts of an uppity newbie,
James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 6 lines · On Thu, 06 Nov 2003 10:23:15 -0800 Ray Olszewski <[email protected]> wrote:
BTW, the advice someone else posted was wrong in one detail. If modprobe is not finding modules.dep, then attempting "
/sbin/modprobe8139too" is pointless. Instead, try "/sbin/insmod8139too", since insmod does NOT handle dependency issues so will not look for modules.dep . It may fail too (if, for example, the module itself is not present), but at least it will fail for a different reason.
Ah, yes, sorry, I forgot about module dependencies. I'm using RH8.0 with the shipping kernel, 2.4.18-14, and the same network card also. Installing it was simply a matter of ``modprobe'', and then ``redhat-config-network'' (nice GUI network wizard).
Yawar Amin
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 12 lines · On Thu, 6 Nov 2003 09:11:24 -0800 (PST) Ravi Kumar Munnangi…
Hello,
I have just now installed RedHat Linux 8.0 on my
system. It has the Real Tek RTL-8139, SMC EZ Card.After ifup eth0, it gave the message,
modprobe:Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep(No such file or directory)
Quoted 6 lines
The same message appeared even at the time of booting.
Please help me come out of this problem!
Thanking you,
Ravi Kumar
Do a
# /sbin/modprobe 8139too
to load the 8139too module for the card. But first check (/sbin/lsmod) to see if it's already loaded or not. Also, check the directory and the file mentioned (modules.dep). Are they really there? Are their permissions set correctly?
Yawar Amin
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 10 lines · Ravi Kumar Munnangi
Hello,
I have just now installed RedHat Linux 8.0 on my
system. It has the Real Tek RTL-8139, SMC EZ Card.After ifup eth0, it gave the message,
modprobe:Can't open dependencies file
/lib/modules/2.2.14-5.0/modules.dep(No such file or directory)
The normal way to cure that is to do as root,
depmod -a
modprobe 8139too
See what happens.
Quoted 8 lines
The same message appeared even at the time of booting.
Please help me come out of this problem!
Thanking you,
Ravi Kumar
Signature · 15 lines
If the Linux community is a bunch of theives because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs