Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751599AbXBCUnd (ORCPT ); Sat, 3 Feb 2007 15:43:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751596AbXBCUnd (ORCPT ); Sat, 3 Feb 2007 15:43:33 -0500 Received: from mga01.intel.com ([192.55.52.88]:6521 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751590AbXBCUnc (ORCPT ); Sat, 3 Feb 2007 15:43:32 -0500 X-ExtLoop1: 1 X-IronPort-AV: i="4.13,277,1167638400"; d="scan'208"; a="195437579:sNHT17768352" Message-ID: <45C4F3F1.6060500@intel.com> Date: Sat, 03 Feb 2007 12:43:29 -0800 From: Auke Kok User-Agent: Mail/News 1.5.0.9 (X11/20061228) MIME-Version: 1.0 To: Adam Kropelin CC: "Eric W. Biederman" , Adrian Bunk , Linus Torvalds , Andrew Morton , Linux Kernel Mailing List , jgarzik@pobox.com, alan@lxorguk.ukuu.org.uk, Allen Parker , jesse.brandeburg@intel.com, gregkh@suse.de, linux-pci@atrey.karlin.mff.cuni.cz, netdev@vger.kernel.org Subject: Re: 2.6.20-rc7: known regressions (v2) (part 1) References: <20070203004447.GJ3754@stusta.de> <45C42669.2010105@intel.com> <089b01c747be$0ca22620$84163e05@kroptech.com> In-Reply-To: <089b01c747be$0ca22620$84163e05@kroptech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2683 Lines: 60 Adam Kropelin wrote: > Eric W. Biederman wrote: >> Auke Kok writes: >>> None of the MSI code in e1000 has changed significantly either. as >>> far as I can see, the msi code in e1000 has not changed since >>> 2.6.18. Nonetheless there's no way I can debug any of this without a >>> system. >>> [...] >>> Perhaps Adam can git-bisect this issue? Adam? >> Do we have any explanation about the weird /proc/interrupts output? >> i.e. Multiple MSI irqs being assigned to the same card? >> >> Does /sbin/ifconfig ethN down ; /sbin/ifconfig ethN up have anything >> to do with the duplication in /proc/interrupts? >> >> I can't see any way for a pci device that doesn't support msi-x to be >> assigned multiple interrupts simultaneously. >> >> I just skimmed through the code and there hasn't been any significant >> generic MSI work since 2.6.19. >> >> Did this device really work with MSI enabled in 2.6.19? > > I've never had this device work 100% with MSI on any kernel version I've > tested so far. But I'm not the original reporter of the problem, and I > believe for him it was a true regression where a previous kernel wored > correctly. maybe I've been unclear, but here's how e1000 detects link changes: 1) by checking every 2 seconds in the watchdog by reading PHY registers 2) by receiving an interrupt from the NIC with the LSI bit in the interrupt control register if the link is down to start with, the watchdog will obviously spot a 'link up' change since it doesn't use any interrupts. The link interrupt (LSI) is a generic interrupt that comes over the same vector (be it MSI or not) as RX interrupts, and in your case doesn't arrive at all, which should be demonstrateable if you set e.g. the watchdog interval to 30 seconds and unplug the cable - the driver won't spot the link change until the watchdog fires a lot later than you unplugged the cable. > The behavior I observe on 2.6.19 is better than 2.6.20-rc7. Link status > interrupts seem to work but rx/tx does not. A few more details here: > > I'm going to test 2.6.16 thru 2.6.20-rc7 this weekend and will report > back any variations in behavior I notice. that would be a good start, but I still think that you might have a broken bridge on that system. Anyway, thanks for digging into this. Auke - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/