Activity log for bug #1772575

Date Who What changed Old value New value Message
2018-05-22 05:34:26 Nathan O'Sullivan bug added bug
2018-05-22 06:00:06 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2018-05-22 06:22:22 Nathan O'Sullivan tags apport-collected xenial
2018-05-22 06:22:23 Nathan O'Sullivan description Release 16.04, kernel 4.4.0-124-generic There's an issue in kernel's NBD module which prevents some larger images to be correctly "connected" , largely described here: https://github.com/NetworkBlockDevice/nbd/issues/44 There is a small patch here that was accepted into mainline 4.10: https://www.spinics.net/lists/linux-block/msg07060.html This is a regression from the previous LTS 3.13 kernel. ---- Here is a small example of the faulty behaviour: # qemu-img create -f qcow2 test.img 1100G Formatting 'test.img', fmt=qcow2 size=1181116006400 cluster_size=65536 lazy_refcounts=off refcount_bits=16 # qemu-nbd -c /dev/nbd0 test.img # blockdev --getsize64 /dev/nbd0 18446743055802302464 The correct response would be 1181116006400; this breaks most tools and makes the image unusable, e.g. # fdisk -l /dev/nbd0 fdisk: cannot open /dev/nbd0: Invalid argument Release 16.04, kernel 4.4.0-124-generic There's an issue in kernel's NBD module which prevents some larger images to be correctly "connected" , largely described here: https://github.com/NetworkBlockDevice/nbd/issues/44 There is a small patch here that was accepted into mainline 4.10: https://www.spinics.net/lists/linux-block/msg07060.html This is a regression from the previous LTS 3.13 kernel. ---- Here is a small example of the faulty behaviour: # qemu-img create -f qcow2 test.img 1100G Formatting 'test.img', fmt=qcow2 size=1181116006400 cluster_size=65536 lazy_refcounts=off refcount_bits=16 # qemu-nbd -c /dev/nbd0 test.img # blockdev --getsize64 /dev/nbd0 18446743055802302464 The correct response would be 1181116006400; this breaks most tools and makes the image unusable, e.g. # fdisk -l /dev/nbd0 fdisk: cannot open /dev/nbd0: Invalid argument --- AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 May 21 12:51 seq crw-rw---- 1 root audio 116, 33 May 21 12:51 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.17 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: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/VolGroup00-swap_1 IwConfig: Error: [Errno 2] No such file or directory MachineType: Supermicro SYS-1028R-WTR Package: linux (not installed) PciMultimedia: ProcEnviron: LANGUAGE=en_AU: TERM=xterm PATH=(custom, no user) LANG=en_AU SHELL=/bin/bash ProcFB: 0 VESA VGA ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-124-generic root=/dev/mapper/VolGroup00-root ro nomodeset elevator=noop consoleblank=0 net.ifnames=0 biosdevname=0 modprobe.blacklist=igb nosplash quiet ProcVersionSignature: Ubuntu 4.4.0-124.148-generic 4.4.117 RelatedPackageVersions: linux-restricted-modules-4.4.0-124-generic N/A linux-backports-modules-4.4.0-124-generic N/A linux-firmware 1.157.18 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.4.0-124-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 02/08/2018 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 3.0a dmi.board.asset.tag: Default string dmi.board.name: X10DRW-i dmi.board.vendor: Supermicro dmi.board.version: 1.10 dmi.chassis.asset.tag: Default string dmi.chassis.type: 1 dmi.chassis.vendor: Supermicro dmi.chassis.version: 0123456789 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3.0a:bd02/08/2018:svnSupermicro:pnSYS-1028R-WTR:pvr0123456789:rvnSupermicro:rnX10DRW-i:rvr1.10:cvnSupermicro:ct1:cvr0123456789: dmi.product.name: SYS-1028R-WTR dmi.product.version: 0123456789 dmi.sys.vendor: Supermicro
2018-05-22 06:22:24 Nathan O'Sullivan attachment added CRDA.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142710/+files/CRDA.txt
2018-05-22 06:22:26 Nathan O'Sullivan attachment added CurrentDmesg.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142711/+files/CurrentDmesg.txt
2018-05-22 06:22:28 Nathan O'Sullivan attachment added HookError_generic.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142712/+files/HookError_generic.txt
2018-05-22 06:22:31 Nathan O'Sullivan attachment added Lspci.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142713/+files/Lspci.txt
2018-05-22 06:22:33 Nathan O'Sullivan attachment added Lsusb.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142714/+files/Lsusb.txt
2018-05-22 06:22:35 Nathan O'Sullivan attachment added ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142715/+files/ProcCpuinfoMinimal.txt
2018-05-22 06:22:37 Nathan O'Sullivan attachment added ProcInterrupts.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142716/+files/ProcInterrupts.txt
2018-05-22 06:22:38 Nathan O'Sullivan attachment added ProcModules.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142717/+files/ProcModules.txt
2018-05-22 06:22:43 Nathan O'Sullivan attachment added UdevDb.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142718/+files/UdevDb.txt
2018-05-22 06:22:47 Nathan O'Sullivan attachment added WifiSyslog.txt https://bugs.launchpad.net/bugs/1772575/+attachment/5142719/+files/WifiSyslog.txt
2018-05-22 06:23:27 Nathan O'Sullivan linux (Ubuntu): status Incomplete Confirmed
2018-05-22 15:53:29 Joseph Salisbury linux (Ubuntu): importance Undecided Medium
2018-05-22 15:53:33 Joseph Salisbury linux (Ubuntu): status Confirmed Triaged
2018-05-22 15:56:01 Joseph Salisbury nominated for series Ubuntu Xenial
2018-05-22 15:56:01 Joseph Salisbury bug task added linux (Ubuntu Xenial)
2018-05-22 15:56:07 Joseph Salisbury linux (Ubuntu Xenial): status New In Progress
2018-05-22 15:56:12 Joseph Salisbury linux (Ubuntu): status Triaged Invalid
2018-05-22 15:56:14 Joseph Salisbury linux (Ubuntu Xenial): importance Undecided Medium
2018-05-22 15:56:17 Joseph Salisbury linux (Ubuntu Xenial): assignee Joseph Salisbury (jsalisbury)
2018-05-23 17:50:04 Joseph Salisbury description Release 16.04, kernel 4.4.0-124-generic There's an issue in kernel's NBD module which prevents some larger images to be correctly "connected" , largely described here: https://github.com/NetworkBlockDevice/nbd/issues/44 There is a small patch here that was accepted into mainline 4.10: https://www.spinics.net/lists/linux-block/msg07060.html This is a regression from the previous LTS 3.13 kernel. ---- Here is a small example of the faulty behaviour: # qemu-img create -f qcow2 test.img 1100G Formatting 'test.img', fmt=qcow2 size=1181116006400 cluster_size=65536 lazy_refcounts=off refcount_bits=16 # qemu-nbd -c /dev/nbd0 test.img # blockdev --getsize64 /dev/nbd0 18446743055802302464 The correct response would be 1181116006400; this breaks most tools and makes the image unusable, e.g. # fdisk -l /dev/nbd0 fdisk: cannot open /dev/nbd0: Invalid argument --- AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 May 21 12:51 seq crw-rw---- 1 root audio 116, 33 May 21 12:51 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.17 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: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/VolGroup00-swap_1 IwConfig: Error: [Errno 2] No such file or directory MachineType: Supermicro SYS-1028R-WTR Package: linux (not installed) PciMultimedia: ProcEnviron: LANGUAGE=en_AU: TERM=xterm PATH=(custom, no user) LANG=en_AU SHELL=/bin/bash ProcFB: 0 VESA VGA ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-124-generic root=/dev/mapper/VolGroup00-root ro nomodeset elevator=noop consoleblank=0 net.ifnames=0 biosdevname=0 modprobe.blacklist=igb nosplash quiet ProcVersionSignature: Ubuntu 4.4.0-124.148-generic 4.4.117 RelatedPackageVersions: linux-restricted-modules-4.4.0-124-generic N/A linux-backports-modules-4.4.0-124-generic N/A linux-firmware 1.157.18 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.4.0-124-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 02/08/2018 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 3.0a dmi.board.asset.tag: Default string dmi.board.name: X10DRW-i dmi.board.vendor: Supermicro dmi.board.version: 1.10 dmi.chassis.asset.tag: Default string dmi.chassis.type: 1 dmi.chassis.vendor: Supermicro dmi.chassis.version: 0123456789 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3.0a:bd02/08/2018:svnSupermicro:pnSYS-1028R-WTR:pvr0123456789:rvnSupermicro:rnX10DRW-i:rvr1.10:cvnSupermicro:ct1:cvr0123456789: dmi.product.name: SYS-1028R-WTR dmi.product.version: 0123456789 dmi.sys.vendor: Supermicro == SRU Justification == With the Xenial kernel, the bug reporter states there is an NBD size overflow with image size exceeding 1TB. There's an issue in kernel's NBD module which prevents some larger images to be correctly "connected" , largely described here: https://github.com/NetworkBlockDevice/nbd/issues/44 This is a regression from Trusty and was fixed in mainline as of v4.10-rc1. == Fix == ef77b515243b ("nbd: use loff_t for blocksize and nbd_set_size args") == Regression Potential == Medium. A backport was needed. However, it was due to some context diffs and the way debugfs_create_u32 was used in Xenial and how debugfs_create_u64 was used in the patch. == Test Case == A test kernel was built with this patch and tested by the original bug reporter. The bug reporter states the test kernel resolved the bug. == Original Bug Report == Release 16.04, kernel 4.4.0-124-generic There's an issue in kernel's NBD module which prevents some larger images to be correctly "connected" , largely described here: https://github.com/NetworkBlockDevice/nbd/issues/44 There is a small patch here that was accepted into mainline 4.10: https://www.spinics.net/lists/linux-block/msg07060.html This is a regression from the previous LTS 3.13 kernel. ---- Here is a small example of the faulty behaviour: # qemu-img create -f qcow2 test.img 1100G Formatting 'test.img', fmt=qcow2 size=1181116006400 cluster_size=65536 lazy_refcounts=off refcount_bits=16 # qemu-nbd -c /dev/nbd0 test.img # blockdev --getsize64 /dev/nbd0 18446743055802302464 The correct response would be 1181116006400; this breaks most tools and makes the image unusable, e.g. # fdisk -l /dev/nbd0 fdisk: cannot open /dev/nbd0: Invalid argument --- AlsaDevices:  total 0  crw-rw---- 1 root audio 116, 1 May 21 12:51 seq  crw-rw---- 1 root audio 116, 33 May 21 12:51 timer AplayDevices: Error: [Errno 2] No such file or directory ApportVersion: 2.20.1-0ubuntu2.17 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: DistroRelease: Ubuntu 16.04 HibernationDevice: RESUME=/dev/mapper/VolGroup00-swap_1 IwConfig: Error: [Errno 2] No such file or directory MachineType: Supermicro SYS-1028R-WTR Package: linux (not installed) PciMultimedia: ProcEnviron:  LANGUAGE=en_AU:  TERM=xterm  PATH=(custom, no user)  LANG=en_AU  SHELL=/bin/bash ProcFB: 0 VESA VGA ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-124-generic root=/dev/mapper/VolGroup00-root ro nomodeset elevator=noop consoleblank=0 net.ifnames=0 biosdevname=0 modprobe.blacklist=igb nosplash quiet ProcVersionSignature: Ubuntu 4.4.0-124.148-generic 4.4.117 RelatedPackageVersions:  linux-restricted-modules-4.4.0-124-generic N/A  linux-backports-modules-4.4.0-124-generic N/A  linux-firmware 1.157.18 RfKill: Error: [Errno 2] No such file or directory Tags: xenial xenial Uname: Linux 4.4.0-124-generic x86_64 UnreportableReason: The report belongs to a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: _MarkForUpload: False dmi.bios.date: 02/08/2018 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 3.0a dmi.board.asset.tag: Default string dmi.board.name: X10DRW-i dmi.board.vendor: Supermicro dmi.board.version: 1.10 dmi.chassis.asset.tag: Default string dmi.chassis.type: 1 dmi.chassis.vendor: Supermicro dmi.chassis.version: 0123456789 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3.0a:bd02/08/2018:svnSupermicro:pnSYS-1028R-WTR:pvr0123456789:rvnSupermicro:rnX10DRW-i:rvr1.10:cvnSupermicro:ct1:cvr0123456789: dmi.product.name: SYS-1028R-WTR dmi.product.version: 0123456789 dmi.sys.vendor: Supermicro
2018-06-07 05:11:30 Juerg Haefliger linux (Ubuntu Xenial): status In Progress Fix Committed
2018-06-13 11:03:52 Brad Figg tags apport-collected xenial apport-collected verification-needed-xenial xenial
2018-06-14 05:34:19 Nathan O'Sullivan tags apport-collected verification-needed-xenial xenial apport-collected verification-done-xenial xenial
2018-07-02 08:29:08 Launchpad Janitor linux (Ubuntu Xenial): status Fix Committed Fix Released
2018-07-02 08:29:08 Launchpad Janitor cve linked 2018-3639
2018-07-02 08:29:08 Launchpad Janitor cve linked 2018-3665
2018-07-02 08:29:08 Launchpad Janitor cve linked 2018-7755
2018-07-04 01:15:50 Andre Goree bug added subscriber Andre Goree