On 2/22/22 00:42, Michael Jung wrote:
Hi:I was trying to remember what I did that was odd when this crash occurred then it hit me. You can repeat this panic by doing: # watch -I -W pts/0 Here is another panic that happened write after issuing "watch" for comparison. http://mail.mikej.com/core.txt.1 http://mail.mikej.com/info.1 http://mail.mikej.com/vmcore.1
I also need your kernel and debug kernel to fully debug this. 1) Do ssh to machine. 2) watch -i -W pts/0 (does not panic over here) Can you explain what step 1 is? An scp ? Refcount is -1. f_count = 0xffffffff f_data = 0xfffff800158b0400 In your KGDB, can you enter: info 0xffffffff81b052d0 Does the attached patch make any difference? --HPS
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 64e2d0f6453..6eec4a5a632 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -86,6 +86,7 @@ static d_poll_t snp_poll; static struct cdevsw snp_cdevsw = { .d_version = D_VERSION, + .d_flags = D_TRACKCLOSE, .d_open = snp_open, .d_read = snp_read, .d_write = snp_write,