This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1761646 and then change the status of the bug to 'Confirmed'. If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'. This change has been made by an automated script, maintained by the Ubuntu Kernel Team. ** Changed in: linux (Ubuntu) Status: New => Incomplete ** Tags added: xenial -- 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/1761646 Title: Can't mount kvm image file on new kernel of 16.04(linux 4.4.0-119) Status in linux package in Ubuntu: Incomplete Bug description: When I use 4.4.0-62-generic kernel, I can mount kvm image file. But when I use 4.4.0-116-generic or 119 kernel, I can't mount the kvm image file. Is there some way to mount the kvm image file on 4.4.0-116-generic later kernel? - release root@ofaci1:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial root@ofaci1:~# - packages root@ofaci1:~# dpkg -l | egrep "qemu|mount|linux-image-4.4.0-11" ii cgroupfs-mount 1.2 all Light-weight package to set up cgroupfs mounts ii ipxe-qemu 1.0.0+git-20150424.a25a16d-1ubuntu1.2 all PXE boot firmware - ROM images for qemu ii libmount1:amd64 2.27.1-6ubuntu3.4 amd64 device mounting library ii linux-image-4.4.0-116-generic 4.4.0-116.140 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii linux-image-4.4.0-119-generic 4.4.0-119.143 amd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii mount 2.27.1-6ubuntu3.4 amd64 tools for mounting and manipulating filesystems ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.24 amd64 extra block backend modules for qemu-system and qemu-utils ii qemu-kvm 1:2.5+dfsg-5ubuntu10.24 amd64 QEMU Full virtualization ii qemu-system-common 1:2.5+dfsg-5ubuntu10.24 amd64 QEMU full system emulation binaries (common files) ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.24 amd64 QEMU full system emulation binaries (x86) ii qemu-utils 1:2.5+dfsg-5ubuntu10.24 amd64 QEMU utilities root@ofaci1:~# - Use 4.4.0-62-generic root@ofaci1:~# uname -a Linux ofaci1 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux root@ofaci1:~# qemu-nbd --connect /dev/nbd1 /opt/ci-pool/slave1.qcow2 root@ofaci1:~# fdisk /dev/nbd1 Welcome to fdisk (util-linux 2.27.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/nbd1: 40 GiB, 42949672960 bytes, 83886080 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x000dfd65 Device Boot Start End Sectors Size Id Type /dev/nbd1p1 2048 3905535 3903488 1.9G 82 Linux swap / Solaris /dev/nbd1p2 * 3905536 83884031 79978496 38.1G 83 Linux Command (m for help): q root@ofaci1:~# mount /dev/nbd1p2 /mnt/d1 root@ofaci1:~# ls /mnt/d1 bin etc initrd.img.old lost+found opt run sys var boot home lib media proc sbin tmp vmlinuz dev initrd.img lib64 mnt root srv usr vmlinuz.old root@ofaci1:~# umount /mnt/d1 - Use 4.4.0-119-generic root@ofaci1:~# uname -a Linux ofaci1 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux root@ofaci1:~# qemu-nbd --connect /dev/nbd1 /opt/ci-pool/slave1.qcow2 root@ofaci1:~# echo $? 0 root@ofaci1:~# fdisk /dev/nbd1 Welcome to fdisk (util-linux 2.27.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/nbd1: 40 GiB, 42949672960 bytes, 83886080 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x000dfd65 Device Boot Start End Sectors Size Id Type /dev/nbd1p1 2048 3905535 3903488 1.9G 82 Linux swap / Solaris /dev/nbd1p2 * 3905536 83884031 79978496 38.1G 83 Linux Command (m for help): q root@ofaci1:~# mount /dev/nbd1p2 /mnt/d1 mount: special device /dev/nbd1p2 does not exist root@ofaci1:~# ls /dev/nbd1* /dev/nbd1 /dev/nbd11 /dev/nbd13 /dev/nbd15 /dev/nbd10 /dev/nbd12 /dev/nbd14 root@ofaci1:~# To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1761646/+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