netdev
[Top] [All Lists]

Re: r8169 driver in 2.6.6

To: Francois Romieu <romieu@xxxxxxxxxxxxx>
Subject: Re: r8169 driver in 2.6.6
From: Ray Cole <ray_cole@xxxxxxxxxxxxx>
Date: Tue, 25 May 2004 19:10:36 -0500
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040525091915.A12162@xxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20040524210148.2172d684.ray_cole@xxxxxxxxxxxxx> <20040525091915.A12162@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Got the answer to the rest of the questions:

> - lspci -vx output

Attached (lspci.txt).

> - dmesg after boot and insertion of the module (usually a combination of

Attached (2_6_6_noacpi.txt)

> - lsmod output

No modules are loaded.  The only thing I build as a module is bttv, which
I am not loading during this test.

> - /proc/interrupts contents before/after foobar

Before:
  0:     352717          XT-PIC  timer
  1:       1492          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:       2786          XT-PIC  ohci_hcd
  4:          0          XT-PIC  ohci_hcd
  5:          0          XT-PIC  NVidia nForce2
  8:          1          XT-PIC  rtc
 11:        281          XT-PIC  eth0
 14:        122          XT-PIC  ide0
 15:       7967          XT-PIC  ide1
NMI:          0 
LOC:     352666 
ERR:     245145

After:
           CPU0       
  0:     374011          XT-PIC  timer
  1:       1680          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  3:       3034          XT-PIC  ohci_hcd
  4:          0          XT-PIC  ohci_hcd
  5:          0          XT-PIC  NVidia nForce2
  8:          1          XT-PIC  rtc
 11:        319          XT-PIC  eth0
 14:        122          XT-PIC  ide0
 15:       7974          XT-PIC  ide1
NMI:          0 
LOC:     373960 
ERR:     261207

BTW, ERR increments even without r8169 loaded even on 2.6.6 using r8169.c
from 2.6.5 (which is a stable configuration).  Seems to increment on the
same order as 'timer'.

> - which (if any) was the latest known working kernel, be it 2.4.x or
> 2.6.x

Only combination I can get to work is 2.6.6 or 2.6.7-rc1 with 2.6.5's
r8169.c, or 2.6.5 with a fixup patch for nForce2 that is also in 2.6.6.  

> - which distribution/compiler ?

gcc 2.95.3.  Originally RedHat 8.0, upgraded to 2.6 of the kernel.

> - does it still fail if you do a simple 'ping' for an extended period of
>   time instead of pop (same thing with lengthy ftp/http transfer, say a
>   file of a few megs) ?

No.  It remains down until I do 'ifconfig eth0 down' and 'ifconfig eth0
up'.  Then it works again for a little while, then back down again.

> - disable ACPI (acpi=none on the boot cmd line, do not confuse it with
> APIC)

Tried.  Attached dmesg output, however, shows acpi to still be
active...content of /proc/cmdline: BOOT_IMAGE=2.6.6 root=1603 noacpi
pci=noacpi acpi=none

> - PREEMPT may change a few things though it is less on the radar than
> ACPI

No impact.

> -
> http://www.fr.zoreil.com/people/francois/misc/20040525-2.6.7-rc1-r8169.c-test.patch
> applied on 2.6.6 (some link related things may come into play but  I am
> a bit sceptical)

Will try it out.

> - as the system does not hang (only the network trafic), can you see if
>   it makes a difference if you
>   - ifconfig down/up the network card ?

Yes.  down/up brings it up again for a short period of time.

>   - same thing + removal/insertion of the driver ?

I haven't built it as a module.

>   - unplug/plug again the cable (wait for 10~15 seconds then) ?

No.  This does not cause it to work again.


-- Ray

Attachment: 2_6_6_noacpi.txt
Description: Text document

Attachment: lspci.txt
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>