***********WORKAROUND************
I got help on http://hup.hu/node/84548 and there is a link in the thread to http://www.linuxquestions.org/questions ... d.-620209/
where the guy has the same problem that i have.
He has the following workaround:
when the problem occurs, then turn off tcp timestamp
Code: Select all
# echo > 0 /proc/sys/net/ipv4/tcp_timestamps
Well, i'm going to try kernel downgrade, memtest and reloading the kernel driver when the problem happens to find real solution.
************************************
Hi!
I have a quite strange problem, that i couldn't solve so far. Maybe you guys can give me some hint.
So, i have a working internet connection. Everything is working fine, until a few hours uptime (~10 hours).
Then there are some web pages like google.com, which i can't download.
Here is a snippet of tcpdump's output:
Code: Select all
23:32:43.585704 IP (tos 0x0, ttl 64, id 14707, offset 0, flags [DF], proto TCP (6), length 60)
xxx.xxx.xxx.xxx.33651 > 74.125.87.103.http: Flags [S], cksum 0xb933 (correct), seq 2101470733, win 5840, options [mss 1460,sackOK,TS val 35318584 ecr 0,nop,wscale 5], length 0
23:32:43.589300 IP (tos 0x0, ttl 52, id 22479, offset 0, flags [none], proto TCP (6), length 60)
74.125.87.103.http > xxx.xxx.xxx.xxx.33651: Flags [S.], cksum 0x3ebc (incorrect -> 0x3ebd), seq 2695772244, ack 2101470734, win 5672, options [mss 1430,sackOK,TS val 2382952887 ecr 35259808,nop,wscale 6], length 0
Code: Select all
~ $ sudo ethtool --show-offload eth0
Offload parameters for eth0:
Cannot get device rx csum settings: Operation not supported
rx-checksumming: off
tx-checksumming: off
scatter-gather: off
tcp segmentation offload: off
udp fragmentation offload: off
generic segmentation offload: off
I just realized that, now i can download google.com, but there are other pages which has the same problem.
I hope it's a hw problem, and not some malicious code in my system.
Thanks for reading...
UPDATE: i was updating the system at night, it was offline, but in the morning i still couldn't connect to google.com. Now i'm still updating but if that won't help, am going to boot my old system for the night to find out if it is hw problem. Then if it is not hw problem, i thing im going to have to rebuild the system, and reconfigure everything.
I'm a bit afraid of someone got into my system, but there are every ports closed. I was just torrenting
a few hours one month ago.
********UPDATE*********
So, i was booted my old gentoo on another hd, which i haven't used for 5 months now, left it running for the night, and at the morning i couldn't reach the web pages i have problems with.
Summary:
- I have these network problems on my gentoo installs
- I don't have these problems on OpenBSD and on gentoo boot cd
- I have the problems with different NICs
So, I think this is a hardware problem, which comes out with the optimized compilations. (Is it
possible?)
Unfortunately I couldn't test it on another hardware and it's really hard to test if i have to wait
10 hours 'till the problem comes.
**************************

