Activity log for bug #1636517

Date Who What changed Old value New value Message
2016-10-25 13:57:15 Fabian Grünbichler bug added bug
2016-10-25 13:57:15 Fabian Grünbichler attachment added brokenvol.raw https://bugs.launchpad.net/bugs/1636517/+attachment/4767000/+files/brokenvol.raw
2016-10-25 14:01:54 Brad Figg linux (Ubuntu): status New Confirmed
2016-10-25 14:04:46 Fabian Grünbichler attachment added zfs-fix-zpool-import-bug-with-nested-pools.patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1636517/+attachment/4767015/+files/zfs-fix-zpool-import-bug-with-nested-pools.patch
2016-10-25 14:11:50 Fabian Grünbichler bug task added zfs-linux (Ubuntu)
2016-10-25 16:31:44 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug xenial amd64 apport-bug patch xenial
2016-10-25 16:31:45 Ubuntu Foundations Team Bug Bot bug added subscriber Joseph Salisbury
2016-10-25 16:31:54 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2016-10-25 19:02:14 Joseph Salisbury linux (Ubuntu): importance Undecided Medium
2016-10-25 19:02:17 Joseph Salisbury linux (Ubuntu): status Confirmed Triaged
2016-10-26 10:57:00 Colin Ian King zfs-linux (Ubuntu): importance Undecided Medium
2016-10-26 10:57:02 Colin Ian King linux (Ubuntu): assignee Colin Ian King (colin-king)
2016-10-26 10:57:03 Colin Ian King zfs-linux (Ubuntu): assignee Colin Ian King (colin-king)
2016-10-26 11:19:54 Colin Ian King description if a zvol of an existing, already imported zpool is a vdev of another zpool, a call to "zpool import" will everything zfs related. the stack trace is as follows: [<ffffffffc038d374>] taskq_wait+0x74/0xe0 [spl] [<ffffffffc038d42b>] taskq_destroy+0x4b/0x100 [spl] [<ffffffffc04a4afd>] vdev_open_children+0x12d/0x180 [zfs] [<ffffffffc04ae6cc>] vdev_root_open+0x3c/0xc0 [zfs] [<ffffffffc04a45f5>] vdev_open+0xf5/0x4d0 [zfs] [<ffffffffc048f11e>] spa_load+0x39e/0x1c60 [zfs] [<ffffffffc049170d>] spa_tryimport+0xad/0x450 [zfs] [<ffffffffc04c42d4>] zfs_ioc_pool_tryimport+0x64/0xa0 [zfs] [<ffffffffc04c770b>] zfsdev_ioctl+0x44b/0x4e0 [zfs] [<ffffffff8122124f>] do_vfs_ioctl+0x29f/0x490 [<ffffffff812214b9>] SyS_ioctl+0x79/0x90 [<ffffffff818318b2>] entry_SYSCALL_64_fastpath+0x16/0x71 [<ffffffffffffffff>] 0xffffffffffffffff I traced this back to 193fb6a2c94fab8eb8ce70a5da4d21c7d4023bee (merged in 4.4.0-6.21), which added a second parameter to lookup_bdev without patching the zfs module (which needs to special case the vdev-on-zvol case, and uses this exact method only in this special casing code path). attached you can find the output of "zfs send -R" ing such a zvol ("brokenvol.raw"), running "zfs receive POOL/TARGET < FILE" followed by "zpool import" should reproduce the hang. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-45-generic 4.4.0-45.66 ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21 Uname: Linux 4.4.0-45-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Oct 25 15:46 seq crw-rw---- 1 root audio 116, 33 Oct 25 15:46 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Date: Tue Oct 25 15:49:51 2016 HibernationDevice: RESUME=/dev/mapper/xenial--vg-swap_1 InstallationDate: Installed on 2016-10-25 (0 days ago) InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: QEMU Standard PC (i440FX + PIIX, 1996) PciMultimedia: ProcFB: 0 qxldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-45-generic root=/dev/mapper/hostname--vg-root ro RelatedPackageVersions: linux-restricted-modules-4.4.0-45-generic N/A linux-backports-modules-4.4.0-45-generic N/A linux-firmware 1.157.4 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-2.7 dmi.modalias: dmi:bvnSeaBIOS:bvrrel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.7:cvnQEMU:ct1:cvrpc-i440fx-2.7: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-2.7 dmi.sys.vendor: QEMU [SRU Request][Xenial][Yakkety] if a zvol of an existing, already imported zpool is a vdev of another zpool, a call to "zpool import" will everything zfs related. the stack trace is as follows: [<ffffffffc038d374>] taskq_wait+0x74/0xe0 [spl] [<ffffffffc038d42b>] taskq_destroy+0x4b/0x100 [spl] [<ffffffffc04a4afd>] vdev_open_children+0x12d/0x180 [zfs] [<ffffffffc04ae6cc>] vdev_root_open+0x3c/0xc0 [zfs] [<ffffffffc04a45f5>] vdev_open+0xf5/0x4d0 [zfs] [<ffffffffc048f11e>] spa_load+0x39e/0x1c60 [zfs] [<ffffffffc049170d>] spa_tryimport+0xad/0x450 [zfs] [<ffffffffc04c42d4>] zfs_ioc_pool_tryimport+0x64/0xa0 [zfs] [<ffffffffc04c770b>] zfsdev_ioctl+0x44b/0x4e0 [zfs] [<ffffffff8122124f>] do_vfs_ioctl+0x29f/0x490 [<ffffffff812214b9>] SyS_ioctl+0x79/0x90 [<ffffffff818318b2>] entry_SYSCALL_64_fastpath+0x16/0x71 [<ffffffffffffffff>] 0xffffffffffffffff [Fix] Zesty: https://launchpadlibrarian.net/290907232/zfs-linux_0.6.5.8-0ubuntu4_0.6.5.8-0ubuntu5.diff.gz Yakkety, likewise Xenial, likewise [Regression Potential] Minimal. This just touched one line in the zfs module module/zfs/zvol.cand a shim wrapper in include/linux/blkdev_compat.h Tested and passes with the ubuntu kernel team autotest client zfs regression tests. ================================================================= I traced this back to 193fb6a2c94fab8eb8ce70a5da4d21c7d4023bee (erged in 4.4.0-6.21), which added a second parameter to lookup_bdev without patching the zfs module (which needs to special case the vdev-on-zvol case, and uses this exact method only in this special casing code path). attached you can find the output of "zfs send -R" ing such a zvol ("brokenvol.raw"), running "zfs receive POOL/TARGET < FILE" followed by "zpool import" should reproduce the hang. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-45-generic 4.4.0-45.66 ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21 Uname: Linux 4.4.0-45-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl AlsaDevices:  total 0  crw-rw---- 1 root audio 116, 1 Oct 25 15:46 seq  crw-rw---- 1 root audio 116, 33 Oct 25 15:46 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Date: Tue Oct 25 15:49:51 2016 HibernationDevice: RESUME=/dev/mapper/xenial--vg-swap_1 InstallationDate: Installed on 2016-10-25 (0 days ago) InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: QEMU Standard PC (i440FX + PIIX, 1996) PciMultimedia: ProcFB: 0 qxldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-45-generic root=/dev/mapper/hostname--vg-root ro RelatedPackageVersions:  linux-restricted-modules-4.4.0-45-generic N/A  linux-backports-modules-4.4.0-45-generic N/A  linux-firmware 1.157.4 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-2.7 dmi.modalias: dmi:bvnSeaBIOS:bvrrel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.7:cvnQEMU:ct1:cvrpc-i440fx-2.7: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-2.7 dmi.sys.vendor: QEMU
2016-10-26 11:20:07 Colin Ian King nominated for series Ubuntu Zesty
2016-10-26 11:20:07 Colin Ian King nominated for series Ubuntu Yakkety
2016-10-26 11:20:07 Colin Ian King nominated for series Ubuntu Xenial
2016-10-26 11:27:28 Colin Ian King description [SRU Request][Xenial][Yakkety] if a zvol of an existing, already imported zpool is a vdev of another zpool, a call to "zpool import" will everything zfs related. the stack trace is as follows: [<ffffffffc038d374>] taskq_wait+0x74/0xe0 [spl] [<ffffffffc038d42b>] taskq_destroy+0x4b/0x100 [spl] [<ffffffffc04a4afd>] vdev_open_children+0x12d/0x180 [zfs] [<ffffffffc04ae6cc>] vdev_root_open+0x3c/0xc0 [zfs] [<ffffffffc04a45f5>] vdev_open+0xf5/0x4d0 [zfs] [<ffffffffc048f11e>] spa_load+0x39e/0x1c60 [zfs] [<ffffffffc049170d>] spa_tryimport+0xad/0x450 [zfs] [<ffffffffc04c42d4>] zfs_ioc_pool_tryimport+0x64/0xa0 [zfs] [<ffffffffc04c770b>] zfsdev_ioctl+0x44b/0x4e0 [zfs] [<ffffffff8122124f>] do_vfs_ioctl+0x29f/0x490 [<ffffffff812214b9>] SyS_ioctl+0x79/0x90 [<ffffffff818318b2>] entry_SYSCALL_64_fastpath+0x16/0x71 [<ffffffffffffffff>] 0xffffffffffffffff [Fix] Zesty: https://launchpadlibrarian.net/290907232/zfs-linux_0.6.5.8-0ubuntu4_0.6.5.8-0ubuntu5.diff.gz Yakkety, likewise Xenial, likewise [Regression Potential] Minimal. This just touched one line in the zfs module module/zfs/zvol.cand a shim wrapper in include/linux/blkdev_compat.h Tested and passes with the ubuntu kernel team autotest client zfs regression tests. ================================================================= I traced this back to 193fb6a2c94fab8eb8ce70a5da4d21c7d4023bee (erged in 4.4.0-6.21), which added a second parameter to lookup_bdev without patching the zfs module (which needs to special case the vdev-on-zvol case, and uses this exact method only in this special casing code path). attached you can find the output of "zfs send -R" ing such a zvol ("brokenvol.raw"), running "zfs receive POOL/TARGET < FILE" followed by "zpool import" should reproduce the hang. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-45-generic 4.4.0-45.66 ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21 Uname: Linux 4.4.0-45-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl AlsaDevices:  total 0  crw-rw---- 1 root audio 116, 1 Oct 25 15:46 seq  crw-rw---- 1 root audio 116, 33 Oct 25 15:46 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Date: Tue Oct 25 15:49:51 2016 HibernationDevice: RESUME=/dev/mapper/xenial--vg-swap_1 InstallationDate: Installed on 2016-10-25 (0 days ago) InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: QEMU Standard PC (i440FX + PIIX, 1996) PciMultimedia: ProcFB: 0 qxldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-45-generic root=/dev/mapper/hostname--vg-root ro RelatedPackageVersions:  linux-restricted-modules-4.4.0-45-generic N/A  linux-backports-modules-4.4.0-45-generic N/A  linux-firmware 1.157.4 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-2.7 dmi.modalias: dmi:bvnSeaBIOS:bvrrel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.7:cvnQEMU:ct1:cvrpc-i440fx-2.7: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-2.7 dmi.sys.vendor: QEMU [SRU Request][Xenial][Yakkety] if a zvol of an existing, already imported zpool is a vdev of another zpool, a call to "zpool import" will everything zfs related. the stack trace is as follows: [<ffffffffc038d374>] taskq_wait+0x74/0xe0 [spl] [<ffffffffc038d42b>] taskq_destroy+0x4b/0x100 [spl] [<ffffffffc04a4afd>] vdev_open_children+0x12d/0x180 [zfs] [<ffffffffc04ae6cc>] vdev_root_open+0x3c/0xc0 [zfs] [<ffffffffc04a45f5>] vdev_open+0xf5/0x4d0 [zfs] [<ffffffffc048f11e>] spa_load+0x39e/0x1c60 [zfs] [<ffffffffc049170d>] spa_tryimport+0xad/0x450 [zfs] [<ffffffffc04c42d4>] zfs_ioc_pool_tryimport+0x64/0xa0 [zfs] [<ffffffffc04c770b>] zfsdev_ioctl+0x44b/0x4e0 [zfs] [<ffffffff8122124f>] do_vfs_ioctl+0x29f/0x490 [<ffffffff812214b9>] SyS_ioctl+0x79/0x90 [<ffffffff818318b2>] entry_SYSCALL_64_fastpath+0x16/0x71 [<ffffffffffffffff>] 0xffffffffffffffff [Fix] zfsutils-linux: Zesty: https://launchpadlibrarian.net/290907232/zfs-linux_0.6.5.8-0ubuntu4_0.6.5.8-0ubuntu5.diff.gz Yakkety, likewise Xenial, likewise Sync'd fixes into kernel repos, patches in: http://kernel.ubuntu.com/~cking/zfs-lp-1636517 [Regression Potential] Minimal. This just touched one line in the zfs module module/zfs/zvol.cand a shim wrapper in include/linux/blkdev_compat.h Tested and passes with the ubuntu kernel team autotest client zfs regression tests. ================================================================= I traced this back to 193fb6a2c94fab8eb8ce70a5da4d21c7d4023bee (erged in 4.4.0-6.21), which added a second parameter to lookup_bdev without patching the zfs module (which needs to special case the vdev-on-zvol case, and uses this exact method only in this special casing code path). attached you can find the output of "zfs send -R" ing such a zvol ("brokenvol.raw"), running "zfs receive POOL/TARGET < FILE" followed by "zpool import" should reproduce the hang. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-45-generic 4.4.0-45.66 ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21 Uname: Linux 4.4.0-45-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl AlsaDevices:  total 0  crw-rw---- 1 root audio 116, 1 Oct 25 15:46 seq  crw-rw---- 1 root audio 116, 33 Oct 25 15:46 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Date: Tue Oct 25 15:49:51 2016 HibernationDevice: RESUME=/dev/mapper/xenial--vg-swap_1 InstallationDate: Installed on 2016-10-25 (0 days ago) InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub MachineType: QEMU Standard PC (i440FX + PIIX, 1996) PciMultimedia: ProcFB: 0 qxldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-45-generic root=/dev/mapper/hostname--vg-root ro RelatedPackageVersions:  linux-restricted-modules-4.4.0-45-generic N/A  linux-backports-modules-4.4.0-45-generic N/A  linux-firmware 1.157.4 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: rel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-2.7 dmi.modalias: dmi:bvnSeaBIOS:bvrrel-1.9.3-0-ge2fc41e-prebuilt.qemu-project.org:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-2.7:cvnQEMU:ct1:cvrpc-i440fx-2.7: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-2.7 dmi.sys.vendor: QEMU
2016-10-27 19:13:53 Tim Gardner bug task added linux (Ubuntu Xenial)
2016-10-27 19:13:53 Tim Gardner bug task added zfs-linux (Ubuntu Xenial)
2016-10-27 19:14:01 Tim Gardner bug task added linux (Ubuntu Yakkety)
2016-10-27 19:14:01 Tim Gardner bug task added zfs-linux (Ubuntu Yakkety)
2016-10-27 19:14:10 Tim Gardner bug task added linux (Ubuntu Zesty)
2016-10-27 19:14:10 Tim Gardner bug task added zfs-linux (Ubuntu Zesty)
2016-10-28 15:41:22 Launchpad Janitor zfs-linux (Ubuntu Zesty): status New Fix Released
2016-10-29 12:42:49 Andy Whitcroft zfs-linux (Ubuntu Yakkety): status New Fix Committed
2016-10-29 12:42:52 Andy Whitcroft bug added subscriber Ubuntu Stable Release Updates Team
2016-10-29 12:42:54 Andy Whitcroft bug added subscriber SRU Verification
2016-10-29 12:44:00 Andy Whitcroft zfs-linux (Ubuntu Xenial): status New Fix Committed
2016-11-08 17:17:56 Luis Henriques linux (Ubuntu Xenial): status New Fix Committed
2016-11-08 18:22:35 Luis Henriques linux (Ubuntu Yakkety): status New Fix Committed
2016-11-16 10:01:19 Luis Henriques tags amd64 apport-bug patch xenial amd64 apport-bug patch verification-needed-xenial xenial
2016-11-16 10:07:27 Luis Henriques tags amd64 apport-bug patch verification-needed-xenial xenial amd64 apport-bug patch verification-needed-xenial verification-needed-yakkety xenial
2016-11-16 13:52:04 Fabian Grünbichler tags amd64 apport-bug patch verification-needed-xenial verification-needed-yakkety xenial amd64 apport-bug patch verification-done-xenial verification-needed-yakkety xenial
2016-11-16 16:58:26 Colin Ian King tags amd64 apport-bug patch verification-done-xenial verification-needed-yakkety xenial amd64 apport-bug patch verification-done-xenial verification-done-yakkety xenial
2016-11-17 17:25:08 Launchpad Janitor zfs-linux (Ubuntu Xenial): status Fix Committed Fix Released
2016-11-17 17:25:19 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2016-11-17 17:25:39 Launchpad Janitor zfs-linux (Ubuntu Yakkety): status Fix Committed Fix Released
2016-11-30 01:58:35 Launchpad Janitor linux (Ubuntu Xenial): status Fix Committed Fix Released
2016-11-30 01:58:35 Launchpad Janitor cve linked 2016-7425
2016-11-30 01:58:35 Launchpad Janitor cve linked 2016-8658
2016-11-30 02:05:55 Launchpad Janitor linux (Ubuntu Yakkety): status Fix Committed Fix Released
2016-12-06 09:19:54 Launchpad Janitor linux (Ubuntu Zesty): status Triaged Fix Released
2016-12-06 09:19:54 Launchpad Janitor cve linked 2016-8655