Re: rtl8139: NETDEV WATCHDOG: eth0: transmit timed out

2006-07-10 Thread Marcus Better
Thomas Hellström wrote:
 Does the noirqdebug option fix the problem?

Yes... but it breaks switching to a text console. I get an interesting
fluid effect on the screen (a bright static pattern), and the keyboard
locks up.

Marcus




signature.asc
Description: OpenPGP digital signature


Re: rtl8139: NETDEV WATCHDOG: eth0: transmit timed out

2006-07-10 Thread Thomas Hellström

Marcus Better wrote:


Thomas Hellström wrote:
 


Does the noirqdebug option fix the problem?
   



Yes... but it breaks switching to a text console. I get an interesting
fluid effect on the screen (a bright static pattern), and the keyboard
locks up.

Marcus

 


Hi!
Are you _sure_ these are related?
If you don't use the noirqdebug option, do you have the same problem?

/Thomas

-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: rtl8139: NETDEV WATCHDOG: eth0: transmit timed out

2006-07-10 Thread Marcus Better
Thomas Hellström wrote:
 Does the noirqdebug option fix the problem?

 Yes... but it breaks switching to a text console.

 Are you _sure_ these are related?

Yes. (I tried a few times and it always crashed, whereas without
noirqdebug I've switched mode successfully hundreds of times.)

Without the i915 module both network and console switching work.

Marcus




signature.asc
Description: OpenPGP digital signature


Re: rtl8139: NETDEV WATCHDOG: eth0: transmit timed out

2006-07-09 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thomas Hellström wrote:
 Strange. I've also seen the i915 sending false interrupts on its own
 line, though.

Here's the interrupt table with i915 loaded:

~$ cat /proc/interrupts
   CPU0
  0: 401031  XT-PIC  timer
  1:   3681  XT-PIC  i8042
  2:  0  XT-PIC  cascade
  8:  0  XT-PIC  rtc
  9:  0  XT-PIC  acpi
 10:997  XT-PIC  yenta, Intel 82801CA-ICH3, Intel
82801CA-ICH3 Modem
 11:  93823  XT-PIC  uhci_hcd:usb1, uhci_hcd:usb2, eth0,
[EMAIL PROTECTED]::00:02.0
 12:  75631  XT-PIC  i8042
 14:  18284  XT-PIC  ide0
 15:  13901  XT-PIC  ide1
NMI:  0
ERR:  0

 Does the noirqdebug option fix the problem?

Yes, it appears to fix it.

Marcus

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEsTArXjXn6TzcAQkRAn/vAKCZUAVd45xQae4FthvNr68x/jTS4QCgyE7N
CzPv0R9okmIjrsGykMXrfPk=
=gU6D
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: rtl8139: NETDEV WATCHDOG: eth0: transmit timed out

2006-07-08 Thread Thomas Hellström


Hi!

Marcus Better wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

(For those haven't followed, this is about
 http://permalink.gmane.org/gmane.linux.network/38493
)

Francois Romieu wrote:
 


Marcus Better [EMAIL PROTECTED] :
   


I'm seeing this problem on my Acer Travelmate 223X laptop with built-in
Realtek 8139: The ethernet stops working, usually after at most a few
minutes operation.
 



 


In a better world, you would narrow the suspect with a git bissect [1]
between v2.6.15 and v2.6.16.
   



I did, and the winner after 13 reboots is...

commit de227f5f32775d86e5c780a7cffdd2e08574f7fb
Author: Dave Airlie [EMAIL PROTECTED](none)
Date:   Wed Jan 25 15:31:43 2006 +1100

   drm: i915 patches from Tungsten Graphics

   Fix CMDBUFFER path, add heap destroy and flesh out sarea for rotation
   (Tungsten Graphics)

   From: Alan Hourihane [EMAIL PROTECTED]
   Signed-off-by: Dave Airlie [EMAIL PROTECTED]


I didn't believe it at first either, but blacklisting the i915 module
actually fixes the problem. Now that I know what to look for, I notice
that the network errors always started cropping up after X11 started.

Wonder what's going on here. Why is the graphics driver killing my network?
 

I guess you got the wrong commit, and the correct one should be the one 
where Dave adds vblank interrupts. It should be close to the one you listed.


Some i915 chips have buggy interrupts. What happens is that the display 
interrupts are duplicated on the sound interrupt channel. Usually 
there's no interrupt handler there that recognizes them, and after a 
while, the kernel detects too many spurious interrupts and disables the 
sound IRQ line. If the network sits on the same IRQ line, it will be 
disabled as well. If you check your kernel logs, you will probably have 
messages about disabled IRQs.


A workaround is to add the noirqdebug (I hope I remember the spelling 
correctly) kernel option at boot time.


/Thomas





Marcus
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEroy7XjXn6TzcAQkRAp7bAJ9F7HgWg+VsvQ0fwkK3+b4Ne+tASwCg8+m3
8i5BoW+ujUjoX3DLW0QKAPQ=
=MDAc
-END PGP SIGNATURE-

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel
 



-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: rtl8139: NETDEV WATCHDOG: eth0: transmit timed out

2006-07-07 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

(For those haven't followed, this is about
  http://permalink.gmane.org/gmane.linux.network/38493
)

Francois Romieu wrote:
 Marcus Better [EMAIL PROTECTED] :
 I'm seeing this problem on my Acer Travelmate 223X laptop with built-in
 Realtek 8139: The ethernet stops working, usually after at most a few
 minutes operation.

 In a better world, you would narrow the suspect with a git bissect [1]
 between v2.6.15 and v2.6.16.

I did, and the winner after 13 reboots is...

commit de227f5f32775d86e5c780a7cffdd2e08574f7fb
Author: Dave Airlie [EMAIL PROTECTED](none)
Date:   Wed Jan 25 15:31:43 2006 +1100

drm: i915 patches from Tungsten Graphics

Fix CMDBUFFER path, add heap destroy and flesh out sarea for rotation
(Tungsten Graphics)

From: Alan Hourihane [EMAIL PROTECTED]
Signed-off-by: Dave Airlie [EMAIL PROTECTED]


I didn't believe it at first either, but blacklisting the i915 module
actually fixes the problem. Now that I know what to look for, I notice
that the network errors always started cropping up after X11 started.

Wonder what's going on here. Why is the graphics driver killing my network?

Marcus
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEroy7XjXn6TzcAQkRAp7bAJ9F7HgWg+VsvQ0fwkK3+b4Ne+tASwCg8+m3
8i5BoW+ujUjoX3DLW0QKAPQ=
=MDAc
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: rtl8139: NETDEV WATCHDOG: eth0: transmit timed out

2006-07-01 Thread Francois Romieu
Marcus Better [EMAIL PROTECTED] :
 I'm seeing this problem on my Acer Travelmate 223X laptop with built-in
 Realtek 8139: The ethernet stops working, usually after at most a few
 minutes operation. The problem appears in kernel 2.6.16 and 2.6.17, but not
 in 2.6.15.

Broken again :o(

In a better world, you would narrow the suspect with a git bissect [1]
between v2.6.15 and v2.6.16.

As an alternate solution, you may try the patches available at
http://www.fr.zoreil.com/people/francois/misc/8139 against v2.6.15,
starting from 0001 and going to 0006 (of course you can revert the
patches against v2.6.16 from 0006 to 0001 too). I can't claim that
each step will compile though.

[1] http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html

-- 
Ueimor
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html