From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755816AbZHVMHt (ORCPT ); Sat, 22 Aug 2009 08:07:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755779AbZHVMHs (ORCPT ); Sat, 22 Aug 2009 08:07:48 -0400 Received: from out02.mta.xmission.com ([166.70.13.232]:50711 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755816AbZHVMHr (ORCPT ); Sat, 22 Aug 2009 08:07:47 -0400 To: David Dillow Cc: Michael Riepe , Michael Buesch , Francois Romieu , Rui Santos , Michael =?utf-8?Q?B=C3=BCker?= , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 2.6.30-rc4] r8169: avoid losing MSI interrupts References: <200903041828.49972.m.bueker@berlin.de> <1242001754.4093.12.camel@obelisk.thedillows.org> <200905112248.44868.mb@bu3sch.de> <200905112310.08534.mb@bu3sch.de> <1242077392.3716.15.camel@lap75545.ornl.gov> <4A09DC3E.2080807@googlemail.com> <1242268709.4979.7.camel@obelisk.thedillows.org> <4A0C6504.8000704@googlemail.com> <1242328457.32579.12.camel@lap75545.ornl.gov> <4A0C7443.1010000@googlemail.com> <1243042174.3580.23.camel@obelisk.thedillows.org> <1250895567.23419.1.camel@obelisk.thedillows.org> <1250897657.23419.5.camel@obelisk.thedillows.org> From: ebiederm@xmission.com (Eric W. Biederman) Date: Sat, 22 Aug 2009 05:07:41 -0700 In-Reply-To: (Eric W. Biederman's message of "Sat\, 22 Aug 2009 04\:48\:52 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-XM-SPF: eid=;;;mid=;;;hst=in02.mta.xmission.com;;;ip=76.21.114.89;;;frm=ebiederm@xmission.com;;;spf=neutral X-SA-Exim-Connect-IP: 76.21.114.89 X-SA-Exim-Rcpt-To: dave@thedillows.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, m.bueker@berlin.de, rsantos@grupopie.com, romieu@fr.zoreil.com, mb@bu3sch.de, michael.riepe@googlemail.com X-SA-Exim-Mail-From: ebiederm@xmission.com X-SA-Exim-Version: 4.2.1 (built Thu, 25 Oct 2007 00:26:12 +0000) X-SA-Exim-Scanned: No (on in02.mta.xmission.com); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ebiederm@xmission.com (Eric W. Biederman) writes: > David Dillow writes: > >> >> Re-looking at the code, I'd guess that some IRQ status line is getting >> stuck high, but I don't see why -- we should acknowledge all outstanding >> interrupts each time through the loop, whether we care about them or >> not. >> >> Could reproduce a problem with the following patch applied, and send the >> full dmesg, please? > > Here is what I get. > > r8169 screaming irq status 00000085 mask 0000ffff event 0000803f napi 0000001d And now that the machine has come out of it, that was followed by: Looks like the soft lockup did not manage to trigger in this case. ------------[ cut here ]------------ WARNING: at /home/ebiederm/projects/linux/linux-2.6.30-Arora/net/sched/sch_generic.c:226 dev_watchdog+0xd9/0x14a() Hardware name: G33M-S2 NETDEV WATCHDOG: eth0 (r8169): transmit timed out Modules linked in: tulip xt_tcpudp iptable_filter nfsd lockd nfs_acl auth_rpcgss bridge stp exportfs bnep sco l2cap bluetooth sunrpc ipv6 cpufreq_ondemand acpi_cpufreq freq_table ext4 jbd2 crc16 dm_mirror dm_region_hash dm_log dm_multipath dm_mod uinput kvm_intel kvm fuse xt_multiport iptable_nat ip_tables nf_nat x_tables nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 tun 8021q snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm ppdev ata_generic snd_timer firewire_ohci pata_acpi parport_pc snd firewire_core parport r8169 i2c_i801 pata_jmicron mii pcspkr soundcore sg iTCO_wdt floppy iTCO_vendor_support snd_page_alloc crc_itu_t ahci libata sd_mod scsi_mod ext3 jbd mbcache uhci_hcd ohci_hcd ehci_hcd i915 drm i2c_algo_bit video output i2c_core [last unloaded: microcode] Pid: 0, comm: swapper Not tainted 2.6.30eric-rtl8169-debug #36 Call Trace: [] warn_slowpath_common+0x88/0xb6 [] ? dev_watchdog+0x0/0x14a [] warn_slowpath_fmt+0x4b/0x61 [] ? netdev_drivername+0x52/0x70 [] dev_watchdog+0xd9/0x14a [] ? __queue_work+0x44/0x61 [] run_timer_softirq+0x169/0x1f5 [] ? apic_write+0x24/0x3a [] ? clockevents_program_event+0x88/0xa5 [] __do_softirq+0xc3/0x1b0 [] call_softirq+0x1c/0x28 [] do_softirq+0x51/0xae [] irq_exit+0x52/0xa3 [] smp_apic_timer_interrupt+0x94/0xb8 [] apic_timer_interrupt+0x13/0x20 [] ? mwait_idle+0x9b/0xcc [] ? mwait_idle+0x3d/0xcc [] ? enter_idle+0x33/0x49 [] ? cpu_idle+0xb0/0xf3 [] ? start_secondary+0x19c/0x1b7 ---[ end trace 595b23907a063360 ]---