Trying to fix 8139too driver problems

Kevin Huffenberger khuffenb at gmail.com
Mon May 23 15:04:06 UTC 2005


On 5/22/05, Dave Jones <davej at redhat.com> wrote:
> On Sun, May 22, 2005 at 10:10:52PM -0400, Kevin Huffenberger wrote:
> 
>  > Unable to handle kernel NULL pointer dereference at virtual address 00000004
>  >  printing eip:
>  > c01f31df

> 
> This should be fixed in the latest builds. (You can always find the
> latest kernel builds at http://people.redhat.com/davej/kernels/Fedora/FC4/
> Right now rawhide is lagging a day or so from the latest build as the
> builds need to be moved across by hand..
> 
>                 Dave

Indeed, upgrading to kernel-2.6.11-1.1341_FC4 seems to have solved
this aspect of the problem.  Thanks very much.

Meanwhile, the other error messages with regard to networking remain:
i.e. NETDEV WATCHDOG: eth0: transmit timed out.  I've attached below
the diagnostics run under the new kernel.  I'd like to chase down this
problem, but I'm unsure from what angle to attack.

Best wishes,

---Kevin

[khuffenb at localhost ~]$ uname -a
Linux localhost.localdomain 2.6.11-1.1341_FC4 #1 Mon May 23 02:09:39
EDT 2005 i686 athlon i386 GNU/Linux

[khuffenb at localhost ~]$ /sbin/lspci -s 03:06.0 -vvvv
03:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Hewlett-Packard Company: Unknown device 3085
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at a000 [size=256]
        Region 1: Memory at d4200000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <available only to root>

[khuffenb at localhost ~]$ /sbin/ifup eth0

Determining IP information for eth0... failed.

[root at localhost ~]# cat /proc/interrupts
           CPU0
  0:    2069267          XT-PIC  timer
  1:       8102          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
  9:       1122          XT-PIC  acpi
 10:          1          XT-PIC  ATI IXP
 11:          2          XT-PIC  ehci_hcd:usb1, ohci_hcd:usb2, ohci_hcd:usb3
 12:     266498          XT-PIC  i8042
 14:       9483          XT-PIC  ide0
 15:      18180          XT-PIC  ide1
NMI:          0
ERR:         11

[khuffenb at localhost ~]$ /sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0F:B0:6E:03:F7
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:11 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1817 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1817 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1717026 (1.6 MiB)  TX bytes:1717026 (1.6 MiB)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[khuffenb at localhost ~]$ dmesg
<snip>
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4  dirty entry 0.
eth0:  Tx descriptor 0 is 0008a05a. (queue head)
eth0:  Tx descriptor 1 is 0008a04e.
eth0:  Tx descriptor 2 is 0008a046.
eth0:  Tx descriptor 3 is 0008a156.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4  dirty entry 0.
eth0:  Tx descriptor 0 is 0008a046. (queue head)
eth0:  Tx descriptor 1 is 0008a046.
eth0:  Tx descriptor 2 is 0008a156.
eth0:  Tx descriptor 3 is 0008a156.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media 10.
eth0: Tx queue start entry 4  dirty entry 0.
eth0:  Tx descriptor 0 is 0008a156. (queue head)
eth0:  Tx descriptor 1 is 0008a156.
eth0:  Tx descriptor 2 is 0008a156.
eth0:  Tx descriptor 3 is 0008a156.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1


[root at localhost khuffenb]# /sbin/lsmod
Module                  Size  Used by
joydev                  9600  0
parport_pc             28933  0
lp                     13001  0
parport                40585  2 parport_pc,lp
autofs4                29253  2
rfcomm                 42333  0
l2cap                  30661  5 rfcomm
bluetooth              56133  4 rfcomm,l2cap
sunrpc                167813  1
pcmcia                 29025  2
ipt_REJECT              5569  1
ipt_state               1857  2
ip_conntrack           41497  1 ipt_state
iptable_filter          2881  1
ip_tables              19521  3 ipt_REJECT,ipt_state,iptable_filter
video                  15941  0
button                  6609  0
battery                 9413  0
ac                      4805  0
md5                     4033  1
ipv6                  268097  10
yenta_socket           21449  1
rsrc_nonstatic         12737  1 yenta_socket
pcmcia_core            50909  3 pcmcia,yenta_socket,rsrc_nonstatic
ohci_hcd               26849  0
ehci_hcd               41037  0
shpchp                 94405  0
snd_atiixp             22433  1
snd_ac97_codec         75961  1 snd_atiixp
snd_seq_dummy           3653  0
snd_seq_oss            37057  0
snd_seq_midi_event      9153  1 snd_seq_oss
snd_seq                62289  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          8781  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            51185  0
snd_mixer_oss          17857  1 snd_pcm_oss
snd_pcm               100169  3 snd_atiixp,snd_ac97_codec,snd_pcm_oss
snd_timer              33605  2 snd_seq,snd_pcm
snd                    57157  11
snd_atiixp,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10913  1 snd
snd_page_alloc          9669  2 snd_atiixp,snd_pcm
8139too                30017  0
mii                     5441  1 8139too
dm_snapshot            17413  0
dm_zero                 2113  0
dm_mirror              26029  0
ext3                  132553  2
jbd                    86233  1 ext3
dm_mod                 58101  6 dm_snapshot,dm_zero,dm_mirror


--------------------------------------------
rtl8139 diagnostic programs...


[root at localhost 8139_diagnostic]# ./rtl8139-diag -aaf
rtl8139-diag.c:v2.13 2/28/2005 Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xa000.
RealTek chip registers at 0xa000
 0x000: 6eb00f00 0000f703 a0000000 40000000 00002000 00002000 00002000 00002000
 0x020: 0a7d0000 0a7d0600 0a7d0c00 0a7d1200 09760000 01000000 0000fff0 00050000
 0x040: 74400000 00000000 e9617cb2 00000000 008d10c0 00000000 00a8c110 00100000
 0x060: 1100000f 01e1782d 000141e1 00000000 00000704 000307c0 60f60c59
7b732660.Realtek station address 00:0f:b0:6e:03:f7, chip type
'rtl8139C'.
  Receiver configuration: Reception disabled
     Rx FIFO threshold 16 bytes, maximum burst 16 bytes, 8KB ring
  Transmitter disabled with normal settings, maximum burst 16 bytes.
    Tx entry #0 status 00002000 incomplete, 0 bytes.
    Tx entry #1 status 00002000 incomplete, 0 bytes.
    Tx entry #2 status 00002000 incomplete, 0 bytes.
    Tx entry #3 status 00002000 incomplete, 0 bytes.
  Flow control: Tx disabled  Rx disabled.
  The chip configuration is 0x10 0x8d, MII half-duplex mode.
  Interrupt sources are pending.
   Rx Complete indication.
   Transmit OK indication.

[root at localhost 8139_diagnostic]# ./rtl8139-diag -ee
rtl8139-diag.c:v2.13 2/28/2005 Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xa000.
Realtek station address 00:0f:b0:6e:03:f7, chip type 'rtl8139C'.
  Receiver configuration: Reception disabled
     Rx FIFO threshold 16 bytes, maximum burst 16 bytes, 8KB ring
  Transmitter disabled with normal settings, maximum burst 16 bytes.
  Flow control: Tx disabled  Rx disabled.
  The chip configuration is 0x10 0x8d, MII half-duplex mode.
  Interrupt sources are pending.
   Rx Complete indication.
   Transmit OK indication.
Decoded EEPROM contents:
   PCI IDs -- Vendor 0x10ec, Device 0x8139.
   PCI Subsystem IDs -- Vendor 0x103c, Device 0x3085.
   PCI timer settings -- minimum grant 32, maximum latency 64.
  General purpose pins --  direction 0xe1  value 0x1e.
  Station Address 00:0F:B0:6E:03:F7.
  Configuration register 0/1 -- 0x8d / 0xc2.
 EEPROM active region checksum is 093d.
EEPROM contents (64 words):
 0x00:  8129 10ec 8139 103c 3085 4020 e11e 0f00
 0x08:  6eb0 f703 8d10 f7c2 a801 43b9 a0f2 071a
 0x10:  df43 8a36 df43 8a36 43b9 a0f2 1111 1111
 0x18:  0000 23a9 0000 0000 0000 0000 0000 1800
 0x20:  0000 0000 0000 0000 0000 0000 0000 0000
      ...


[root at localhost 8139_diagnostic]# ./rtl8139-diag -mm
rtl8139-diag.c:v2.13 2/28/2005 Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0xa000.
Realtek station address 00:0f:b0:6e:03:f7, chip type 'rtl8139C'.
  Receiver configuration: Reception disabled
     Rx FIFO threshold 16 bytes, maximum burst 16 bytes, 8KB ring
  Transmitter disabled with normal settings, maximum burst 16 bytes.
  Flow control: Tx disabled  Rx disabled.
  The chip configuration is 0x10 0x8d, MII half-duplex mode.
  Interrupt sources are pending.
   Rx Complete indication.
   Transmit OK indication.
 The RTL8139 does not use a MII transceiver.
 It does have internal MII-compatible registers:
   Basic mode control register   0x1100.
   Basic mode status register    0x782d.
   Autonegotiation Advertisement 0x01e1.
   Link Partner Ability register 0x41e1.
   Autonegotiation expansion     0x0001.
   Disconnects                   0x0000.
   False carrier sense counter   0x0000.
   NWay test register            0x0704.
   Receive frame error count     0x0000.
libmii.c:v2.11 2/28/2005  Donald Becker (becker at scyld.com)
 http://www.scyld.com/diag/index.html
 MII PHY #32 transceiver registers:
   1100 782d 0000 0000 01e1 41e1 0001 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   0000 0000 0000 0000 0000 0000 0000 0000.
 Basic mode control register 0x1100: Auto-negotiation enabled.
 Basic mode status register 0x782d ... 782d.
   Link status: established.
   Capable of  100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Able to perform Auto-negotiation, negotiation complete.
 This transceiver has no vendor identification.
 I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
   Advertising no additional info pages.
   IEEE 802.3 CSMA/CD protocol.
 Link partner capability is 41e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   Negotiation  completed.




More information about the test mailing list