* Re: Is via-velocity broken in 2.6.34? [not found] <AANLkTinK4VywsJ86jaC8wQjbXjzvP-z44JD3XbZbMM2a@mail.gmail.com> @ 2010-09-07 23:33 ` David Miller 2010-09-08 0:13 ` Matt Causey [not found] ` <20100907232957.GA11595@electric-eye.fr.zoreil.com> 1 sibling, 1 reply; 8+ messages in thread From: David Miller @ 2010-09-07 23:33 UTC (permalink / raw) To: matt.causey; +Cc: linux-kernel, netdev Please always CC: netdev@vger.kernel.org for networking reports. Give this patch a try: -------------------- via-velocity: Turn scatter-gather support back off. It causes all kinds of DMA API debugging assertions and all straight-forward attempts to fix it have failed. So turn off SG, and we'll tackle making this work properly in net-next-2.6 Reported-by: Dave Jones <davej@redhat.com> Tested-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> --- drivers/net/via-velocity.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index fd69095..f534123 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c @@ -2824,7 +2824,7 @@ static int __devinit velocity_found1(struct pci_dev *pdev, const struct pci_devi netif_napi_add(dev, &vptr->napi, velocity_poll, VELOCITY_NAPI_WEIGHT); dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER | - NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM | NETIF_F_SG; + NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM; ret = register_netdev(dev); if (ret < 0) -- 1.7.2.2 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: Is via-velocity broken in 2.6.34? 2010-09-07 23:33 ` Is via-velocity broken in 2.6.34? David Miller @ 2010-09-08 0:13 ` Matt Causey 2010-09-08 0:24 ` David Miller 0 siblings, 1 reply; 8+ messages in thread From: Matt Causey @ 2010-09-08 0:13 UTC (permalink / raw) To: David Miller; +Cc: linux-kernel, netdev On Tue, Sep 7, 2010 at 4:33 PM, David Miller <davem@davemloft.net> wrote: > > Please always CC: netdev@vger.kernel.org for networking reports. > > Give this patch a try: > > -------------------- > via-velocity: Turn scatter-gather support back off. > > It causes all kinds of DMA API debugging assertions and > all straight-forward attempts to fix it have failed. > > So turn off SG, and we'll tackle making this work > properly in net-next-2.6 > > Reported-by: Dave Jones <davej@redhat.com> > Tested-by: Dave Jones <davej@redhat.com> > Signed-off-by: David S. Miller <davem@davemloft.net> > --- > drivers/net/via-velocity.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c > index fd69095..f534123 100644 > --- a/drivers/net/via-velocity.c > +++ b/drivers/net/via-velocity.c > @@ -2824,7 +2824,7 @@ static int __devinit velocity_found1(struct pci_dev *pdev, const struct pci_devi > netif_napi_add(dev, &vptr->napi, velocity_poll, VELOCITY_NAPI_WEIGHT); > > dev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_FILTER | > - NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM | NETIF_F_SG; > + NETIF_F_HW_VLAN_RX | NETIF_F_IP_CSUM; > > ret = register_netdev(dev); > if (ret < 0) So before I posted to the list, I actually dug through looking for recent changes which would be trivial for me to back out. This was the only one I had found, so I tried it. :-) No luck though...same result. Thanks, -- Matt ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Is via-velocity broken in 2.6.34? 2010-09-08 0:13 ` Matt Causey @ 2010-09-08 0:24 ` David Miller 2010-09-08 15:27 ` Matt Causey 0 siblings, 1 reply; 8+ messages in thread From: David Miller @ 2010-09-08 0:24 UTC (permalink / raw) To: matt.causey; +Cc: linux-kernel, netdev From: Matt Causey <matt.causey@gmail.com> Date: Tue, 7 Sep 2010 17:13:14 -0700 > So before I posted to the list, I actually dug through looking for > recent changes which would be trivial for me to back out. This was > the only one I had found, so I tried it. :-) No luck though...same > result. Thanks, please continue reading up on how to bisect this down, that will help us figure out what the problem is. Thanks. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Is via-velocity broken in 2.6.34? 2010-09-08 0:24 ` David Miller @ 2010-09-08 15:27 ` Matt Causey 2010-09-08 15:30 ` David Miller 0 siblings, 1 reply; 8+ messages in thread From: Matt Causey @ 2010-09-08 15:27 UTC (permalink / raw) To: David Miller; +Cc: linux-kernel, netdev On Tue, Sep 7, 2010 at 5:24 PM, David Miller <davem@davemloft.net> wrote: > From: Matt Causey <matt.causey@gmail.com> > Date: Tue, 7 Sep 2010 17:13:14 -0700 > >> So before I posted to the list, I actually dug through looking for >> recent changes which would be trivial for me to back out. This was >> the only one I had found, so I tried it. :-) No luck though...same >> result. > > Thanks, please continue reading up on how to bisect this down, > that will help us figure out what the problem is. > Apologies, my troubleshooting was faulty. In my testing when I was switching between 2.6.29 / 2.6.34 there was a .config change that I failed to notice. In my 2.6.29 config I had all the default config_pm and acpi options enabled, whereas in the later config I had them all disabled. So, the minimum acpi stuff needed for the driver to function is CONFIG_PM and CONFIG_ACPI. None of the timer stuff or anything else appears to be necessary. If that's the case (others can correct me if not...) could we patch the Kconfig to look like this: config VIA_VELOCITY tristate "VIA Velocity support" depends on PCI && PM && ACPI since today it's only depending on pci. If this is the right thing to do I can submit a patch . Apologies again for the red herring. :-) Cheers, -- Matt ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Is via-velocity broken in 2.6.34? 2010-09-08 15:27 ` Matt Causey @ 2010-09-08 15:30 ` David Miller [not found] ` <AANLkTimRPOD857-pFXUJPxBw0RYXYe8OiPFwisY28x5B@mail.gmail.com> 0 siblings, 1 reply; 8+ messages in thread From: David Miller @ 2010-09-08 15:30 UTC (permalink / raw) To: matt.causey; +Cc: linux-kernel, netdev From: Matt Causey <matt.causey@gmail.com> Date: Wed, 8 Sep 2010 08:27:19 -0700 > config VIA_VELOCITY > tristate "VIA Velocity support" > depends on PCI && PM && ACPI > > since today it's only depending on pci. > > If this is the right thing to do I can submit a patch . Apologies > again for the red herring. :-) Needing ACPI for proper functioning of a moden x86 system is no surprise, and isn't a VIA specific issue :-) ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <AANLkTimRPOD857-pFXUJPxBw0RYXYe8OiPFwisY28x5B@mail.gmail.com>]
* Re: Is via-velocity broken in 2.6.34? [not found] ` <AANLkTimRPOD857-pFXUJPxBw0RYXYe8OiPFwisY28x5B@mail.gmail.com> @ 2010-09-09 19:57 ` David Miller 2010-09-11 22:53 ` Robert Hancock 0 siblings, 1 reply; 8+ messages in thread From: David Miller @ 2010-09-09 19:57 UTC (permalink / raw) To: matt.causey; +Cc: linux-kernel, netdev From: Matt Causey <matt.causey@gmail.com> Date: Thu, 9 Sep 2010 10:42:21 -0700 > So it wasn't immediately intuitive that we would need power > management enabled in order to use other parts of the system. ACPI is not power management. It's a set of infrastructure (including an interpreter and small firmware programs to drive specialized hardware) that allows the important details of your motherboard to be described accurately to the kernel by firmware authors. That's why it's called "Advanced Configuration and Power Interface" and not just "Advanced Power Interface" :-) It also provides more accurate tables to describe things like the cpus in your system etc., to replace deprecated mechanisms for that such as MPS. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Is via-velocity broken in 2.6.34? 2010-09-09 19:57 ` David Miller @ 2010-09-11 22:53 ` Robert Hancock 0 siblings, 0 replies; 8+ messages in thread From: Robert Hancock @ 2010-09-11 22:53 UTC (permalink / raw) To: David Miller; +Cc: matt.causey, linux-kernel, netdev On 09/09/2010 01:57 PM, David Miller wrote: > From: Matt Causey<matt.causey@gmail.com> > Date: Thu, 9 Sep 2010 10:42:21 -0700 > >> So it wasn't immediately intuitive that we would need power >> management enabled in order to use other parts of the system. > > ACPI is not power management. > > It's a set of infrastructure (including an interpreter and small > firmware programs to drive specialized hardware) that allows the > important details of your motherboard to be described accurately to > the kernel by firmware authors. > > That's why it's called "Advanced Configuration and Power Interface" > and not just "Advanced Power Interface" :-) > > It also provides more accurate tables to describe things like > the cpus in your system etc., to replace deprecated mechanisms > for that such as MPS. I'd think we'd save some trouble if we forced ACPI to on unless EMBEDDED was set or something, to indicate you shouldn't turn it off unless you really know what you're doing.. ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20100907232957.GA11595@electric-eye.fr.zoreil.com>]
* Re: Is via-velocity broken in 2.6.34? [not found] ` <20100907232957.GA11595@electric-eye.fr.zoreil.com> @ 2010-09-08 0:05 ` Matt Causey 0 siblings, 0 replies; 8+ messages in thread From: Matt Causey @ 2010-09-08 0:05 UTC (permalink / raw) To: Francois Romieu; +Cc: linux-kernel, Simon Kagstrom, netdev On Tue, Sep 7, 2010 at 4:29 PM, Francois Romieu <romieu@fr.zoreil.com> wrote: > Please Cc: netdev@vger.kernel.org Done, cheers for that I didn't know. > > Matt Causey <matt.causey@gmail.com> : > [2.6.29 -> 2.6.34 regression] >> Attached is debug.tar. It contains dmesg, config.gz, ethtool, >> ifconfig, and lspci output. I'm not sure what else to do at this >> point. Is there some debugging I can enable in the kernel to give >> more clues as to what's gone wrong? > > Any chance you could bisect the regression or narrow it down a bit ? > I've never bisected before. But I'll lookup some documentation and give it a go. :-) > Otherwise may I assume that there is no difference in the > userspace tools (just in case) ? > That's a valid assumption. The userland was exactly the same, just different kernel version. -- Matt ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-09-11 22:53 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <AANLkTinK4VywsJ86jaC8wQjbXjzvP-z44JD3XbZbMM2a@mail.gmail.com>
2010-09-07 23:33 ` Is via-velocity broken in 2.6.34? David Miller
2010-09-08 0:13 ` Matt Causey
2010-09-08 0:24 ` David Miller
2010-09-08 15:27 ` Matt Causey
2010-09-08 15:30 ` David Miller
[not found] ` <AANLkTimRPOD857-pFXUJPxBw0RYXYe8OiPFwisY28x5B@mail.gmail.com>
2010-09-09 19:57 ` David Miller
2010-09-11 22:53 ` Robert Hancock
[not found] ` <20100907232957.GA11595@electric-eye.fr.zoreil.com>
2010-09-08 0:05 ` Matt Causey
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).