[Kernel-packages] [Bug 1761646] Re: Can't mount kvm image file on new kernel of 16.04(linux 4.4.0-119)
** Package changed: ubuntu => linux (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/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: New 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 amd64device mounting library ii linux-image-4.4.0-116-generic 4.4.0-116.140 amd64Linux 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 amd64Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii mount 2.27.1-6ubuntu3.4 amd64tools for mounting and manipulating filesystems ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.24 amd64extra block backend modules for qemu-system and qemu-utils ii qemu-kvm1:2.5+dfsg-5ubuntu10.24 amd64QEMU Full virtualization ii qemu-system-common 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (common files) ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (x86) ii qemu-utils 1:2.5+dfsg-5ubuntu10.24 amd64QEMU 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 homelib 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/+b
[Kernel-packages] [Bug 1761646] Re: Can't mount kvm image file on new kernel of 16.04(linux 4.4.0-119)
Would it be possible for you to test the proposed kernel and post back if it resolves this bug? See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Also affects: linux (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Xenial) Status: New => Incomplete ** Tags added: kernel-da-key -- 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 Status in linux source package in Xenial: 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 amd64device mounting library ii linux-image-4.4.0-116-generic 4.4.0-116.140 amd64Linux 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 amd64Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii mount 2.27.1-6ubuntu3.4 amd64tools for mounting and manipulating filesystems ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.24 amd64extra block backend modules for qemu-system and qemu-utils ii qemu-kvm1:2.5+dfsg-5ubuntu10.24 amd64QEMU Full virtualization ii qemu-system-common 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (common files) ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (x86) ii qemu-utils 1:2.5+dfsg-5ubuntu10.24 amd64QEMU 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 homelib 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 identi
[Kernel-packages] [Bug 1761646] Re: Can't mount kvm image file on new kernel of 16.04(linux 4.4.0-119)
Thank you for your advice. I tried linux-image-4.4.0-1021-kvm/xenial-proposed and linux-image-4.4.0-120-generic/xenial-proposed. But they didn't boot on my host well. I may try them on an another machine, if I have any time. Thanks. -- 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 Status in linux source package in Xenial: 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 amd64device mounting library ii linux-image-4.4.0-116-generic 4.4.0-116.140 amd64Linux 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 amd64Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii mount 2.27.1-6ubuntu3.4 amd64tools for mounting and manipulating filesystems ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.24 amd64extra block backend modules for qemu-system and qemu-utils ii qemu-kvm1:2.5+dfsg-5ubuntu10.24 amd64QEMU Full virtualization ii qemu-system-common 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (common files) ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (x86) ii qemu-utils 1:2.5+dfsg-5ubuntu10.24 amd64QEMU 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 homelib 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/
[Kernel-packages] [Bug 1761646] Re: Can't mount kvm image file on new kernel of 16.04(linux 4.4.0-119)
I tried the above packages on the another machine and they didn't work. But I found that the following works: # dpkg -l linux-generic-hwe-16.04 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==---= ii linux-generic- 4.13.0.37.56 amd64Complete Generic Linux kernel and # 4.4.0-xxx kernel packages do not seem to work. Thanks. -- 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 Status in linux source package in Xenial: 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 amd64device mounting library ii linux-image-4.4.0-116-generic 4.4.0-116.140 amd64Linux 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 amd64Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii mount 2.27.1-6ubuntu3.4 amd64tools for mounting and manipulating filesystems ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.24 amd64extra block backend modules for qemu-system and qemu-utils ii qemu-kvm1:2.5+dfsg-5ubuntu10.24 amd64QEMU Full virtualization ii qemu-system-common 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (common files) ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (x86) ii qemu-utils 1:2.5+dfsg-5ubuntu10.24 amd64QEMU 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 homelib 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 by
[Kernel-packages] [Bug 1761646] Re: Can't mount kvm image file on new kernel of 16.04(linux 4.4.0-119)
I am also seeing this behaviour on Ubuntu 16.04, linux- image-4.4.0-127-generic. Swapping to kernel 4.13.0-43-generic solved it here too. Steps: $ qemu-img create -b example.qcow -f qcow2 /run/shm/temp1.qcow2 $ qemu-nbd -c /dev/nbd1 /run/shm/temp1.qcow2 $ mkdir /tmp/mnt1 $ sudo /bin/mount /dev/nbd1p2 /tmp/mnt1 mount: special device /dev/nbd1p2 does not exist I can do whatever other diag is needed, please let me know how I can help. -- 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 Status in linux source package in Xenial: 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 amd64device mounting library ii linux-image-4.4.0-116-generic 4.4.0-116.140 amd64Linux 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 amd64Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii mount 2.27.1-6ubuntu3.4 amd64tools for mounting and manipulating filesystems ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.24 amd64extra block backend modules for qemu-system and qemu-utils ii qemu-kvm1:2.5+dfsg-5ubuntu10.24 amd64QEMU Full virtualization ii qemu-system-common 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (common files) ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (x86) ii qemu-utils 1:2.5+dfsg-5ubuntu10.24 amd64QEMU 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 homelib 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
[Kernel-packages] [Bug 1761646] Re: Can't mount kvm image file on new kernel of 16.04(linux 4.4.0-119)
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- 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: Expired Status in linux source package in Xenial: Expired 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 amd64device mounting library ii linux-image-4.4.0-116-generic 4.4.0-116.140 amd64Linux 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 amd64Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii mount 2.27.1-6ubuntu3.4 amd64tools for mounting and manipulating filesystems ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.24 amd64extra block backend modules for qemu-system and qemu-utils ii qemu-kvm1:2.5+dfsg-5ubuntu10.24 amd64QEMU Full virtualization ii qemu-system-common 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (common files) ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (x86) ii qemu-utils 1:2.5+dfsg-5ubuntu10.24 amd64QEMU 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 homelib 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/n
[Kernel-packages] [Bug 1761646] Re: Can't mount kvm image file on new kernel of 16.04(linux 4.4.0-119)
[Expired for linux (Ubuntu Xenial) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu Xenial) Status: Incomplete => Expired -- 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: Expired Status in linux source package in Xenial: Expired 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 amd64device mounting library ii linux-image-4.4.0-116-generic 4.4.0-116.140 amd64Linux 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 amd64Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii mount 2.27.1-6ubuntu3.4 amd64tools for mounting and manipulating filesystems ii qemu-block-extra:amd64 1:2.5+dfsg-5ubuntu10.24 amd64extra block backend modules for qemu-system and qemu-utils ii qemu-kvm1:2.5+dfsg-5ubuntu10.24 amd64QEMU Full virtualization ii qemu-system-common 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (common files) ii qemu-system-x86 1:2.5+dfsg-5ubuntu10.24 amd64QEMU full system emulation binaries (x86) ii qemu-utils 1:2.5+dfsg-5ubuntu10.24 amd64QEMU 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 homelib 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