Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
temporary failure in name resolution Net stops working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pele_smk
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 94
Location: Phoenix, AZ

PostPosted: Sat Mar 06, 2004 6:28 am    Post subject: temporary failure in name resolution Net stops working Reply with quote

When I first boot into gentoo. I have net access for about a minute. If I try and ping something I'm fine. If I try to emerge something small I'm fine. Once I try to emerge xfree or something similar I get internet connection for about 20 seconds then all is lost. I can no longer ping any computers or anything until i restart my computer. I have a fine internet connection when I boot from teh livecd. My computer specs are as follows

Amd64
using gentoo-dev-sources
nforce3
My internet connection is dhcp.
Back to top
View user's profile Send private message
pele_smk
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 94
Location: Phoenix, AZ

PostPosted: Sat Mar 06, 2004 6:51 am    Post subject: Reply with quote

here is the rout -n and cat /etc/resolv.conf I have to type this by hand so cut me some slack If I mispell something. Numbers will be correct for sure though.

#route-n
Destination Gateway Genmas Glags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

#cat /etc/resolv.conf
nameserver 69.1.30.3
nameserver 69.1.30.2
search knology.net
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Sat Mar 06, 2004 6:54 am    Post subject: Reply with quote

What NIC are you using? Can you post your lspci and lsmod output? Also what does your /etc/conf.d/net look like?
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
pele_smk
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 94
Location: Phoenix, AZ

PostPosted: Tue Mar 09, 2004 2:05 am    Post subject: here is lsmod Reply with quote

I don't have net access through gentoo so I have to copy these by hands

#lsmod
usb
bcm5700
tg3

My netcard is a gigabit broadcomm. Originally I had the tiger3 built into the kernel, so i tried using the bcm5700, but I'm getting the same problem with no net access. here is the post from my /etc/conf.d/net

# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
#gateway="eth0/192.168.0.1"
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Tue Mar 09, 2004 2:26 am    Post subject: Reply with quote

pele_smk wrote:
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"


# For setting the default gateway
#
#gateway="eth0/192.168.0.1"


Your net config looks fine. Did you try bringing the interface up by hand?

Code:
ifconfig eth0 down
killall dhcpcd
ifconfig eth0 up
dhcpcd eth0


If you can, then your NIC module isn't being loaded properly. So you might have to put it in your /etc/modules.autoload.d/kernel-2.6. I had a similar issue w/ my e100 NIC module, hotplugging loaded it too late.
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
Spear
n00b
n00b


Joined: 08 Mar 2004
Posts: 65

PostPosted: Tue Mar 09, 2004 2:41 am    Post subject: Reply with quote

I get the exact same behaviour on my nforce 3 chipset as well. One interface drops out after a minute or so, the other lasts half an hour or so. Everything works perfectly up to this point and then nothing whatsoever.
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Tue Mar 09, 2004 2:43 am    Post subject: Reply with quote

It sounds like a driver problem, did you try a different driver? Maybe use a more generic driver like tulip to see if you can get your NIC up longer.
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
pele_smk
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 94
Location: Phoenix, AZ

PostPosted: Tue Mar 09, 2004 4:23 am    Post subject: Reply with quote

I have the bcm5700 set up to auto load, and it acts the same way. I'm gonna give it a try with reloading the eth0 with what you said and see if it's any more reliable.
Back to top
View user's profile Send private message
pele_smk
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 94
Location: Phoenix, AZ

PostPosted: Tue Mar 09, 2004 7:27 am    Post subject: Reply with quote

How can I unload the eth0 module and reload it? I'm using modprobe -r bcm5700 then trying to reload it with modprobe -i bcm5700 but it is unsuccessful. It shows up in lsmod, but when I try to connect to the net I don't have a connection still. I tried killall dhcpcd eth0 but it doesn't come back succesfully. Takes about a minute and doesn't get anything.
Back to top
View user's profile Send private message
Spear
n00b
n00b


Joined: 08 Mar 2004
Posts: 65

PostPosted: Wed Mar 10, 2004 3:11 pm    Post subject: Reply with quote

I had the same problem and I've found how to fix it. I had to disable APIC support by adding noapic after the Grub entry. My network interfaces now stay on.
Back to top
View user's profile Send private message
pele_smk
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 94
Location: Phoenix, AZ

PostPosted: Thu Mar 11, 2004 10:32 pm    Post subject: Reply with quote

great!! I'll try when i get home. I'm at school right now. I do remember seeing something about "Are you running some type of weird power mode" in my dmesg. And its right after loading acpi support, so I think you have a fix there. I sure hope so I can't wait to try it. THanks
_________________
AMD64 3000+
Chaintech ZNF3-150
Chaintech ti4200 SE
WD 120gb && Maxtor 250gb && Maxtor 250gb,
Lite-On DVD+-RW
Coolermaster ATC-210
Thermalright slk & Tornado 92mm
It's still hot......
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Thu Mar 11, 2004 10:58 pm    Post subject: Reply with quote

pele_smk wrote:
How can I unload the eth0 module and reload it? I'm using modprobe -r bcm5700 then trying to reload it with modprobe -i bcm5700 but it is unsuccessful. It shows up in lsmod, but when I try to connect to the net I don't have a connection still. I tried killall dhcpcd eth0 but it doesn't come back succesfully. Takes about a minute and doesn't get anything.


First you need to make sure you have tulip support compiled as a module in your kernel:
Code:
modprobe -l | grep tulip

If that shows up, then do the following:
Code:
/etc/init.d/net.eth0 stop
killall dhcpcd
rmmod bcm5700
modprobe tulip
ifconfig tulip up
dhcpcd tulip


That will manually bring the tulip NIC up as eth0 and grab an IP for it. If you get more reliable network connectivity after using tulip, then you can recompile your kernel w/out the bcm5700 module support.

Note: you can use this method to test any number of NIC modules, in case tulip doesn't work either.
_________________
#define NULL rand() /*heh heh heh */

Green Is Good
Back to top
View user's profile Send private message
Spear
n00b
n00b


Joined: 08 Mar 2004
Posts: 65

PostPosted: Fri Mar 12, 2004 12:34 am    Post subject: Reply with quote

I had the same message

Uh? NMI returned a value of 3d
Are you running some kind of strange powersaving mode?

That went away with the noapic switch added.
Back to top
View user's profile Send private message
pele_smk
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2004
Posts: 94
Location: Phoenix, AZ

PostPosted: Thu Mar 18, 2004 7:05 am    Post subject: Fixed Reply with quote

you hit it on the head. Fixed it, Thanks
_________________
AMD64 3000+
Chaintech ZNF3-150
Chaintech ti4200 SE
WD 120gb && Maxtor 250gb && Maxtor 250gb,
Lite-On DVD+-RW
Coolermaster ATC-210
Thermalright slk & Tornado 92mm
It's still hot......
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
Page 1 of 1

 
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