Re: tg3: transmit timed out, resetting
From: Christian Kujau
Date: Thu Jun 07 2012 - 18:21:39 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/