mdadm, mkfs, other io commands hang, stuck task, bad rip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
1. disco
2. # apt-cache policy linux-image-virtual
linux-image-
Installed: 5.0.0.13.14
Candidate: 5.0.0.13.14
Version table:
*** 5.0.0.13.14 500
500 http://
100 /var/lib/
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/
[ 967.815500] mdadm D 0 12213 12207 0x00000000
[ 967.815503] Call Trace:
[ 967.815509] __schedule+
[ 967.815511] ? __switch_
[ 967.815512] ? __switch_
[ 967.815514] schedule+0x2c/0x70
[ 967.815516] schedule_
[ 967.815518] __mutex_
[ 967.815522] ? exact_lock+
[ 967.815524] __mutex_
[ 967.815528] mutex_lock+
[ 967.815530] __blkdev_
[ 967.815532] ? bd_acquire+
[ 967.815533] blkdev_
[ 967.815535] ? bd_acquire+
[ 967.815537] blkdev_
[ 967.815539] do_dentry_
[ 967.815540] vfs_open+0x2d/0x30
[ 967.815542] path_openat+
[ 967.815547] ? put_device+
[ 967.815552] ? scsi_device_
[ 967.815553] do_filp_
[ 967.815555] ? strncpy_
[ 967.815558] ? __alloc_
[ 967.815560] do_sys_
[ 967.815561] ? _cond_resched+
[ 967.815563] __x64_sys_
[ 967.815566] do_syscall_
[ 967.815567] entry_SYSCALL_
[ 967.815568] RIP: 0033:0x7faa36406cce
[ 967.815572] Code: Bad RIP value.
[ 967.815573] RSP: 002b:00007ffedb
[ 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/
[ 967.810235] mkfs.btrfs D 0 3767 1866 0x00000000
[ 967.810239] Call Trace:
[ 967.810251] __schedule+
[ 967.810254] ? __switch_
[ 967.810256] ? __switch_
[ 967.810258] schedule+0x2c/0x70
[ 967.810260] schedule_
[ 967.810277] wait_for_
[ 967.810281] ? wake_up_q+0x80/0x80
[ 967.810293] __floppy_
[ 967.810298] ? floppy_
[ 967.810302] floppy_
[ 967.810307] check_disk_
[ 967.810309] floppy_
[ 967.810311] __blkdev_
[ 967.810313] ? bd_acquire+
[ 967.810315] blkdev_
[ 967.810316] ? bd_acquire+
[ 967.810318] blkdev_
[ 967.810321] do_dentry_
[ 967.810323] vfs_open+0x2d/0x30
[ 967.810326] path_openat+
[ 967.810328] ? filename_
[ 967.810332] ? strncpy_
[ 967.810333] do_filp_
[ 967.810353] ? strncpy_
[ 967.810358] ? __alloc_
[ 967.810360] do_sys_
[ 967.810362] ? _cond_resched+
[ 967.810364] __x64_sys_
[ 967.810368] do_syscall_
[ 967.810369] entry_SYSCALL_
[ 967.810372] RIP: 0033:0x7f46b99374db
[ 967.810377] Code: Bad RIP value.
[ 967.810378] RSP: 002b:00007ffc9e
[ 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
ProcVersionSign
Uname: Linux 5.0.0-13-generic x86_64
NonfreeKernelMo
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://
RelatedPackageV
linux-
linux-
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.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.
dmi.sys.vendor: QEMU
root@ubuntu:~# lspci -v -nn
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
Flags: fast devsel
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
Flags: medium devsel
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010] (prog-if 80 [ISA Compatibility mode-only controller, supports bus mastering])
Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
Flags: bus master, medium devsel, latency 0
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable)
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable)
I/O ports at c080 [size=16]
Kernel driver in use: ata_piix
Kernel modules: pata_acpi
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
Subsystem: Red Hat, Inc. Qemu virtual machine [1af4:1100]
Flags: medium devsel, IRQ 9
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4
00:02.0 VGA compatible controller [0300]: Device [1234:1111] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Red Hat, Inc. Device [1af4:1100]
Flags: fast devsel
Memory at fd000000 (32-bit, prefetchable) [size=16M]
Memory at feb90000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Kernel driver in use: bochs-drm
Kernel modules: bochs_drm
00:03.0 SCSI storage controller [0100]: Red Hat, Inc. Virtio SCSI [1af4:1004]
Subsystem: Red Hat, Inc. Virtio SCSI [1af4:0008]
Physical Slot: 3
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at c000 [size=64]
Memory at feb91000 (32-bit, non-prefetchable) [size=4K]
Memory at fe000000 (64-bit, prefetchable) [size=16K]
Capabilities: [98] MSI-X: Enable+ Count=4 Masked-
Capabilities: [84] Vendor Specific Information: VirtIO: <unknown>
Capabilities: [70] Vendor Specific Information: VirtIO: Notify
Capabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg
Capabilities: [50] Vendor Specific Information: VirtIO: ISR
Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg
Kernel driver in use: virtio-pci
00:04.0 Unclassified device [00ff]: Red Hat, Inc. Virtio RNG [1af4:1005]
Subsystem: Red Hat, Inc. Virtio RNG [1af4:0004]
Physical Slot: 4
Flags: bus master, fast devsel, latency 0, IRQ 10
I/O ports at c040 [size=32]
Memory at fe004000 (64-bit, prefetchable) [size=16K]
Capabilities: [84] Vendor Specific Information: VirtIO: <unknown>
Capabilities: [70] Vendor Specific Information: VirtIO: Notify
Capabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg
Capabilities: [50] Vendor Specific Information: VirtIO: ISR
Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg
Kernel driver in use: virtio-pci
00:05.0 Ethernet controller [0200]: Red Hat, Inc. Virtio network device [1af4:1000]
Subsystem: Red Hat, Inc. Virtio network device [1af4:0001]
Physical Slot: 5
Flags: bus master, fast devsel, la...