Bug 227090

Summary: Various network applications fail to connect...
Product: [openSUSE] openSUSE 10.2 Reporter: Forgotten User 5jFyFBvk-I <forgotten_5jFyFBvk-I>
Component: OtherAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P2 - High CC: ad3x4, jochen.czemmel
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User 5jFyFBvk-I 2006-12-08 13:14:28 UTC
After installing opensuse 10.2 I cannot connect to mysql/imap running on the server we use here at work. the applications I've noticed to far that fails are mysql (console tool) mysql-query-browser also IMAP applications fails.
Both thunderbird and kmail fails to connect to this server.
Beleive you me.. It is not a configuration error, I've used these applications for years, and I've checked them again and again.
I can telnet to port 3306 and 143 to the server, no problem. I can ssh/request webpages from the server, no problem.
The error I get using mysql is ERROR: 1023 Lost connection during query. IMAP just times out. It is as if there is something network related settings on the client that is wrong. I have disabled the local firewall did not help.
I can use MySQL + IMAP to my own server at home. Both servers run OpenSUSE, the one at home 10 and the one here at work 10.1
Thanks in advance
Comment 1 Forgotten User 5jFyFBvk-I 2006-12-08 13:22:00 UTC
Oh yes, I just tested the IMAP using telnet, I could login, select inbox etc. but KMail and thunderbird still times out, that is kmail does not timeout, it just waits and waits, its very patiente :-)
Comment 2 Forgotten User 5jFyFBvk-I 2006-12-09 08:04:03 UTC
I just installed opensuse 10.1 again leaving the home partition intact. And both mysql and imap works fine. So it has to do with the way that 10.2 talks over the net. Installing 10.2 again made imap and mysql fail. Again /home was left intact!
Please let me know what I can do to give more information for you to solve this issue if you can, and thanks for delivering the best distro (in my oppinion) and working so hard on it :-) My best regards to you all
Comment 3 Marcus Meissner 2006-12-13 10:18:38 UTC
how do you connect? with what clients?

how can we reproduce this (step by step)?
Comment 4 Forgotten User 5jFyFBvk-I 2006-12-13 11:00:19 UTC
As mentioned in the original message, I connect using mysql-query-browser, mysql console tool that is mysql -h server -u -p....
I also tried with Kmail to read IMAP accounts.
It works now. The only difference between now and then is, that this time I was online WHILE installing.
So I would suggest Install from scratch offline. Then go online and try it out. You might want to leave this case until Sunday. I will get back then and try different scenarios and see if I can reproduce it?
Comment 5 Stéphane Berbigier 2006-12-17 17:54:52 UTC
Hi, it seems I've got the same problem:
After installing 10.2 my network connection seems to be partially broken. Of course the internet connexion during installation failed. 
I can for instance go to google.com but not to yahoo.com : the distant server seems stalled! The most incredible is that I can't even get to my router configuration page though I can ping it. I can ping anything actually (included yahoo.com).
So it is not a name resolution problem. It is not either a firewall problem and it is not a hardware problem as it works perfectly under Suse 10.1 and under Windows and I tried a second ethernet card which gave the same surprising result under 10.2. I tried also to lower the MTU but it didn't change anything.
Need to say I've got no error message unless things like "server timed out".
I finally noticed that the problem comes from the kernel. I compiled the 2.6.18.2-34 again, even the 2.6.19.1 from kernel.org, but no good... I ended by compiling the 2.6.16.21-0.25 from Suse 10.1 in my 10.2 installation. And since this morning it seems to have been working well.
As I'm not quite a computer engineer, I'm unable to understand what parameter in the kernel should be changed.
Still I can tell you what hardware I've got (nForce4 chipset under forcedeth driver) and reproduce any test you need under the 2.6.18 or 2.6.19 kernels.
Hope you will have an idea...
Ps : I changed the priority to high as this bug prevents necessary proper internet connection...
Comment 7 Jochen Czemmel 2007-01-03 15:37:52 UTC
Hi, I've got the same problem, here is some additional information:

On my newest Laptop (SuSE 10.2) some websites are not displayed. 
I tried it with firefox and konqueror. On another laptop in 
the same net (SuSE 10.0) these sites are displayed correctly. 
On the new laptop, the host names are resolved correctly, 
I can telnet to the undisplayed websites, but I don't get an 
answer. That means, when I telnet to one of the web sites that 
I can not see in the browsers, telnet tells me that I am connected. 

something like 

   Trying 1.2.3.4... 
   Connected to www.xxx.com. 
   Escape character is '^]'. 

Then I type in a HTTP GET request (requesting for example index.html), 
then nothing happens any more, for a long time. When I do this 
on the older laptop (10.0), I get an immediate answer. 

From the new laptop I can login to both the old 
laptop and the firewall machine. 

Technical Details: 

websites I can contact: eg. http://www.wohin-heute.at/ 
websites I can not contact: eg. http://www.gmx.de 

Firewall: OpenBSD 3.3 with packet filtering 
(Logs do not show anything I can relate to the problem) 
no DNS server running, ppp connection via DSL 

New Laptop: OpenSuse 10.2, Firewall completely 
disabled, default route to the firewall machine, 
no proxy for firefox ('direct connection to internet') and in yast 
can ping and telnet to www.gmx.de (on port 80) but gets no 
answer (the same is true for wget - no answer). 
Dell latitude 810 with Intel Dual Processor

Old Laptop: Suse 10.0, default route to the firewall machine 
everything works without problems 
Dell latitude with Intel Processor

As I can ping all websites, this is not a problem of DNS, right? 
As I can see the websites on another laptop in my local net, 
this is not a problem of the firewall, right? 
As I can't see the websites in both firefox and konqueror, 
this is not a problem of firefox, right? 
As I can see some websites, this can not be a problem of 
firewall port 80 or wrong proxy, right? 
As I do not get an answer from www.gmx.de on port 80 
via telnet (but I get the connection!), this can not be a 
problem of 'web 2.0' features the browser may not 
support, right? 

When I boot Windows XP on the new laptop, everything works 
fine, so the OpenBSD Firewall should not cause the problem.

(this is an excerpt of a post to comp.os.linux.misc on 29 Dec 2006,
Title 'Weird Problem: no contact to selected websites only on one linux machine in local subnet')

Hope this helps
Comment 8 Karsten Keil 2007-01-05 19:16:50 UTC
Please try
echo "0" > /proc/sys/net/ipv4/tcp_window_scaling
Comment 9 Forgotten User 5jFyFBvk-I 2007-01-07 11:45:07 UTC
Unfortunatelly I cannot reproduce the problem, but others can I see
Comment 10 Jochen Czemmel 2007-01-07 16:40:09 UTC
Hi,

I tried 

"echo "0" > /proc/sys/net/ipv4/tcp_window_scaling"

and now I can see all the web sites I tried, including
some of the problematic ones. This seems to solve the
problem.

Thank you!
Comment 11 Stéphane Berbigier 2007-01-09 22:54:36 UTC
Hi,

I even haven't had time to check your solution : I have just changed my router yesterday for a new one and today I tried the 2.6.18 kernel again and everything seems to be working fine (internet sites, mail, Yast etc.).

Still, my former router (a Comtrend CT-633) was working OK under Windows or with the 2.6.16.21-0.25 kernel.

So sorry for the trouble and I still don't understand the mystery.

Last word : the bug is given for 32 bits hardware, though I had the same problem with the 64 bits and the 32 bits Suse versions (I installed both, to see...).

Thanks and good luck.
Comment 12 Greg Kroah-Hartman 2007-01-12 04:31:08 UTC

*** This bug has been marked as a duplicate of bug 229848 ***
Comment 13 Hartmut Meyer 2007-01-12 07:56:10 UTC
There is an an article about this in the support data base in the openSUSE wiki:

  http://en.opensuse.org/SDB:Problem_with_establishing_TCP/IP_connection_in_openSUSE_10.2