(net 8139too) system with two of these ethernet cards, under any reasonable load, generates NETDEV WATCHDOG: eth0: transmit timed out

Bug #229392 reported by Bradley M. Kuhn
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Expired
Medium
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

Binary package hint: linux-image-2.6.24-16-generic

I have also submitted an upstream bug on a later version of the kernel,
which generates the exact same bug:
      http://bugzilla.kernel.org/show_bug.cgi?id=10682

I have an eBox-4852 which has two of these ethernet cards in it:
     Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10

As soon as I get both ethernet cards up and running and put any reasonable
load (using the system as a packet-forwarding firewall), one or both of
them fail for a number of minutes. Eventually, they usually come back up
on their own, at which time the following message appears in the syslog:

kernel: [ 558.122829] NETDEV WATCHDOG: eth0: transmit timed out
kernel: [ 561.120915] eth0: Transmit timeout, status 0d 0000 c07f media 10.
kernel: [ 561.120931] eth0: Tx queue start entry 984 dirty entry 980.
kernel: [ 561.120939] eth0: Tx descriptor 0 is 000845ea. (queue head)
kernel: [ 561.120947] eth0: Tx descriptor 1 is 000805ea.
kernel: [ 561.120953] eth0: Tx descriptor 2 is 000805ea.
kernel: [ 561.120959] eth0: Tx descriptor 3 is 000800d2.
kernel: [ 561.121000] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

They are both recognized at boot time to use the 8139too module:

kernel: [ 19.550318] 8139too Fast Ethernet driver 0.9.28
kernel: [ 19.550923] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
kernel: [ 19.550980] PCI: setting IRQ 10 as level-triggered
kernel: [ 19.550988] ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
kernel: [ 19.551885] eth0: RealTek RTL8139 at 0xe800, 44:4d:50:02:e1:cb, IRQ 10
kernel: [ 19.551940] eth0: Identified 8139 chip type 'RTL-8100B/8139D'
kernel: [ 19.552280] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
kernel: [ 19.552333] PCI: setting IRQ 11 as level-triggered
kernel: [ 19.552341] ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
kernel: [ 19.553181] eth1: RealTek RTL8139 at 0xe400, 44:4d:50:43:41:74, IRQ 11
kernel: [ 19.553236] eth1: Identified 8139 chip type 'RTL-8100B/8139D'

It's very simple, one needs only to have this box and run both cards with
any amount of reasonable load and it occurs within an hour, usually much
faster. I read online that sometimes WATCHDOG TIMEOUT means that there is
bad network infrastructure of some sort. I have tried many different
network topologies, hubs, and cables and it always produces the same
error. I have also tried all different possible BIOS settings related to
IRQs.

Based on advice from online forums and the like, I have also tried the
following kernel command line settings, in sequence and together in
various ways, and the behavior is still the same:

nosmp
irqpoll
pci=biosirq
pci=irqmasq
pci=routeirq

I have also recompiled the kernel, messing with these various settings to
no impact:

8139_OLD_RX_RESET
8139TOO_8129
8139TOO_TUNE_TWISTER
8139TOO_PIO

In particular, I have the same behavior with the old and new RX reset settings
and I've tried both MMIO and PIO.

Here is all the data from the running system related to the kernel:

###################################################################
/proc/cpuinfo:
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 13
model name : VIA Eden Processor 1200MHz
stepping : 0
cpu MHz : 1196.957
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge cmov pat clflush acpi mmx fxsr sse sse2 tm nx up pni est tm2 xtpr rng rng_en ace ace_en ace2 ace2_en phe phe_en pmm pmm_en
bogomips : 2395.84
clflush size : 64
###################################################################
/proc/interrupts:
           CPU0
  0: 29007 XT-PIC-XT timer
  1: 592 XT-PIC-XT i8042
  2: 0 XT-PIC-XT cascade
  5: 142 XT-PIC-XT HDA Intel
  7: 0 XT-PIC-XT parport0
  8: 3 XT-PIC-XT rtc
  9: 0 XT-PIC-XT acpi
 10: 7206 XT-PIC-XT uhci_hcd:usb2, eth0
 11: 70848 XT-PIC-XT ehci_hcd:usb1, eth1
 14: 0 XT-PIC-XT libata
 15: 11933 XT-PIC-XT libata
NMI: 0 Non-maskable interrupts
LOC: 0 Local timer interrupts
RES: 0 Rescheduling interrupts
CAL: 0 function call interrupts
TLB: 0 TLB shootdowns
TRM: 0 Thermal event interrupts
SPU: 0 Spurious interrupts
ERR: 0
MIS: 0
###################################################################
/proc/iomem:
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000ce5ff : Video ROM
000f0000-000fffff : System ROM
00100000-1bfbffff : System RAM
  00100000-0031b5a3 : Kernel code
  0031b5a4-00414dc3 : Kernel data
  00476000-004eba7f : Kernel bss
1bfc0000-1bfcdfff : ACPI Tables
1bfce000-1bffffff : ACPI Non-volatile Storage
c0000000-dfffffff : PCI Bus #01
  c0000000-dfffffff : 0000:01:00.0
e0000000-efffffff : pnp 00:0d
f0000000-f7ffffff : 0000:00:00.0
fcfff400-fcfff4ff : 0000:00:10.4
  fcfff400-fcfff4ff : ehci_hcd
fcfff800-fcfff8ff : 0000:00:0b.0
  fcfff800-fcfff8ff : 8139too
fcfffc00-fcfffcff : 0000:00:08.0
  fcfffc00-fcfffcff : 8139too
fd000000-feafffff : PCI Bus #01
  fd000000-fdffffff : 0000:01:00.0
  feaf0000-feafffff : 0000:01:00.0
feb00000-febfffff : PCI Bus #02
  febfc000-febfffff : 0000:02:01.0
    febfc000-febfffff : ICH HD audio
fec00000-fec00fff : reserved
fed00000-fed003ff : HPET 0
fee00000-fee00fff : reserved
fff80000-ffffffff : reserved
###################################################################
$ lsmod
Module Size Used by
af_packet 23812 2
video 19856 0
output 4736 1 video
sbs 15112 0
sbshc 7680 1 sbs
container 5632 0
dock 11280 0
battery 14212 0
ac 6916 0
quota_v1 4224 1
ext3 136712 1
jbd 48404 1 ext3
mbcache 9600 1 ext3
lp 12324 0
loop 18948 0
xt_limit 3584 6
xt_multiport 4224 3
xt_state 3328 60
xt_tcpudp 4096 61
evdev 13056 0
snd_hda_intel 344728 0
snd_pcm 78596 1 snd_hda_intel
snd_timer 24836 1 snd_pcm
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
snd_hwdep 10500 1 snd_hda_intel
snd 56996 4 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
soundcore 8800 1 snd
parport_pc 36260 1
parport 37832 2 lp,parport_pc
pcspkr 4224 0
button 9232 0
i2c_viapro 9876 0
i2c_core 24832 1 i2c_viapro
shpchp 34452 0
via_agp 11136 1
agpgart 34760 1 via_agp
pci_hotplug 30880 1 shpchp
nf_nat_tftp 2816 0
nf_conntrack_tftp 6036 1 nf_nat_tftp
nf_nat_snmp_basic 11012 0
nf_nat_sip 5760 0
nf_conntrack_sip 10132 1 nf_nat_sip
nf_nat_pptp 4608 0
nf_conntrack_pptp 8064 1 nf_nat_pptp
nf_conntrack_proto_gre 7040 1 nf_conntrack_pptp
nf_nat_proto_gre 3716 1 nf_nat_pptp
nf_nat_irc 3712 0
nf_conntrack_irc 7576 1 nf_nat_irc
nf_nat_h323 8576 0
nf_conntrack_h323 51164 1 nf_nat_h323
ipv6 267780 13 nf_conntrack_h323
nf_nat_ftp 4352 0
nf_conntrack_ftp 10144 1 nf_nat_ftp
nf_nat_amanda 3328 0
ts_kmp 3072 5
nf_conntrack_amanda 5888 1 nf_nat_amanda
iptable_raw 3328 0
iptable_nat 8324 1
nf_conntrack_ipv4 19080 61 iptable_nat
iptable_mangle 3712 0
iptable_filter 3840 1
ipt_ttl 2816 0
ipt_recent 10264 0
ipt_ecn 3200 0
ipt_ah 2816 0
ipt_addrtype 2816 0
ipt_ULOG 10116 0
ipt_TTL 3200 0
ipt_REJECT 5632 0
ipt_REDIRECT 2944 0
ipt_NETMAP 2944 0
ipt_MASQUERADE 4608 0
nf_nat 20396 12 nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,iptable_nat,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE
ipt_LOG 7296 8
ipt_ECN 3840 0
ipt_CLUSTERIP 9604 0
nf_conntrack 66752 22 xt_state,nf_nat_tftp,nf_conntrack_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_conntrack_sip,nf_nat_pptp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_nat_irc,nf_conntrack_irc,nf_nat_h323,nf_conntrack_h323,nf_nat_ftp,nf_conntrack_ftp,nf_nat_amanda,nf_conntrack_amanda,iptable_nat,nf_conntrack_ipv4,ipt_MASQUERADE,nf_nat,ipt_CLUSTERIP
ip_tables 14820 4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter
ip_queue 12048 0
arptable_filter 2944 0
arpt_mangle 3072 0
arp_tables 12900 1 arptable_filter
x_tables 16132 22 xt_limit,xt_multiport,xt_state,xt_tcpudp,iptable_nat,ipt_ttl,ipt_recent,ipt_ecn,ipt_ah,ipt_addrtype,ipt_ULOG,ipt_TTL,ipt_REJECT,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_ECN,ipt_CLUSTERIP,ip_tables,arpt_mangle,arp_tables
jfs 190180 1
sg 36880 0
sd_mod 30720 5
pata_via 13316 4
pata_acpi 8320 0
ata_generic 8324 0
uhci_hcd 27024 0
ehci_hcd 37900 0
libata 159344 3 pata_via,pata_acpi,ata_generic
usbcore 146028 3 uhci_hcd,ehci_hcd
8139too 27520 0
scsi_mod 151436 3 sg,sd_mod,libata
8139cp 24704 0
mii 6400 2 8139too,8139cp
thermal 16796 0
processor 36872 1 thermal
fan 5636 0
fbcon 42912 0
tileblit 3456 1 fbcon
font 9472 1 fbcon
bitblit 6784 1 fbcon
softcursor 3072 1 bitblit
fuse 50580 1
###################################################################
$ lspci -vvv
00:00.0 Host bridge: VIA Technologies, Inc. CX700 Host Bridge (rev 03)
 Subsystem: VIA Technologies, Inc. CX700 Host Bridge
 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: 8
 Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
 Capabilities: [80] AGP version 3.5
  Status: RQ=8 Iso- ArqSz=0 Cal=2 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
  Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>
 Capabilities: [50] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:00.1 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
 Subsystem: VIA Technologies, Inc. CX700 Host Bridge
 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: 0

00:00.2 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
 Subsystem: VIA Technologies, Inc. CX700 Host Bridge
 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: 0

00:00.3 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
 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: 0

00:00.4 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
 Subsystem: VIA Technologies, Inc. CX700 Host Bridge
 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: 0

00:00.7 Host bridge: VIA Technologies, Inc. CX700 Host Bridge
 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: 0

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge (prog-if 00 [Normal decode])
 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: 0
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
 I/O behind bridge: 0000f000-00000fff
 Memory behind bridge: fd000000-feafffff
 Prefetchable memory behind bridge: c0000000-dfffffff
 Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR+
 BridgeCtl: Parity+ SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
 Capabilities: [70] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
 Subsystem: Realtek Semiconductor Co., Ltd. RT8139
 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: 64 (8000ns min, 16000ns max)
 Interrupt: pin A routed to IRQ 10
 Region 0: I/O ports at e800 [size=256]
 Region 1: Memory at fcfffc00 (32-bit, non-prefetchable) [size=256]
 Capabilities: [50] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
 Subsystem: Realtek Semiconductor Co., Ltd. RT8139
 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: 64 (8000ns min, 16000ns max)
 Interrupt: pin A routed to IRQ 11
 Region 0: I/O ports at e400 [size=256]
 Region 1: Memory at fcfff800 (32-bit, non-prefetchable) [size=256]
 Capabilities: [50] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0f.0 IDE interface: VIA Technologies, Inc. CX700M2 IDE (prog-if 8a [Master SecP PriP])
 Subsystem: VIA Technologies, Inc. Unknown device 0581
 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: 32
 Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
 Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
 Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
 Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
 Region 4: I/O ports at fc00 [size=16]
 Capabilities: [b0] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90) (prog-if 00 [UHCI])
 Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
 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: 64, Cache Line Size: 32 bytes
 Interrupt: pin A routed to IRQ 10
 Region 4: I/O ports at ec00 [size=32]
 Capabilities: [80] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90) (prog-if 20 [EHCI])
 Subsystem: VIA Technologies, Inc. USB 2.0
 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: 64, Cache Line Size: 32 bytes
 Interrupt: pin D routed to IRQ 11
 Region 0: Memory at fcfff400 (32-bit, non-prefetchable) [size=256]
 Capabilities: [80] Power Management version 2
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [88] Debug port

00:11.0 ISA bridge: VIA Technologies, Inc. CX700 PCI to ISA Bridge
 Subsystem: VIA Technologies, Inc. CX700 PCI to ISA Bridge
 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-
 Capabilities: [c0] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.7 Host bridge: VIA Technologies, Inc. CX700 Internal Module Bus
 Subsystem: VIA Technologies, Inc. CX700 Internal Module Bus
 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
 Capabilities: [58] HyperTransport: Interrupt Discovery and Configuration

00:13.0 PCI bridge: VIA Technologies, Inc. CX700 Host Bridge (prog-if 00 [Normal decode])
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
 Latency: 0
 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
 I/O behind bridge: 0000f000-00000fff
 Memory behind bridge: feb00000-febfffff
 Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
 Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
 BridgeCtl: Parity+ SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

01:00.0 VGA compatible controller: VIA Technologies, Inc. CX700M2 UniChrome PRO II Graphics (rev 03) (prog-if 00 [VGA controller])
 Subsystem: Unknown device 0908:1975
 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: 64 (500ns min)
 Interrupt: pin A routed to IRQ 0
 Region 0: Memory at c0000000 (32-bit, prefetchable) [size=512M]
 Region 1: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
 Expansion ROM at feaf0000 [disabled] [size=64K]
 Capabilities: [60] Power Management version 2
  Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [70] AGP version 3.0
  Status: RQ=256 Iso- ArqSz=0 Cal=7 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3+ Rate=x4,x8
  Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

02:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10)
 Subsystem: VIA Technologies, Inc. VIA High Definition Audio Controller
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0, Cache Line Size: 32 bytes
 Interrupt: pin A routed to IRQ 5
 Region 0: Memory at febfc000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: [50] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
  Address: 0000000000000000 Data: 0000
 Capabilities: [70] Express Unknown type IRQ 0
  Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
  Device: Latency L0s <64ns, L1 <1us
  Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
  Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
  Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
  Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
  Link: Latency L0s <64ns, L1 <1us
  Link: ASPM Disabled CommClk- ExtSynch-
  Link: Speed unknown, Width x0
###################################################################
cat /proc/modules:
af_packet 23812 2 - Live 0xdce67000
video 19856 0 - Live 0xdcd7a000
output 4736 1 video, Live 0xdcd6f000
sbs 15112 0 - Live 0xdcd75000
sbshc 7680 1 sbs, Live 0xdcd1a000
container 5632 0 - Live 0xdcd1d000
dock 11280 0 - Live 0xdccf0000
battery 14212 0 - Live 0xdcd6a000
ac 6916 0 - Live 0xdcc18000
quota_v1 4224 1 - Live 0xdcced000
ext3 136712 1 - Live 0xdce87000
jbd 48404 1 ext3, Live 0xdce52000
mbcache 9600 1 ext3, Live 0xdcd16000
lp 12324 0 - Live 0xdcd11000
loop 18948 0 - Live 0xdccf4000
xt_limit 3584 6 - Live 0xdcce4000
xt_multiport 4224 3 - Live 0xdccc8000
xt_state 3328 60 - Live 0xdcc7e000
xt_tcpudp 4096 61 - Live 0xdcc1b000
evdev 13056 0 - Live 0xdccc3000
snd_hda_intel 344728 0 - Live 0xdcd81000
snd_pcm 78596 1 snd_hda_intel, Live 0xdccfc000
snd_timer 24836 1 snd_pcm, Live 0xdcccc000
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm, Live 0xdcca9000
snd_hwdep 10500 1 snd_hda_intel, Live 0xdcca5000
snd 56996 4 snd_hda_intel,snd_pcm,snd_timer,snd_hwdep, Live 0xdccd5000
soundcore 8800 1 snd, Live 0xdcca1000
parport_pc 36260 1 - Live 0xdccb9000
parport 37832 2 lp,parport_pc, Live 0xdccae000
pcspkr 4224 0 - Live 0xdcc68000
button 9232 0 - Live 0xdcc64000
i2c_viapro 9876 0 - Live 0xdcc60000
i2c_core 24832 1 i2c_viapro, Live 0xdcc76000
shpchp 34452 0 - Live 0xdcc6c000
via_agp 11136 1 - Live 0xdcc14000
agpgart 34760 1 via_agp, Live 0xdcc00000
pci_hotplug 30880 1 shpchp, Live 0xdcc0b000
nf_nat_tftp 2816 0 - Live 0xdcbdb000
nf_conntrack_tftp 6036 1 nf_nat_tftp, Live 0xdcbf1000
nf_nat_snmp_basic 11012 0 - Live 0xdcbfc000
nf_nat_sip 5760 0 - Live 0xdcbf4000
nf_conntrack_sip 10132 1 nf_nat_sip, Live 0xdcbce000
nf_nat_pptp 4608 0 - Live 0xdcbee000
nf_conntrack_pptp 8064 1 nf_nat_pptp, Live 0xdcbeb000
nf_conntrack_proto_gre 7040 1 nf_conntrack_pptp, Live 0xdcbd8000
nf_nat_proto_gre 3716 1 nf_nat_pptp, Live 0xdcbd6000
nf_nat_irc 3712 0 - Live 0xdcbc8000
nf_conntrack_irc 7576 1 nf_nat_irc, Live 0xdcbb4000
nf_nat_h323 8576 0 - Live 0xdcbd2000
nf_conntrack_h323 51164 1 nf_nat_h323, Live 0xdcbdd000
ipv6 267780 13 nf_conntrack_h323, Live 0xdcc1d000
nf_nat_ftp 4352 0 - Live 0xdcbc5000
nf_conntrack_ftp 10144 1 nf_nat_ftp, Live 0xdcbca000
nf_nat_amanda 3328 0 - Live 0xdcbc3000
ts_kmp 3072 5 - Live 0xdcbb7000
nf_conntrack_amanda 5888 1 nf_nat_amanda, Live 0xdc8aa000
iptable_raw 3328 0 - Live 0xdcbb2000
iptable_nat 8324 1 - Live 0xdcbbf000
nf_conntrack_ipv4 19080 61 iptable_nat, Live 0xdcbb9000
iptable_mangle 3712 0 - Live 0xdcbab000
iptable_filter 3840 1 - Live 0xdcba9000
ipt_ttl 2816 0 - Live 0xdc96c000
ipt_recent 10264 0 - Live 0xdcbae000
ipt_ecn 3200 0 - Live 0xdc966000
ipt_ah 2816 0 - Live 0xdc964000
ipt_addrtype 2816 0 - Live 0xdc950000
ipt_ULOG 10116 0 - Live 0xdc968000
ipt_TTL 3200 0 - Live 0xdc94e000
ipt_REJECT 5632 0 - Live 0xdc94b000
ipt_REDIRECT 2944 0 - Live 0xdc949000
ipt_NETMAP 2944 0 - Live 0xdc947000
ipt_MASQUERADE 4608 0 - Live 0xdc8ad000
nf_nat 20396 12 nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,iptable_nat,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE, Live 0xdc941000
ipt_LOG 7296 8 - Live 0xdc862000
ipt_ECN 3840 0 - Live 0xdc88a000
ipt_CLUSTERIP 9604 0 - Live 0xdc93d000
nf_conntrack 66752 22 xt_state,nf_nat_tftp,nf_conntrack_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_conntrack_sip,nf_nat_pptp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_nat_irc,nf_conntrack_irc,nf_nat_h323,nf_conntrack_h323,nf_nat_ftp,nf_conntrack_ftp,nf_nat_amanda,nf_conntrack_amanda,iptable_nat,nf_conntrack_ipv4,ipt_MASQUERADE,nf_nat,ipt_CLUSTERIP, Live 0xdc952000
ip_tables 14820 4 iptable_raw,iptable_nat,iptable_mangle,iptable_filter, Live 0xdc938000
ip_queue 12048 0 - Live 0xdc827000
arptable_filter 2944 0 - Live 0xdc860000
arpt_mangle 3072 0 - Live 0xdc85e000
arp_tables 12900 1 arptable_filter, Live 0xdc8a5000
x_tables 16132 22 xt_limit,xt_multiport,xt_state,xt_tcpudp,iptable_nat,ipt_ttl,ipt_recent,ipt_ecn,ipt_ah,ipt_addrtype,ipt_ULOG,ipt_TTL,ipt_REJECT,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_ECN,ipt_CLUSTERIP,ip_tables,arpt_mangle,arp_tables, Live 0xdc8a0000
jfs 190180 1 - Live 0xdc96f000
sg 36880 0 - Live 0xdc92d000
sd_mod 30720 5 - Live 0xdc924000
pata_via 13316 4 - Live 0xdc885000
pata_acpi 8320 0 - Live 0xdc848000
ata_generic 8324 0 - Live 0xdc881000
uhci_hcd 27024 0 - Live 0xdc898000
ehci_hcd 37900 0 - Live 0xdc88d000
libata 159344 3 pata_via,pata_acpi,ata_generic, Live 0xdc8fc000
usbcore 146028 3 uhci_hcd,ehci_hcd, Live 0xdc8d7000
8139too 27520 0 - Live 0xdc870000
scsi_mod 151436 3 sg,sd_mod,libata, Live 0xdc8b1000
8139cp 24704 0 - Live 0xdc879000
mii 6400 2 8139too,8139cp, Live 0xdc843000
thermal 16796 0 - Live 0xdc858000
processor 36872 1 thermal, Live 0xdc865000
fan 5636 0 - Live 0xdc840000
fbcon 42912 0 - Live 0xdc84c000
tileblit 3456 1 fbcon, Live 0xdc82f000
font 9472 1 fbcon, Live 0xdc82b000
bitblit 6784 1 fbcon, Live 0xdc822000
softcursor 3072 1 bitblit, Live 0xdc825000
fuse 50580 1 - Live 0xdc832000
###################################################################
$ ver_linux:
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux buddhist 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

Gnu C 4.2.3
Gnu make 3.81
binutils 2.18.0.20080103
util-linux 2.13.1
mount 2.13.1
module-init-tools 3.3-pre11
e2fsprogs 1.40.8
jfsutils 1.1.11
reiserfsprogs 3.6.19
pcmciautils 014
quota-tools 3.15.
PPP 2.4.4
Linux C Library 2.7
Dynamic linker (ldd) 2.7
Procps 3.2.7
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 6.10
udev 117
wireless-tools 29
Modules Loaded af_packet video output sbs sbshc container dock battery ac quota_v1 ext3 jbd mbcache lp loop xt_limit xt_multiport xt_state xt_tcpudp evdev snd_hda_intel snd_pcm snd_timer snd_page_alloc snd_hwdep snd soundcore parport_pc parport pcspkr button i2c_viapro i2c_core shpchp via_agp agpgart pci_hotplug nf_nat_tftp nf_conntrack_tftp nf_nat_snmp_basic nf_nat_sip nf_conntrack_sip nf_nat_pptp nf_conntrack_pptp nf_conntrack_proto_gre nf_nat_proto_gre nf_nat_irc nf_conntrack_irc nf_nat_h323 nf_conntrack_h323 ipv6 nf_nat_ftp nf_conntrack_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda iptable_raw iptable_nat nf_conntrack_ipv4 iptable_mangle iptable_filter ipt_ttl ipt_recent ipt_ecn ipt_ah ipt_addrtype ipt_ULOG ipt_TTL ipt_REJECT ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE nf_nat ipt_LOG ipt_ECN ipt_CLUSTERIP nf_conntrack ip_tables ip_queue arptable_filter arpt_mangle arp_tables x_tables jfs sg sd_mod pata_via pata_acpi ata_generic uhci_hcd ehci_hcd libata usbcore 8139too scsi_mod 8139cp mii thermal processor fan fbcon tileblit font bitblit softcursor fuse
###################################################################
/proc/version:
Linux version 2.6.24-16-generic (buildd@palmer) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:23:42 UTC 2008

Changed in linux:
status: Unknown → Confirmed
Changed in linux:
status: Confirmed → In Progress
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
IKT (ikt) wrote :

I have a MSI motherboard also with Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ network adapter, my problem is that it just plain doesn't work, tested with 8.04 and 8.10 alpha 6.

Motherboard is MSI MS-7267

Revision history for this message
kernel-janitor (kernel-janitor) wrote :

Hi bkuhn-ebb,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux-image-`uname -r` 229392

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Ixhausen (harneit) wrote :

I think I am seeing a related behavior on my machine, and started to query the kubuntu forums on network support
( http://kubuntuforums.net/forums/index.php?topic=3105955.0 ), but maybe it's better placed here.

If you guide me a little bit (linux newbie, but computer-experienced), I'm willing to provide all information I can possibly
retrieve from the system. Note that I have no network access from kubuntu, so I cannot install packages on the fly.

SYSTEM HARDWARE
+ motherboard: MSI-7222 (VIA chipset), 2GB RAM installed (1GB recognized by Phoenix BIOS, seems a known bug)
+ ethernet adapter: RealTek RTL8139/810x Family Fast Ethernet NIC (as per windows), running fine in winXP.
+ graphics adapter: ATI Radeon HD 3450 (AGP 8x)
+ no other PCI devices

SYSTEM SOFTWARE
+ WinXP running on one partition (with network access through dsl cable router), dual-boot system
+ Installed kubuntu 9.04 from iso image (-i386 live CD), downloaded 3 days ago. "Ubuntu 9.04, kernel 2.6.28-11-generic"
+ Removed network-manager-kde, trafficked /etc/network/interfaces, following advice in various forums
+ nothing else installed, since no network access

SYMPTOMS
+ no network access through wired connection to cable router
+ various configurations in /etc/network/interfaces (dhcp, static) gave no result
+ trying to add router manually via route add ... was impossible [SIOADDRT: no such device]

VAR/LOG/SYSLOG
+ shows I'm running realtek8139too
+ shows WATCHDOG NETDEV warning and trace
+ is attached (I can access winXP boot partition from kubuntu and save files there for uploading)

APPORT-COLLECT
+ failed with the message Please install the package "python-launchpadlib".

So, if there is anyone out there willing to tackle this problem together with me, I'm game...

Revision history for this message
Ixhausen (harneit) wrote :

OK, successfully downloaded and installed "upstream kernel" 2.6.31-999-generic.

NETDEV WATCHDOG is my best friend:
Aug 24 00:54:35 crunchy kernel: [ 20.826016] WARNING: at /home/kernel-ppa/mainline/build/net/sched/sch_generic.c:246 dev_watchdog+0x238/0x250()

added delight: the X server crashed now, too.
Aug 24 00:54:50 crunchy kdm[2900]: X server for display :0 terminated unexpectedly

Since I now use the excellent Ext2Fsd package on winXP to access the linux ext3 partitions, I can even attach the new syslog without rebooting twice.

I changed (removed) the "needs-upstream-testing" tag, as described.
I also removed the "need-kernel-logs" tag, since mine is attached with this message (or do you need anything else?)
Maybe the status of this bug should be changed altogether to "confirmed", huh?

tags: removed: needs-upstream-testing
tags: removed: needs-kernel-logs
Ixhausen (harneit)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: karma
Revision history for this message
Ixhausen (harneit) wrote :

Aaaah! I heff ze internet now!

The (trivial!) solution to the single-ethernet-adapter branch of the bug above was actually in

http://ubuntuforums.org/showthread.php?t=538448

Briefly, my RealTek adapter was just put to sleep by Windows on shutdown, and kubuntu could not re-awaken it (even in kernel 2.6.31-999).

I simply followed the advice given at the link above and told WinXP to leave the RealTek on (by starting the device manager, locating the RealTek adapter there, dbl-clicking it, and applying the following setting in the advanced tab: Wake-On-Lan After Shutdown = Enabled).

This behavior may be more general than I thought before. Lots of new *ubuntu users complain about very bad network support, which is of course a show-stopper for the transitionally-minded.

Maybe the Wake-On-Lan feature is now ubiquitous in the ethernet adapter world?

I guess that many newbies actually start off with a dual-boot installation, or just try the liveCD RIGHT AFTER WINDOWS SHUTDOWN (i.e. possibly with disabled network devices). The work-around is REALLY easy. But as an ubuntu/kernel/network bug, almost impossible to trace.

Maybe this hint (enable Wake-On-Lan if you experience network problems and if you're a double-booter, or try the liveCD from a windows system), could be included in the "known issues" section of the distro???
Whom do I tell?

What to do with this bug now? At least my comments and the one by IKT are probably misfiled, at least I imagine that the sporadic malfunction of a double ethernet setup is due to other problems...

Revision history for this message
IKT (ikt) wrote :

Would it be best to file the bug upstream with the kernel team or ?

Revision history for this message
Bryan (k1cd) wrote :

I've got a RTL-8138/810x on the mobo with a Core Solo in Ubuntu 9.10 *hp slimline). It starts up and does its thing but then stops working. I can usually do an 'apt-get update' and maybe halfway through a "full-upgrade" before it starts with "host down" errors. Network connection looks normal but is unresponsive either to ping or the network manager trying to disconnect. Still investigating.

Changed in linux:
importance: Unknown → Medium
Revision history for this message
penalvch (penalvch) wrote :

Bradley M. Kuhn, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested and remove the tag:
needs-upstream-testing

This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the text:
needs-upstream-testing

If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested.

Please let us know your results. Thank you for your understanding.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
penalvch (penalvch)
tags: added: needs-kernel-logs
Changed in linux:
status: In Progress → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.