View previous topic :: View next topic |
Author |
Message |
pele_smk Tux's lil' helper
Joined: 06 Mar 2004 Posts: 94 Location: Phoenix, AZ
|
Posted: Sat Mar 06, 2004 6:28 am Post subject: temporary failure in name resolution Net stops working |
|
|
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 |
|
|
pele_smk Tux's lil' helper
Joined: 06 Mar 2004 Posts: 94 Location: Phoenix, AZ
|
Posted: Sat Mar 06, 2004 6:51 am Post subject: |
|
|
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 |
|
|
dvc5 Guru
Joined: 06 Dec 2003 Posts: 433 Location: Sunnyvale, California
|
Posted: Sat Mar 06, 2004 6:54 am Post subject: |
|
|
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 |
|
|
pele_smk Tux's lil' helper
Joined: 06 Mar 2004 Posts: 94 Location: Phoenix, AZ
|
Posted: Tue Mar 09, 2004 2:05 am Post subject: here is lsmod |
|
|
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 |
|
|
dvc5 Guru
Joined: 06 Dec 2003 Posts: 433 Location: Sunnyvale, California
|
Posted: Tue Mar 09, 2004 2:26 am Post subject: |
|
|
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 |
|
|
Spear n00b
Joined: 08 Mar 2004 Posts: 65
|
Posted: Tue Mar 09, 2004 2:41 am Post subject: |
|
|
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 |
|
|
dvc5 Guru
Joined: 06 Dec 2003 Posts: 433 Location: Sunnyvale, California
|
Posted: Tue Mar 09, 2004 2:43 am Post subject: |
|
|
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 |
|
|
pele_smk Tux's lil' helper
Joined: 06 Mar 2004 Posts: 94 Location: Phoenix, AZ
|
Posted: Tue Mar 09, 2004 4:23 am Post subject: |
|
|
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 |
|
|
pele_smk Tux's lil' helper
Joined: 06 Mar 2004 Posts: 94 Location: Phoenix, AZ
|
Posted: Tue Mar 09, 2004 7:27 am Post subject: |
|
|
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 |
|
|
Spear n00b
Joined: 08 Mar 2004 Posts: 65
|
Posted: Wed Mar 10, 2004 3:11 pm Post subject: |
|
|
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 |
|
|
pele_smk Tux's lil' helper
Joined: 06 Mar 2004 Posts: 94 Location: Phoenix, AZ
|
Posted: Thu Mar 11, 2004 10:32 pm Post subject: |
|
|
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 |
|
|
dvc5 Guru
Joined: 06 Dec 2003 Posts: 433 Location: Sunnyvale, California
|
Posted: Thu Mar 11, 2004 10:58 pm Post subject: |
|
|
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 |
|
|
Spear n00b
Joined: 08 Mar 2004 Posts: 65
|
Posted: Fri Mar 12, 2004 12:34 am Post subject: |
|
|
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 |
|
|
pele_smk Tux's lil' helper
Joined: 06 Mar 2004 Posts: 94 Location: Phoenix, AZ
|
Posted: Thu Mar 18, 2004 7:05 am Post subject: Fixed |
|
|
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 |
|
|
|