Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933291Ab2FGWVp (ORCPT ); Thu, 7 Jun 2012 18:21:45 -0400 Received: from trent.utfs.org ([94.185.90.103]:58451 "EHLO trent.utfs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933184Ab2FGWVo (ORCPT ); Thu, 7 Jun 2012 18:21:44 -0400 Date: Thu, 7 Jun 2012 15:21:36 -0700 (PDT) From: Christian Kujau To: Ethan Zhao cc: LKML , mcarlson@broadcom.com Subject: Re: tg3: transmit timed out, resetting In-Reply-To: Message-ID: References: <20120606010255.GA9991@mcarlson.broadcom.com> User-Agent: Alpine 2.01 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AV-Checked: ClamAV using ClamSMTP (127.0.0.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1939 Lines: 70 On Thu, 7 Jun 2012 at 05:52, Christian Kujau wrote: > On Thu, 7 Jun 2012 at 17:47, Ethan Zhao wrote: > > Could you try 3.5RC1+ with pcie_aspm=off kernel parameter ? Hm, this didn't help. > > I notice there are some AER errors ( UnsupReq+,RxErr+) with the tg3 > > from you lspci output Isn't lspci just listing ASPM _capabilities_ there? Booting with pcie_aspm=off showed almost the same output: http://nerdbynature.de/bits/3.4.0/tg3/lspci_aspm.diff.txt So, the workaround for me is to disable "scatter-gather": ethtool -K p2p1 sg off With that, no more errors show up and the interface keeps working. Christian. > pci0000:00: Requesting ACPI _OSC control (0x1d) > pci0000:00: ACPI _OSC request failed (AE_NOT_FOUND), returned control mask: 0x1d > ACPI _OSC control for PCIe not granted, disabling ASPM > -------- > > I have seen these messages in 3.2.0 (an Ubuntu kernel), can't say that I > have seen them before, they did not show up when I booted this 2.6.38 > Ubuntu kernel. > > I'll try booting with pcie_aspm=off and see what it gives... > > Thanks, > Christian. > > PS: AFAICT, Ubuntu's 2.6.38 [0] had these options set: > > -------- > CONFIG_PCIEASPM=y > # CONFIG_PCIEASPM_DEBUG is not set > -------- > > With 3.5.x, my .config has: > > -------- > CONFIG_PCIEASPM=y > # CONFIG_PCIEASPM_DEBUG is not set > CONFIG_PCIEASPM_DEFAULT=y > # CONFIG_PCIEASPM_POWERSAVE is not set > # CONFIG_PCIEASPM_PERFORMANCE is not set > -------- > > [0] https://launchpad.net/ubuntu/natty/i386/linux-image-2.6.38-15-generic/2.6.38-15.60 > > -- > BOFH excuse #338: > > old inkjet cartridges emanate barium-based fumes > -- BOFH excuse #396: Mail server hit by UniSpammer. -- 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/