Open stevecs opened 3 years ago
Same here: hoste node
Linux node234.domain.com 5.4.106-1-pve #1 SMP PVE 5.4.106-1 (Fri, 19 Mar 2021 11:08:47 +0100) x86_64 x86_64 x86_64 GNU/Linux (Proxmox Kernel, Debian 10)
Container (LXC): CentOS Linux release 8.3.2011
mt-st v. 1.1
Tape drive: Quantum LTO-7 HH Used Tape: Ultrium 7 SAS HBA: Microsemi 1100-4i, latest firmware
Task: mt -f /dev/st0 erase
[ 1451.195489] INFO: task mt:5821 blocked for more than 1208 seconds. [ 1451.196881] Tainted: P O 5.4.106-1-pve #1 [ 1451.197671] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 1451.198454] mt D 0 5821 4093 0x00000324 [ 1451.199247] Call Trace: [ 1451.200015] schedule+0x2e6/0x700 [ 1451.200770] schedule+0x33/0xa0 [ 1451.201475] schedule_timeout+0x205/0x330 [ 1451.202114] ? __blk_mq_delay_run_hw_queue+0x14a/0x160 [ 1451.202766] ? blk_mq_run_hw_queue+0x90/0x120 [ 1451.203337] wait_for_completion+0xb7/0x140 [ 1451.203905] ? wake_up_q+0x80/0x80 [ 1451.204468] st_do_scsi.constprop.31+0x371/0x410 [st] [ 1451.205036] ? page_add_file_rmap+0x131/0x190 [ 1451.205603] ? alloc_set_pte+0x104/0x5c0 [ 1451.206167] st_int_ioctl+0x5f8/0xf80 [st] [ 1451.206730] st_ioctl+0x371/0x1810 [st] [ 1451.207295] ? seccomp_filter+0x31/0x6b0 [ 1451.207858] do_vfs_ioctl+0xa9/0x640 [ 1451.208421] ? secure_computing+0x3e/0xd0 [ 1451.208983] ksys_ioctl+0x67/0x90 [ 1451.209544] x64_sys_ioctl+0x1a/0x20 [ 1451.210105] do_syscall_64+0x57/0x190 [ 1451.210665] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 1451.211234] RIP: 0033:0x7f06e7b3188b [ 1451.211805] Code: Bad RIP value. [ 1451.212366] RSP: 002b:00007ffd7f8cd1f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 1451.212942] RAX: ffffffffffffffda RBX: 00005634116a3368 RCX: 00007f06e7b3188b [ 1451.213524] RDX: 00007ffd7f8cd210 RSI: 0000000040086d01 RDI: 0000000000000003 [ 1451.214101] RBP: 00007ffd7f8cd3d8 R08: 00007ffd7f8ce841 R09: 0000000000000000 [ 1451.214672] R10: 00007f06e7bac9a0 R11: 0000000000000246 R12: 0000000000000003 [ 1451.215249] R13: 00007ffd7f8ce83a R14: 00007ffd7f8cd3b8 R15: 0000000000000005
Have a machine running ubuntu 20.04
uname -a
Linux loki 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
mt-st --version
mt-st v. 1.3
commands being sent: mt-st -f /dev/st0 rewind mt-st -f /dev/st0 setblk 0 mt-st -f /dev/st0 defblksize 0 mt-st -f /dev/st0 defcompression 1 mt-st -f /dev/st0 compression 1
dmesg happens with the weof command
mt-st -f /dev/st0 weof mt-st -f /dev/st0 rewind
sending tape commands to external LTO6 tape drive; when writing eof to tape am getting bad rip values reported:
[145607.017412] INFO: task mt-st:1854856 blocked for more than 120 seconds. [145607.017440] Tainted: P O 5.4.0-54-generic #60-Ubuntu [145607.017460] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [145607.017483] mt-st D 0 1854856 1761783 0x00000000 [145607.017486] Call Trace: [145607.017496] __schedule+0x2e3/0x740 [145607.017498] schedule+0x42/0xb0 [145607.017499] schedule_timeout+0x10e/0x160 [145607.017505] ? blk_mq_run_hw_queue+0x92/0x120 [145607.017506] wait_for_completion+0xb1/0x120 [145607.017510] ? wake_up_q+0x70/0x70 [145607.017515] st_do_scsi.constprop.0+0x37a/0x3f0 [st] [145607.017517] st_int_ioctl+0x6ff/0xf70 [st] [145607.017519] st_ioctl+0x37a/0xba0 [st] [145607.017522] do_vfs_ioctl+0x407/0x670 [145607.017525] ? putname+0x4a/0x50 [145607.017526] ksys_ioctl+0x67/0x90 [145607.017527] __x64_sys_ioctl+0x1a/0x20 [145607.017530] do_syscall_64+0x57/0x190 [145607.017532] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [145607.017534] RIP: 0033:0x7f4714e7750b [145607.017539] Code: Bad RIP value. [145607.017540] RSP: 002b:00007ffcb0ee9758 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [145607.017541] RAX: ffffffffffffffda RBX: 0000556ccc5fb020 RCX: 00007f4714e7750b [145607.017542] RDX: 00007ffcb0ee9770 RSI: 0000000040086d01 RDI: 0000000000000003 [145607.017543] RBP: 0000000000000003 R08: 0000000000000000 R09: 00007f4714f76d50 [145607.017543] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 [145607.017544] R13: 0000000000000004 R14: 00007ffcb0ee99b8 R15: 0000000000000004
the EOF appears to be written and commands appear to complete however the above is being dumped to dmesg.