Public bug reported:

kernel bug in r8169 driver?  It is interesting that the link goes down
for 2 s, then some 18 s after it went down, the queue stalls.  The NIC
can't possibly transmit when the link goes down and needs to purge its
queue.

(installed kernel package linux-image-2.6.38-15-generic-pae)

relevant dmesg excerpt:

[24968.478881] r8169 0000:02:00.0: eth0: link down
[24970.115574] r8169 0000:02:00.0: eth0: link up
[24988.000018] ------------[ cut here ]------------
[24988.000029] WARNING: at 
/build/buildd/linux-2.6.38/net/sched/sch_generic.c:256 
dev_watchdog+0x213/0x220()
[24988.000032] Hardware name: GA-MA770-UD3
[24988.000035] NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out
[24988.000037] Modules linked in: btrfs zlib_deflate libcrc32c ufs qnx4 hfsplus 
hfs minix ntfs vfat msdos fat jfs xfs reiserfs ipt_MASQUERADE iptable_nat 
nf_nat ipt_REJECT xt_recent nf_conntrack_ipv4 nf_defrag_ipv4 xt_state 
nf_conntrack xt_tcpudp iptable_filter ip_tables x_tables binfmt_misc pci_stub 
vboxpci vboxnetadp vboxnetflt vboxdrv nfsd lp exportfs nfs lockd fscache 
nfs_acl auth_rpcgss sunrpc dm_crypt nvidia(P) ppdev snd_hda_codec_realtek 
snd_hda_intel arc4 snd_hda_codec snd_hwdep rt2500pci snd_pcm rt2x00pci 
parport_pc parport rt2x00lib mac80211 snd_seq_midi snd_rawmidi cfg80211 
eeprom_93cx6 snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore 
sp5100_tco i2c_piix4 snd_page_alloc it87 hwmon_vid asus_atk0110 k8temp raid10 
raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx 
raid0 multipath linear vga16fb vgastate raid1 usbhid hid usb_storage ahci 
firewire_ohci uas libahci firewire_core r8169 pata_atiixp crc_itu_t ati_agp
[24988.000117] Pid: 0, comm: kworker/0:0 Tainted: P            
2.6.38-15-generic-pae #61-Ubuntu
[24988.000120] Call Trace:
[24988.000127]  [<c1058e42>] ? warn_slowpath_common+0x72/0xa0
[24988.000131]  [<c14766c3>] ? dev_watchdog+0x213/0x220
[24988.000134]  [<c14766c3>] ? dev_watchdog+0x213/0x220
[24988.000138]  [<c1058f13>] ? warn_slowpath_fmt+0x33/0x40
[24988.000141]  [<c14766c3>] ? dev_watchdog+0x213/0x220
[24988.000145]  [<c1052789>] ? load_balance+0x89/0x4a0
[24988.000149]  [<c106623b>] ? call_timer_fn+0x2b/0xe0
[24988.000152]  [<c14764b0>] ? dev_watchdog+0x0/0x220
[24988.000155]  [<c1067579>] ? run_timer_softirq+0xe9/0x1e0
[24988.000159]  [<c14764b0>] ? dev_watchdog+0x0/0x220
[24988.000163]  [<c105fb52>] ? __do_softirq+0x82/0x170
[24988.000166]  [<c105fad0>] ? __do_softirq+0x0/0x170
[24988.000169]  <IRQ>  [<c105fd1d>] ? irq_exit+0x6d/0x80
[24988.000175]  [<c153f0eb>] ? smp_apic_timer_interrupt+0x5b/0x8a
[24988.000180]  [<c1538779>] ? apic_timer_interrupt+0x31/0x38
[24988.000185]  [<c1034d0a>] ? native_safe_halt+0xa/0x10
[24988.000190]  [<c10122c8>] ? default_idle+0x58/0xe0
[24988.000194]  [<c101239d>] ? c1e_idle+0x4d/0x100
[24988.000198]  [<c100944a>] ? cpu_idle+0x8a/0xc0
[24988.000202]  [<c15330ec>] ? setup_APIC_timer+0x69/0x6d
[24988.000205]  [<c1532c30>] ? start_secondary+0xd5/0xdc
[24988.000208] ---[ end trace 5b92be082b60ae3d ]---
[24988.016080] r8169 0000:02:00.0: eth0: link up

network seems live again from here (remote SSH login works)

Versions:

Ubuntu 2.6.38-15.61-generic-pae 2.6.38.8

Linux hostname 2.6.38-15-generic-pae #61-Ubuntu SMP Tue Jun 12 19:32:42
UTC 2012 i686 athlon i386 GNU/Linux

lspci output:

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. 
RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
 Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard [1458:e000]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
 Latency: 0, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 42
 Region 0: I/O ports at de00 [size=256]
 Region 2: Memory at fdfff000 (64-bit, prefetchable) [size=4K]
 Region 4: Memory at fdfe0000 (64-bit, prefetchable) [size=64K]
 [virtual] Expansion ROM at fdf00000 [disabled] [size=64K]
 Capabilities: [40] Power Management version 3
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
  Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
  Address: 00000000fee0300c  Data: 4169
 Capabilities: [70] Express (v1) Endpoint, MSI 01
  DevCap:       MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <8us
   ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
  DevCtl:       Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
   RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
   MaxPayload 128 bytes, MaxReadReq 4096 bytes
  DevSta:       CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
  LnkCap:       Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 
<512ns, L1 <64us
   ClockPM+ Surprise- LLActRep- BwNot-
  LnkCtl:       ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
   ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
  LnkSta:       Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- 
BWMgmt- ABWMgmt-
 Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
  Vector table: BAR=4 offset=00000000
  PBA: BAR=4 offset=00000800
 Capabilities: [d0] Vital Product Data
  Unknown small resource type 00, will not decode more.
 Capabilities: [100 v1] Advanced Error Reporting
  UESta:        DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
MalfTLP- ECRC- UnsupReq- ACSViol-
  UEMsk:        DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- 
MalfTLP- ECRC- UnsupReq- ACSViol-
  UESvrt:       DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ 
MalfTLP+ ECRC- UnsupReq- ACSViol-
  CESta:        RxErr+ BadTLP- BadDLLP+ Rollover- Timeout- NonFatalErr+
  CEMsk:        RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
  AERCap:       First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
 Capabilities: [140 v1] Virtual Channel
  Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
  Arb:  Fixed- WRR32- WRR64- WRR128-
  Ctrl: ArbSelect=Fixed
  Status:       InProgress-
  VC0:  Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
   Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
   Ctrl:        Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
   Status:      NegoPending- InProgress-
 Capabilities: [160 v1] Device Serial Number 12-34-56-78-12-34-56-78
 Kernel driver in use: r8169
 Kernel modules: r8169

03:07.0 Network controller [0280]: Ralink corp. RT2500 802.11g [1814:0201] (rev 
01)
 Subsystem: Ralink corp. Device [1814:2560]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- 
SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
 Latency: 32, Cache Line Size: 64 bytes
 Interrupt: pin A routed to IRQ 21
 Region 0: Memory at fdefc000 (32-bit, non-prefetchable) [size=8K]
 Capabilities: [40] Power Management version 2
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
 Kernel driver in use: rt2500pci
 Kernel modules: rt2500pci

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-15-generic-pae 2.6.38-15.61
ProcVersionSignature: Ubuntu 2.6.38-15.61-generic-pae 2.6.38.8
Uname: Linux 2.6.38-15-generic-pae i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  emma       9409 F.... pulseaudio
 /dev/snd/pcmC0D0p:   emma       9409 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
   Mixer name   : 'Realtek ALC888'
   Components   : 'HDA:10ec0888,1458e601,00100001'
   Controls      : 39
   Simple ctrls  : 21
Date: Tue Jul 17 09:28:45 2012
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=0a708ba9-a60d-46c5-9368-4e807e3f832c
MachineType: Gigabyte Technology Co., Ltd. GA-MA770-UD3
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 PATH=(custom, no user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-15-generic-pae 
root=UUID=3b733857-b191-4d8a-8a09-fbf79907bdda ro splash quiet vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-15-generic-pae N/A
 linux-backports-modules-2.6.38-15-generic-pae  N/A
 linux-firmware                                 1.52.4
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
UserAsoundrc:
 # ALSA library configuration file

 # Include settings that are under the control of asoundconf(1).
 # (To disable these settings, comment out this line.)
 </home/emma/.asoundrc.asoundconf>
WpaSupplicantLog:

dmi.bios.date: 10/09/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: FF
dmi.board.name: GA-MA770-UD3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: 
dmi:bvnAwardSoftwareInternational,Inc.:bvrFF:bd10/09/2009:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA770-UD3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA770-UD3:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA770-UD3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1025556

Title:
  r8169 driver fails after link went down intermittently

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1025556/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to