LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 03-08-2007, 01:08 AM   #1
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Rep: Reputation: 30
network device down


Hello,

I am on mandriva2006 powerpack.

My network is totally down. I don't
why.

Somebody has messed up some file.

When I use the command ' service network restart'
I get the following error :

" bringing back loopback interface: arping:
socket: address family not supported by protocol

Error, some other host already uses address 127.0.0.1 "

My etc/host file is as follows :

127.0.0.1 localhost

192.168.xx.xx fileserver


Can anybody help out ?

Thanks in advance.

Varun
 
Old 03-09-2007, 10:34 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,859

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Would you post the results of the command '/sbin/ifconfig' ( Without the quotes ). Please also describe the network connection, how many network interfaces you have on the system, and any other information you think may be relevant. Is this a wored or wireless connection?
 
Old 03-10-2007, 05:42 AM   #3
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
Basically cards were working. All of
sudden the network stopped.

I think somebody blew something.

ifcfg-eth0 & ifcfg-eth1 were missing and I
created them manually.

The MB is a intel 945 with onboard lan which
I am not using.

I have 2 Compex giga ethernet cards.

/sbin/ifconfig gives only loopback device details

lspci show the cards.

lsmod does not list the cards.

cat /proc/interrupts - no cards listed.

cat /proc/net/dev - no cards listed.

Cards are working using Knoppix liveCD.

No wireless connection.

I hope that was useful

Varun
 
Old 03-10-2007, 07:12 AM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,859

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Since the cards are working with Knoppix, this would indicate this is not hardware related, things like IRQ conflict, defective cards, or a cabling issue. So, with that in mind, a few questions.

Can you see the cards if you open MCC and look at the hardware? Since lspci shows the card, I suspect it will show up through MCC. If it does, try running the configuration tool through MCC.

If it does not show up, in MCC, do you know the name of the driver that worked with the card? If yes, try using modprobe to load the driver. If it loads, you can try and configure the card with ifconfig command.

Let me know how far you can get, and if you need some help with the commands.
 
Old 03-12-2007, 09:53 AM   #5
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
In mcc/hardware card are shown and

' e100 ' is the module for the onboard lan

and ' sk98lin ' for the giga ethernet cards.

Loading manually thru' mcc does not work .

And modprobe e100 or modprobe sk98lin

gives the following error :

FATAL : module e100 not found

And /sbin/insmode e100 gives :

can't read e100 : no such file or directory

I wonder what happened to the mudules.

Anything else that I can try ?

Thanks

Varun
 
Old 03-12-2007, 11:53 AM   #6
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,859

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Here is the location drivers are installed.

Code:
/lib/modules/2.6.12-12mdk/kernel/drivers/net/
This is on my Mandriva 2006 system. If the drivers are not there, somehow the packages have been removed, or deleted.

First, have a look to see if you can find the drivers in the above location. If not, try the command 'locate e100' to see if the locate database knows where they are. If you get a message the data base is more than 8 days old, then run as root 'updatedb' ( without the quotes ), after the update, try to locate the files again.

If you do not have the drivers, you will need to install them. Since your internet connection is not working, use package management and install them from your install CD's.

It may take a bit of looking to find out which package has the drivers.
 
Old 03-13-2007, 01:22 AM   #7
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
As an addendum to 'camorri's' post:

The graphical Software Installer (I think it is Install Software in MDV 2006) has a search function which can be useful when searching for a package containing a specific file.

Enter your search term in the text entry field near the top of the window. In the Find in drop down list select from Name, Description, or File Name, then press the "Search" button to the right.

In this situation, you should start with the File Name choice, then try Description. The Name option will probably be fruitless, but you can try if you want to in the name of thoroughness .

HTH,
 
Old 03-13-2007, 01:43 AM   #8
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks Camorri,

I ran updatedb.

I ran locate and it located both e100
and sk98lin drivers.

But still modprobe or /sbin/insmode give
the same error.

I checked manually the drivers are there.

So where does it leave us now ?

Varun
 
Old 03-13-2007, 04:38 AM   #9
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,859

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Quote:
lsmod does not list the cards.
I went back and read through your posts. The above quote, lsmod lists modules, not cards. If either driver is loaded, it would show up as a driver name, probably e100 and sk98lin would be what I would expect to see listed.

Would you have a look as the output of lsmod and see if the drivers are listed?

We know the drivers are still on your system, and you have re-created the /etc/sysconfig/network-scripts/ifcfg-eth0 file and /etc/sysconfig/network-scripts/ifcfg-eth1 files.

If the drivers are not listed with lsmod, would you try again to modprobe each driver, and cut and paste the error information to this file. Please use cut and paste, do not just re-type it. There has to be an error that is being overlooked.
 
Old 03-13-2007, 06:41 AM   #10
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
No lsmod does not list any modules.

It should show something like :

8139too 22880 0
mii 5664 1 8139too


If the mudules are loaded.

But lspci clearly show the card details.

I removed one card and it gave an error
that card not found. So basically cards
are detected but for some funny reason
the modules are not being loaded.

And

# modprobe sk98lin
FATAL: Module sk98lin not found

I can't copy but I exactly written.

A very strange mess up.

Varun
 
Old 03-13-2007, 09:39 AM   #11
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,859

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
Quote:
modprobe looks in the module directory /lib/modules/`uname -r` for all the modules and other file
The above is a quote from the man page for modprobe. For some reason your system is not finding the modules you located.

As root run the command 'uname -r' this will give you the name of the linux kernel, and part of the path the kernel is looking in for the modules.

If this system has had a kernel installed, it may be the kernel is not looking in the correct path for the modules. What we need to see is, the path where the driver is, and the path the kernel looks are the same. My system shows :

Code:
root /lib/modules/2.6.12-12mdk/kernel/drivers/net/sk98lin 09:32:59 > ls
sk98lin.ko.gz
This is where the module sk98lin.ko is, and uranme - r shows :

Code:
uname -r
2.6.12-12mdk
Note the third directory is kernel version dependent. Do these match on your system?
 
Old 03-13-2007, 11:41 AM   #12
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
Yes it is same for me also.

/lib/modules/2.6.12-12mdksmp/kernel/drivers/net/sk98lin

[root@slashome varun]# uname -r
2.6.12-12mdksmp

Varun
 
Old 03-13-2007, 02:31 PM   #13
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,859

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
At this point I'm at a loss to explain why you are unable to load the ethernet drivers. They are there, and modprobe can't find them. It appears that a kernel update was not done.

May I suggest you start a new thread, reference this one. I can only hope that someone else see it, and can help out more.

One last thought, I checked directory and file permissions out to the e100 driver. Here is how my system is set up.

Quote:
ls -dl /lib
drwxr-xr-x 11 root root 4096 Dec 28 14:35 /lib
cliff ~ 02:27:01 > ls -dl /lib/modules
drwxr-xr-x 3 root root 4096 Dec 26 2005 /lib/modules
cliff ~ 02:27:20 > ls -dl /lib/modules/2.6.12-12mdk
drwxr-xr-x 3 root root 4096 Dec 28 2005 /lib/modules/2.6.12-12mdk
cliff ~ 02:27:36 > ls -dl /lib/modules/2.6.12-12mdk/kernel
drwxr-xr-x 10 root root 4096 Dec 26 2005 /lib/modules/2.6.12-12mdk/kernel
cliff ~ 02:27:44 > ls -dl /lib/modules/2.6.12-12mdk/kernel/drivers
drwxr-xr-x 33 root root 4096 Dec 26 2005 /lib/modules/2.6.12-12mdk/kernel/drivers
cliff ~ 02:27:53 > ls -dl /lib/modules/2.6.12-12mdk/kernel/drivers/net
drwxr-xr-x 17 root root 4096 Dec 26 2005 /lib/modules/2.6.12-12mdk/kernel/drivers/net
cliff ~ 02:28:01 > ls -l /lib/modules/2.6.12-12mdk/kernel/drivers/net/e100.ko.gz
-rw-r--r-- 1 root root 16254 Sep 9 2005 /lib/modules/2.6.12-12mdk/kernel/drivers/net/e100.ko.gz
Just check each directory, and make sure root can has rwx permissions. The Driver is still a gz file, so I think the rw is O.K. there.
 
Old 03-13-2007, 10:48 PM   #14
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks a lot Camorri,

I did learn from it.

Varun
 
Old 03-14-2007, 08:45 AM   #15
jolphil
Member
 
Registered: May 2002
Location: central florida
Distribution: Linux Mint, ,Mageia,Ubuntu
Posts: 453

Rep: Reputation: 33
Hello,
I did a check on my Mandriva system,and I do not have a e100
but do have a e1000
I don't know enough about it if thats important or not..
Sorry to jump in..
jolphil
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is the network device? essdeeay Linux - Networking 1 04-21-2006 11:10 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 03:55 PM
Network card not working? Cannot activate network device eth0 lifeonitsown Linux - Networking 1 11-17-2005 07:30 AM
no network device?!?! sjefke37 Linux - Newbie 8 03-28-2004 01:58 PM
using old pc as device on network hiplainsdrifter Linux - Hardware 3 04-15-2003 08:55 PM


All times are GMT -5. The time now is 02:48 PM.

Main Menu
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