Date: Sun, 18 Jul 2021 05:41:42 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257240] glabel(8): glabel status can be difficult to kill when presented with a failing drive Message-ID: <bug-257240-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257240 Bug ID: 257240 Summary: glabel(8): glabel status can be difficult to kill when presented with a failing drive Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: grahamperrin@gmail.com Created attachment 226523 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226523&action= =3Dedit Screenshot: lsblk (not responding to Control-C) running glabel status, `tai= l -f -n 0 /var/log/messages` in the background I used sysutils/lsblk, sysutils/gdisk and newfs(8) to prepare a USB flash d= rive to demonstrate use of sysutils/stressdisk Following a failed test with StressDisk, run as root (comparable to <https://github.com/ncw/stressdisk/issues/14>) I rebooted the computer then= ran lsblk (as root) to determine the /dev/da=E2=8B=AF number of the affected de= vice.=20 lsblk ran endlessly and did not respond to Control-C, so I used sysutils/ht= op to terminate two lsblk processes (two of three in a tree).=20 ---- root@mowa219-gjp4-8570p:~ # lsblk=20 ^C=20=20=20=20 load: 0.28 cmd: glabel 3767 [g_waitfor_event] 173.22r 0.00u 0.00s 0% 2548k mi_switch+0xc1 sleepq_timedwait+0x2f _sleep+0x1ab g_waitfor_event+0xc1 sysctl_kern_geom_confany+0xc1 sysctl_root_handler_locked+0x91 sysctl_root+0= x24c userland_sysctl+0x173 sys___sysctl+0x5c amd64_syscall+0x10c fast_syscall_common+0xf8=20 load: 0.67 cmd: glabel 3767 [g_waitfor_event] 423.27r 0.00u 0.00s 0% 2548k mi_switch+0xc1 sleepq_timedwait+0x2f _sleep+0x1ab g_waitfor_event+0xc1 sysctl_kern_geom_confany+0xc1 sysctl_root_handler_locked+0x91 sysctl_root+0= x24c userland_sysctl+0x173 sys___sysctl+0x5c amd64_syscall+0x10c fast_syscall_common+0xf8=20 Terminated root@mowa219-gjp4-8570p:~ #=20 ---- The third process from the tree:=20 glabel status =E2=80=93 continues, and does not stop in response to SIGTERM (15) and SIGK= ILL (9) issued by htop =E2=80=A6 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257240-227>