LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-01-2005, 05:36 AM   #1
Rod Butcher
Member
 
Registered: Jul 2005
Location: Sydney Australia
Distribution: Mandriva 2007 x86_64
Posts: 34

Rep: Reputation: 15
Bringing network up stops guis coming up


Greetings from Sydney. I'm a network noob, just upgraded my internet from ppp to cable. I use usb to connect the motorola cable modem as eth0, works great. I also use eth1 to allow a second box to share the internet connection. Eth1 is "via rhine" builtin on the gigabyte m/b. Also works great.
However - I find that when the network is up many gnome and kde gui apps take forever to appear on the screen after loading. I.e. program loads but takes maybe 5-10 minutes to appear on the screen. If I stop the network the apps appear instantly on loading on the screen. Looks to me like the network is grabbing some resource and holding on to it.
Details :-
kernel 2.6.12
mandrake 10
x.org 6.8.2
I used the Mandrake tools to connect the lan, I have no idea what it does under the hood.
thanks for any hints.
 
Old 07-01-2005, 06:08 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
I have had issues with Mandrake, not setting up default gateway properly for instance.
Start with some checking:
# ifconfig
# route
# cat /etc/resolv.conf

Do this both with network up and down, report results here.

------------------- ooopppsss??? Message submitted wile writing?

Last edited by pingu; 07-01-2005 at 06:10 AM.
 
Old 07-01-2005, 06:09 AM   #3
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
I have had issues with Mandrake, not setting up default gateway properly for instance.
Start with some checking:
# ifconfig
# route
# cat /etc/resolv.conf
# cat /etc/hosts

Do this both with network up and down, report results here.
 
Old 07-01-2005, 06:30 AM   #4
Rod Butcher
Member
 
Registered: Jul 2005
Location: Sydney Australia
Distribution: Mandriva 2007 x86_64
Posts: 34

Original Poster
Rep: Reputation: 15
thanks for replying so quick ! details follow :-

[root@c211-30-153-231 root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:12:C9:4C:17:65
inet addr:211.30.153.231 Bcast:211.30.153.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:513810 errors:0 dropped:0 overruns:0 frame:0
TX packets:73232 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:155681849 (148.4 Mb) TX bytes:8402078 (8.0 Mb)

eth2 Link encap:Ethernet HWaddr 00:C0F:14:31:7C
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:1589 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3174 (3.0 Kb) TX bytes:232880 (227.4 Kb)
Interrupt:19 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1248 errors:0 dropped:0 overruns:0 frame:0
TX packets:1248 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:81283 (79.3 Kb) TX bytes:81283 (79.3 Kb)

[root@c211-30-153-231 root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
211.30.153.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth2
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 211.30.153.1.op 0.0.0.0 UG 0 0 0 eth0

[root@c211-30-153-231 root]# cat /etc/resolv.conf
search nsw.optushome.com.au
nameserver 203.2.75.132
nameserver 198.142.0.51

[root@c211-30-153-231 root]# cat /etc/hosts
127.0.0.1 localhost.localdomain host.hyenainternet.com host localhost

==========================================================================================

[root@c211-30-153-231 root]# /etc/init.d/network stop
Shutting down interface eth0: [ OK ]
Shutting down interface eth2: [ OK ]
Shutting down loopback interface: [ OK ]

[root@c211-30-153-231 root]# ifconfig

[root@c211-30-153-231 root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

[root@c211-30-153-231 root]# cat /etc/resolv.conf
search nsw.optushome.com.au
nameserver 203.2.75.132
nameserver 198.142.0.51

[root@c211-30-153-231 root]# cat /etc/hosts
127.0.0.1 localhost.localdomain host.hyenainternet.com host localhost
 
Old 07-01-2005, 11:30 PM   #5
Rod Butcher
Member
 
Registered: Jul 2005
Location: Sydney Australia
Distribution: Mandriva 2007 x86_64
Posts: 34

Original Poster
Rep: Reputation: 15
I think I've solved this.. I had the kernel pre-emption settings for a server, so I recompiled with appropriate settings for a workstation - presumbly necessary to allow guis to pre-empt whatever the lan is making the kernel do. Odd because the kernel originally seemed to decide on server setting for itself, I would ghave thought the configure utility would have forced me to select an option.
 
Old 07-03-2005, 09:15 PM   #6
Rod Butcher
Member
 
Registered: Jul 2005
Location: Sydney Australia
Distribution: Mandriva 2007 x86_64
Posts: 34

Original Poster
Rep: Reputation: 15
Uh.. the problem came back. I recompiled the 2.6.12 kernel to allow pre-emption, and gui apps loaded and displayed correctly for a few hours.. then the old problem came back, guis take 5-10 minutes to display when network is started. But why did it work OK for maybe 10 hours before the problem came back ? Something getting clogged up ?
 
Old 07-05-2005, 01:17 AM   #7
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
Hmmm...
Strange this... Just one suggestion for now:
Add your nic's to /etc/hosts, sometimes it takes a long time if name/IP can't be found.
 
Old 07-07-2005, 08:31 PM   #8
Rod Butcher
Member
 
Registered: Jul 2005
Location: Sydney Australia
Distribution: Mandriva 2007 x86_64
Posts: 34

Original Poster
Rep: Reputation: 15
There seems to be a pattern.. starting an rtl8139 fast ethernet card seems to trigger the problem. But unloading its driver (8139too) does not clear the problem, nether does restarting the network without it. ??!! No problems using the builtin via rhine ethernet.
 
Old 07-08-2005, 04:03 AM   #9
Rod Butcher
Member
 
Registered: Jul 2005
Location: Sydney Australia
Distribution: Mandriva 2007 x86_64
Posts: 34

Original Poster
Rep: Reputation: 15
rtl8139 turned out not to be the problem.
Using gdb, programs always seem to hangup trying to create a new thread. How can the network affect thisd ?
 
Old 07-19-2005, 03:03 AM   #10
Rod Butcher
Member
 
Registered: Jul 2005
Location: Sydney Australia
Distribution: Mandriva 2007 x86_64
Posts: 34

Original Poster
Rep: Reputation: 15
I finally discovered that the problem is with the via rhine ethernet... terrible things happen if I compile the kernel with VIA_RHINE_MMIO. It's supposed to improve performance. When I turned this off, and booted with noapic everything plays nicely with the network.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC3 fails in bringing up or down interface eth0, network unreachable a_cmmn Linux - Networking 4 03-10-2005 04:10 PM
need help urgently!!! display not coming and error mesage coming when user is logging rddreamz Linux - Newbie 0 08-14-2003 11:11 AM
xircom network modem pcmcia delay bringing steno Linux - Networking 1 04-02-2003 02:29 PM
RHL7.3 stops loading at "Bringing interface of eth0" rvijay17 Linux - General 1 10-10-2002 01:02 PM
GUIs for Samba network browsing dmg2206 Linux - Networking 3 02-22-2002 09:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration