* Regression in hyperv network driver in 3.14
@ 2014-05-27 11:10 Bernhard Walle
2014-05-27 13:43 ` KY Srinivasan
0 siblings, 1 reply; 5+ messages in thread
From: Bernhard Walle @ 2014-05-27 11:10 UTC (permalink / raw)
To: Haiyang Zhang; +Cc: K. Y. Srinivasan, linux-kernel
Hello,
using a 3.14 kernel in a Linux VM running on HyperV (Windows Server 2008
R2) we get following error:
hv_netvsc: hv_netvsc channel opened successfully
hv_netvsc vmbus_0_9 (unregistered net_device): Unable to complete receive buffer initialization with NetVsp - status 2
hv_netvsc vmbus_0_9 (unregistered net_device): unable to connect to NetVSP - -22
hv_netvsc vmbus_0_9 (unregistered net_device): unable to add netvsc device (ret -22)
hv_netvsc: probe of vmbus_0_9 failed with error -22
Bisecting the problem shows that commit
b679ef73edc251f6d200a7dd2396e9fef9e36fc3 is responsible. Reverting it
fixes the issue. Even only changing NETVSC_RECEIVE_BUFFER_SIZE to 2M
fixes the issue!
The virtual machine has 2 GiB of memory and 4 CPUs.
Can I provide more information to track down the problem?
Regards,
Bernhard
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Regression in hyperv network driver in 3.14
2014-05-27 11:10 Regression in hyperv network driver in 3.14 Bernhard Walle
@ 2014-05-27 13:43 ` KY Srinivasan
2014-05-27 14:42 ` Bernhard Walle
0 siblings, 1 reply; 5+ messages in thread
From: KY Srinivasan @ 2014-05-27 13:43 UTC (permalink / raw)
To: Bernhard Walle, Haiyang Zhang; +Cc: linux-kernel@vger.kernel.org
> -----Original Message-----
> From: Bernhard Walle [mailto:bernhard@bwalle.de]
> Sent: Tuesday, May 27, 2014 4:10 AM
> To: Haiyang Zhang
> Cc: KY Srinivasan; linux-kernel@vger.kernel.org
> Subject: Regression in hyperv network driver in 3.14
>
> Hello,
>
> using a 3.14 kernel in a Linux VM running on HyperV (Windows Server 2008
> R2) we get following error:
>
> hv_netvsc: hv_netvsc channel opened successfully
> hv_netvsc vmbus_0_9 (unregistered net_device): Unable to complete
> receive buffer initialization with NetVsp - status 2
> hv_netvsc vmbus_0_9 (unregistered net_device): unable to connect to
> NetVSP - -22
> hv_netvsc vmbus_0_9 (unregistered net_device): unable to add netvsc
> device (ret -22)
> hv_netvsc: probe of vmbus_0_9 failed with error -22
>
> Bisecting the problem shows that commit
> b679ef73edc251f6d200a7dd2396e9fef9e36fc3 is responsible. Reverting it
> fixes the issue. Even only changing NETVSC_RECEIVE_BUFFER_SIZE to 2M
> fixes the issue!
>
> The virtual machine has 2 GiB of memory and 4 CPUs.
>
> Can I provide more information to track down the problem?
This bug has been fixed upstream. The issue is with regards to the older hosts (ws2008 r2) not
Being able to handle the larger receive buffer currently used.
K. Y
>
>
> Regards,
> Bernhard
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Regression in hyperv network driver in 3.14
2014-05-27 13:43 ` KY Srinivasan
@ 2014-05-27 14:42 ` Bernhard Walle
2014-05-27 15:22 ` Haiyang Zhang
0 siblings, 1 reply; 5+ messages in thread
From: Bernhard Walle @ 2014-05-27 14:42 UTC (permalink / raw)
To: KY Srinivasan; +Cc: Haiyang Zhang, linux-kernel
Am 2014-05-27 15:43, schrieb KY Srinivasan:
>> Can I provide more information to track down the problem?
>
> This bug has been fixed upstream. The issue is with regards to the
> older hosts (ws2008 r2) not
> Being able to handle the larger receive buffer currently used.
Can you point me to the commit that fixed the problem? Woudln't that
be something for -stable since the problem is still in 3.14.4.
Regards,
Bernhard
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Regression in hyperv network driver in 3.14
2014-05-27 14:42 ` Bernhard Walle
@ 2014-05-27 15:22 ` Haiyang Zhang
2014-06-26 8:19 ` Non-FIXed in Linux Kernel v3.14.8 2014-06-16 Fw: hyperv: Change the receive buffer size for legacy hosts Re: Regression in hyperv network driver in 3.14 Fw: Debian Bug#748609: ( 3.14-0 : Hyper-V netvsc no networking) Victor Miasnikov
0 siblings, 1 reply; 5+ messages in thread
From: Haiyang Zhang @ 2014-05-27 15:22 UTC (permalink / raw)
To: Bernhard Walle, KY Srinivasan; +Cc: linux-kernel@vger.kernel.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1169 bytes --]
> -----Original Message-----
> From: Bernhard Walle [mailto:bernhard@bwalle.de]
> Sent: Tuesday, May 27, 2014 10:42 AM
> To: KY Srinivasan
> Cc: Haiyang Zhang; linux-kernel@vger.kernel.org
> Subject: RE: Regression in hyperv network driver in 3.14
>
> Am 2014-05-27 15:43, schrieb KY Srinivasan:
>
> >> Can I provide more information to track down the problem?
> >
> > This bug has been fixed upstream. The issue is with regards to the
> > older hosts (ws2008 r2) not
> > Being able to handle the larger receive buffer currently used.
>
> Can you point me to the commit that fixed the problem? Woudln't that
> be something for -stable since the problem is still in 3.14.4.
>
Yes, this commit is in stable tree:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/hyperv?id=99d3016de4f2a29635f5382b0e9bd0e5f2151487
hyperv: Change the receive buffer size for legacy hosts
I will ask the maintainer, see if it will be in next 3.14 update as well.
Thanks,
- Haiyang
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 5+ messages in thread
* Non-FIXed in Linux Kernel v3.14.8 2014-06-16 Fw: hyperv: Change the receive buffer size for legacy hosts Re: Regression in hyperv network driver in 3.14 Fw: Debian Bug#748609: ( 3.14-0 : Hyper-V netvsc no networking)
2014-05-27 15:22 ` Haiyang Zhang
@ 2014-06-26 8:19 ` Victor Miasnikov
0 siblings, 0 replies; 5+ messages in thread
From: Victor Miasnikov @ 2014-06-26 8:19 UTC (permalink / raw)
To: linux-kernel, David S. Miller, Greg KH, Haiyang Zhang
Cc: Abhishek Gupta (LIS), Bernhard Walle, Mathieu Simon,
Кулешов Андрей Анатольевич,
KY Srinivasan
Hi!
2014-03-09
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/hyperv?id=99d3016de4f2a29635f5382b0e9bd0e5f2151487
hyperv: Change the receive buffer size for legacy hosts
+
Haiyang Zhang write on May 27, 2014 6:22 PM:
I ( Haiyang Zhang) will ask the maintainer
( for backport id=99d3016de4f2a29635f5382b0e9bd0e5f2151487 ), see if it will be in next 3.14 update as well.
+
Haiyang Zhang on June 25, 2014 19:14 ( UTC+3) :
I ( Haiyang Zhang) have requested that patch for stable branch, but . . . ( VVM: skipped by me)
V.V.M.:
Problem Non-FIXed in Linux Kernel v3.14.8 2014-06-16 :-(
Reason? Roadmap?
(
Without this patch ( i.e. in kernel v3.14 ) LANCard driver/.ko is simply not start in case VM with OS Linux on Hyper-V
host with Win 2008 R2 ( Win 2012 R2 not affected)
)
Best regards, Victor Miasnikov
Blog: http://vvm.blog.tut.by/
P.S.
About "rules":
IMHO,
In fact _all_ patch equal 16-1 = 15 :-) i.e.
-#define NETVSC_RECEIVE_BUFFER_SIZE (1024*1024*16) /* 16MB */
+#define NETVSC_RECEIVE_BUFFER_SIZE (1024*1024*15) /* 15MB */
----- Original Message -----
From: Victor Miasnikov
To: Haiyang Zhang; Abhishek Gupta (LIS)
Cc: KY Srinivasan; Кулешов Андрей Анатольевич; Mathieu Simon; Bernhard Walle
Sent: Wednesday, June 25, 2014 1:19 PM
Subject: Non-FIXed in Linux Kernel v3.14.8 2014-06-16 Fw: hyperv: Change the receive buffer size for legacy hosts Re:
Regression in hyperv network driver in 3.14 Fw: Debian Bug#748609: (linux-image-3.14-0.bpo.1-amd64: Hyper-V netvsc no
networking)
Hi!
Problem Non-FIXed in Linux Kernel v3.14.8 2014-06-16 :-(
Reason? Roadmap?
. . .
==
cat /var/log/syslog
hv_netvsc vmbus_0_9 (unregistered net_device): Unable to complete receive buffer initialization with NetVsp - status 2
hv_netvsc vmbus_0_9 (unregistered net_device): unable to connect to NetVSP - -22
hv_netvsc vmbus_0_9 (unregistered net_device): unable to add netvsc device (ret -22)
hv_vmbus: probe failed for device vmbus_0_9 (-22)
hv_netvsc: probe of vmbus_0_9 failed with error -22
==
==
It defines a NETVSC_RECEIVE_BUFFER_SIZE_LEGACY of 15MB instead of 16MB
used on newer versions of this Hypervisor.
Technically this also affects Jessie when running as guest on Windows Server 2008 R2.
==
==
Yes, this commit is in stable tree:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/hyperv?id=99d3016de4f2a29635f5382b0e9bd0e5f2151487
hyperv: Change the receive buffer size for legacy hosts
I will ask the maintainer, see if it will be in next 3.14 update as well.
Thanks,
- Haiyang
==
Best regards, Victor Miasnikov
Blog: http://vvm.blog.tut.by/
P.S.
History of problem:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748609
==
cat /var/log/syslog
hv_netvsc vmbus_0_9 (unregistered net_device): Unable to complete receive buffer initialization with NetVsp - status 2
hv_netvsc vmbus_0_9 (unregistered net_device): unable to connect to NetVSP - -22
hv_netvsc vmbus_0_9 (unregistered net_device): unable to add netvsc device (ret -22)
hv_vmbus: probe failed for device vmbus_0_9 (-22)
hv_netvsc: probe of vmbus_0_9 failed with error -22
It defines a NETVSC_RECEIVE_BUFFER_SIZE_LEGACY of 15MB instead of 16MB
used on newer versions of this Hypervisor.
Technically this also affects Jessie when running as guest on Windows Server 2008 R2.
==
+
----- Original Message -----
From: "Haiyang Zhang"
To: "Bernhard Walle" ; "KY Srinivasan"
Cc: <linux-kernel@vger.kernel.org>
Sent: Tuesday, May 27, 2014 6:22 PM
Subject: RE: Regression in hyperv network driver in 3.14
> -----Original Message-----
> From: Bernhard Walle
> Sent: Tuesday, May 27, 2014 10:42 AM
> To: KY Srinivasan
> Cc: Haiyang Zhang; linux-kernel@vger.kernel.org
> Subject: RE: Regression in hyperv network driver in 3.14
>
> Am 2014-05-27 15:43, schrieb KY Srinivasan:
>
> >> Can I provide more information to track down the problem?
> >
> > This bug has been fixed upstream. The issue is with regards to the
> > older hosts (ws2008 r2) not
> > Being able to handle the larger receive buffer currently used.
>
> Can you point me to the commit that fixed the problem? Woudln't that
> be something for -stable since the problem is still in 3.14.4.
>
Yes, this commit is in stable tree:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/hyperv?id=99d3016de4f2a29635f5382b0e9bd0e5f2151487
hyperv: Change the receive buffer size for legacy hosts
I will ask the maintainer, see if it will be in next 3.14 update as well.
Thanks,
- Haiyang
Nryvnz}zjvzz~zjyA
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-26 8:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-27 11:10 Regression in hyperv network driver in 3.14 Bernhard Walle
2014-05-27 13:43 ` KY Srinivasan
2014-05-27 14:42 ` Bernhard Walle
2014-05-27 15:22 ` Haiyang Zhang
2014-06-26 8:19 ` Non-FIXed in Linux Kernel v3.14.8 2014-06-16 Fw: hyperv: Change the receive buffer size for legacy hosts Re: Regression in hyperv network driver in 3.14 Fw: Debian Bug#748609: ( 3.14-0 : Hyper-V netvsc no networking) Victor Miasnikov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox