Same on physical HW (Medion with QuadCore) This seems to happen during mdadm run, every time a new initrd is being built.
lsblk doesn't hag. blkid hangs. mdadm hangs. In this ps output, mdadm has been hung for almos two hours. jpc@quad:~$ ps -ft pts/4 ; date UID PID PPID C STIME TTY TIME CMD root 7969 28631 0 20:29 pts/4 00:00:00 /bin/sh /var/lib/dpkg/info/linux-image-5.3.0-19-generic.postinst triggered l root 7970 7969 0 20:29 pts/4 00:00:00 sh /usr/lib/linux/triggers/5.3.0-19-generic root 7971 7970 0 20:29 pts/4 00:00:00 run-parts --report --exit-on-error --arg=5.3.0-19-generic --arg=/boot/vmlinu root 8047 7971 0 20:30 pts/4 00:00:00 /bin/sh -e /etc/kernel/postinst.d/initramfs-tools 5.3.0-19-generic /boot/vml root 8049 8047 0 20:30 pts/4 00:00:00 /bin/sh /usr/sbin/update-initramfs -c -k 5.3.0-19-generic -b /boot root 8051 8049 0 20:30 pts/4 00:00:00 /bin/sh /usr/sbin/mkinitramfs -o /boot/initrd.img-5.3.0-19-generic.new 5.3.0 root 18519 8051 0 20:30 pts/4 00:00:00 /bin/sh /usr/share/initramfs-tools/hooks/mdadm root 18642 18519 0 20:30 pts/4 00:00:00 /bin/sh /usr/share/mdadm/mkconf root 18648 18642 0 20:30 pts/4 00:00:00 /sbin/mdadm --examine --scan --config=partitions root 28631 17100 0 20:29 pts/4 00:00:00 /usr/bin/dpkg --force-overwrite --status-fd 112 --configure --pending [1499890.437313] INFO: task mdadm:18648 blocked for more than 120 seconds. [1499890.437318] Not tainted 5.0.0-31-generic #33-Ubuntu [1499890.437320] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [1499890.437322] mdadm D 0 18648 18642 0x00000080 [1499890.437325] Call Trace: [1499890.437335] __schedule+0x2d0/0x840 [1499890.437338] ? __switch_to_asm+0x41/0x70 [1499890.437340] ? __switch_to_asm+0x35/0x70 [1499890.437342] schedule+0x2c/0x70 [1499890.437344] schedule_timeout+0x258/0x360 [1499890.437346] wait_for_completion+0xb7/0x140 [1499890.437350] ? wake_up_q+0x80/0x80 [1499890.437358] __floppy_read_block_0+0x138/0x190 [floppy] [1499890.437362] ? floppy_cmos_show+0x30/0x30 [floppy] [1499890.437367] floppy_revalidate+0xf8/0x230 [floppy] [1499890.437370] check_disk_change+0x62/0x70 [1499890.437374] floppy_open+0x2ae/0x380 [floppy] [1499890.437376] __blkdev_get+0xe5/0x550 [1499890.437378] ? bd_acquire+0xd0/0xd0 [1499890.437380] blkdev_get+0x10c/0x330 [1499890.437382] ? bd_acquire+0xd0/0xd0 [1499890.437384] blkdev_open+0x92/0x100 [1499890.437386] do_dentry_open+0x143/0x3a0 [1499890.437389] vfs_open+0x2d/0x30 [1499890.437391] path_openat+0x2bf/0x1570 [1499890.437394] ? put_device+0x17/0x20 [1499890.437397] ? scsi_device_put+0x2b/0x30 [1499890.437400] do_filp_open+0x93/0x100 [1499890.437403] ? strncpy_from_user+0x57/0x1c0 [1499890.437405] ? __alloc_fd+0x46/0x150 [1499890.437407] do_sys_open+0x177/0x280 [1499890.437409] ? _cond_resched+0x19/0x30 [1499890.437412] __x64_sys_openat+0x20/0x30 [1499890.437415] do_syscall_64+0x5a/0x110 [1499890.437417] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [1499890.437419] RIP: 0033:0x7f84b3cc8fdb [1499890.437426] Code: Bad RIP value. [1499890.437427] RSP: 002b:00007ffd8cb8fed0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [1499890.437429] RAX: ffffffffffffffda RBX: 0000000000004000 RCX: 00007f84b3cc8fdb [1499890.437431] RDX: 0000000000004000 RSI: 00005563a1618b80 RDI: 00000000ffffff9c [1499890.437432] RBP: 00005563a1618b80 R08: 1999999999999999 R09: 0000000000000000 [1499890.437433] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000004000 [1499890.437434] R13: 0000000000000000 R14: 0000000000000001 R15: 00005563a1612a00 -- 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/1825413 Title: mdadm, mkfs, other io commands hang, stuck task, bad rip Status in linux package in Ubuntu: Confirmed Bug description: 1. disco 2. # apt-cache policy linux-image-virtual linux-image-virtual: Installed: 5.0.0.13.14 Candidate: 5.0.0.13.14 Version table: *** 5.0.0.13.14 500 500 http://archive.ubuntu.com/ubuntu disco/main amd64 Packages 100 /var/lib/dpkg/status 3. installation completes sucessfully 4. Running an installation of Disco creating filesystems and probing things will hang (stuck task) every so often. When it happens, the kernel throws an oops and bad rip value. [ 967.810391] INFO: task mdadm:12213 blocked for more than 120 seconds. [ 967.811787] Tainted: P O 5.0.0-13-generic #14-Ubuntu [ 967.813330] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 967.815500] mdadm D 0 12213 12207 0x00000000 [ 967.815503] Call Trace: [ 967.815509] __schedule+0x2d0/0x840 [ 967.815511] ? __switch_to_asm+0x40/0x70 [ 967.815512] ? __switch_to_asm+0x34/0x70 [ 967.815514] schedule+0x2c/0x70 [ 967.815516] schedule_preempt_disabled+0xe/0x10 [ 967.815518] __mutex_lock.isra.10+0x2e4/0x4c0 [ 967.815522] ? exact_lock+0x11/0x20 [ 967.815524] __mutex_lock_slowpath+0x13/0x20 [ 967.815528] mutex_lock+0x2c/0x30 [ 967.815530] __blkdev_get+0x7b/0x550 [ 967.815532] ? bd_acquire+0xd0/0xd0 [ 967.815533] blkdev_get+0x10c/0x330 [ 967.815535] ? bd_acquire+0xd0/0xd0 [ 967.815537] blkdev_open+0x92/0x100 [ 967.815539] do_dentry_open+0x143/0x3a0 [ 967.815540] vfs_open+0x2d/0x30 [ 967.815542] path_openat+0x2d4/0x16d0 [ 967.815547] ? put_device+0x17/0x20 [ 967.815552] ? scsi_device_put+0x2b/0x30 [ 967.815553] do_filp_open+0x93/0x100 [ 967.815555] ? strncpy_from_user+0x56/0x1b0 [ 967.815558] ? __alloc_fd+0x46/0x140 [ 967.815560] do_sys_open+0x177/0x280 [ 967.815561] ? _cond_resched+0x19/0x30 [ 967.815563] __x64_sys_openat+0x20/0x30 [ 967.815566] do_syscall_64+0x5a/0x110 [ 967.815567] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 967.815568] RIP: 0033:0x7faa36406cce [ 967.815572] Code: Bad RIP value. [ 967.815573] RSP: 002b:00007ffedb663f80 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 967.815574] RAX: ffffffffffffffda RBX: 0000000000004000 RCX: 00007faa36406cce [ 967.815575] RDX: 0000000000004000 RSI: 0000564df70257b0 RDI: 00000000ffffff9c [ 967.815576] RBP: 0000564df70257b0 R08: 0000564df70257b0 R09: 0000000000000000 [ 967.815576] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffedb664240 [ 967.815577] R13: 0000000000000000 R14: 0000000000000001 R15: 0000564df7023e00 [ 967.799227] INFO: task mkfs.btrfs:3767 blocked for more than 120 seconds. [ 967.803509] Tainted: P O 5.0.0-13-generic #14-Ubuntu [ 967.807192] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 967.810235] mkfs.btrfs D 0 3767 1866 0x00000000 [ 967.810239] Call Trace: [ 967.810251] __schedule+0x2d0/0x840 [ 967.810254] ? __switch_to_asm+0x34/0x70 [ 967.810256] ? __switch_to_asm+0x40/0x70 [ 967.810258] schedule+0x2c/0x70 [ 967.810260] schedule_timeout+0x258/0x360 [ 967.810277] wait_for_completion+0xb7/0x140 [ 967.810281] ? wake_up_q+0x80/0x80 [ 967.810293] __floppy_read_block_0+0x138/0x190 [floppy] [ 967.810298] ? floppy_cmos_show+0x30/0x30 [floppy] [ 967.810302] floppy_revalidate+0xf8/0x230 [floppy] [ 967.810307] check_disk_change+0x62/0x70 [ 967.810309] floppy_open+0x2ae/0x380 [floppy] [ 967.810311] __blkdev_get+0xe5/0x550 [ 967.810313] ? bd_acquire+0xd0/0xd0 [ 967.810315] blkdev_get+0x10c/0x330 [ 967.810316] ? bd_acquire+0xd0/0xd0 [ 967.810318] blkdev_open+0x92/0x100 [ 967.810321] do_dentry_open+0x143/0x3a0 [ 967.810323] vfs_open+0x2d/0x30 [ 967.810326] path_openat+0x2d4/0x16d0 [ 967.810328] ? filename_lookup.part.60+0xe0/0x170 [ 967.810332] ? strncpy_from_user+0x56/0x1b0 [ 967.810333] do_filp_open+0x93/0x100 [ 967.810353] ? strncpy_from_user+0x56/0x1b0 [ 967.810358] ? __alloc_fd+0x46/0x140 [ 967.810360] do_sys_open+0x177/0x280 [ 967.810362] ? _cond_resched+0x19/0x30 [ 967.810364] __x64_sys_openat+0x20/0x30 [ 967.810368] do_syscall_64+0x5a/0x110 [ 967.810369] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 967.810372] RIP: 0033:0x7f46b99374db [ 967.810377] Code: Bad RIP value. [ 967.810378] RSP: 002b:00007ffc9e849d70 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 967.810380] RAX: ffffffffffffffda RBX: 0000556674552080 RCX: 00007f46b99374db [ 967.810381] RDX: 0000000000080000 RSI: 0000556674552100 RDI: 00000000ffffff9c [ 967.810382] RBP: 000055667454a270 R08: 0000556674552120 R09: 0000000000004000 [ 967.810382] R10: 0000000000000000 R11: 0000000000000246 R12: 000000005cb8c394 [ 967.810383] R13: 00007f46b99993c4 R14: 00000000dcb8c394 R15: 00007f46b9988425 ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: linux-image-virtual 5.0.0.13.14 ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 Uname: Linux 5.0.0-13-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair AlsaDevices: total 0 crw-rw---- 1 root audio 116, 33 Apr 18 18:35 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay' ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A Date: Thu Apr 18 18:45:52 2019 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig' Lsusb: Error: command ['lsusb'] failed with exit code 1: MachineType: QEMU Standard PC (i440FX + PIIX, 1996) PciMultimedia: ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=C.UTF-8 SHELL=/bin/bash ProcFB: 0 bochsdrmfb ProcKernelCmdLine: root=squash:http://10.245.168.20:34259/root/squashfs ds=nocloud-net;seedfrom=http://10.245.168.20:34259/ console=ttyS0 overlayroot=tmpfs ro systemd.mask=snapd.seeded.service systemd.mask=snapd.service ip=:::::BOOTIF:dhcp BOOTIF=01-52-54-00-12-34-01 RelatedPackageVersions: linux-restricted-modules-5.0.0-13-generic N/A linux-backports-modules-5.0.0-13-generic N/A linux-firmware N/A RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 04/01/2014 dmi.bios.vendor: SeaBIOS dmi.bios.version: 1.12.0-1 dmi.chassis.type: 1 dmi.chassis.vendor: QEMU dmi.chassis.version: pc-i440fx-disco dmi.modalias: dmi:bvnSeaBIOS:bvr1.12.0-1:bd04/01/2014:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-disco:cvnQEMU:ct1:cvrpc-i440fx-disco: dmi.product.name: Standard PC (i440FX + PIIX, 1996) dmi.product.version: pc-i440fx-disco dmi.sys.vendor: QEMU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825413/+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