View previous topic :: View next topic |
Author |
Message |
antisthenes Tux's lil' helper
Joined: 06 May 2003 Posts: 89
|
Posted: Sun Sep 28, 2003 10:54 pm Post subject: Network lockup |
|
|
I've been getting network lockups periodically.
Basically, often when doing such things as connecting to IRC or serving a file, my network will completely stop responding (sometimes, my streaming audio continues; this baffles me). I cannot ping even my nameserver (not to mention google), and if I rerun dhcpcd it becomes unkillable and crashes my system. The only way to fix this is to unplug, then replug my router (a Speedstream 2604; crappy, but worked fine before) and then rerun dhcpcd several times.
I've just recently moved, and switched providers as well (from Verizon DSL to Yahoo/SBC DSL). SBC uses PPPoE, Verizon doesn't.
I've also switched to 2.6, so that may be the problem (the kernel bugzilla reports nothing, though).
This has happened with all of my various 2.6 kernels.
My network card is a 3c905, and it appears to work fine normally.
Emerge info output:
Code: | Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test5-love3)
=================================================================
System uname: 2.6.0-test5-love3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs -sandbox -buildpkg -ccache -distcc -userpriv -usersandbox -notitles -noclean -noauto -cvs -keeptemp -keepwork"
GENTOO_MIRRORS="http://gentoo.mirrors.pai | r.com/ http://gentoo.chem.wisc.edu/gentoo/ ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla 3ds dvd cdr fbcon fbdev gtk2 tiff transcode usb wmf Xaw3d xvid -gnome"
[/code]
This can happen up to several times a day, and sometimes, when I leave the house in the morning and come back during the day, I see
that gaim has disconnected and unsuccessfully tried to reconnect
many times, but now is able to.
Any ideas?[/code] |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Mon Sep 29, 2003 4:41 am Post subject: |
|
|
When the 'lockup' occurs, are you able to contact or ping any NUMERIC ip addresses? I.e. avoid doing a DNS lookup. |
|
Back to top |
|
|
antisthenes Tux's lil' helper
Joined: 06 May 2003 Posts: 89
|
Posted: Mon Sep 29, 2003 12:01 pm Post subject: Nope. |
|
|
I tried pinging both my nameservers by IP and that didn't work--gives me a Host Unreachable.
Streaming audio works....why? |
|
Back to top |
|
|
chipi n00b
Joined: 05 Oct 2003 Posts: 62 Location: Israel
|
Posted: Sun Oct 05, 2003 10:27 pm Post subject: |
|
|
I'm having the exact same problem (streaming audio works, and restarting my modem and running dhcpcd -n fix it).
I'm using kernel 2.4 , so I guess it's not a kernel issue, and also I'm using a different modem and network card...
I feel kinda lost, I'm kinda new to linux, but fixed almost everything except for this problem... and it's pretty anonying because it happens often.
Any help would be great. |
|
Back to top |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Mon Oct 06, 2003 9:27 pm Post subject: |
|
|
When it is working, do a /sbin/ifconfig and /sbin/route -n. Then when it stops working, do the same thing. Any differences? |
|
Back to top |
|
|
chipi n00b
Joined: 05 Oct 2003 Posts: 62 Location: Israel
|
Posted: Wed Oct 08, 2003 12:27 pm Post subject: |
|
|
Here it's like this:
When it working, /sbin/ifconfig gives me Code: | eth0 Link encap:Ethernet HWaddr 00:50:BF:5D:1E:C5
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:fe5d:1ec5/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:307 errors:0 dropped:0 overruns:0 frame:0
TX packets:474 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:199112 (194.4 Kb) TX bytes:86814 (84.7 Kb)
Interrupt:9 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1903 errors:0 dropped:0 overruns:0 frame:0
TX packets:1903 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:519978 (507.7 Kb) TX bytes:519978 (507.7 Kb) |
and /sbin/route -n gives me: Code: | Kernel IP routing table
Destination Gateway Genmask Flags 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 |
and when it's not-working, /sbin/ifconfig gives me: Code: | eth0 Link encap:Ethernet HWaddr 00:50:BF:5D:1E:C5
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:fe5d:1ec5/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47956 errors:0 dropped:0 overruns:0 frame:0
TX packets:53805 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:63123990 (60.1 Mb) TX bytes:4840829 (4.6 Mb)
Interrupt:9 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20635 errors:0 dropped:0 overruns:0 frame:0
TX packets:20635 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2438121 (2.3 Mb) TX bytes:2438121 (2.3 Mb) |
and /sbin/route -n gives me: Code: | Kernel IP routing table
Destination Gateway Genmask Flags 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 |
What does it means? |
|
Back to top |
|
|
devon l33t
Joined: 23 Jun 2003 Posts: 943
|
Posted: Thu Oct 09, 2003 7:05 am Post subject: |
|
|
I didn't see any differences between working and non-working... Perhaps you could explain you network setup a little more? It looks like you have some device doing NAT. What device is that? |
|
Back to top |
|
|
antisthenes Tux's lil' helper
Joined: 06 May 2003 Posts: 89
|
Posted: Thu Oct 09, 2003 9:04 pm Post subject: This seems to make it better... |
|
|
It hasn't happened since I did this:
Enable Packet Socket: mmaped io under Networking Options in the kernel config. Perhaps it is something they fixed in -test6-mm4, though, but that seems unlikely. In any case, haven't had a problem since (though may still later) |
|
Back to top |
|
|
chipi n00b
Joined: 05 Oct 2003 Posts: 62 Location: Israel
|
Posted: Mon Oct 13, 2003 3:57 am Post subject: |
|
|
Thank you both, I'll try it as soon as I'll get back home |
|
Back to top |
|
|
|