[Bug 886840] New: [Hyper-V][SLES 11 SP3]File copy hangs when copying large files
https://bugzilla.novell.com/show_bug.cgi?id=886840 https://bugzilla.novell.com/show_bug.cgi?id=886840#c0 Summary: [Hyper-V][SLES 11 SP3]File copy hangs when copying large files Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: All OS/Version: SLES 11 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: kyliel@microsoft.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko Copy a large file several times results in the copy progress to get stuck and time out. The file gets copied up to the % in size and then hangs, it will never complete. Tested with one large file at a time, not simultaneous multiple files to transfer. Reproducible: Always Steps to Reproduce: 1.Login SLES SP3 and install hypervfcopyd 2. Enable "Guest services" integration services from hyperv manager 3. service hypervfcopyd start and make sure hypervfcopyd service is running 4. Login server 2012 R2 host and COPY-VMFILE large-file(larger than 1G) to guest 5. Check guest and host log Actual Results: Fcopy about %4 and hung up no log appear until display "timeout period expired" exception in host Expected Results: It should copy large file from host to guest correctly The fix is submitted to kernel community and accepted by Greg's tree. It will be in mainline soon. https://git.kernel.org/cgit/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-linus&id=affb1aff300ddee54df307812b38f166e8a865ef Could you please accept this patch in SLES release ASAP? Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=886840 https://bugzilla.novell.com/show_bug.cgi?id=886840#c Kylie Liang <kyliel@microsoft.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=886840 https://bugzilla.novell.com/show_bug.cgi?id=886840#c1 Dexuan Cui <decui@microsoft.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |decui@microsoft.com --- Comment #1 from Dexuan Cui <decui@microsoft.com> 2014-07-18 01:59:05 UTC --- To fix the bug completely, we still need a second patch (already accepted in Greg's tree): https://git.kernel.org/cgit/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-linus&id=2ef82d24f445e82f80e235f44eb9d1bc933e3670 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=886840 https://bugzilla.novell.com/show_bug.cgi?id=886840#c2 Olaf Hering <ohering@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |ohering@suse.com InfoProvider| |kyliel@microsoft.com --- Comment #2 from Olaf Hering <ohering@suse.com> 2014-07-22 08:27:53 CEST --- sles11sp3 does not have the fcopy feature. How did you get into failure state with a sles11sp3 guest?! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=886840 https://bugzilla.novell.com/show_bug.cgi?id=886840#c3 --- Comment #3 from Kylie Liang <kyliel@microsoft.com> 2014-07-22 08:02:33 UTC --- Sorry for confusion. To fix large file copy issue, above two patches are needed. In fact, the first patch is in drivers/hv/connection.c. Without it, KVP will stop working after several hours. What I want to check is whether SLES 11 SP3 could take the first fix (connection.c) to solve KVP issue. Should I open another bug or update title of this one for this KVP issue? Thank you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=886840 https://bugzilla.novell.com/show_bug.cgi?id=886840#c4 --- Comment #4 from Kylie Liang <kyliel@microsoft.com> 2014-07-22 09:16:43 UTC --- In summary, Issue #1: SLES 11 SP3 has built-in KVP. But KVP will stop working after several hours. To fix this issue, two patches in connection.c, hv_util.c and hv_kvp.c are needed. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9... https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a... Logs: 11 days Drivers: hv: util: Fix a bug in the KVP code K. Y. Srinivasan 2 -4/+15 11 days Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code K. Y. Srinivasan 1 -2/+6 Issue #2: File copy hangs when copying large file. SLES 11 SP3 + additional fcopy service. To fix this issue, two patches in connection.c and hv_fcopy.c are needed. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a... https://git.kernel.org/cgit/linux/kernel/git/gregkh/char-misc.git/commit/?h=char-misc-linus&id=2ef82d24f445e82f80e235f44eb9d1bc933e3670 Logs: 11 days Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code K. Y. Srinivasan 1 -2/+6 4 days Drivers: hv: hv_fcopy: fix a race condition for SMP guest Dexuan Cui 1 -1/+1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=886840 https://bugzilla.novell.com/show_bug.cgi?id=886840#c Kylie Liang <kyliel@microsoft.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[Hyper-V][SLES 11 SP3]File |[Hyper-V][SLES 11 SP3 and |copy hangs when copying |SLES12 Beta6 ]KVP Stop |large files |working after several | |hours. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=886840 https://bugzilla.novell.com/show_bug.cgi?id=886840#c5 --- Comment #5 from Kylie Liang <kyliel@microsoft.com> 2014-07-25 03:19:35 UTC --- Since https://bugzilla.novell.com/show_bug.cgi?id=887190 covers fcopy issue, I changed this bug title to "KVP stop working after several hours" to get focus on KVP issue on SLES 11 SP3. And this issue also happens on SLES12 Beta6 too. 1. Description a. Make Sure KVP is functional b. Leave VM running for several hours . After 7-10 hours KVP stop working and return NULL. 2. We also reproduced it on SLES12 Beta 6. On SLES12 Beta6 the KVP daemon stopped working after ~3 hours. hv_kvp_daemon service reported data, no other messages are recorded in the system log. hv_kvp_daemon.service - Hyper-V KVP Daemon Loaded: loaded (/usr/lib/systemd/system/hv_kvp_daemon.service; disabled) Active: inactive (dead) since Wed 2014-05-28 15:02:00 PDT; 8min ago Main PID: 494 (code=killed, signal=TERM) May 28 12:57:45 linux systemd[1]: Starting Hyper-V KVP Daemon... May 28 12:57:46 linux systemd[1]: Started Hyper-V KVP Daemon. May 28 12:57:46 linux KVP[494]: KVP starting; pid is:494 May 28 12:57:46 linux KVP[494]: KVP LIC Version: 3.1 May 28 15:02:00 linux systemd[1]: Stopping Hyper-V KVP Daemon... May 28 15:02:00 linux systemd[1]: Stopped Hyper-V KVP Daemon. correct kvp intrinsic data output: Name Data ---- ---- IntegrationServicesVersion 3.1 NetworkAddressIPv4 NetworkAddressIPv6 OSBuildNumber 3.12.17-2-default OSMajorVersion 12 OSMinorVersion OSName SLES OSVersion 3.12.17 ProcessorArchitecture x86_64 after kvp stopped working the output is blank/incorrect intrinsic values are being returned: Name Data ---- ---- OSDistributionData 0 OSDistributionName 16 OSKernelVersion 199697 OSPlatformId 129 3. How to fix it? https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9... https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a... Logs: 11 days Drivers: hv: util: Fix a bug in the KVP code K. Y. Srinivasan 2 -4/+15 11 days Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code K. Y. Srinivasan 1 -2/+6 4. We expect this fix could be in SLES11 SP3. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=886840 https://bugzilla.novell.com/show_bug.cgi?id=886840#c Kylie Liang <kyliel@microsoft.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|kyliel@microsoft.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com