I see this issue too. It is easy to get with a 4.4 kernel if you have an SSD hooked up to the Windows host and then you connect the SSD to the Hyper-V VM via the SCSI controller in passthrough mode. Error messages will look like this:
[ 20.476616] sd 3:0:0:0: [sdb] Synchronizing SCSI cache [ 38.374458] scsi 3:0:0:0: Direct-Access Samsung SSD 850 PRO 256G EXM0 PQ: 0 ANSI: 0 [ 38.374703] scsi 3:0:0:1: Direct-Access PQ: 0 ANSI: 0 [ 38.374919] scsi 3:0:0:2: Direct-Access PQ: 0 ANSI: 0 [ 38.375368] scsi 3:0:0:3: Direct-Access PQ: 0 ANSI: 0 [ 38.375711] scsi 3:0:0:4: Direct-Access PQ: 0 ANSI: 0 [ 38.376526] scsi 3:0:0:5: Direct-Access PQ: 0 ANSI: 0 [ 38.376791] scsi 3:0:0:6: Direct-Access PQ: 0 ANSI: 0 [ 38.377114] scsi 3:0:0:7: Direct-Access PQ: 0 ANSI: 0 [ 38.392809] sd 3:0:0:0: Attached scsi generic sg2 type 0 [ 38.393282] sd 3:0:0:0: [sdb] 500118192 512-byte logical blocks: (256 GB/238 GiB) [ 38.393811] sd 3:0:0:1: [sdc] Sector size 0 reported, assuming 512. [ 38.393819] sd 3:0:0:1: [sdc] 1 512-byte logical blocks: (512 B/512 B) [ 38.393822] sd 3:0:0:1: [sdc] 0-byte physical blocks [ 38.393874] sd 3:0:0:1: Attached scsi generic sg3 type 0 [ 38.394262] sd 3:0:0:0: [sdb] Write Protect is off [ 38.394267] sd 3:0:0:0: [sdb] Mode Sense: 0f 00 00 00 [ 38.394277] sd 3:0:0:1: [sdc] Write Protect is off [ 38.394281] sd 3:0:0:1: [sdc] Mode Sense: 00 00 00 00 [ 38.395394] sd 3:0:0:2: [sdd] Sector size 0 reported, assuming 512. [ 38.395402] sd 3:0:0:2: [sdd] 1 512-byte logical blocks: (512 B/512 B) [ 38.395405] sd 3:0:0:2: [sdd] 0-byte physical blocks [ 38.395553] sd 3:0:0:2: Attached scsi generic sg4 type 0 [ 38.395730] sd 3:0:0:2: [sdd] Write Protect is off [ 38.395735] sd 3:0:0:2: [sdd] Mode Sense: 00 00 00 00 [ 38.395746] sd 3:0:0:1: [sdc] Asking for cache data failed [ 38.395754] sd 3:0:0:1: [sdc] Assuming drive cache: write through [ 38.400079] sd 3:0:0:2: [sdd] Asking for cache data failed [ 38.400088] sd 3:0:0:2: [sdd] Assuming drive cache: write through [ 38.400268] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 38.400418] sd 3:0:0:3: [sde] Sector size 0 reported, assuming 512. [ 38.400425] sd 3:0:0:3: [sde] 1 512-byte logical blocks: (512 B/512 B) [ 38.400427] sd 3:0:0:3: [sde] 0-byte physical blocks [ 38.400480] sd 3:0:0:3: [sde] Write Protect is off [ 38.400483] sd 3:0:0:3: [sde] Mode Sense: 00 00 00 00 [ 38.401653] sd 3:0:0:3: [sde] Asking for cache data failed [ 38.401660] sd 3:0:0:3: [sde] Assuming drive cache: write through [ 38.401768] sd 3:0:0:1: [sdc] Sector size 0 reported, assuming 512. [ 38.402068] sd 3:0:0:2: [sdd] Sector size 0 reported, assuming 512. [ 38.402258] sd 3:0:0:3: [sde] Sector size 0 reported, assuming 512. [...] [ 38.415473] sdi: partition table beyond EOD, enabling native capacity [ 38.416509] sd 3:0:0:7: [sdi] Sector size 0 reported, assuming 512. [ 38.417072] Dev sdi: unable to read RDB block 1 [ 38.417093] sdi: unable to read partition table [ 38.417099] sdi: partition table beyond EOD, truncated [ 38.417516] sd 3:0:0:7: [sdi] Sector size 0 reported, assuming 512. [ 38.417617] sd 3:0:0:7: [sdi] Attached SCSI disk [ 38.841506] sd 3:0:0:0: [storvsc] Sense Key : Illegal Request [current] [ 38.841510] sd 3:0:0:0: [storvsc] Add. Sense: Invalid command operation code [ 38.841895] sd 3:0:0:0: [storvsc] Sense Key : Illegal Request [current] [ 38.841898] sd 3:0:0:0: [storvsc] Add. Sense: Invalid command operation code Sadly 4.4.0-67-generic #88~lp1679898Commitdf0a1b9cce531 mentioned in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1677938/comments/6 doesn't fix the problem. It is also broken in 4.8.0-34-generic #36~16.04.1-Ubuntu but it is FIXED in 4.8.0-58-generic #63~16.04.1-Ubuntu ! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1679898 Title: [Hyper-V] Ubuntu VM crash during Hyper-V backup or live migration after installing kernel 4.4.0-72 Status in linux package in Ubuntu: In Progress Status in linux source package in Xenial: In Progress Bug description: Description: Ubuntu 14.04.5 LTS Release: 14.04 Hi, after installing kernel 4.4.0-67 or later I cannot backup my Ubuntu VM's on Hyper-V. Microsoft Hyper-v 2012r2 Gen2 VMs See Attachment for what happens is immediately after backup starts I get an error. Eventually the kernel reports it has run out of memory and the machine just continuously scrolls errors message related to page allocation. When reseting the virtual machine no logs can be found of the problem. kernel 4.4.0-72-generic problem still here DistroRelease: Ubuntu 14.04 InstallationDate: Installed on 2016-02-20 (409 days ago) InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805) Package: linux-image-4.4.0-72-generic 4.4.0-72.93~14.04.1 PackageArchitecture: amd64 ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=ru_RU.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 4.4.0-72.93~14.04.1-generic 4.4.49 SourcePackage: linux-lts-xenial Tags: trusty Uname: Linux 4.4.0-72-generic x86_64 --- AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Apr 5 12:05 seq crw-rw---- 1 root audio 116, 33 Apr 5 12:05 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.14.1-0ubuntu3.23 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: Error: [Errno 2] No such file or directory DistroRelease: Ubuntu 14.04 HibernationDevice: RESUME=/dev/mapper/ubuntu--vg-swap_1 InstallationDate: Installed on 2016-02-20 (409 days ago) InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805) IwConfig: lo no wireless extensions. eth1 no wireless extensions. eth0 no wireless extensions. Lspci: Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99 MachineType: Microsoft Corporation Virtual Machine Package: linux (not installed) PciMultimedia: ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=C SHELL=/bin/bash ProcFB: 0 hyperv_fb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-72-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro ProcVersionSignature: Ubuntu 4.4.0-72.93~14.04.1-generic 4.4.49 RelatedPackageVersions: linux-restricted-modules-4.4.0-72-generic N/A linux-backports-modules-4.4.0-72-generic N/A linux-firmware 1.127.23 RfKill: Error: [Errno 2] No such file or directory Tags: trusty Uname: Linux 4.4.0-72-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: True dmi.bios.date: 11/26/2012 dmi.bios.vendor: Microsoft Corporation dmi.bios.version: Hyper-V UEFI Release v1.0 dmi.board.asset.tag: None dmi.board.name: Virtual Machine dmi.board.vendor: Microsoft Corporation dmi.board.version: Hyper-V UEFI Release v1.0 dmi.chassis.asset.tag: 5894-4187-8369-8212-0547-2747-15 dmi.chassis.type: 3 dmi.chassis.vendor: Microsoft Corporation dmi.chassis.version: Hyper-V UEFI Release v1.0 dmi.modalias: dmi:bvnMicrosoftCorporation:bvrHyper-VUEFIReleasev1.0:bd11/26/2012:svnMicrosoftCorporation:pnVirtualMachine:pvrHyper-VUEFIReleasev1.0:rvnMicrosoftCorporation:rnVirtualMachine:rvrHyper-VUEFIReleasev1.0:cvnMicrosoftCorporation:ct3:cvrHyper-VUEFIReleasev1.0: dmi.product.name: Virtual Machine dmi.product.version: Hyper-V UEFI Release v1.0 dmi.sys.vendor: Microsoft Corporation --- AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Apr 10 10:33 seq crw-rw---- 1 root audio 116, 33 Apr 10 10:33 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.14.1-0ubuntu3.23 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: Error: [Errno 2] No such file or directory DistroRelease: Ubuntu 14.04 HibernationDevice: RESUME=/dev/mapper/ubuntu--vg-swap_1 InstallationDate: Installed on 2016-02-20 (414 days ago) InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805) IwConfig: lo no wireless extensions. eth1 no wireless extensions. eth0 no wireless extensions. Lspci: Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99 MachineType: Microsoft Corporation Virtual Machine Package: linux (not installed) PciMultimedia: ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=C SHELL=/bin/bash ProcFB: 0 hyperv_fb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-73-generic root=/dev/mapper/ubuntu--vg-root ro ProcVersionSignature: Ubuntu 4.4.0-73.94~lp1679898v2-generic 4.4.59 RelatedPackageVersions: linux-restricted-modules-4.4.0-73-generic N/A linux-backports-modules-4.4.0-73-generic N/A linux-firmware 1.127.23 RfKill: Error: [Errno 2] No such file or directory Tags: trusty trusty Uname: Linux 4.4.0-73-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: True dmi.bios.date: 11/26/2012 dmi.bios.vendor: Microsoft Corporation dmi.bios.version: Hyper-V UEFI Release v1.0 dmi.board.asset.tag: None dmi.board.name: Virtual Machine dmi.board.vendor: Microsoft Corporation dmi.board.version: Hyper-V UEFI Release v1.0 dmi.chassis.asset.tag: 5894-4187-8369-8212-0547-2747-15 dmi.chassis.type: 3 dmi.chassis.vendor: Microsoft Corporation dmi.chassis.version: Hyper-V UEFI Release v1.0 dmi.modalias: dmi:bvnMicrosoftCorporation:bvrHyper-VUEFIReleasev1.0:bd11/26/2012:svnMicrosoftCorporation:pnVirtualMachine:pvrHyper-VUEFIReleasev1.0:rvnMicrosoftCorporation:rnVirtualMachine:rvrHyper-VUEFIReleasev1.0:cvnMicrosoftCorporation:ct3:cvrHyper-VUEFIReleasev1.0: dmi.product.name: Virtual Machine dmi.product.version: Hyper-V UEFI Release v1.0 dmi.sys.vendor: Microsoft Corporation --- AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Apr 26 09:58 seq crw-rw---- 1 root audio 116, 33 Apr 26 09:58 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.14.1-0ubuntu3.23 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: Error: [Errno 2] No such file or directory DistroRelease: Ubuntu 14.04 HibernationDevice: RESUME=/dev/mapper/ubuntu--vg-swap_1 InstallationDate: Installed on 2016-02-20 (430 days ago) InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805) IwConfig: lo no wireless extensions. eth1 no wireless extensions. eth0 no wireless extensions. Lspci: Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99 MachineType: Microsoft Corporation Virtual Machine Package: linux (not installed) PciMultimedia: ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=C SHELL=/bin/bash ProcFB: 0 hyperv_fb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-75-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro ProcVersionSignature: Ubuntu 4.4.0-75.96~14.04.1-generic 4.4.59 RelatedPackageVersions: linux-restricted-modules-4.4.0-75-generic N/A linux-backports-modules-4.4.0-75-generic N/A linux-firmware 1.127.23 RfKill: Error: [Errno 2] No such file or directory Tags: trusty trusty Uname: Linux 4.4.0-75-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: True dmi.bios.date: 11/26/2012 dmi.bios.vendor: Microsoft Corporation dmi.bios.version: Hyper-V UEFI Release v1.0 dmi.board.asset.tag: None dmi.board.name: Virtual Machine dmi.board.vendor: Microsoft Corporation dmi.board.version: Hyper-V UEFI Release v1.0 dmi.chassis.asset.tag: 5894-4187-8369-8212-0547-2747-15 dmi.chassis.type: 3 dmi.chassis.vendor: Microsoft Corporation dmi.chassis.version: Hyper-V UEFI Release v1.0 dmi.modalias: dmi:bvnMicrosoftCorporation:bvrHyper-VUEFIReleasev1.0:bd11/26/2012:svnMicrosoftCorporation:pnVirtualMachine:pvrHyper-VUEFIReleasev1.0:rvnMicrosoftCorporation:rnVirtualMachine:rvrHyper-VUEFIReleasev1.0:cvnMicrosoftCorporation:ct3:cvrHyper-VUEFIReleasev1.0: dmi.product.name: Virtual Machine dmi.product.version: Hyper-V UEFI Release v1.0 dmi.sys.vendor: Microsoft Corporation --- AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 May 17 20:37 seq crw-rw---- 1 root audio 116, 33 May 17 20:37 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.14.1-0ubuntu3.23 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: Error: [Errno 2] No such file or directory CurrentDmesg: [ 28.480339] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) [ 28.528215] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 30.122225] init: plymouth-upstart-bridge main process ended, respawning [ 53.463858] hv_balloon: Received INFO_TYPE_MAX_PAGE_CNT [ 53.463891] hv_balloon: Data Size is 8 DistroRelease: Ubuntu 14.04 HibernationDevice: RESUME=/dev/mapper/ubuntu--vg-swap_1 InstallationDate: Installed on 2016-02-20 (452 days ago) InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805) IwConfig: lo no wireless extensions. eth1 no wireless extensions. eth0 no wireless extensions. Lspci: Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99 MachineType: Microsoft Corporation Virtual Machine Package: linux (not installed) PciMultimedia: ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=C SHELL=/bin/bash ProcFB: 0 hyperv_fb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-78-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro ProcVersionSignature: Ubuntu 4.4.0-78.99~14.04.2-generic 4.4.62 RelatedPackageVersions: linux-restricted-modules-4.4.0-78-generic N/A linux-backports-modules-4.4.0-78-generic N/A linux-firmware 1.127.23 RfKill: Error: [Errno 2] No such file or directory Tags: trusty trusty Uname: Linux 4.4.0-78-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: True dmi.bios.date: 11/26/2012 dmi.bios.vendor: Microsoft Corporation dmi.bios.version: Hyper-V UEFI Release v1.0 dmi.board.asset.tag: None dmi.board.name: Virtual Machine dmi.board.vendor: Microsoft Corporation dmi.board.version: Hyper-V UEFI Release v1.0 dmi.chassis.asset.tag: 5894-4187-8369-8212-0547-2747-15 dmi.chassis.type: 3 dmi.chassis.vendor: Microsoft Corporation dmi.chassis.version: Hyper-V UEFI Release v1.0 dmi.modalias: dmi:bvnMicrosoftCorporation:bvrHyper-VUEFIReleasev1.0:bd11/26/2012:svnMicrosoftCorporation:pnVirtualMachine:pvrHyper-VUEFIReleasev1.0:rvnMicrosoftCorporation:rnVirtualMachine:rvrHyper-VUEFIReleasev1.0:cvnMicrosoftCorporation:ct3:cvrHyper-VUEFIReleasev1.0: dmi.product.name: Virtual Machine dmi.product.version: Hyper-V UEFI Release v1.0 dmi.sys.vendor: Microsoft Corporation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1679898/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp