Network connectivity disappears after I open Google Earth on my Linux machine

Issues related to configuring your network
Post Reply
vizziee
Posts: 20
Joined: 2008/07/31 19:40:10
Location: Colorado, USA
Contact:

Network connectivity disappears after I open Google Earth on my Linux machine

Post by vizziee » 2009/03/08 21:44:39

Hello,

1. I have been using Google Earth on my CentOS Linux machine for a while without any problem. However, of late I have been encountering a very strange problem whenever I open Google Earth: my computer's network connectivity disappears! I am forced to restart my computer to establish network connection. And everything works fine till I don't open Google Earth. I even upgraded Google Earth to its latest version (5.0) but the problem still persists.

2. My CentOS 5.2 machine details are as follows:

$ uname -a
Linux computername.domain 2.6.18-92.1.22.el5.centos.plusPAE #1 SMP i686 i686 i386 GNU/Linux

3. It is a 32-bit computer with RealTek 8168 Ethernet Controller.

4. I observed following messages in the system log whenever the internet connection vanishes after opening GEarth. I don't see these messages when I don't open Google Earth. They appear either immediately after launching GEarth or within 5-10 minutes after the launch.

---------------------------------------------------------------------------------------------------------------
kernel: IRQ handler type mismatch for IRQ 74
kernel: [] setup_irq+0x168/0x17c
kernel: [] rtl8168_interrupt+0x0/0x237 [r8168]
kernel: [] request_irq+0x7c/0x98
kernel: [] rtl8168_open+0x3e/0x21b [r8168]
kernel: [] rtl8168_rx_clear+0x33/0x64 [r8168]
kernel: [] rtl8168_esd_timer+0x30f/0x339 [r8168]
kernel: [] rtl8168_esd_timer+0x0/0x339 [r8168]
kernel: [] run_timer_softirq+0xfb/0x151
kernel: [] __do_softirq+0x5a/0xbb
kernel: [] do_softirq+0x52/0x9d
kernel: [] apic_timer_interrupt+0x1f/0x24
kernel: [] acpi_ex_resolve_operands+0x4ad/0x4c6
kernel: [] mwait_idle+0x25/0x38
kernel: [] acpi_processor_idle+0x154/0x3b4
kernel: [] cpu_idle+0x9f/0xb9
kernel: =======================
kernel: IRQ handler type mismatch for IRQ 74
kernel: [] setup_irq+0x168/0x17c
kernel: [] rtl8168_interrupt+0x0/0x237 [r8168]
kernel: [] request_irq+0x7c/0x98
kernel: [] rtl8168_open+0x3e/0x21b [r8168]
kernel: [] rtl8168_esd_timer+0x30f/0x339 [r8168]
kernel: [] rtl8168_esd_timer+0x0/0x339 [r8168]
kernel: [] run_timer_softirq+0xfb/0x151
kernel: [] __do_softirq+0x5a/0xbb
kernel: [] do_softirq+0x52/0x9d
kernel: [] apic_timer_interrupt+0x1f/0x24
kernel: [] acpi_ex_resolve_operands+0x4ad/0x4c6
kernel: [] mwait_idle+0x25/0x38
kernel: [] acpi_processor_idle+0x154/0x3b4
kernel: [] cpu_idle+0x9f/0xb9
kernel: =======================

Any help would be greatly appreciated.

Sincerely,

Kumar Vijay Mishra.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Network connectivity disappears after I open Google Earth on

Post by AlanBartlett » 2009/03/09 13:38:59

Hi [b]vizziee[/b],

That does seem like a peculiar situation.

You say that you need to reboot your system to re-establish any network connectivity, so am I right in assuming that a [b]service network restart[/b] command has no effect?

Will you please post the output returned by the following --

[code]
[b]/sbin/lspci | grep ther
/sbin/lspci -n | grep "^$(/sbin/lspci | awk '/ther/ { print $1 }')"
grep eth /etc/modprobe.conf[/b]
[/code]
By seeing the above, it will confirm my suspicions as to the driver that is in use and I may be able to suggest something that you could try.

vizziee
Posts: 20
Joined: 2008/07/31 19:40:10
Location: Colorado, USA
Contact:

Re: Network connectivity disappears after I open Google Earth on my Linux machine

Post by vizziee » 2009/03/10 07:46:29

Thanks a lot Alan for your reply.

[quote]
AlanJBartlett wrote:
Hi [b]vizziee[/b],

That does seem like a peculiar situation.

You say that you need to reboot your system to re-establish any network connectivity, so am I right in assuming that a [b]service network restart[/b] command has no effect?[/quote]

Yes. Restarting the network through this command has no effect. I have two Ethernet controller cards on my machine. It is usually the eth0 that I use for networking. When the Google Earth failed my network, I tried restarting the network service but in vain. I also tried activating eth0 (in [b]system-network-config[/b]), that failed too. I took out the network cable, connected it to eth1 card, activated it and the network started working. However, after sometime (and I was still using Google Earth) eth1 failed too, and nothing ever recovered after that.

[quote]
Will you please post the output returned by the following --

[code]
[b]/sbin/lspci | grep ther
/sbin/lspci -n | grep "^$(/sbin/lspci | awk '/ther/ { print $1 }')"
grep eth /etc/modprobe.conf[/b]
[/code]
By seeing the above, it will confirm my suspicions as to the driver that is in use and I may be able to suggest something that you could try.[/quote]

Thanks. Here are the outputs:

[code]
[b]/sbin/lspci | grep ther[/b]
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
[/code]
-------------------------------------------------------------------
[code]
[b]/sbin/lspci -n | grep "^$(/sbin/lspci | awk '/ther/ { print $1 }')"[/b]
04:00.0 0200: 10ec:8168 (rev 02)
05:00.0 0200: 10ec:8168 (rev 02)
[/code]
-------------------------------------------------------------------
[code]
[b]
grep eth /etc/modprobe.conf[/b]
alias eth0 r8168
alias eth1 r8168[/code]
-------------------------------------------------------------------

Sincerely,

Kumar Vijay Mishra.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Network connectivity disappears after I open Google Earth on my Linux machine

Post by AlanBartlett » 2009/03/10 15:19:11

Thanks for the information, [b]vizziee[/b]. What I would like you to do is to upgrade the device driver that those NICs are using.

Go to this [url=http://centos.toracat.org/ajb/CentOS-5/r8168/]r8168 directory[/url] and download ([b]wget[/b]) the [i]kmod-r8168-PAE-8.010.00_NAPI-1.el5.i686.rpm[/i] package.

Verify the integrity of the package by comparing either it's [i]md5sum[/i] or it's [i]sha1sum[/i] with the published values and then install it with a [b]rpm -ivh kmod-r8168-PAE-8.010.00_NAPI-1.el5.i686.rpm[/b] command.

Now edit your [i]/etc/modprobe.d/blacklist[/i] file and append a line that reads [b]blacklist r8169[/b]. (Yes, that's right. [i]RealTek[/i] emphatically state that if the [i]r8169[/i] module is loaded, it should be unloaded before the [i]r8168[/i] module is used. And it [b]is[/b] the [i]r8169[/i] module that you are using, via one of it's many aliases!)

The simplest thing would be to now reboot your system . . . and then please test your network connection.

vizziee
Posts: 20
Joined: 2008/07/31 19:40:10
Location: Colorado, USA
Contact:

Re: Network connectivity disappears after I open Google Earth on my Linux machine

Post by vizziee » 2009/03/10 19:37:07

Hi Alan,

I upgraded the driver following the process you mentioned here (it was sufficiently detailed; thanks.). However the network still fails when I open GEarth. Also the outputs of the commands that you asked me to execute in your last post remains same.

I noticed that there is also a dkms-r8168-8.010.00-1 package that is installed on my machine (apart from the kmod that I installed following the process you mentioned) for RealTek.

Sincerely,

Kumar Vijay Mishra.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Network connectivity disappears after I open Google Earth on my Linux machine

Post by AlanBartlett » 2009/03/10 20:50:08

[quote]However the network still fails when I open GEarth.[/quote]
Oh, phooey!

[quote]I noticed that there is also a dkms-r8168-8.010.00-1 package that is installed on my machine[/quote]
Ah, that put a different complexion on things. I assume, therefore, you were already using the version 8.010.00 driver module before installing our kABI tracking kmod package. Hence the unchanged status of your network issue is not unexpected.

Of the options that I can think of, there is one left for you to try. Would you like to experiment with the pre-release [i]CentOS 5[/i] kernel-2.6.18-128.1.1.el5 ? If so, this is how to go about it:

(1) Go to my [url=http://centos.toracat.org/ajb/tmp/kernels/]kernels[/url] directory and download the [i]kernel-PAE-2.6.18-128.1.1.el5.i686.rpm[/i] package. (Yes, I realise that you are currently using the [i]CentOSPlus[/i] kernel . . . depending upon the outcome of this test, I'll see about arranging access to the pre-release [i]CPlus[/i] kernel for you.)
(2) Verify, then install the package -- remember it is a kernel, so use a [b]rpm -ivh[/b] and [b]not[/b] a [b]rpm -Uvh[/b] command for it's installation.
(3) Remove the [i]blacklist r8169[/i] line from your [b]/etc/modprobe.d/blacklist[/b] file.
(4) Edit your [b]/etc/modprobe.conf[/b] file, changing the two references from [i]r8168[/i] to [i]r8169[/i].
(5) Turn off the operation of the [i]dkms_autoinstaller[/i] -- you'll need to check the correct service name -- something like [b]chkconfig dkms_autoinstaller off[/b].
(6) Remove the [i]kmod-r8168[/i] package -- [b]rpm -e kmod-r8168[/b].
(7) Re-boot and confirm you are running the [i]-128.1.1.el5[/i] kernel -- [b]uname -r[/b].
(8) Test. :-o

Post Reply