* linux-next: ibmveth runtime errors
@ 2011-04-27 4:49 Stephen Rothwell
2011-04-27 10:36 ` Michał Mirosław
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2011-04-27 4:49 UTC (permalink / raw)
To: ppc-dev
Cc: netdev, LKML, "Michał Mirosław", linux-next,
Santiago Leon, David Miller
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
Hi all,
For the last couple of days, linux-next booting on a few of our Power
partitions (but not all) have produced this error (over and over):
ibmveth 3000000b: eth0: tx: h_send_logical_lan failed with rc=-4
Linus' tree seems to boot fine on these partitions. The only commit
directly affecting ibmveth in linux-next is b9367bf3ee6d ("net: ibmveth:
convert to hw_features") which first appeared in next-20110421 which is
also the first one that failed.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: ibmveth runtime errors
2011-04-27 4:49 linux-next: ibmveth runtime errors Stephen Rothwell
@ 2011-04-27 10:36 ` Michał Mirosław
2011-04-28 2:11 ` Stephen Rothwell
0 siblings, 1 reply; 4+ messages in thread
From: Michał Mirosław @ 2011-04-27 10:36 UTC (permalink / raw)
To: Stephen Rothwell
Cc: netdev, ppc-dev, LKML, linux-next, Santiago Leon, David Miller
On Wed, Apr 27, 2011 at 02:49:01PM +1000, Stephen Rothwell wrote:
> For the last couple of days, linux-next booting on a few of our Power
> partitions (but not all) have produced this error (over and over):
>
> ibmveth 3000000b: eth0: tx: h_send_logical_lan failed with rc=-4
>
> Linus' tree seems to boot fine on these partitions. The only commit
> directly affecting ibmveth in linux-next is b9367bf3ee6d ("net: ibmveth:
> convert to hw_features") which first appeared in next-20110421 which is
> also the first one that failed.
Please test the following patch. It's just a blind guess, as this error
is not descriptive.
Best Regards,
Michał Mirosław
---
net: ibmveth: force reconfiguring checksum settings on startup
Commit b9367bf3ee6d ("net: ibmveth: convert to hw_features") accidentally
removed call to ibmveth_set_csum_offload() in ibmveth_probe(). Put the
call back where it was, but with additional error checking provided
by ibmveth_set_features().
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/net/ibmveth.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
index 4855f1f..0d1fea2 100644
--- a/drivers/net/ibmveth.c
+++ b/drivers/net/ibmveth.c
@@ -1397,6 +1397,8 @@ static int __devinit ibmveth_probe(struct vio_dev *dev,
netdev_dbg(netdev, "registering netdev...\n");
+ ibmveth_set_features(dev, dev->features);
+
rc = register_netdev(netdev);
if (rc) {
--
1.7.2.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: linux-next: ibmveth runtime errors
2011-04-27 10:36 ` Michał Mirosław
@ 2011-04-28 2:11 ` Stephen Rothwell
2011-04-28 20:46 ` David Miller
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2011-04-28 2:11 UTC (permalink / raw)
To: Michał Mirosław
Cc: netdev, ppc-dev, LKML, linux-next, Santiago Leon, David Miller
Hi Michał,
On Wed, 27 Apr 2011 12:36:22 +0200 Michał Mirosław <mirq-linux@rere.qmqm.pl> wrote:
>
> Please test the following patch. It's just a blind guess, as this error
> is not descriptive.
>
> Best Regards,
> Michał Mirosław
>
> ---
>
> net: ibmveth: force reconfiguring checksum settings on startup
>
> Commit b9367bf3ee6d ("net: ibmveth: convert to hw_features") accidentally
> removed call to ibmveth_set_csum_offload() in ibmveth_probe(). Put the
> call back where it was, but with additional error checking provided
> by ibmveth_set_features().
>
> Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
>
> ---
> drivers/net/ibmveth.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
> index 4855f1f..0d1fea2 100644
> --- a/drivers/net/ibmveth.c
> +++ b/drivers/net/ibmveth.c
> @@ -1397,6 +1397,8 @@ static int __devinit ibmveth_probe(struct vio_dev *dev,
>
> netdev_dbg(netdev, "registering netdev...\n");
>
> + ibmveth_set_features(dev, dev->features);
> +
> rc = register_netdev(netdev);
>
> if (rc) {
This worked after I changed both "dev"s to "netdev". And the boot
succedded. I will apply this patchg to linux-next today and hopefully
Dave can apply it to the net tree. I have added a copy fo the patch I
used below.
From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= <mirq-linux@rere.qmqm.pl>
Date: Thu, 28 Apr 2011 11:59:15 +1000
Subject: [PATCH] net: ibmveth: force reconfiguring checksum settings on
startup
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Commit b9367bf3ee6d ("net: ibmveth: convert to hw_features") accidentally
removed call to ibmveth_set_csum_offload() in ibmveth_probe(). Put the
call back where it was, but with additional error checking provided
by ibmveth_set_features().
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
[sfr: dev -> netdev]
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/net/ibmveth.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
index 4855f1f..be3fe71 100644
--- a/drivers/net/ibmveth.c
+++ b/drivers/net/ibmveth.c
@@ -1397,6 +1397,8 @@ static int __devinit ibmveth_probe(struct vio_dev *dev,
netdev_dbg(netdev, "registering netdev...\n");
+ ibmveth_set_features(netdev, netdev->features);
+
rc = register_netdev(netdev);
if (rc) {
--
1.7.4.4
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: linux-next: ibmveth runtime errors
2011-04-28 2:11 ` Stephen Rothwell
@ 2011-04-28 20:46 ` David Miller
0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2011-04-28 20:46 UTC (permalink / raw)
To: sfr; +Cc: netdev, linuxppc-dev, linux-kernel, linux-next, mirq-linux,
santil
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 28 Apr 2011 12:11:24 +1000
> From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= <mirq-linux@rere.qmqm.pl>
> Date: Thu, 28 Apr 2011 11:59:15 +1000
> Subject: [PATCH] net: ibmveth: force reconfiguring checksum settings on
> startup
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Commit b9367bf3ee6d ("net: ibmveth: convert to hw_features") accidentally
> removed call to ibmveth_set_csum_offload() in ibmveth_probe(). Put the
> call back where it was, but with additional error checking provided
> by ibmveth_set_features().
>
> Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> [sfr: dev -> netdev]
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Applied, thanks everyone.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-28 20:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-27 4:49 linux-next: ibmveth runtime errors Stephen Rothwell
2011-04-27 10:36 ` Michał Mirosław
2011-04-28 2:11 ` Stephen Rothwell
2011-04-28 20:46 ` David Miller
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).