Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 failed to go up, no such device...
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Tue Jul 23, 2002 5:21 pm    Post subject: eth0 failed to go up, no such device... Reply with quote

If anyone could help in this matter, it would be highly appreciated..

I get this whenever the system starts up:
Bringing eth0 up
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SIOCSIFBRADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device
Setting default gateway...
SIOCADDRT: No such device
Failed to bring eth0 up

Error: Problem started needed services
netmount was not started

I am running a Netgear FA311 NIC, and have also tried a D-link DFE530TX with the app. modules and still had the same problems.

I can ping 127.0.0.1
When I run ifconfig -a, i get info only on lo, not eth0
I've tried /etc/init.d/net.eth0 start and get the same probs as at startup
I have tried running it as a module, then starting the module up, but it won't start the module up (prob because it can't find the device.
I've tried running it built into the kernel, but, same problem, just one less error message (the module startup one).

Any suggestions?
Back to top
View user's profile Send private message
reverius42
Apprentice
Apprentice


Joined: 16 Jul 2002
Posts: 166
Location: Tucson, AZ

PostPosted: Tue Jul 23, 2002 5:42 pm    Post subject: Re: eth0 failed to go up, no such device... Reply with quote

Seektheguru wrote:
If anyone could help in this matter, it would be highly appreciated..

I get this whenever the system starts up:
Bringing eth0 up
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
SIOCSIFBRADDR: No such device
eth0: unknown interface: No such device
SIOCSIFNETMASK: No such device
Setting default gateway...
SIOCADDRT: No such device
Failed to bring eth0 up

Error: Problem started needed services
netmount was not started

I am running a Netgear FA311 NIC, and have also tried a D-link DFE530TX with the app. modules and still had the same problems.

I can ping 127.0.0.1
When I run ifconfig -a, i get info only on lo, not eth0
I've tried /etc/init.d/net.eth0 start and get the same probs as at startup
I have tried running it as a module, then starting the module up, but it won't start the module up (prob because it can't find the device.
I've tried running it built into the kernel, but, same problem, just one less error message (the module startup one).

Any suggestions?


You're putting the names of the modules in /etc/modules.autoload, I assume? That's what you need to do to automatically load modules on startup.
_________________
Even a stopped clock gives the right time twice a day.
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Tue Jul 23, 2002 7:59 pm    Post subject: Reply with quote

Well, if the module isn't loading, it sounds like you're using the wrong module. I suspect you're trying to use the tulip driver (Netgear and D-Link are common tulip cards), however neither of these cards use the tulip chipset. The FA311 uses a National Semiconductor DP83810 series chipset. The D-Link DFE530TX uses the VIA Rhine-II chipset. Both of these chipsets are available in the kernel.
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Wed Jul 24, 2002 12:38 am    Post subject: networking fun... Reply with quote

whenever I set either of the cards as modules, i use the natsemi for the netgear and the via-rhine for the d-link, same probs though

any other hints?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 24, 2002 1:05 am    Post subject: Reply with quote

If it is the D-Link DFE530TX+ (plus in the end), it uses the 8139too driver, I think.

Doing lspci may give a bit more info (need to emerge pciutils).
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Wed Jul 24, 2002 1:46 am    Post subject: Reply with quote

Quote:
whenever I set either of the cards as modules, i use the natsemi for the netgear and the via-rhine for the d-link, same probs though

Hmm, that's not the answer I wanted it hear... :)

Can you post the output of a modprobe on one of your cards? Post the output of an 'lspci' also (you may need to 'emerge pciutils' to get lspci). What motherboard are you using, and what slot are you putting the NICs into.
Quote:
If it is the D-Link DFE530TX+ (plus in the end), it uses the 8139too driver, I think.

Yes, this is correct, the DFE-530TX+ uses the Realtek 8139 driver.

Steven
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Wed Jul 24, 2002 1:59 am    Post subject: more networking fun... Reply with quote

I'm using a Aopen AK73 Pro motherboard, and the NIC is in the last slot (currently, I've tried it in about 3 slots, with all the same prob)
I'm about to go do a modprobe on the natsemi and then try an lspci. I sort of figured it would have something to do with the pci more than the net card itself. The thing is what is that difference between what the boot cd does to recognize it and what my kernel isn't doing to get it. I'll be back in like 15 to 20 minutes, with the lspci info and the modprobe stuff.

Thanks again..
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 24, 2002 2:15 am    Post subject: Reply with quote

Forgot the obvious:
Do lsmod with the boot cd to check what module it has loaded for the card(s).
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Wed Jul 24, 2002 2:27 am    Post subject: network Reply with quote

I tried lspci, came up with nothing because i didn't have the program... and can't do an emerge since i can't get on my network (satellite modem..). I did modprobe natsemi and got "can't locate module natsemi".
That's with the thing built into the kernel (natsemi). I'll go try lsmod, but i think that it loads the natsemi module off of the cd...
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Wed Jul 24, 2002 3:02 am    Post subject: network Reply with quote

Ok, tried lsmod off of the cd, came up with natsemi as the module, 14216 as the size and 0 under use.
Now, i can get networking to work in the install, by that cd..soo..

I also tried lspci from the cd and got this huge mess:

00:00.0 Class 0600:1106:0305 rev02
00:01.0 Class 0604:1106:8305
00:07.0 Class 0604:1106:0686 rev40
00:07.1 Class 0601:1106:0571 rev06
00:07.2 Class 0603:1106:3038 rev16
00:07.3 Class 0603:1106:3038 rev16
00:07.4 Class 0680:1106:3057 rev40
00:08.0 Class 0200:1106:0020
00:09.0 Class 0180:1106:4d68 rev02
00:0a.0 Class 0c00:1106:5811 rev04
00:0c.0 Class 0401:1106:0002 rev07
00:0c.1 Class 0980:1106:7002 rev07
01:00.0 Class 0300:1106:0171 rev63

So, any other ideas?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Wed Jul 24, 2002 3:13 am    Post subject: Reply with quote

There is an option like this in the kernel config:

NatSemi workaround for high errors (NEW)

Have you tried toggling it (shooting in the dark here :))
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Wed Jul 24, 2002 3:22 am    Post subject: toggle high error Reply with quote

I believe that i tried it once, let me try again, be back in a few..
Back to top
View user's profile Send private message
mrchuckles
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 125
Location: Severn, MD

PostPosted: Wed Jul 24, 2002 11:35 am    Post subject: Reply with quote

Quote:
That's with the thing built into the kernel (natsemi). I'll go try lsmod, but i think that it loads the natsemi module off of the cd...

So you have the natsemi built into your kernel? Then you don't have a module, which is why you're getting errors trying to load the module. Remove the natsemi line from your modules.autoload.

You don't have to use 'lspci' to get your PCI information. Do a 'cat /proc/pci' and post the output.

Have you tried updating the BIOS for your motherboard? Do you have 'Plug and Play OS' set to disabled in your BIOS?

Can you post your kernel config? It's '.config' in your kernel source directory.
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Thu Jul 25, 2002 1:57 am    Post subject: huh? Reply with quote

I updated my bios, didn't have any affect on the problem. Also, I checked out the P&P thing in the PCI section of Bios, and it was disabled, i enabled it and still nothing. I tried a cat /proc/pci and got this huge long thing, of which i couldn't see half because my computer is too fast. How can i print that to my usb canon s750 printer or somehow slow it down to see all of the info? I only see the last few things... I looked at the .config file as well, and that is also huge, how can i post that here? I'm running a dual-boot, XP and Gentoo, they fight constantly, or at least XP tries to crash as much as poss, while I go after linux-hehe. Last thing, whenever I have set the natsemi module in the kernel compiler to be a module, I've made sure it was in modules.autoload. Whenever it wasn't as a module, but built in, i made sure it wasn't. So, that's not the prob. What now?
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Thu Jul 25, 2002 6:25 am    Post subject: Reply with quote

Four ways of fixing the "it all went by too fast" problem.

cat /proc/pci | less (shows it page-by-page)
cat /proc/pci | more (ditto - some people prefer more, or less)
cat /proc/pci > /directory/file will append it to the end of a file (or start a new one, if it's not there)

and shift-pgup / pgdn will scroll through your termial output, although this is limited by the size of your terminal buffers.

~Mac~
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Fri Jul 26, 2002 1:51 am    Post subject: /proc/pci Reply with quote

Thanks for the help Mac. Here's the post of cat /proc/pci, or at least the info specific to the network card:
IRQ 9
Bus 0, device 8, function 0:
Ethernet controller: National Semiconductor Corporation DP83815 (May Phyter) Ethernet Controller (rev 0)

As for the kernel config, I can tell you what I have related to the network, to post it would be insane, considering I've been writing this stuff down by hand, then changing back to windows to post it. I have the Nat Semi module set up to be built into the kernel, no other net card drivers are set up. Any more specifics to be looking for to post?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Fri Jul 26, 2002 2:03 am    Post subject: Reply with quote

Kernel config may be the best diagnosis tool we have left :)
You can write it to a floppy in Linux and then read it under Windows to post (or mount the Windows partition to write if it works - FAT will work).
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Fri Jul 26, 2002 4:23 am    Post subject: Reply with quote

well, that's a deep subject...

Ok, for some reason, my floppy is not mounting properly, it says it is, and lets me copy files, but then, doesn't access the drive at all.
So, i went for the 2nd option, that of attempting to mount my win drive (which is running fat32 for xp...). I changed fstab and now it's all messed up. It won't let me get past it in the startup, i logged in for maintenance, except that nano won't let me save to the filesystem (says its read-only), so now I'm thinking well, either someone comes up with a solution to this minor problem and perhaps hints me in the right direction of mounting the drive, or i reinstall the whole bloody thing after a format... which may actually fix the network card problem... but would take a while. The thing that has been under my skin since I was installing was that I had to use a stage 3 tarball, because the other stages always failed at some point in the process. I wanted to build the entire system from scratch before, but it wouldn't let me, maybe it will now. If anyone sees this and has a suggestion, I'll stay in the forum until about 1:15 (my time, eastern, no idea this things time, since it is off...), about 45-50 minutes from this post
Back to top
View user's profile Send private message
mikki
n00b
n00b


Joined: 14 Jul 2002
Posts: 51
Location: On Top

PostPosted: Fri Jul 26, 2002 4:56 am    Post subject: Reply with quote

Seektheguru wrote:
Ok, for some reason, my floppy is not mounting properly, it says it is, and lets me copy files, but then, doesn't access the drive at all.


Are you 'umount'ing the drive? It might just be caching. You can't just wing floppies in and out, unfortunately...

The anticipation is killing me!
_________________
Mikki
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Fri Jul 26, 2002 5:09 am    Post subject: Reply with quote

how might i get back into linux, though? i can't edit the fstab from that "maintenance" console

it says it is read-only
Back to top
View user's profile Send private message
mikki
n00b
n00b


Joined: 14 Jul 2002
Posts: 51
Location: On Top

PostPosted: Fri Jul 26, 2002 5:51 am    Post subject: Reply with quote

Seektheguru wrote:
how might i get back into linux, though? i can't edit the fstab from that "maintenance" console

it says it is read-only


mount it by hand, fix the fstab after it boots...
_________________
Mikki
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 26, 2002 5:52 am    Post subject: Reply with quote

See this thread for getting back into your box.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jul 26, 2002 5:55 am    Post subject: Reply with quote

Seektheguru wrote:
how might i get back into linux, though? i can't edit the fstab from that "maintenance" console

it says it is read-only

Can you try remounting whatever partition /etc is on manually from the maintenance mode? Read-write is the default for mount.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
MacMasta
Guru
Guru


Joined: 18 Apr 2002
Posts: 545
Location: Anchorage, AK

PostPosted: Fri Jul 26, 2002 6:26 am    Post subject: Reply with quote

Do like I did to fix "stupid devfs configuration error that hangs on booting #2" (TM) like I did this morning.

Boot from the install cd, launch the console, let it autodetect, etc.

then:

Code:
mkdir /mnt/gentoo
mount /dev/hdXY /mnt/gentoo

(where X and Y are the correct values, just ask if you need a primer on that)
Code:
cd /mnt/gentoo
nano -w /etc/fstab

(editeditediteditedit)
Code:
cd /
umount /mnt/gentoo
reboot

that will fix that.

As to the floppy: unix (including linux) speeds up drive access for everything by not necessarily writing data to the disk unless necessary - it keeps it in ram for a while, and will even edit it there, which is called "caching" - for floppies, known for being cataclysmically slow, it will generally cache just about everything that happens.
When you unmount a drive (umount X) it writes all the cached data to disk - this is why unmounting is important. (Esp. for network drives and floppies)
I have heard of problems with data not getting written to floppies, even when they get passed the unmount command. To force all the caches to be written to disk, do:
Code:
sync



Hope that helps a little.

~Mac~
Back to top
View user's profile Send private message
Seektheguru
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2002
Posts: 106
Location: VA, USA

PostPosted: Fri Jul 26, 2002 4:23 pm    Post subject: Reply with quote

ok, got back into the box, thanks delta. Now, in trying to mount an fat32 system, what is the exact name of the partition, every time it trys to mount, it gets it wrong, so i'm thinking that the filesystem isn't right... as for the floppy, I still have to work on it. I don't think I can sync it, because my internet connection is through my network, in which eth0 is not coming up... I'll be back sometime tonight, after work, say about 11hours from this prompt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum