LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 07-30-2007, 06:56 AM   #1
navin_karnam
Member
 
Registered: May 2007
Posts: 52

Rep: Reputation: 15
modprobe and insmod not working


Hi,

I was using Redhat EL 2.4.6 kernel without any problems for 1 year...

Now my problem is, its unable to run commands modprobe and insmod, because of this its unable

1) Detect ethernet card
2) unable to mount any devices(it is saying unknown fs ).

When i try to execute modprobe or insmod it saying :

/sbin/insmod: /lib/tls/libc.so.6 : Version `GLIBC_2.3.4` not found (required by /sbin/insmod)

Please any of u help me to get out of this problem...

Regards,
Naveen.
 
Old 07-30-2007, 10:50 AM   #2
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
What you have changed?
You made a system update?
Then you have to check depends
 
Old 07-30-2007, 10:50 AM   #3
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,523

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Seems like the problem is staring right at you... the Version "GLIBC_2.3.4" not found.

Have you tweaked the library paths on your system recently? Check if the libc-2.3.4 is still on your system. Normally it is placed in /lib.

If it is there, then as root, run the following command:

Code:
# /sbin/ldconfig -v |grep libc-
Post another message if you still have the same problem.

Last edited by dwhitney67; 07-30-2007 at 12:49 PM.
 
Old 07-30-2007, 11:36 AM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Also, try making sure you have the most current module-init-tools installed on this system.
 
Old 07-30-2007, 11:58 PM   #5
navin_karnam
Member
 
Registered: May 2007
Posts: 52

Original Poster
Rep: Reputation: 15
Hi

Thank you all for the replies...

I entered into /lib and i executed the command

/sbin/ldconfing -v | grep libc-

so its made libc.so.6 to pint libc-2.3.2 and i did the same in /lib/tls/ directory also..

Still modprobe and insmod trying to find the GLIBC-2.3.4 ...
And in system i have not found libc-2.3.4 ..

what is the way to solve this ???

Thanks and Regards,
Naveen
 
Old 07-31-2007, 12:13 AM   #6
navin_karnam
Member
 
Registered: May 2007
Posts: 52

Original Poster
Rep: Reputation: 15
Hi,

One more problem i noticed by executing the command :

ldd /sbin/insmod

it is saying :

not a dymanic executable

But if i run the same command in othr machine

it is saying :
[naveen@LocalHost ~]$ ldd /sbin/insmod
libc.so.6 => /lib/tls/libc.so.6 (0x006f4000)
/lib/ld-linux.so.2 (0x006d7000)

Regards,
Naveen.
 
Old 07-31-2007, 12:20 AM   #7
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,523

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
From the output you provided it appears quite apparent that you have glibc-2.3.2 installed. The modprobe and insmod are looking for glibc-2.3.4 because that is what they were compiled against.

Have you updated your system recently? It's quite possible that you may have inadvertently copied these binaries for modprobe and insmod (and likely lsmod, etc) from a source that is not appropriate for your system.

What Linux distro are you using? Maybe if you did an update you might be able to set everything to normal. --- I just noticed you stated in the OP that you are using RHEL. Try running the following commands (as root):

# up2date up2date
# up2date

As a last resort, you should be able to find the original modprobe/insmod/lsmod/etc on your original CD for your distro.

Last edited by dwhitney67; 07-31-2007 at 12:23 AM.
 
Old 07-31-2007, 06:13 AM   #8
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
Hello naveen,
your libc,so.6 is link to an older version of libc which is libc-2.3.2. you need a higher version.
at my system I see libc-2.5.so.
You can check the net for a higher version.
And tell us please what you have done before.
Paul7
 
Old 08-01-2007, 12:37 AM   #9
navin_karnam
Member
 
Registered: May 2007
Posts: 52

Original Poster
Rep: Reputation: 15
Hi,

I tried "up2date" but its unable detect the my linux installation cds.

Now insmod,modprobe and lsmod are working :

I copied the working insmod and lsmod form windows using LTOOL. But my problem still not solved.

whenever i try to mount usb stick it is saying :

mount: fs type vfat is not supported ...

and I am unable to browse ...


Regards,
Naveen
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fresh Slack 10 install::Can't modprobe...insmod failing. kersten78 Slackware 3 11-07-2004 01:16 PM
modprobe or insmod? GT_Onizuka Linux - Newbie 7 04-10-2004 07:03 PM
modprobe or insmod agts Linux - Newbie 2 03-14-2004 02:18 PM
modprobe and insmod same modules, diff kernel ? qwijibow Linux - Software 1 11-06-2003 10:22 AM
insmod/modprobe Problem Compuholic Linux - General 19 12-24-2002 11:39 AM


All times are GMT -5. The time now is 10:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration