Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Internet access trouble with 2.6.18 kernel [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
numberxiii
n00b
n00b


Joined: 21 Mar 2006
Posts: 12
Location: France, Lyon

PostPosted: Fri Nov 17, 2006 3:13 pm    Post subject: Internet access trouble with 2.6.18 kernel [SOLVED] Reply with quote

Hi

Server based on a Asus P5VD2-MX mainboard, with VIA8237A chipset and VIA Rhine-II onboard network interface.

I've been in trouble a few days with kernel compilation and network access.
"Brief" description below :

Step 1 : booting with LiveCD 2006.1
I can't connect to gentoo website... Hmm, so I can't download any stage... Not very useful

# ifconfig : no problem
# wget serverinlocalnetwork : no problem
# wget www.google.fr : no problem
# wget www.yahoo.com : doesn't work, waiting for timeout and retrying...
Same with www.gentoo.org
And mirrorselect -o -i hangs up !

I added a Realtek network card : same troubles...

Step 2 : now booting with LiveCD 2006.0
No problem connecting to any website, then I compile a kernel 2.6.18-r2 with via-rhine module built-in.
Reboot, and... same problems than with LiveCD 2006.1... can't connect to some website (and emerge doesn't work).

In despite, I try to compile a kernel 2.6.16-r13...
And... It works... At least internet access really works...

May I miss something in the kernel compilation ? Is this VIA based mainboard :evil: not supported by kernel 2.6.18 ?

Hope it helps someone with same troubles !


Last edited by numberxiii on Wed Nov 22, 2006 2:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 973
Location: New Zealand

PostPosted: Sat Nov 18, 2006 5:57 am    Post subject: Reply with quote

I have a working vt8237 VIA system with this
Code:
Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)

As well as that driver (as module) I have the via ata support in the kernel (built in). Ping other PCs/router on the lan looking for dropped packets. dmesg could have clues.
Back to top
View user's profile Send private message
numberxiii
n00b
n00b


Joined: 21 Mar 2006
Posts: 12
Location: France, Lyon

PostPosted: Mon Nov 20, 2006 9:22 am    Post subject: Reply with quote

Back to my office this morning... and I try to compile a kernel 2.6.18 with via-rhine as module.

Code:

# ping www.gentoo.org
PING www.gentoo.org (38.99.64.201) 56(84) bytes of data.
64 bytes from wren.gentoo.org (38.99.64.201): icmp_seq=1 ttl=43 time=392 ms
64 bytes from wren.gentoo.org (38.99.64.201): icmp_seq=2 ttl=43 time=268 ms

# wget www.gentoo.org
--09:59:39--  http://www.gentoo.org/
           => `index.html.2'
Resolving www.gentoo.org... 66.241.137.77, 38.99.64.201, 66.219.59.46
Connecting to www.gentoo.org|66.241.137.77|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.
ctrl-c
# wget www.yahoo.com
--10:00:59--  http://www.yahoo.com/
           => `index.html.1'
Resolving www.yahoo.com... 209.73.186.238
Connecting to www.yahoo.com|209.73.186.238|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.

--10:02:01--  http://www.yahoo.com/
  (try: 2) => `index.html.1'
Connecting to www.yahoo.com|209.73.186.238|:80... connected.
HTTP request sent, awaiting response...

Trying and retrying again...

But www.google.fr works fine !!!! But it seems to be the only one...

Nothing found in dmesg or /var/log/messages...
I ping some local PCs/servers : no packet loss...


The controller
Code:

Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)
may be too recent ?


I'll go back to the 2.6.16 kernel wich works ; emerge wget with debug use flag to post here more information about http connection.
Back to top
View user's profile Send private message
numberxiii
n00b
n00b


Joined: 21 Mar 2006
Posts: 12
Location: France, Lyon

PostPosted: Mon Nov 20, 2006 9:38 am    Post subject: Reply with quote

wget -d outputs nothing relevant :
Code:
# wget -d www.yahoo.com
DEBUG output created by Wget 1.10.2 on linux-gnu.

--10:29:32--  http://www.yahoo.com/
           => `index.html.1'
Resolving www.yahoo.com... 209.73.186.238
Caching www.yahoo.com => 209.73.186.238
Connecting to www.yahoo.com|209.73.186.238|:80... connected.
Created socket 3.
Releasing 0x08084960 (new refcount 1).

---request begin---
GET / HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: www.yahoo.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Closed fd 3
Retrying.

--10:30:54--  http://www.yahoo.com/
  (try: 2) => `index.html.1'
Found www.yahoo.com in host_name_addresses_map (0x8084960)
Connecting to www.yahoo.com|209.73.186.238|:80... connected.
Created socket 3.
Releasing 0x08084960 (new refcount 1).

---request begin---
GET / HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: www.yahoo.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
Back to top
View user's profile Send private message
numberxiii
n00b
n00b


Joined: 21 Mar 2006
Posts: 12
Location: France, Lyon

PostPosted: Wed Nov 22, 2006 2:38 pm    Post subject: Internet access trouble with 2.6.18 kernel [SOLVED] Reply with quote

Back...
I've tried to install another gentoo server with Intel Ethernet onboard controller : same troubles !!!!

Then, in the forum, I saw this solution :
some websites don't work

Fine !
Now it works... I can use a 2.6.18 kernel... :D
I need to ask my provider (not a classic ISP) what about his routers... :roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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